Skip to content

Commit 5b707d3

Browse files
API model updated in Amazon Cognito
1 parent c40dc8b commit 5b707d3

10 files changed

+16
-5
lines changed

generator/ServiceModels/cognito-idp/cognito-idp-2016-04-18.api.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4863,7 +4863,8 @@
48634863
"type":"string",
48644864
"max":6,
48654865
"min":6,
4866-
"pattern":"[0-9]+"
4866+
"pattern":"[0-9]+",
4867+
"sensitive":true
48674868
},
48684869
"SoftwareTokenMfaConfigType":{
48694870
"type":"structure",
@@ -5284,7 +5285,8 @@
52845285
"members":{
52855286
"IpAddress":{"shape":"StringType"},
52865287
"EncodedData":{"shape":"StringType"}
5287-
}
5288+
},
5289+
"sensitive":true
52885290
},
52895291
"UserFilterType":{
52905292
"type":"string",

generator/ServiceModels/cognito-idp/cognito-idp-2016-04-18.normal.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6947,7 +6947,8 @@
69476947
"type":"string",
69486948
"max":6,
69496949
"min":6,
6950-
"pattern":"[0-9]+"
6950+
"pattern":"[0-9]+",
6951+
"sensitive":true
69516952
},
69526953
"SoftwareTokenMfaConfigType":{
69536954
"type":"structure",
@@ -7718,7 +7719,8 @@
77187719
"documentation":"<p>Encoded device-fingerprint details that your app collected with the Amazon Cognito context data collection library. For more information, see <a href=\"https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pool-settings-adaptive-authentication.html#user-pool-settings-adaptive-authentication-device-fingerprint\">Adding user device and session data to API requests</a>.</p>"
77197720
}
77207721
},
7721-
"documentation":"<p>Contextual data, such as the user's device fingerprint, IP address, or location, used for evaluating the risk of an unexpected event by Amazon Cognito advanced security.</p>"
7722+
"documentation":"<p>Contextual data, such as the user's device fingerprint, IP address, or location, used for evaluating the risk of an unexpected event by Amazon Cognito advanced security.</p>",
7723+
"sensitive":true
77227724
},
77237725
"UserFilterType":{
77247726
"type":"string",

sdk/src/Services/CognitoIdentityProvider/Generated/Model/ConfirmForgotPasswordRequest.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,7 @@ internal bool IsSetSecretHash()
206206
/// it makes API requests.
207207
/// </para>
208208
/// </summary>
209+
[AWSProperty(Sensitive=true)]
209210
public UserContextDataType UserContextData
210211
{
211212
get { return this._userContextData; }

sdk/src/Services/CognitoIdentityProvider/Generated/Model/ConfirmSignUpRequest.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,7 @@ internal bool IsSetSecretHash()
209209
/// it makes API requests.
210210
/// </para>
211211
/// </summary>
212+
[AWSProperty(Sensitive=true)]
212213
public UserContextDataType UserContextData
213214
{
214215
get { return this._userContextData; }

sdk/src/Services/CognitoIdentityProvider/Generated/Model/ForgotPasswordRequest.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,7 @@ internal bool IsSetSecretHash()
196196
/// it makes API requests.
197197
/// </para>
198198
/// </summary>
199+
[AWSProperty(Sensitive=true)]
199200
public UserContextDataType UserContextData
200201
{
201202
get { return this._userContextData; }

sdk/src/Services/CognitoIdentityProvider/Generated/Model/InitiateAuthRequest.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -318,6 +318,7 @@ internal bool IsSetClientMetadata()
318318
/// it makes API requests.
319319
/// </para>
320320
/// </summary>
321+
[AWSProperty(Sensitive=true)]
321322
public UserContextDataType UserContextData
322323
{
323324
get { return this._userContextData; }

sdk/src/Services/CognitoIdentityProvider/Generated/Model/ResendConfirmationCodeRequest.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,7 @@ internal bool IsSetSecretHash()
189189
/// it makes API requests.
190190
/// </para>
191191
/// </summary>
192+
[AWSProperty(Sensitive=true)]
192193
public UserContextDataType UserContextData
193194
{
194195
get { return this._userContextData; }

sdk/src/Services/CognitoIdentityProvider/Generated/Model/RespondToAuthChallengeRequest.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,7 @@ internal bool IsSetSession()
293293
/// it makes API requests.
294294
/// </para>
295295
/// </summary>
296+
[AWSProperty(Sensitive=true)]
296297
public UserContextDataType UserContextData
297298
{
298299
get { return this._userContextData; }

sdk/src/Services/CognitoIdentityProvider/Generated/Model/SignUpRequest.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,7 @@ internal bool IsSetUserAttributes()
234234
/// it makes API requests.
235235
/// </para>
236236
/// </summary>
237+
[AWSProperty(Sensitive=true)]
237238
public UserContextDataType UserContextData
238239
{
239240
get { return this._userContextData; }

sdk/src/Services/CognitoIdentityProvider/Generated/Model/VerifySoftwareTokenRequest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ internal bool IsSetSession()
104104
/// The one- time password computed using the secret code returned by <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_AssociateSoftwareToken.html">AssociateSoftwareToken</a>.
105105
/// </para>
106106
/// </summary>
107-
[AWSProperty(Required=true, Min=6, Max=6)]
107+
[AWSProperty(Required=true, Sensitive=true, Min=6, Max=6)]
108108
public string UserCode
109109
{
110110
get { return this._userCode; }

0 commit comments

Comments
 (0)