@aws-sdk/client-resource-explorer-2 3.206.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 (163) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +241 -0
  3. package/dist-cjs/ResourceExplorer2.js +292 -0
  4. package/dist-cjs/ResourceExplorer2Client.js +40 -0
  5. package/dist-cjs/commands/AssociateDefaultViewCommand.js +45 -0
  6. package/dist-cjs/commands/BatchGetViewCommand.js +45 -0
  7. package/dist-cjs/commands/CreateIndexCommand.js +45 -0
  8. package/dist-cjs/commands/CreateViewCommand.js +45 -0
  9. package/dist-cjs/commands/DeleteIndexCommand.js +45 -0
  10. package/dist-cjs/commands/DeleteViewCommand.js +45 -0
  11. package/dist-cjs/commands/DisassociateDefaultViewCommand.js +44 -0
  12. package/dist-cjs/commands/GetDefaultViewCommand.js +45 -0
  13. package/dist-cjs/commands/GetIndexCommand.js +45 -0
  14. package/dist-cjs/commands/GetViewCommand.js +45 -0
  15. package/dist-cjs/commands/ListIndexesCommand.js +45 -0
  16. package/dist-cjs/commands/ListSupportedResourceTypesCommand.js +45 -0
  17. package/dist-cjs/commands/ListTagsForResourceCommand.js +45 -0
  18. package/dist-cjs/commands/ListViewsCommand.js +45 -0
  19. package/dist-cjs/commands/SearchCommand.js +45 -0
  20. package/dist-cjs/commands/TagResourceCommand.js +45 -0
  21. package/dist-cjs/commands/UntagResourceCommand.js +45 -0
  22. package/dist-cjs/commands/UpdateIndexTypeCommand.js +45 -0
  23. package/dist-cjs/commands/UpdateViewCommand.js +45 -0
  24. package/dist-cjs/commands/index.js +22 -0
  25. package/dist-cjs/endpoint/EndpointParameters.js +11 -0
  26. package/dist-cjs/endpoint/endpointResolver.js +12 -0
  27. package/dist-cjs/endpoint/ruleset.js +251 -0
  28. package/dist-cjs/index.js +11 -0
  29. package/dist-cjs/models/ResourceExplorer2ServiceException.js +11 -0
  30. package/dist-cjs/models/index.js +4 -0
  31. package/dist-cjs/models/models_0.js +318 -0
  32. package/dist-cjs/pagination/Interfaces.js +2 -0
  33. package/dist-cjs/pagination/ListIndexesPaginator.js +36 -0
  34. package/dist-cjs/pagination/ListSupportedResourceTypesPaginator.js +36 -0
  35. package/dist-cjs/pagination/ListViewsPaginator.js +36 -0
  36. package/dist-cjs/pagination/SearchPaginator.js +36 -0
  37. package/dist-cjs/pagination/index.js +8 -0
  38. package/dist-cjs/protocols/Aws_restJson1.js +1771 -0
  39. package/dist-cjs/runtimeConfig.browser.js +42 -0
  40. package/dist-cjs/runtimeConfig.js +50 -0
  41. package/dist-cjs/runtimeConfig.native.js +15 -0
  42. package/dist-cjs/runtimeConfig.shared.js +17 -0
  43. package/dist-es/ResourceExplorer2.js +288 -0
  44. package/dist-es/ResourceExplorer2Client.js +36 -0
  45. package/dist-es/commands/AssociateDefaultViewCommand.js +41 -0
  46. package/dist-es/commands/BatchGetViewCommand.js +41 -0
  47. package/dist-es/commands/CreateIndexCommand.js +41 -0
  48. package/dist-es/commands/CreateViewCommand.js +41 -0
  49. package/dist-es/commands/DeleteIndexCommand.js +41 -0
  50. package/dist-es/commands/DeleteViewCommand.js +41 -0
  51. package/dist-es/commands/DisassociateDefaultViewCommand.js +40 -0
  52. package/dist-es/commands/GetDefaultViewCommand.js +41 -0
  53. package/dist-es/commands/GetIndexCommand.js +41 -0
  54. package/dist-es/commands/GetViewCommand.js +41 -0
  55. package/dist-es/commands/ListIndexesCommand.js +41 -0
  56. package/dist-es/commands/ListSupportedResourceTypesCommand.js +41 -0
  57. package/dist-es/commands/ListTagsForResourceCommand.js +41 -0
  58. package/dist-es/commands/ListViewsCommand.js +41 -0
  59. package/dist-es/commands/SearchCommand.js +41 -0
  60. package/dist-es/commands/TagResourceCommand.js +41 -0
  61. package/dist-es/commands/UntagResourceCommand.js +41 -0
  62. package/dist-es/commands/UpdateIndexTypeCommand.js +41 -0
  63. package/dist-es/commands/UpdateViewCommand.js +41 -0
  64. package/dist-es/commands/index.js +19 -0
  65. package/dist-es/endpoint/EndpointParameters.js +7 -0
  66. package/dist-es/endpoint/endpointResolver.js +8 -0
  67. package/dist-es/endpoint/ruleset.js +248 -0
  68. package/dist-es/index.js +6 -0
  69. package/dist-es/models/ResourceExplorer2ServiceException.js +7 -0
  70. package/dist-es/models/index.js +1 -0
  71. package/dist-es/models/models_0.js +262 -0
  72. package/dist-es/pagination/Interfaces.js +1 -0
  73. package/dist-es/pagination/ListIndexesPaginator.js +32 -0
  74. package/dist-es/pagination/ListSupportedResourceTypesPaginator.js +32 -0
  75. package/dist-es/pagination/ListViewsPaginator.js +32 -0
  76. package/dist-es/pagination/SearchPaginator.js +32 -0
  77. package/dist-es/pagination/index.js +5 -0
  78. package/dist-es/protocols/Aws_restJson1.js +1730 -0
  79. package/dist-es/runtimeConfig.browser.js +37 -0
  80. package/dist-es/runtimeConfig.js +45 -0
  81. package/dist-es/runtimeConfig.native.js +11 -0
  82. package/dist-es/runtimeConfig.shared.js +13 -0
  83. package/dist-types/ResourceExplorer2.d.ts +336 -0
  84. package/dist-types/ResourceExplorer2Client.d.ts +196 -0
  85. package/dist-types/commands/AssociateDefaultViewCommand.d.ts +43 -0
  86. package/dist-types/commands/BatchGetViewCommand.d.ts +37 -0
  87. package/dist-types/commands/CreateIndexCommand.d.ts +90 -0
  88. package/dist-types/commands/CreateViewCommand.d.ts +44 -0
  89. package/dist-types/commands/DeleteIndexCommand.d.ts +42 -0
  90. package/dist-types/commands/DeleteViewCommand.d.ts +40 -0
  91. package/dist-types/commands/DisassociateDefaultViewCommand.d.ts +41 -0
  92. package/dist-types/commands/GetDefaultViewCommand.d.ts +38 -0
  93. package/dist-types/commands/GetIndexCommand.d.ts +38 -0
  94. package/dist-types/commands/GetViewCommand.d.ts +37 -0
  95. package/dist-types/commands/ListIndexesCommand.d.ts +38 -0
  96. package/dist-types/commands/ListSupportedResourceTypesCommand.d.ts +37 -0
  97. package/dist-types/commands/ListTagsForResourceCommand.d.ts +37 -0
  98. package/dist-types/commands/ListViewsCommand.d.ts +46 -0
  99. package/dist-types/commands/SearchCommand.d.ts +49 -0
  100. package/dist-types/commands/TagResourceCommand.d.ts +37 -0
  101. package/dist-types/commands/UntagResourceCommand.d.ts +37 -0
  102. package/dist-types/commands/UpdateIndexTypeCommand.d.ts +93 -0
  103. package/dist-types/commands/UpdateViewCommand.d.ts +38 -0
  104. package/dist-types/commands/index.d.ts +19 -0
  105. package/dist-types/endpoint/EndpointParameters.d.ts +17 -0
  106. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  107. package/dist-types/endpoint/ruleset.d.ts +2 -0
  108. package/dist-types/index.d.ts +6 -0
  109. package/dist-types/models/ResourceExplorer2ServiceException.d.ts +10 -0
  110. package/dist-types/models/index.d.ts +1 -0
  111. package/dist-types/models/models_0.d.ts +1080 -0
  112. package/dist-types/pagination/Interfaces.d.ts +6 -0
  113. package/dist-types/pagination/ListIndexesPaginator.d.ts +4 -0
  114. package/dist-types/pagination/ListSupportedResourceTypesPaginator.d.ts +4 -0
  115. package/dist-types/pagination/ListViewsPaginator.d.ts +4 -0
  116. package/dist-types/pagination/SearchPaginator.d.ts +4 -0
  117. package/dist-types/pagination/index.d.ts +5 -0
  118. package/dist-types/protocols/Aws_restJson1.d.ts +59 -0
  119. package/dist-types/runtimeConfig.browser.d.ts +42 -0
  120. package/dist-types/runtimeConfig.d.ts +42 -0
  121. package/dist-types/runtimeConfig.native.d.ts +41 -0
  122. package/dist-types/runtimeConfig.shared.d.ts +17 -0
  123. package/dist-types/ts3.4/ResourceExplorer2.d.ts +327 -0
  124. package/dist-types/ts3.4/ResourceExplorer2Client.d.ts +226 -0
  125. package/dist-types/ts3.4/commands/AssociateDefaultViewCommand.d.ts +41 -0
  126. package/dist-types/ts3.4/commands/BatchGetViewCommand.d.ts +34 -0
  127. package/dist-types/ts3.4/commands/CreateIndexCommand.d.ts +34 -0
  128. package/dist-types/ts3.4/commands/CreateViewCommand.d.ts +34 -0
  129. package/dist-types/ts3.4/commands/DeleteIndexCommand.d.ts +34 -0
  130. package/dist-types/ts3.4/commands/DeleteViewCommand.d.ts +34 -0
  131. package/dist-types/ts3.4/commands/DisassociateDefaultViewCommand.d.ts +35 -0
  132. package/dist-types/ts3.4/commands/GetDefaultViewCommand.d.ts +34 -0
  133. package/dist-types/ts3.4/commands/GetIndexCommand.d.ts +34 -0
  134. package/dist-types/ts3.4/commands/GetViewCommand.d.ts +32 -0
  135. package/dist-types/ts3.4/commands/ListIndexesCommand.d.ts +34 -0
  136. package/dist-types/ts3.4/commands/ListSupportedResourceTypesCommand.d.ts +41 -0
  137. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +38 -0
  138. package/dist-types/ts3.4/commands/ListViewsCommand.d.ts +34 -0
  139. package/dist-types/ts3.4/commands/SearchCommand.d.ts +32 -0
  140. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +34 -0
  141. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +34 -0
  142. package/dist-types/ts3.4/commands/UpdateIndexTypeCommand.d.ts +37 -0
  143. package/dist-types/ts3.4/commands/UpdateViewCommand.d.ts +34 -0
  144. package/dist-types/ts3.4/commands/index.d.ts +19 -0
  145. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +32 -0
  146. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  147. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  148. package/dist-types/ts3.4/index.d.ts +6 -0
  149. package/dist-types/ts3.4/models/ResourceExplorer2ServiceException.d.ts +7 -0
  150. package/dist-types/ts3.4/models/index.d.ts +1 -0
  151. package/dist-types/ts3.4/models/models_0.d.ts +384 -0
  152. package/dist-types/ts3.4/pagination/Interfaces.d.ts +7 -0
  153. package/dist-types/ts3.4/pagination/ListIndexesPaginator.d.ts +11 -0
  154. package/dist-types/ts3.4/pagination/ListSupportedResourceTypesPaginator.d.ts +11 -0
  155. package/dist-types/ts3.4/pagination/ListViewsPaginator.d.ts +11 -0
  156. package/dist-types/ts3.4/pagination/SearchPaginator.d.ts +11 -0
  157. package/dist-types/ts3.4/pagination/index.d.ts +5 -0
  158. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +233 -0
  159. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +88 -0
  160. package/dist-types/ts3.4/runtimeConfig.d.ts +88 -0
  161. package/dist-types/ts3.4/runtimeConfig.native.d.ts +77 -0
  162. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +19 -0
  163. package/package.json +105 -0
