Skip to content

Commit df968f2

Browse files
author
AWS
committed
Amazon Cognito Identity Provider Update: Add exceptions to WebAuthn operations.
1 parent 7563c60 commit df968f2

File tree

2 files changed

+42
-64
lines changed

2 files changed

+42
-64
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon Cognito Identity Provider",
4+
"contributor": "",
5+
"description": "Add exceptions to WebAuthn operations."
6+
}

services/cognitoidentityprovider/src/main/resources/codegen-resources/service-2.json

Lines changed: 36 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -1055,6 +1055,8 @@
10551055
{"shape":"ForbiddenException"},
10561056
{"shape":"InternalErrorException"},
10571057
{"shape":"InvalidParameterException"},
1058+
{"shape":"TooManyRequestsException"},
1059+
{"shape":"LimitExceededException"},
10581060
{"shape":"NotAuthorizedException"},
10591061
{"shape":"ResourceNotFoundException"}
10601062
],
@@ -1750,6 +1752,8 @@
17501752
{"shape":"ForbiddenException"},
17511753
{"shape":"InternalErrorException"},
17521754
{"shape":"InvalidParameterException"},
1755+
{"shape":"TooManyRequestsException"},
1756+
{"shape":"LimitExceededException"},
17531757
{"shape":"NotAuthorizedException"}
17541758
],
17551759
"documentation":"<p>Generates a list of the currently signed-in user's registered passkey, or WebAuthn, credentials.</p> <p>Authorize this action with a signed-in user's access token. It must include the scope <code>aws.cognito.signin.user.admin</code>.</p> <note> <p>Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you can't use IAM credentials to authorize requests, and you can't grant IAM permissions in policies. For more information about authorization models in Amazon Cognito, see <a href=\"https://docs.aws.amazon.com/cognito/latest/developerguide/user-pools-API-operations.html\">Using the Amazon Cognito user pools API and user pool endpoints</a>.</p> </note>",
@@ -2457,8 +2461,7 @@
24572461
},
24582462
"AddCustomAttributesResponse":{
24592463
"type":"structure",
2460-
"members":{
2461-
},
2464+
"members":{},
24622465
"documentation":"<p>Represents the response from the server for the request to add custom attributes.</p>"
24632466
},
24642467
"AdminAddUserToGroupRequest":{
@@ -2507,8 +2510,7 @@
25072510
},
25082511
"AdminConfirmSignUpResponse":{
25092512
"type":"structure",
2510-
"members":{
2511-
},
2513+
"members":{},
25122514
"documentation":"<p>Represents the response from the server for the request to confirm registration.</p>"
25132515
},
25142516
"AdminCreateUserConfigType":{
@@ -2615,8 +2617,7 @@
26152617
},
26162618
"AdminDeleteUserAttributesResponse":{
26172619
"type":"structure",
2618-
"members":{
2619-
},
2620+
"members":{},
26202621
"documentation":"<p>Represents the response received from the server for a request to delete user attributes.</p>"
26212622
},
26222623
"AdminDeleteUserRequest":{
@@ -2656,8 +2657,7 @@
26562657
},
26572658
"AdminDisableProviderForUserResponse":{
26582659
"type":"structure",
2659-
"members":{
2660-
}
2660+
"members":{}
26612661
},
26622662
"AdminDisableUserRequest":{
26632663
"type":"structure",
@@ -2679,8 +2679,7 @@
26792679
},
26802680
"AdminDisableUserResponse":{
26812681
"type":"structure",
2682-
"members":{
2683-
},
2682+
"members":{},
26842683
"documentation":"<p>Represents the response received from the server to disable the user as an administrator.</p>"
26852684
},
26862685
"AdminEnableUserRequest":{
@@ -2703,8 +2702,7 @@
27032702
},
27042703
"AdminEnableUserResponse":{
27052704
"type":"structure",
2706-
"members":{
2707-
},
2705+
"members":{},
27082706
"documentation":"<p>Represents the response from the server for the request to enable a user as an administrator.</p>"
27092707
},
27102708
"AdminForgetDeviceRequest":{
@@ -2918,8 +2916,7 @@
29182916
},
29192917
"AdminLinkProviderForUserResponse":{
29202918
"type":"structure",
2921-
"members":{
2922-
}
2919+
"members":{}
29232920
},
29242921
"AdminListDevicesRequest":{
29252922
"type":"structure",
@@ -3083,8 +3080,7 @@
30833080
},
30843081
"AdminResetUserPasswordResponse":{
30853082
"type":"structure",
3086-
"members":{
3087-
},
3083+
"members":{},
30883084
"documentation":"<p>Represents the response from the server to reset a user password as an administrator.</p>"
30893085
},
30903086
"AdminRespondToAuthChallengeRequest":{
@@ -3183,8 +3179,7 @@
31833179
},
31843180
"AdminSetUserMFAPreferenceResponse":{
31853181
"type":"structure",
3186-
"members":{
3187-
}
3182+
"members":{}
31883183
},
31893184
"AdminSetUserPasswordRequest":{
31903185
"type":"structure",
@@ -3214,8 +3209,7 @@
32143209
},
32153210
"AdminSetUserPasswordResponse":{
32163211
"type":"structure",
3217-
"members":{
3218-
}
3212+
"members":{}
32193213
},
32203214
"AdminSetUserSettingsRequest":{
32213215
"type":"structure",
@@ -3242,8 +3236,7 @@
32423236
},
32433237
"AdminSetUserSettingsResponse":{
32443238
"type":"structure",
3245-
"members":{
3246-
},
3239+
"members":{},
32473240
"documentation":"<p>Represents the response from the server to set user settings as an administrator.</p>"
32483241
},
32493242
"AdminUpdateAuthEventFeedbackRequest":{
@@ -3275,8 +3268,7 @@
32753268
},
32763269
"AdminUpdateAuthEventFeedbackResponse":{
32773270
"type":"structure",
3278-
"members":{
3279-
}
3271+
"members":{}
32803272
},
32813273
"AdminUpdateDeviceStatusRequest":{
32823274
"type":"structure",
@@ -3307,8 +3299,7 @@
33073299
},
33083300
"AdminUpdateDeviceStatusResponse":{
33093301
"type":"structure",
3310-
"members":{
3311-
},
3302+
"members":{},
33123303
"documentation":"<p>The status response to the request to update the device, as an administrator.</p>"
33133304
},
33143305
"AdminUpdateUserAttributesRequest":{
@@ -3340,8 +3331,7 @@
33403331
},
33413332
"AdminUpdateUserAttributesResponse":{
33423333
"type":"structure",
3343-
"members":{
3344-
},
3334+
"members":{},
33453335
"documentation":"<p>Represents the response from the server for the request to update user attributes as an administrator.</p>"
33463336
},
33473337
"AdminUserGlobalSignOutRequest":{
@@ -3364,8 +3354,7 @@
33643354
},
33653355
"AdminUserGlobalSignOutResponse":{
33663356
"type":"structure",
3367-
"members":{
3368-
},
3357+
"members":{},
33693358
"documentation":"<p>The global sign-out response, as an administrator.</p>"
33703359
},
33713360
"AdvancedSecurityAdditionalFlowsType":{
@@ -3833,8 +3822,7 @@
38333822
},
38343823
"ChangePasswordResponse":{
38353824
"type":"structure",
3836-
"members":{
3837-
},
3825+
"members":{},
38383826
"documentation":"<p>The response from the server to the change password request.</p>"
38393827
},
38403828
"ClientIdType":{
@@ -3952,8 +3940,7 @@
39523940
},
39533941
"CompleteWebAuthnRegistrationResponse":{
39543942
"type":"structure",
3955-
"members":{
3956-
}
3943+
"members":{}
39573944
},
39583945
"CompletionMessageType":{
39593946
"type":"string",
@@ -4093,8 +4080,7 @@
40934080
},
40944081
"ConfirmForgotPasswordResponse":{
40954082
"type":"structure",
4096-
"members":{
4097-
},
4083+
"members":{},
40984084
"documentation":"<p>The response from the server that results from a user's request to retrieve a forgotten password.</p>"
40994085
},
41004086
"ConfirmSignUpRequest":{
@@ -4808,8 +4794,7 @@
48084794
},
48094795
"DeleteUserAttributesResponse":{
48104796
"type":"structure",
4811-
"members":{
4812-
},
4797+
"members":{},
48134798
"documentation":"<p>Represents the response from the server to delete user attributes.</p>"
48144799
},
48154800
"DeleteUserPoolClientRequest":{
@@ -4849,8 +4834,7 @@
48494834
},
48504835
"DeleteUserPoolDomainResponse":{
48514836
"type":"structure",
4852-
"members":{
4853-
}
4837+
"members":{}
48544838
},
48554839
"DeleteUserPoolRequest":{
48564840
"type":"structure",
@@ -4893,8 +4877,7 @@
48934877
},
48944878
"DeleteWebAuthnCredentialResponse":{
48954879
"type":"structure",
4896-
"members":{
4897-
}
4880+
"members":{}
48984881
},
48994882
"DeletionProtectionType":{
49004883
"type":"string",
@@ -5238,8 +5221,7 @@
52385221
},
52395222
"Document":{
52405223
"type":"structure",
5241-
"members":{
5242-
},
5224+
"members":{},
52435225
"document":true
52445226
},
52455227
"DomainDescriptionType":{
@@ -6036,8 +6018,7 @@
60366018
},
60376019
"GlobalSignOutResponse":{
60386020
"type":"structure",
6039-
"members":{
6040-
},
6021+
"members":{},
60416022
"documentation":"<p>The response to the request to sign out all devices.</p>"
60426023
},
60436024
"GroupExistsException":{
@@ -7581,8 +7562,7 @@
75817562
},
75827563
"RevokeTokenResponse":{
75837564
"type":"structure",
7584-
"members":{
7585-
}
7565+
"members":{}
75867566
},
75877567
"RiskConfigurationType":{
75887568
"type":"structure",
@@ -7894,8 +7874,7 @@
78947874
},
78957875
"SetUserMFAPreferenceResponse":{
78967876
"type":"structure",
7897-
"members":{
7898-
}
7877+
"members":{}
78997878
},
79007879
"SetUserPoolMfaConfigRequest":{
79017880
"type":"structure",
@@ -7972,8 +7951,7 @@
79727951
},
79737952
"SetUserSettingsResponse":{
79747953
"type":"structure",
7975-
"members":{
7976-
},
7954+
"members":{},
79777955
"documentation":"<p>The response from the server for a set user settings request.</p>"
79787956
},
79797957
"SignInPolicyType":{
@@ -8277,8 +8255,7 @@
82778255
},
82788256
"TagResourceResponse":{
82798257
"type":"structure",
8280-
"members":{
8281-
}
8258+
"members":{}
82828259
},
82838260
"TagValueType":{
82848261
"type":"string",
@@ -8459,8 +8436,7 @@
84598436
},
84608437
"UntagResourceResponse":{
84618438
"type":"structure",
8462-
"members":{
8463-
}
8439+
"members":{}
84648440
},
84658441
"UpdateAuthEventFeedbackRequest":{
84668442
"type":"structure",
@@ -8496,8 +8472,7 @@
84968472
},
84978473
"UpdateAuthEventFeedbackResponse":{
84988474
"type":"structure",
8499-
"members":{
8500-
}
8475+
"members":{}
85018476
},
85028477
"UpdateDeviceStatusRequest":{
85038478
"type":"structure",
@@ -8523,8 +8498,7 @@
85238498
},
85248499
"UpdateDeviceStatusResponse":{
85258500
"type":"structure",
8526-
"members":{
8527-
},
8501+
"members":{},
85288502
"documentation":"<p>The response to the request to update the device status.</p>"
85298503
},
85308504
"UpdateGroupRequest":{
@@ -8951,8 +8925,7 @@
89518925
},
89528926
"UpdateUserPoolResponse":{
89538927
"type":"structure",
8954-
"members":{
8955-
},
8928+
"members":{},
89568929
"documentation":"<p>Represents the response from the server when you make a request to update the user pool.</p>"
89578930
},
89588931
"UserAttributeUpdateSettingsType":{
@@ -9722,8 +9695,7 @@
97229695
},
97239696
"VerifyUserAttributeResponse":{
97249697
"type":"structure",
9725-
"members":{
9726-
},
9698+
"members":{},
97279699
"documentation":"<p>A container representing the response from the server from the request to verify user attributes.</p>"
97289700
},
97299701
"WebAuthnAuthenticatorAttachmentType":{"type":"string"},

0 commit comments

Comments
 (0)