@aws-sdk/client-cognito-identity-provider 3.556.0 → 3.564.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -26,7 +26,8 @@ declare const CreateIdentityProviderCommand_base: {
26
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
27
  };
28
28
  /**
29
- * <p>Adds a configuration and trust relationship between a third-party identity provider (IdP) and a user pool.</p>
29
+ * <p>Adds a configuration and trust relationship between a third-party identity provider
30
+ * (IdP) and a user pool.</p>
30
31
  * <note>
31
32
  * <p>Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For
32
33
  * this operation, you must use IAM credentials to authorize requests, and you must
@@ -140,6 +140,10 @@ declare const SignUpCommand_base: {
140
140
  * <code>cognito-idp.amazonaws.com</code> or the external ID provided in the role does
141
141
  * not match what is provided in the SMS configuration for the user pool.</p>
142
142
  *
143
+ * @throws {@link LimitExceededException} (client fault)
144
+ * <p>This exception is thrown when a user exceeds the limit for a requested Amazon Web Services
145
+ * resource.</p>
146
+ *
143
147
  * @throws {@link NotAuthorizedException} (client fault)
144
148
  * <p>This exception is thrown when a user isn't authorized.</p>
145
149
  *
@@ -217,7 +217,7 @@ export interface NumberAttributeConstraintsType {
217
217
  MinValue?: string;
218
218
  /**
219
219
  * <p>The maximum length of a number attribute value. Must be a number less than or equal to
220
- * <code>2^1023</code>, represented as a string with a length of 131072 characters or
220
+ * <code>2^1023</code>, represented as a string with a length of 131072 characters or
221
221
  * fewer.</p>
222
222
  * @public
223
223
  */
