@aws-sdk/client-cognito-identity 3.490.0 → 3.496.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.
Files changed (38) hide show
  1. package/dist-cjs/CognitoIdentity.js +1 -57
  2. package/dist-cjs/CognitoIdentityClient.js +1 -42
  3. package/dist-cjs/commands/CreateIdentityPoolCommand.js +1 -30
  4. package/dist-cjs/commands/DeleteIdentitiesCommand.js +1 -30
  5. package/dist-cjs/commands/DeleteIdentityPoolCommand.js +1 -30
  6. package/dist-cjs/commands/DescribeIdentityCommand.js +1 -30
  7. package/dist-cjs/commands/DescribeIdentityPoolCommand.js +1 -30
  8. package/dist-cjs/commands/GetCredentialsForIdentityCommand.js +1 -28
  9. package/dist-cjs/commands/GetIdCommand.js +1 -28
  10. package/dist-cjs/commands/GetIdentityPoolRolesCommand.js +1 -30
  11. package/dist-cjs/commands/GetOpenIdTokenCommand.js +1 -28
  12. package/dist-cjs/commands/GetOpenIdTokenForDeveloperIdentityCommand.js +1 -30
  13. package/dist-cjs/commands/GetPrincipalTagAttributeMapCommand.js +1 -30
  14. package/dist-cjs/commands/ListIdentitiesCommand.js +1 -30
  15. package/dist-cjs/commands/ListIdentityPoolsCommand.js +1 -30
  16. package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -30
  17. package/dist-cjs/commands/LookupDeveloperIdentityCommand.js +1 -30
  18. package/dist-cjs/commands/MergeDeveloperIdentitiesCommand.js +1 -30
  19. package/dist-cjs/commands/SetIdentityPoolRolesCommand.js +1 -30
  20. package/dist-cjs/commands/SetPrincipalTagAttributeMapCommand.js +1 -30
  21. package/dist-cjs/commands/TagResourceCommand.js +1 -30
  22. package/dist-cjs/commands/UnlinkDeveloperIdentityCommand.js +1 -30
  23. package/dist-cjs/commands/UnlinkIdentityCommand.js +1 -28
  24. package/dist-cjs/commands/UntagResourceCommand.js +1 -30
  25. package/dist-cjs/commands/UpdateIdentityPoolCommand.js +1 -30
  26. package/dist-cjs/commands/index.js +1 -26
  27. package/dist-cjs/endpoint/EndpointParameters.js +1 -18
  28. package/dist-cjs/extensionConfiguration.js +1 -2
  29. package/dist-cjs/index.js +2304 -11
  30. package/dist-cjs/models/CognitoIdentityServiceException.js +1 -12
  31. package/dist-cjs/models/index.js +1 -4
  32. package/dist-cjs/models/models_0.js +1 -165
  33. package/dist-cjs/pagination/Interfaces.js +1 -2
  34. package/dist-cjs/pagination/ListIdentityPoolsPaginator.js +1 -7
  35. package/dist-cjs/pagination/index.js +1 -5
  36. package/dist-cjs/protocols/Aws_json1_1.js +1 -1459
  37. package/dist-cjs/runtimeExtensions.js +1 -22
  38. package/package.json +41 -41