@@ -0,0 +1,251 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ruleSet = void 0;
4
+ exports.ruleSet = {
5
+ version: "1.0",
6
+ parameters: {
7
+ Region: {
8
+ builtIn: "AWS::Region",
9
+ required: false,
10
+ documentation: "The AWS region used to dispatch the request.",
11
+ type: "String",
12
+ },
13
+ UseFIPS: {
14
+ builtIn: "AWS::UseFIPS",
15
+ required: true,
16
+ default: false,
17
+ documentation: "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.",
18
+ type: "Boolean",
19
+ },
20
+ Endpoint: {
21
+ builtIn: "SDK::Endpoint",
22
+ required: false,
23
+ documentation: "Override the endpoint used to send this request",
24
+ type: "String",
25
+ },
26
+ },
27
+ rules: [
28
+ {
29
+ conditions: [
30
+ {
31
+ fn: "aws.partition",
32
+ argv: [
33
+ {
34
+ ref: "Region",
35
+ },
36
+ ],
37
+ assign: "PartitionResult",
38
+ },
39
+ ],
40
+ type: "tree",
41
+ rules: [
42
+ {
43
+ conditions: [
44
+ {
45
+ fn: "isSet",
46
+ argv: [
47
+ {
48
+ ref: "Endpoint",
49
+ },
50
+ ],
51
+ },
52
+ {
53
+ fn: "parseURL",
54
+ argv: [
55
+ {
56
+ ref: "Endpoint",
57
+ },
58
+ ],
59
+ assign: "url",
60
+ },
61
+ ],
62
+ type: "tree",
63
+ rules: [
64
+ {
65
+ conditions: [
66
+ {
67
+ fn: "booleanEquals",
68
+ argv: [
69
+ {
70
+ ref: "UseFIPS",
71
+ },
72
+ true,
73
+ ],
74
+ },
75
+ ],
76
+ error: "Invalid Configuration: FIPS and custom endpoint are not supported",
77
+ type: "error",
78
+ },
79
+ {
80
+ conditions: [],
81
+ endpoint: {
82
+ url: {
83
+ ref: "Endpoint",
84
+ },
85
+ properties: {},
86
+ headers: {},
87
+ },
88
+ type: "endpoint",
89
+ },
90
+ ],
91
+ },
92
+ {
93
+ conditions: [],
94
+ type: "tree",
95
+ rules: [
96
+ {
97
+ conditions: [
98
+ {
99
+ fn: "booleanEquals",
100
+ argv: [
101
+ true,
102
+ {
103
+ fn: "getAttr",
104
+ argv: [
105
+ {
106
+ ref: "PartitionResult",
107
+ },
108
+ "supportsDualStack",
109
+ ],
110
+ },
111
+ ],
112
+ },
113
+ ],
114
+ type: "tree",
115
+ rules: [
116
+ {
117
+ conditions: [
118
+ {
119
+ fn: "booleanEquals",
120
+ argv: [
121
+ {
122
+ ref: "UseFIPS",
123
+ },
124
+ true,
125
+ ],
126
+ },
127
+ ],
128
+ type: "tree",
129
+ rules: [
130
+ {
131
+ conditions: [
132
+ {
133
+ fn: "booleanEquals",
134
+ argv: [
135
+ true,
136
+ {
137
+ fn: "getAttr",
138
+ argv: [
139
+ {
140
+ ref: "PartitionResult",
141
+ },
142
+ "supportsFIPS",
143
+ ],
144
+ },
145
+ ],
146
+ },
147
+ ],
148
+ type: "tree",
149
+ rules: [
150
+ {
151
+ conditions: [],
152
+ endpoint: {
153
+ url: "https://resource-explorer-2-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
154
+ properties: {},
155
+ headers: {},
156
+ },
157
+ type: "endpoint",
158
+ },
159
+ ],
160
+ },
161
+ {
162
+ conditions: [],
163
+ error: "FIPS is enabled but this partition does not support FIPS",
164
+ type: "error",
165
+ },
166
+ ],
167
+ },
168
+ {
169
+ conditions: [],
170
+ endpoint: {
171
+ url: "https://resource-explorer-2.{Region}.{PartitionResult#dualStackDnsSuffix}",
172
+ properties: {},
173
+ headers: {},
174
+ },
175
+ type: "endpoint",
176
+ },
177
+ ],
178
+ },
179
+ {
180
+ conditions: [],
181
+ type: "tree",
182
+ rules: [
183
+ {
184
+ conditions: [
185
+ {
186
+ fn: "booleanEquals",
187
+ argv: [
188
+ {
189
+ ref: "UseFIPS",
190
+ },
191
+ true,
192
+ ],
193
+ },
194
+ ],
195
+ type: "tree",
196
+ rules: [
197
+ {
198
+ conditions: [
199
+ {
200
+ fn: "booleanEquals",
201
+ argv: [
202
+ true,
203
+ {
204
+ fn: "getAttr",
205
+ argv: [
206
+ {
207
+ ref: "PartitionResult",
208
+ },
209
+ "supportsFIPS",
210
+ ],
211
+ },
212
+ ],
213
+ },
214
+ ],
215
+ type: "tree",
216
+ rules: [
217
+ {
218
+ conditions: [],
219
+ endpoint: {
220
+ url: "https://resource-explorer-2-fips.{Region}.{PartitionResult#dnsSuffix}",
221
+ properties: {},
222
+ headers: {},
223
+ },
224
+ type: "endpoint",
225
+ },
226
+ ],
227
+ },
228
+ {
229
+ conditions: [],
230
+ error: "FIPS is enabled but this partition does not support FIPS",
231
+ type: "error",
232
+ },
233
+ ],
234
+ },
235
+ {
236
+ conditions: [],
237
+ endpoint: {
238
+ url: "https://resource-explorer-2.{Region}.{PartitionResult#dnsSuffix}",
239
+ properties: {},
240
+ headers: {},
241
+ },
242
+ type: "endpoint",
243
+ },
244
+ ],
245
+ },
246
+ ],
247
+ },
248
+ ],
249
+ },
250
+ ],
251
+ };
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ResourceExplorer2ServiceException = void 0;
4
+ const tslib_1 = require("tslib");
5
+ tslib_1.__exportStar(require("./ResourceExplorer2"), exports);
6
+ tslib_1.__exportStar(require("./ResourceExplorer2Client"), exports);
7
+ tslib_1.__exportStar(require("./commands"), exports);
8
+ tslib_1.__exportStar(require("./models"), exports);
9
+ tslib_1.__exportStar(require("./pagination"), exports);
10
+ var ResourceExplorer2ServiceException_1 = require("./models/ResourceExplorer2ServiceException");
11
+ Object.defineProperty(exports, "ResourceExplorer2ServiceException", { enumerable: true, get: function () { return ResourceExplorer2ServiceException_1.ResourceExplorer2ServiceException; } });
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ResourceExplorer2ServiceException = void 0;
4
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
5
+ class ResourceExplorer2ServiceException extends smithy_client_1.ServiceException {
6
+ constructor(options) {
7
+ super(options);
8
+ Object.setPrototypeOf(this, ResourceExplorer2ServiceException.prototype);
9
+ }
10
+ }
11
+ exports.ResourceExplorer2ServiceException = ResourceExplorer2ServiceException;
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./models_0"), exports);
@@ -0,0 +1,318 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SearchOutputFilterSensitiveLog = exports.SearchInputFilterSensitiveLog = exports.ResourceCountFilterSensitiveLog = exports.ResourceFilterSensitiveLog = exports.ResourcePropertyFilterSensitiveLog = exports.ListTagsForResourceOutputFilterSensitiveLog = exports.ListTagsForResourceInputFilterSensitiveLog = exports.ListSupportedResourceTypesOutputFilterSensitiveLog = exports.SupportedResourceTypeFilterSensitiveLog = exports.ListSupportedResourceTypesInputFilterSensitiveLog = exports.GetIndexOutputFilterSensitiveLog = exports.GetDefaultViewOutputFilterSensitiveLog = exports.UpdateViewOutputFilterSensitiveLog = exports.UpdateViewInputFilterSensitiveLog = exports.ListViewsOutputFilterSensitiveLog = exports.ListViewsInputFilterSensitiveLog = exports.GetViewOutputFilterSensitiveLog = exports.GetViewInputFilterSensitiveLog = exports.DeleteViewOutputFilterSensitiveLog = exports.DeleteViewInputFilterSensitiveLog = exports.CreateViewOutputFilterSensitiveLog = exports.CreateViewInputFilterSensitiveLog = exports.UpdateIndexTypeOutputFilterSensitiveLog = exports.UpdateIndexTypeInputFilterSensitiveLog = exports.ListIndexesOutputFilterSensitiveLog = exports.IndexFilterSensitiveLog = exports.ListIndexesInputFilterSensitiveLog = exports.DeleteIndexOutputFilterSensitiveLog = exports.DeleteIndexInputFilterSensitiveLog = exports.CreateIndexOutputFilterSensitiveLog = exports.CreateIndexInputFilterSensitiveLog = exports.BatchGetViewOutputFilterSensitiveLog = exports.ViewFilterSensitiveLog = exports.IncludedPropertyFilterSensitiveLog = exports.SearchFilterFilterSensitiveLog = exports.BatchGetViewErrorFilterSensitiveLog = exports.BatchGetViewInputFilterSensitiveLog = exports.ValidationExceptionFieldFilterSensitiveLog = exports.AssociateDefaultViewOutputFilterSensitiveLog = exports.AssociateDefaultViewInputFilterSensitiveLog = exports.ServiceQuotaExceededException = exports.IndexType = exports.IndexState = exports.ConflictException = exports.UnauthorizedException = exports.ValidationException = exports.ThrottlingException = exports.ResourceNotFoundException = exports.InternalServerException = exports.AccessDeniedException = void 0;
4
+ exports.UntagResourceOutputFilterSensitiveLog = exports.UntagResourceInputFilterSensitiveLog = exports.TagResourceOutputFilterSensitiveLog = exports.TagResourceInputFilterSensitiveLog = void 0;
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const ResourceExplorer2ServiceException_1 = require("./ResourceExplorer2ServiceException");
7
+ class AccessDeniedException extends ResourceExplorer2ServiceException_1.ResourceExplorer2ServiceException {
8
+ constructor(opts) {
9
+ super({
10
+ name: "AccessDeniedException",
11
+ $fault: "client",
12
+ ...opts,
13
+ });
14
+ this.name = "AccessDeniedException";
15
+ this.$fault = "client";
16
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
17
+ this.Message = opts.Message;
18
+ }
19
+ }
20
+ exports.AccessDeniedException = AccessDeniedException;
21
+ class InternalServerException extends ResourceExplorer2ServiceException_1.ResourceExplorer2ServiceException {
22
+ constructor(opts) {
23
+ super({
24
+ name: "InternalServerException",
25
+ $fault: "server",
26
+ ...opts,
27
+ });
28
+ this.name = "InternalServerException";
29
+ this.$fault = "server";
30
+ Object.setPrototypeOf(this, InternalServerException.prototype);
31
+ this.Message = opts.Message;
32
+ }
33
+ }
34
+ exports.InternalServerException = InternalServerException;
35
+ class ResourceNotFoundException extends ResourceExplorer2ServiceException_1.ResourceExplorer2ServiceException {
36
+ constructor(opts) {
37
+ super({
38
+ name: "ResourceNotFoundException",
39
+ $fault: "client",
40
+ ...opts,
41
+ });
42
+ this.name = "ResourceNotFoundException";
43
+ this.$fault = "client";
44
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
45
+ this.Message = opts.Message;
46
+ }
47
+ }
48
+ exports.ResourceNotFoundException = ResourceNotFoundException;
49
+ class ThrottlingException extends ResourceExplorer2ServiceException_1.ResourceExplorer2ServiceException {
50
+ constructor(opts) {
51
+ super({
52
+ name: "ThrottlingException",
53
+ $fault: "client",
54
+ ...opts,
55
+ });
56
+ this.name = "ThrottlingException";
57
+ this.$fault = "client";
58
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
59
+ this.Message = opts.Message;
60
+ }
61
+ }
62
+ exports.ThrottlingException = ThrottlingException;
63
+ class ValidationException extends ResourceExplorer2ServiceException_1.ResourceExplorer2ServiceException {
64
+ constructor(opts) {
65
+ super({
66
+ name: "ValidationException",
67
+ $fault: "client",
68
+ ...opts,
69
+ });
70
+ this.name = "ValidationException";
71
+ this.$fault = "client";
72
+ Object.setPrototypeOf(this, ValidationException.prototype);
73
+ this.Message = opts.Message;
74
+ this.FieldList = opts.FieldList;
75
+ }
76
+ }
77
+ exports.ValidationException = ValidationException;
78
+ class UnauthorizedException extends ResourceExplorer2ServiceException_1.ResourceExplorer2ServiceException {
79
+ constructor(opts) {
80
+ super({
81
+ name: "UnauthorizedException",
82
+ $fault: "client",
83
+ ...opts,
84
+ });
85
+ this.name = "UnauthorizedException";
86
+ this.$fault = "client";
87
+ Object.setPrototypeOf(this, UnauthorizedException.prototype);
88
+ this.Message = opts.Message;
89
+ }
90
+ }
91
+ exports.UnauthorizedException = UnauthorizedException;
92
+ class ConflictException extends ResourceExplorer2ServiceException_1.ResourceExplorer2ServiceException {
93
+ constructor(opts) {
94
+ super({
95
+ name: "ConflictException",
96
+ $fault: "client",
97
+ ...opts,
98
+ });
99
+ this.name = "ConflictException";
100
+ this.$fault = "client";
101
+ Object.setPrototypeOf(this, ConflictException.prototype);
102
+ this.Message = opts.Message;
103
+ }
104
+ }
105
+ exports.ConflictException = ConflictException;
106
+ var IndexState;
107
+ (function (IndexState) {
108
+ IndexState["ACTIVE"] = "ACTIVE";
109
+ IndexState["CREATING"] = "CREATING";
110
+ IndexState["DELETED"] = "DELETED";
111
+ IndexState["DELETING"] = "DELETING";
112
+ IndexState["UPDATING"] = "UPDATING";
113
+ })(IndexState = exports.IndexState || (exports.IndexState = {}));
114
+ var IndexType;
115
+ (function (IndexType) {
116
+ IndexType["AGGREGATOR"] = "AGGREGATOR";
117
+ IndexType["LOCAL"] = "LOCAL";
118
+ })(IndexType = exports.IndexType || (exports.IndexType = {}));
119
+ class ServiceQuotaExceededException extends ResourceExplorer2ServiceException_1.ResourceExplorer2ServiceException {
120
+ constructor(opts) {
121
+ super({
122
+ name: "ServiceQuotaExceededException",
123
+ $fault: "client",
124
+ ...opts,
125
+ });
126
+ this.name = "ServiceQuotaExceededException";
127
+ this.$fault = "client";
128
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
129
+ this.Message = opts.Message;
130
+ this.Name = opts.Name;
131
+ this.Value = opts.Value;
132
+ }
133
+ }
134
+ exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
135
+ const AssociateDefaultViewInputFilterSensitiveLog = (obj) => ({
136
+ ...obj,
137
+ });
138
+ exports.AssociateDefaultViewInputFilterSensitiveLog = AssociateDefaultViewInputFilterSensitiveLog;
139
+ const AssociateDefaultViewOutputFilterSensitiveLog = (obj) => ({
140
+ ...obj,
141
+ });
142
+ exports.AssociateDefaultViewOutputFilterSensitiveLog = AssociateDefaultViewOutputFilterSensitiveLog;
143
+ const ValidationExceptionFieldFilterSensitiveLog = (obj) => ({
144
+ ...obj,
145
+ });
146
+ exports.ValidationExceptionFieldFilterSensitiveLog = ValidationExceptionFieldFilterSensitiveLog;
147
+ const BatchGetViewInputFilterSensitiveLog = (obj) => ({
148
+ ...obj,
149
+ });
150
+ exports.BatchGetViewInputFilterSensitiveLog = BatchGetViewInputFilterSensitiveLog;
151
+ const BatchGetViewErrorFilterSensitiveLog = (obj) => ({
152
+ ...obj,
153
+ });
154
+ exports.BatchGetViewErrorFilterSensitiveLog = BatchGetViewErrorFilterSensitiveLog;
155
+ const SearchFilterFilterSensitiveLog = (obj) => ({
156
+ ...obj,
157
+ });
158
+ exports.SearchFilterFilterSensitiveLog = SearchFilterFilterSensitiveLog;
159
+ const IncludedPropertyFilterSensitiveLog = (obj) => ({
160
+ ...obj,
161
+ });
162
+ exports.IncludedPropertyFilterSensitiveLog = IncludedPropertyFilterSensitiveLog;
163
+ const ViewFilterSensitiveLog = (obj) => ({
164
+ ...obj,
165
+ ...(obj.Filters && { Filters: smithy_client_1.SENSITIVE_STRING }),
166
+ });
167
+ exports.ViewFilterSensitiveLog = ViewFilterSensitiveLog;
168
+ const BatchGetViewOutputFilterSensitiveLog = (obj) => ({
169
+ ...obj,
170
+ ...(obj.Views && { Views: obj.Views.map((item) => (0, exports.ViewFilterSensitiveLog)(item)) }),
171
+ });
172
+ exports.BatchGetViewOutputFilterSensitiveLog = BatchGetViewOutputFilterSensitiveLog;
173
+ const CreateIndexInputFilterSensitiveLog = (obj) => ({
174
+ ...obj,
175
+ });
176
+ exports.CreateIndexInputFilterSensitiveLog = CreateIndexInputFilterSensitiveLog;
177
+ const CreateIndexOutputFilterSensitiveLog = (obj) => ({
178
+ ...obj,
179
+ });
180
+ exports.CreateIndexOutputFilterSensitiveLog = CreateIndexOutputFilterSensitiveLog;
181
+ const DeleteIndexInputFilterSensitiveLog = (obj) => ({
182
+ ...obj,
183
+ });
184
+ exports.DeleteIndexInputFilterSensitiveLog = DeleteIndexInputFilterSensitiveLog;
185
+ const DeleteIndexOutputFilterSensitiveLog = (obj) => ({
186
+ ...obj,
187
+ });
188
+ exports.DeleteIndexOutputFilterSensitiveLog = DeleteIndexOutputFilterSensitiveLog;
189
+ const ListIndexesInputFilterSensitiveLog = (obj) => ({
190
+ ...obj,
191
+ });
192
+ exports.ListIndexesInputFilterSensitiveLog = ListIndexesInputFilterSensitiveLog;
193
+ const IndexFilterSensitiveLog = (obj) => ({
194
+ ...obj,
195
+ });
196
+ exports.IndexFilterSensitiveLog = IndexFilterSensitiveLog;
197
+ const ListIndexesOutputFilterSensitiveLog = (obj) => ({
198
+ ...obj,
199
+ });
200
+ exports.ListIndexesOutputFilterSensitiveLog = ListIndexesOutputFilterSensitiveLog;
201
+ const UpdateIndexTypeInputFilterSensitiveLog = (obj) => ({
202
+ ...obj,
203
+ });
204
+ exports.UpdateIndexTypeInputFilterSensitiveLog = UpdateIndexTypeInputFilterSensitiveLog;
205
+ const UpdateIndexTypeOutputFilterSensitiveLog = (obj) => ({
206
+ ...obj,
207
+ });
208
+ exports.UpdateIndexTypeOutputFilterSensitiveLog = UpdateIndexTypeOutputFilterSensitiveLog;
209
+ const CreateViewInputFilterSensitiveLog = (obj) => ({
210
+ ...obj,
211
+ ...(obj.Filters && { Filters: smithy_client_1.SENSITIVE_STRING }),
212
+ });
213
+ exports.CreateViewInputFilterSensitiveLog = CreateViewInputFilterSensitiveLog;
214
+ const CreateViewOutputFilterSensitiveLog = (obj) => ({
215
+ ...obj,
216
+ ...(obj.View && { View: (0, exports.ViewFilterSensitiveLog)(obj.View) }),
217
+ });
218
+ exports.CreateViewOutputFilterSensitiveLog = CreateViewOutputFilterSensitiveLog;
219
+ const DeleteViewInputFilterSensitiveLog = (obj) => ({
220
+ ...obj,
221
+ });
222
+ exports.DeleteViewInputFilterSensitiveLog = DeleteViewInputFilterSensitiveLog;
223
+ const DeleteViewOutputFilterSensitiveLog = (obj) => ({
224
+ ...obj,
225
+ });
226
+ exports.DeleteViewOutputFilterSensitiveLog = DeleteViewOutputFilterSensitiveLog;
227
+ const GetViewInputFilterSensitiveLog = (obj) => ({
228
+ ...obj,
229
+ });
230
+ exports.GetViewInputFilterSensitiveLog = GetViewInputFilterSensitiveLog;
231
+ const GetViewOutputFilterSensitiveLog = (obj) => ({
232
+ ...obj,
233
+ ...(obj.View && { View: (0, exports.ViewFilterSensitiveLog)(obj.View) }),
234
+ });
235
+ exports.GetViewOutputFilterSensitiveLog = GetViewOutputFilterSensitiveLog;
236
+ const ListViewsInputFilterSensitiveLog = (obj) => ({
237
+ ...obj,
238
+ });
239
+ exports.ListViewsInputFilterSensitiveLog = ListViewsInputFilterSensitiveLog;
240
+ const ListViewsOutputFilterSensitiveLog = (obj) => ({
241
+ ...obj,
242
+ });
243
+ exports.ListViewsOutputFilterSensitiveLog = ListViewsOutputFilterSensitiveLog;
244
+ const UpdateViewInputFilterSensitiveLog = (obj) => ({
245
+ ...obj,
246
+ ...(obj.Filters && { Filters: smithy_client_1.SENSITIVE_STRING }),
247
+ });
248
+ exports.UpdateViewInputFilterSensitiveLog = UpdateViewInputFilterSensitiveLog;
249
+ const UpdateViewOutputFilterSensitiveLog = (obj) => ({
250
+ ...obj,
251
+ ...(obj.View && { View: (0, exports.ViewFilterSensitiveLog)(obj.View) }),
252
+ });
253
+ exports.UpdateViewOutputFilterSensitiveLog = UpdateViewOutputFilterSensitiveLog;
254
+ const GetDefaultViewOutputFilterSensitiveLog = (obj) => ({
255
+ ...obj,
256
+ });
257
+ exports.GetDefaultViewOutputFilterSensitiveLog = GetDefaultViewOutputFilterSensitiveLog;
258
+ const GetIndexOutputFilterSensitiveLog = (obj) => ({
259
+ ...obj,
260
+ });
261
+ exports.GetIndexOutputFilterSensitiveLog = GetIndexOutputFilterSensitiveLog;
262
+ const ListSupportedResourceTypesInputFilterSensitiveLog = (obj) => ({
263
+ ...obj,
264
+ });
265
+ exports.ListSupportedResourceTypesInputFilterSensitiveLog = ListSupportedResourceTypesInputFilterSensitiveLog;
266
+ const SupportedResourceTypeFilterSensitiveLog = (obj) => ({
267
+ ...obj,
268
+ });
269
+ exports.SupportedResourceTypeFilterSensitiveLog = SupportedResourceTypeFilterSensitiveLog;
270
+ const ListSupportedResourceTypesOutputFilterSensitiveLog = (obj) => ({
271
+ ...obj,
272
+ });
273
+ exports.ListSupportedResourceTypesOutputFilterSensitiveLog = ListSupportedResourceTypesOutputFilterSensitiveLog;
274
+ const ListTagsForResourceInputFilterSensitiveLog = (obj) => ({
275
+ ...obj,
276
+ });
277
+ exports.ListTagsForResourceInputFilterSensitiveLog = ListTagsForResourceInputFilterSensitiveLog;
278
+ const ListTagsForResourceOutputFilterSensitiveLog = (obj) => ({
279
+ ...obj,
280
+ });
281
+ exports.ListTagsForResourceOutputFilterSensitiveLog = ListTagsForResourceOutputFilterSensitiveLog;
282
+ const ResourcePropertyFilterSensitiveLog = (obj) => ({
283
+ ...obj,
284
+ });
285
+ exports.ResourcePropertyFilterSensitiveLog = ResourcePropertyFilterSensitiveLog;
286
+ const ResourceFilterSensitiveLog = (obj) => ({
287
+ ...obj,
288
+ });
289
+ exports.ResourceFilterSensitiveLog = ResourceFilterSensitiveLog;
290
+ const ResourceCountFilterSensitiveLog = (obj) => ({
291
+ ...obj,
292
+ });
293
+ exports.ResourceCountFilterSensitiveLog = ResourceCountFilterSensitiveLog;
294
+ const SearchInputFilterSensitiveLog = (obj) => ({
295
+ ...obj,
296
+ ...(obj.QueryString && { QueryString: smithy_client_1.SENSITIVE_STRING }),
297
+ });
298
+ exports.SearchInputFilterSensitiveLog = SearchInputFilterSensitiveLog;
299
+ const SearchOutputFilterSensitiveLog = (obj) => ({
300
+ ...obj,
301
+ });
302
+ exports.SearchOutputFilterSensitiveLog = SearchOutputFilterSensitiveLog;
303
+ const TagResourceInputFilterSensitiveLog = (obj) => ({
304
+ ...obj,
305
+ });
306
+ exports.TagResourceInputFilterSensitiveLog = TagResourceInputFilterSensitiveLog;
307
+ const TagResourceOutputFilterSensitiveLog = (obj) => ({
308
+ ...obj,
309
+ });
310
+ exports.TagResourceOutputFilterSensitiveLog = TagResourceOutputFilterSensitiveLog;
311
+ const UntagResourceInputFilterSensitiveLog = (obj) => ({
312
+ ...obj,
313
+ });
314
+ exports.UntagResourceInputFilterSensitiveLog = UntagResourceInputFilterSensitiveLog;
315
+ const UntagResourceOutputFilterSensitiveLog = (obj) => ({
316
+ ...obj,
317
+ });
318
+ exports.UntagResourceOutputFilterSensitiveLog = UntagResourceOutputFilterSensitiveLog;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.paginateListIndexes = void 0;
4
+ const ListIndexesCommand_1 = require("../commands/ListIndexesCommand");
5
+ const ResourceExplorer2_1 = require("../ResourceExplorer2");
6
+ const ResourceExplorer2Client_1 = require("../ResourceExplorer2Client");
7
+ const makePagedClientRequest = async (client, input, ...args) => {
8
+ return await client.send(new ListIndexesCommand_1.ListIndexesCommand(input), ...args);
9
+ };
10
+ const makePagedRequest = async (client, input, ...args) => {
11
+ return await client.listIndexes(input, ...args);
12
+ };
13
+ async function* paginateListIndexes(config, input, ...additionalArguments) {
14
+ let token = config.startingToken || undefined;
15
+ let hasNext = true;
16
+ let page;
17
+ while (hasNext) {
18
+ input.NextToken = token;
19
+ input["MaxResults"] = config.pageSize;
20
+ if (config.client instanceof ResourceExplorer2_1.ResourceExplorer2) {
21
+ page = await makePagedRequest(config.client, input, ...additionalArguments);
22
+ }
23
+ else if (config.client instanceof ResourceExplorer2Client_1.ResourceExplorer2Client) {
24
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
25
+ }
26
+ else {
27
+ throw new Error("Invalid client, expected ResourceExplorer2 | ResourceExplorer2Client");
28
+ }
29
+ yield page;
30
+ const prevToken = token;
31
+ token = page.NextToken;
32
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
33
+ }
34
+ return undefined;
35
+ }
36
+ exports.paginateListIndexes = paginateListIndexes;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.paginateListSupportedResourceTypes = void 0;
4
+ const ListSupportedResourceTypesCommand_1 = require("../commands/ListSupportedResourceTypesCommand");
5
+ const ResourceExplorer2_1 = require("../ResourceExplorer2");
6
+ const ResourceExplorer2Client_1 = require("../ResourceExplorer2Client");
7
+ const makePagedClientRequest = async (client, input, ...args) => {
8
+ return await client.send(new ListSupportedResourceTypesCommand_1.ListSupportedResourceTypesCommand(input), ...args);
9
+ };
10
+ const makePagedRequest = async (client, input, ...args) => {
11
+ return await client.listSupportedResourceTypes(input, ...args);
12
+ };
13
+ async function* paginateListSupportedResourceTypes(config, input, ...additionalArguments) {
14
+ let token = config.startingToken || undefined;
15
+ let hasNext = true;
16
+ let page;
17
+ while (hasNext) {
18
+ input.NextToken = token;
19
+ input["MaxResults"] = config.pageSize;
20
+ if (config.client instanceof ResourceExplorer2_1.ResourceExplorer2) {
21
+ page = await makePagedRequest(config.client, input, ...additionalArguments);
22
+ }
23
+ else if (config.client instanceof ResourceExplorer2Client_1.ResourceExplorer2Client) {
24
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
25
+ }
26
+ else {
27
+ throw new Error("Invalid client, expected ResourceExplorer2 | ResourceExplorer2Client");
28
+ }
29
+ yield page;
30
+ const prevToken = token;
31
+ token = page.NextToken;
32
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
33
+ }
34
+ return undefined;
35
+ }
36
+ exports.paginateListSupportedResourceTypes = paginateListSupportedResourceTypes;