@@ -235,7 +235,7 @@ export interface StringAttributeConstraintsType {
235
235
  MinLength?: string;
236
236
  /**
237
237
  * <p>The maximum length of a string attribute value. Must be a number less than or equal to
238
- * <code>2^1023</code>, represented as a string with a length of 131072 characters or
238
+ * <code>2^1023</code>, represented as a string with a length of 131072 characters or
239
239
  * fewer.</p>
240
240
  * @public
241
241
  */
@@ -836,7 +836,8 @@ export interface UserType {
836
836
  */
837
837
  UserCreateDate?: Date;
838
838
  /**
839
- * <p>The date and time, in <a href="https://www.iso.org/iso-8601-date-and-time-format.html">ISO 8601</a> format, when the item was modified.</p>
839
+ * <p>The date and time when the item was modified. Amazon Cognito returns this timestamp in UNIX epoch time format. Your SDK might render the output in a
840
+ * human-readable format like ISO 8601 or a Java <code>Date</code> object.</p>
840
841
  * @public
841
842
  */
842
843
  UserLastModifiedDate?: Date;
@@ -1283,7 +1284,8 @@ export interface DeviceType {
1283
1284
  */
1284
1285
  DeviceCreateDate?: Date;
1285
1286
  /**
1286
- * <p>The date and time, in <a href="https://www.iso.org/iso-8601-date-and-time-format.html">ISO 8601</a> format, when the item was modified.</p>
1287
+ * <p>The date and time when the item was modified. Amazon Cognito returns this timestamp in UNIX epoch time format. Your SDK might render the output in a
1288
+ * human-readable format like ISO 8601 or a Java <code>Date</code> object.</p>
1287
1289
  * @public
1288
1290
  */
1289
1291
  DeviceLastModifiedDate?: Date;
@@ -1347,7 +1349,8 @@ export interface AdminGetUserResponse {
1347
1349
  */
1348
1350
  UserCreateDate?: Date;
1349
1351
  /**
1350
- * <p>The date and time, in <a href="https://www.iso.org/iso-8601-date-and-time-format.html">ISO 8601</a> format, when the item was modified.</p>
1352
+ * <p>The date and time when the item was modified. Amazon Cognito returns this timestamp in UNIX epoch time format. Your SDK might render the output in a
1353
+ * human-readable format like ISO 8601 or a Java <code>Date</code> object.</p>
1351
1354
  * @public
1352
1355
  */
1353
1356
  UserLastModifiedDate?: Date;
@@ -2092,12 +2095,14 @@ export interface GroupType {
2092
2095
  */
2093
2096
  Precedence?: number;
2094
2097
  /**
2095
- * <p>The date and time, in <a href="https://www.iso.org/iso-8601-date-and-time-format.html">ISO 8601</a> format, when the item was modified.</p>
2098
+ * <p>The date and time when the item was modified. Amazon Cognito returns this timestamp in UNIX epoch time format. Your SDK might render the output in a
2099
+ * human-readable format like ISO 8601 or a Java <code>Date</code> object.</p>
2096
2100
  * @public
2097
2101
  */
2098
2102
  LastModifiedDate?: Date;
2099
2103
  /**
2100
- * <p>The date and time, in <a href="https://www.iso.org/iso-8601-date-and-time-format.html">ISO 8601</a> format, when the item was created.</p>
2104
+ * <p>The date and time when the item was created. Amazon Cognito returns this timestamp in UNIX epoch time format. Your SDK might render the output in a
2105
+ * human-readable format like ISO 8601 or a Java <code>Date</code> object.</p>
2101
2106
  * @public
2102
2107
  */
2103
2108
  CreationDate?: Date;
@@ -2349,7 +2354,8 @@ export interface AuthEventType {
2349
2354
  */
2350
2355
  EventType?: EventType;
2351
2356
  /**
2352
- * <p>The date and time, in <a href="https://www.iso.org/iso-8601-date-and-time-format.html">ISO 8601</a> format, when the item was created.</p>
2357
+ * <p>The date and time when the item was created. Amazon Cognito returns this timestamp in UNIX epoch time format. Your SDK might render the output in a
2358
+ * human-readable format like ISO 8601 or a Java <code>Date</code> object.</p>
2353
2359
  * @public
2354
2360
  */
2355
2361
  CreationDate?: Date;
@@ -3941,12 +3947,14 @@ export interface IdentityProviderType {
3941
3947
  */
3942
3948
  IdpIdentifiers?: string[];
3943
3949
  /**
3944
- * <p>The date and time, in <a href="https://www.iso.org/iso-8601-date-and-time-format.html">ISO 8601</a> format, when the item was modified.</p>
3950
+ * <p>The date and time when the item was modified. Amazon Cognito returns this timestamp in UNIX epoch time format. Your SDK might render the output in a
3951
+ * human-readable format like ISO 8601 or a Java <code>Date</code> object.</p>
3945
3952
  * @public
3946
3953
  */
3947
3954
  LastModifiedDate?: Date;
3948
3955
  /**
3949
- * <p>The date and time, in <a href="https://www.iso.org/iso-8601-date-and-time-format.html">ISO 8601</a> format, when the item was created.</p>
3956
+ * <p>The date and time when the item was created. Amazon Cognito returns this timestamp in UNIX epoch time format. Your SDK might render the output in a
3957
+ * human-readable format like ISO 8601 or a Java <code>Date</code> object.</p>
3950
3958
  * @public
3951
3959
  */
3952
3960
  CreationDate?: Date;
@@ -4000,9 +4008,12 @@ export interface CreateResourceServerRequest {
4000
4008
  */
4001
4009
  UserPoolId: string | undefined;
4002
4010
  /**
4003
- * <p>A unique resource server identifier for the resource server. This could be an HTTPS
4004
- * endpoint where the resource server is located, such as
4005
- * <code>https://my-weather-api.example.com</code>.</p>
4011
+ * <p>A unique resource server identifier for the resource server. The identifier can be an
4012
+ * API friendly name like <code>solar-system-data</code>. You can also set an API URL like
4013
+ * <code>https://solar-system-data-api.example.com</code> as your identifier.</p>
4014
+ * <p>Amazon Cognito represents scopes in the access token in the format
4015
+ * <code>$resource-server-identifier/$scope</code>. Longer scope-identifier strings
4016
+ * increase the size of your access tokens.</p>
4006
4017
  * @public
4007
4018
  */
4008
4019
  Identifier: string | undefined;
@@ -4029,7 +4040,12 @@ export interface ResourceServerType {
4029
4040
  */
4030
4041
  UserPoolId?: string;
4031
4042
  /**
4032
- * <p>The identifier for the resource server.</p>
4043
+ * <p>A unique resource server identifier for the resource server. The identifier can be an
4044
+ * API friendly name like <code>solar-system-data</code>. You can also set an API URL like
4045
+ * <code>https://solar-system-data-api.example.com</code> as your identifier.</p>
4046
+ * <p>Amazon Cognito represents scopes in the access token in the format
4047
+ * <code>$resource-server-identifier/$scope</code>. Longer scope-identifier strings
4048
+ * increase the size of your access tokens.</p>
4033
4049
  * @public
4034
4050
  */
4035
4051
  Identifier?: string;
@@ -4119,7 +4135,8 @@ export interface UserImportJobType {
4119
4135
  */
4120
4136
  PreSignedUrl?: string;
4121
4137
  /**
4122
- * <p>The date and time, in <a href="https://www.iso.org/iso-8601-date-and-time-format.html">ISO 8601</a> format, when the item was created.</p>
4138
+ * <p>The date and time when the item was created. Amazon Cognito returns this timestamp in UNIX epoch time format. Your SDK might render the output in a
4139
+ * human-readable format like ISO 8601 or a Java <code>Date</code> object.</p>
4123
4140
  * @public
4124
4141
  */
4125
4142
  CreationDate?: Date;
@@ -5067,12 +5084,14 @@ export interface UserPoolType {
5067
5084
  */
5068
5085
  Status?: StatusType;
5069
5086
  /**
5070
- * <p>The date and time, in <a href="https://www.iso.org/iso-8601-date-and-time-format.html">ISO 8601</a> format, when the item was modified.</p>
5087
+ * <p>The date and time when the item was modified. Amazon Cognito returns this timestamp in UNIX epoch time format. Your SDK might render the output in a
5088
+ * human-readable format like ISO 8601 or a Java <code>Date</code> object.</p>
5071
5089
  * @public
5072
5090
  */
5073
5091
  LastModifiedDate?: Date;
5074
5092
  /**
5075
- * <p>The date and time, in <a href="https://www.iso.org/iso-8601-date-and-time-format.html">ISO 8601</a> format, when the item was created.</p>
5093
+ * <p>The date and time when the item was created. Amazon Cognito returns this timestamp in UNIX epoch time format. Your SDK might render the output in a
5094
+ * human-readable format like ISO 8601 or a Java <code>Date</code> object.</p>
5076
5095
  * @public
5077
5096
  */
5078
5097
  CreationDate?: Date;
@@ -5585,7 +5604,9 @@ export interface CreateUserPoolClientRequest {
5585
5604
  */
5586
5605
  LogoutURLs?: string[];
5587
5606
  /**
5588
- * <p>The default redirect URI. Must be in the <code>CallbackURLs</code> list.</p>
5607
+ * <p>The default redirect URI. In app clients with one assigned IdP, replaces
5608
+ * <code>redirect_uri</code> in authentication requests. Must be in the
5609
+ * <code>CallbackURLs</code> list.</p>
5589
5610
  * <p>A redirect URI must:</p>
5590
5611
  * <ul>
5591
5612
  * <li>
@@ -5598,8 +5619,7 @@ export interface CreateUserPoolClientRequest {
5598
5619
  * <p>Not include a fragment component.</p>
5599
5620
  * </li>
5600
5621
  * </ul>
5601
- * <p>See <a href="https://tools.ietf.org/html/rfc6749#section-3.1.2">OAuth 2.0 -
5602
- * Redirection Endpoint</a>.</p>
5622
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-settings-client-apps.html#cognito-user-pools-app-idp-settings-about">Default redirect URI</a>.</p>
5603
5623
  * <p>Amazon Cognito requires HTTPS over HTTP except for http://localhost for testing purposes
5604
5624
  * only.</p>
5605
5625
  * <p>App callback URLs such as myapp://example are also supported.</p>
@@ -5758,12 +5778,14 @@ export interface UserPoolClientType {
5758
5778
  */
5759
5779
  ClientSecret?: string;
5760
5780
  /**
5761
- * <p>The date and time, in <a href="https://www.iso.org/iso-8601-date-and-time-format.html">ISO 8601</a> format, when the item was modified.</p>
5781
+ * <p>The date and time when the item was modified. Amazon Cognito returns this timestamp in UNIX epoch time format. Your SDK might render the output in a
5782
+ * human-readable format like ISO 8601 or a Java <code>Date</code> object.</p>
5762
5783
  * @public
5763
5784
  */
5764
5785
  LastModifiedDate?: Date;
5765
5786
  /**
5766
- * <p>The date and time, in <a href="https://www.iso.org/iso-8601-date-and-time-format.html">ISO 8601</a> format, when the item was created.</p>
5787
+ * <p>The date and time when the item was created. Amazon Cognito returns this timestamp in UNIX epoch time format. Your SDK might render the output in a
5788
+ * human-readable format like ISO 8601 or a Java <code>Date</code> object.</p>
5767
5789
  * @public
5768
5790
  */
5769
5791
  CreationDate?: Date;
@@ -6357,7 +6379,12 @@ export interface DescribeResourceServerRequest {
6357
6379
  */
6358
6380
  UserPoolId: string | undefined;
6359
6381
  /**
6360
- * <p>The identifier for the resource server</p>
6382
+ * <p>A unique resource server identifier for the resource server. The identifier can be an
6383
+ * API friendly name like <code>solar-system-data</code>. You can also set an API URL like
6384
+ * <code>https://solar-system-data-api.example.com</code> as your identifier.</p>
6385
+ * <p>Amazon Cognito represents scopes in the access token in the format
6386
+ * <code>$resource-server-identifier/$scope</code>. Longer scope-identifier strings
6387
+ * increase the size of your access tokens.</p>
6361
6388
  * @public
6362
6389
  */
6363
6390
  Identifier: string | undefined;
@@ -6493,7 +6520,8 @@ export interface RiskConfigurationType {
6493
6520
  */
6494
6521
  RiskExceptionConfiguration?: RiskExceptionConfigurationType;
6495
6522
  /**
6496
- * <p>The date and time, in <a href="https://www.iso.org/iso-8601-date-and-time-format.html">ISO 8601</a> format, when the item was modified.</p>
6523
+ * <p>The date and time when the item was modified. Amazon Cognito returns this timestamp in UNIX epoch time format. Your SDK might render the output in a
6524
+ * human-readable format like ISO 8601 or a Java <code>Date</code> object.</p>
6497
6525
  * @public
6498
6526
  */
6499
6527
  LastModifiedDate?: Date;
@@ -7075,12 +7103,14 @@ export interface UICustomizationType {
7075
7103
  */
7076
7104
  CSSVersion?: string;
7077
7105
  /**
7078
- * <p>The date and time, in <a href="https://www.iso.org/iso-8601-date-and-time-format.html">ISO 8601</a> format, when the item was modified.</p>
7106
+ * <p>The date and time when the item was modified. Amazon Cognito returns this timestamp in UNIX epoch time format. Your SDK might render the output in a
7107
+ * human-readable format like ISO 8601 or a Java <code>Date</code> object.</p>
7079
7108
  * @public
7080
7109
  */
7081
7110
  LastModifiedDate?: Date;
7082
7111
  /**
7083
- * <p>The date and time, in <a href="https://www.iso.org/iso-8601-date-and-time-format.html">ISO 8601</a> format, when the item was created.</p>
7112
+ * <p>The date and time when the item was created. Amazon Cognito returns this timestamp in UNIX epoch time format. Your SDK might render the output in a
7113
+ * human-readable format like ISO 8601 or a Java <code>Date</code> object.</p>
7084
7114
  * @public
7085
7115
  */
7086
7116
  CreationDate?: Date;
@@ -7706,7 +7736,8 @@ export interface ProviderDescription {
7706
7736
  */
7707
7737
  LastModifiedDate?: Date;
7708
7738
  /**
7709
- * <p>The date and time, in <a href="https://www.iso.org/iso-8601-date-and-time-format.html">ISO 8601</a> format, when the item was created.</p>
7739
+ * <p>The date and time when the item was created. Amazon Cognito returns this timestamp in UNIX epoch time format. Your SDK might render the output in a
7740
+ * human-readable format like ISO 8601 or a Java <code>Date</code> object.</p>
7710
7741
  * @public
7711
7742
  */
7712
7743
  CreationDate?: Date;
@@ -7933,12 +7964,14 @@ export interface UserPoolDescriptionType {
7933
7964
  */
7934
7965
  Status?: StatusType;
7935
7966
  /**
7936
- * <p>The date and time, in <a href="https://www.iso.org/iso-8601-date-and-time-format.html">ISO 8601</a> format, when the item was modified.</p>
7967
+ * <p>The date and time when the item was modified. Amazon Cognito returns this timestamp in UNIX epoch time format. Your SDK might render the output in a
7968
+ * human-readable format like ISO 8601 or a Java <code>Date</code> object.</p>
7937
7969
  * @public
7938
7970
  */
7939
7971
  LastModifiedDate?: Date;
7940
7972
  /**
7941
- * <p>The date and time, in <a href="https://www.iso.org/iso-8601-date-and-time-format.html">ISO 8601</a> format, when the item was created.</p>
7973
+ * <p>The date and time when the item was created. Amazon Cognito returns this timestamp in UNIX epoch time format. Your SDK might render the output in a
7974
+ * human-readable format like ISO 8601 or a Java <code>Date</code> object.</p>
7942
7975
  * @public
7943
7976
  */
7944
7977
  CreationDate?: Date;
@@ -8000,8 +8033,8 @@ export interface ListUsersRequest {
8000
8033
  /**
8001
8034
  * <p>A filter string of the form "<i>AttributeName</i>
8002
8035
  * <i>Filter-Type</i> "<i>AttributeValue</i>"". Quotation marks
8003
- * within the filter string must be escaped using the backslash (<code>\</code>) character. For example,
8004
- * <code>"family_name = \"Reddy\""</code>.</p>
8036
+ * within the filter string must be escaped using the backslash (<code>\</code>) character.
8037
+ * For example, <code>"family_name = \"Reddy\""</code>.</p>
8005
8038
  * <ul>
8006
8039
  * <li>
8007
8040
  * <p>
@@ -8010,9 +8043,10 @@ export interface ListUsersRequest {
8010
8043
  * </li>
8011
8044
  * <li>
8012
8045
  * <p>
8013
- * <i>Filter-Type</i>: For an exact match, use <code>=</code>, for example,
8014
- * "<code>given_name = \"Jon\"</code>". For a prefix ("starts with") match, use
8015
- * <code>^=</code>, for example, "<code>given_name ^= \"Jon\"</code>". </p>
8046
+ * <i>Filter-Type</i>: For an exact match, use <code>=</code>, for
8047
+ * example, "<code>given_name = \"Jon\"</code>". For a prefix ("starts with")
8048
+ * match, use <code>^=</code>, for example, "<code>given_name ^= \"Jon\"</code>".
8049
+ * </p>
8016
8050
  * </li>
8017
8051
  * <li>
8018
8052
  * <p>
@@ -718,7 +718,12 @@ export interface UpdateResourceServerRequest {
718
718
  */
719
719
  UserPoolId: string | undefined;
720
720
  /**
721
- * <p>The identifier for the resource server.</p>
721
+ * <p>A unique resource server identifier for the resource server. The identifier can be an
722
+ * API friendly name like <code>solar-system-data</code>. You can also set an API URL like
723
+ * <code>https://solar-system-data-api.example.com</code> as your identifier.</p>
724
+ * <p>Amazon Cognito represents scopes in the access token in the format
725
+ * <code>$resource-server-identifier/$scope</code>. Longer scope-identifier strings
726
+ * increase the size of your access tokens.</p>
722
727
  * @public
723
728
  */
724
729
  Identifier: string | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cognito-identity-provider",
3
3
  "description": "AWS SDK for JavaScript Cognito Identity Provider Client for Node.js, Browser and React Native",
4
- "version": "3.556.0",
4
+ "version": "3.564.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-cognito-identity-provider",
@@ -20,9 +20,8 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.556.0",
24
23
  "@aws-sdk/core": "3.556.0",
25
- "@aws-sdk/credential-provider-node": "3.556.0",
24
+ "@aws-sdk/credential-provider-node": "3.564.0",
26
25
  "@aws-sdk/middleware-host-header": "3.535.0",
27
26
  "@aws-sdk/middleware-logger": "3.535.0",
28
27
  "@aws-sdk/middleware-recursion-detection": "3.535.0",