@@ -1,12 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CognitoIdentityServiceException = exports.__ServiceException = void 0;
4
- const smithy_client_1 = require("@smithy/smithy-client");
5
- Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
6
- class CognitoIdentityServiceException extends smithy_client_1.ServiceException {
7
- constructor(options) {
8
- super(options);
9
- Object.setPrototypeOf(this, CognitoIdentityServiceException.prototype);
10
- }
11
- }
12
- exports.CognitoIdentityServiceException = CognitoIdentityServiceException;
1
+ module.exports = require("../index.js");
@@ -1,4 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./models_0"), exports);
1
+ module.exports = require("../index.js");
@@ -1,165 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ConcurrentModificationException = exports.DeveloperUserAlreadyRegisteredException = exports.RoleMappingType = exports.MappingRuleMatchType = exports.InvalidIdentityPoolConfigurationException = exports.ExternalServiceException = exports.ResourceNotFoundException = exports.ErrorCode = exports.TooManyRequestsException = exports.ResourceConflictException = exports.NotAuthorizedException = exports.LimitExceededException = exports.InvalidParameterException = exports.InternalErrorException = exports.AmbiguousRoleResolutionType = void 0;
4
- const CognitoIdentityServiceException_1 = require("./CognitoIdentityServiceException");
5
- exports.AmbiguousRoleResolutionType = {
6
- AUTHENTICATED_ROLE: "AuthenticatedRole",
7
- DENY: "Deny",
8
- };
9
- class InternalErrorException extends CognitoIdentityServiceException_1.CognitoIdentityServiceException {
10
- constructor(opts) {
11
- super({
12
- name: "InternalErrorException",
13
- $fault: "server",
14
- ...opts,
15
- });
16
- this.name = "InternalErrorException";
17
- this.$fault = "server";
18
- Object.setPrototypeOf(this, InternalErrorException.prototype);
19
- }
20
- }
21
- exports.InternalErrorException = InternalErrorException;
22
- class InvalidParameterException extends CognitoIdentityServiceException_1.CognitoIdentityServiceException {
23
- constructor(opts) {
24
- super({
25
- name: "InvalidParameterException",
26
- $fault: "client",
27
- ...opts,
28
- });
29
- this.name = "InvalidParameterException";
30
- this.$fault = "client";
31
- Object.setPrototypeOf(this, InvalidParameterException.prototype);
32
- }
33
- }
34
- exports.InvalidParameterException = InvalidParameterException;
35
- class LimitExceededException extends CognitoIdentityServiceException_1.CognitoIdentityServiceException {
36
- constructor(opts) {
37
- super({
38
- name: "LimitExceededException",
39
- $fault: "client",
40
- ...opts,
41
- });
42
- this.name = "LimitExceededException";
43
- this.$fault = "client";
44
- Object.setPrototypeOf(this, LimitExceededException.prototype);
45
- }
46
- }
47
- exports.LimitExceededException = LimitExceededException;
48
- class NotAuthorizedException extends CognitoIdentityServiceException_1.CognitoIdentityServiceException {
49
- constructor(opts) {
50
- super({
51
- name: "NotAuthorizedException",
52
- $fault: "client",
53
- ...opts,
54
- });
55
- this.name = "NotAuthorizedException";
56
- this.$fault = "client";
57
- Object.setPrototypeOf(this, NotAuthorizedException.prototype);
58
- }
59
- }
60
- exports.NotAuthorizedException = NotAuthorizedException;
61
- class ResourceConflictException extends CognitoIdentityServiceException_1.CognitoIdentityServiceException {
62
- constructor(opts) {
63
- super({
64
- name: "ResourceConflictException",
65
- $fault: "client",
66
- ...opts,
67
- });
68
- this.name = "ResourceConflictException";
69
- this.$fault = "client";
70
- Object.setPrototypeOf(this, ResourceConflictException.prototype);
71
- }
72
- }
73
- exports.ResourceConflictException = ResourceConflictException;
74
- class TooManyRequestsException extends CognitoIdentityServiceException_1.CognitoIdentityServiceException {
75
- constructor(opts) {
76
- super({
77
- name: "TooManyRequestsException",
78
- $fault: "client",
79
- ...opts,
80
- });
81
- this.name = "TooManyRequestsException";
82
- this.$fault = "client";
83
- Object.setPrototypeOf(this, TooManyRequestsException.prototype);
84
- }
85
- }
86
- exports.TooManyRequestsException = TooManyRequestsException;
87
- exports.ErrorCode = {
88
- ACCESS_DENIED: "AccessDenied",
89
- INTERNAL_SERVER_ERROR: "InternalServerError",
90
- };
91
- class ResourceNotFoundException extends CognitoIdentityServiceException_1.CognitoIdentityServiceException {
92
- constructor(opts) {
93
- super({
94
- name: "ResourceNotFoundException",
95
- $fault: "client",
96
- ...opts,
97
- });
98
- this.name = "ResourceNotFoundException";
99
- this.$fault = "client";
100
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
101
- }
102
- }
103
- exports.ResourceNotFoundException = ResourceNotFoundException;
104
- class ExternalServiceException extends CognitoIdentityServiceException_1.CognitoIdentityServiceException {
105
- constructor(opts) {
106
- super({
107
- name: "ExternalServiceException",
108
- $fault: "client",
109
- ...opts,
110
- });
111
- this.name = "ExternalServiceException";
112
- this.$fault = "client";
113
- Object.setPrototypeOf(this, ExternalServiceException.prototype);
114
- }
115
- }
116
- exports.ExternalServiceException = ExternalServiceException;
117
- class InvalidIdentityPoolConfigurationException extends CognitoIdentityServiceException_1.CognitoIdentityServiceException {
118
- constructor(opts) {
119
- super({
120
- name: "InvalidIdentityPoolConfigurationException",
121
- $fault: "client",
122
- ...opts,
123
- });
124
- this.name = "InvalidIdentityPoolConfigurationException";
125
- this.$fault = "client";
126
- Object.setPrototypeOf(this, InvalidIdentityPoolConfigurationException.prototype);
127
- }
128
- }
129
- exports.InvalidIdentityPoolConfigurationException = InvalidIdentityPoolConfigurationException;
130
- exports.MappingRuleMatchType = {
131
- CONTAINS: "Contains",
132
- EQUALS: "Equals",
133
- NOT_EQUAL: "NotEqual",
134
- STARTS_WITH: "StartsWith",
135
- };
136
- exports.RoleMappingType = {
137
- RULES: "Rules",
138
- TOKEN: "Token",
139
- };
140
- class DeveloperUserAlreadyRegisteredException extends CognitoIdentityServiceException_1.CognitoIdentityServiceException {
141
- constructor(opts) {
142
- super({
143
- name: "DeveloperUserAlreadyRegisteredException",
144
- $fault: "client",
145
- ...opts,
146
- });
147
- this.name = "DeveloperUserAlreadyRegisteredException";
148
- this.$fault = "client";
149
- Object.setPrototypeOf(this, DeveloperUserAlreadyRegisteredException.prototype);
150
- }
151
- }
152
- exports.DeveloperUserAlreadyRegisteredException = DeveloperUserAlreadyRegisteredException;
153
- class ConcurrentModificationException extends CognitoIdentityServiceException_1.CognitoIdentityServiceException {
154
- constructor(opts) {
155
- super({
156
- name: "ConcurrentModificationException",
157
- $fault: "client",
158
- ...opts,
159
- });
160
- this.name = "ConcurrentModificationException";
161
- this.$fault = "client";
162
- Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
163
- }
164
- }
165
- exports.ConcurrentModificationException = ConcurrentModificationException;
1
+ module.exports = require("../index.js");
@@ -1,2 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListIdentityPools = void 0;
4
- const core_1 = require("@smithy/core");
5
- const CognitoIdentityClient_1 = require("../CognitoIdentityClient");
6
- const ListIdentityPoolsCommand_1 = require("../commands/ListIdentityPoolsCommand");
7
- exports.paginateListIdentityPools = (0, core_1.createPaginator)(CognitoIdentityClient_1.CognitoIdentityClient, ListIdentityPoolsCommand_1.ListIdentityPoolsCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,5 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./Interfaces"), exports);
5
- tslib_1.__exportStar(require("./ListIdentityPoolsPaginator"), exports);
1
+ module.exports = require("../index.js");