@aws-sdk/client-resource-explorer-2 3.904.0 → 3.906.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 (2) hide show
  1. package/dist-cjs/index.js +2133 -2373
  2. package/package.json +5 -5
package/dist-cjs/index.js CHANGED
@@ -1,2427 +1,2187 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
7
- var __export = (target, all) => {
8
- for (var name in all)
9
- __defProp(target, name, { get: all[name], enumerable: true });
10
- };
11
- var __copyProps = (to, from, except, desc) => {
12
- if (from && typeof from === "object" || typeof from === "function") {
13
- for (let key of __getOwnPropNames(from))
14
- if (!__hasOwnProp.call(to, key) && key !== except)
15
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
- }
17
- return to;
18
- };
19
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
-
21
- // src/index.ts
22
- var index_exports = {};
23
- __export(index_exports, {
24
- AWSServiceAccessStatus: () => AWSServiceAccessStatus,
25
- AccessDeniedException: () => AccessDeniedException,
26
- AssociateDefaultViewCommand: () => AssociateDefaultViewCommand,
27
- BatchGetViewCommand: () => BatchGetViewCommand,
28
- BatchGetViewOutputFilterSensitiveLog: () => BatchGetViewOutputFilterSensitiveLog,
29
- ConflictException: () => ConflictException,
30
- CreateIndexCommand: () => CreateIndexCommand,
31
- CreateIndexInputFilterSensitiveLog: () => CreateIndexInputFilterSensitiveLog,
32
- CreateResourceExplorerSetupCommand: () => CreateResourceExplorerSetupCommand,
33
- CreateViewCommand: () => CreateViewCommand,
34
- CreateViewInputFilterSensitiveLog: () => CreateViewInputFilterSensitiveLog,
35
- CreateViewOutputFilterSensitiveLog: () => CreateViewOutputFilterSensitiveLog,
36
- DeleteIndexCommand: () => DeleteIndexCommand,
37
- DeleteResourceExplorerSetupCommand: () => DeleteResourceExplorerSetupCommand,
38
- DeleteViewCommand: () => DeleteViewCommand,
39
- DisassociateDefaultViewCommand: () => DisassociateDefaultViewCommand,
40
- GetAccountLevelServiceConfigurationCommand: () => GetAccountLevelServiceConfigurationCommand,
41
- GetDefaultViewCommand: () => GetDefaultViewCommand,
42
- GetIndexCommand: () => GetIndexCommand,
43
- GetIndexOutputFilterSensitiveLog: () => GetIndexOutputFilterSensitiveLog,
44
- GetManagedViewCommand: () => GetManagedViewCommand,
45
- GetManagedViewOutputFilterSensitiveLog: () => GetManagedViewOutputFilterSensitiveLog,
46
- GetResourceExplorerSetupCommand: () => GetResourceExplorerSetupCommand,
47
- GetResourceExplorerSetupOutputFilterSensitiveLog: () => GetResourceExplorerSetupOutputFilterSensitiveLog,
48
- GetServiceIndexCommand: () => GetServiceIndexCommand,
49
- GetServiceViewCommand: () => GetServiceViewCommand,
50
- GetServiceViewOutputFilterSensitiveLog: () => GetServiceViewOutputFilterSensitiveLog,
51
- GetViewCommand: () => GetViewCommand,
52
- GetViewOutputFilterSensitiveLog: () => GetViewOutputFilterSensitiveLog,
53
- IndexState: () => IndexState,
54
- IndexType: () => IndexType,
55
- InternalServerException: () => InternalServerException,
56
- ListIndexesCommand: () => ListIndexesCommand,
57
- ListIndexesForMembersCommand: () => ListIndexesForMembersCommand,
58
- ListManagedViewsCommand: () => ListManagedViewsCommand,
59
- ListResourcesCommand: () => ListResourcesCommand,
60
- ListResourcesInputFilterSensitiveLog: () => ListResourcesInputFilterSensitiveLog,
61
- ListServiceIndexesCommand: () => ListServiceIndexesCommand,
62
- ListServiceViewsCommand: () => ListServiceViewsCommand,
63
- ListStreamingAccessForServicesCommand: () => ListStreamingAccessForServicesCommand,
64
- ListSupportedResourceTypesCommand: () => ListSupportedResourceTypesCommand,
65
- ListTagsForResourceCommand: () => ListTagsForResourceCommand,
66
- ListTagsForResourceOutputFilterSensitiveLog: () => ListTagsForResourceOutputFilterSensitiveLog,
67
- ListViewsCommand: () => ListViewsCommand,
68
- ManagedViewFilterSensitiveLog: () => ManagedViewFilterSensitiveLog,
69
- OperationStatus: () => OperationStatus,
70
- RegionStatusFilterSensitiveLog: () => RegionStatusFilterSensitiveLog,
71
- ResourceExplorer2: () => ResourceExplorer2,
72
- ResourceExplorer2Client: () => ResourceExplorer2Client,
73
- ResourceExplorer2ServiceException: () => ResourceExplorer2ServiceException,
74
- ResourceNotFoundException: () => ResourceNotFoundException,
75
- SearchCommand: () => SearchCommand,
76
- SearchFilterFilterSensitiveLog: () => SearchFilterFilterSensitiveLog,
77
- SearchInputFilterSensitiveLog: () => SearchInputFilterSensitiveLog,
78
- ServiceQuotaExceededException: () => ServiceQuotaExceededException,
79
- ServiceViewFilterSensitiveLog: () => ServiceViewFilterSensitiveLog,
80
- TagResourceCommand: () => TagResourceCommand,
81
- TagResourceInputFilterSensitiveLog: () => TagResourceInputFilterSensitiveLog,
82
- ThrottlingException: () => ThrottlingException,
83
- UnauthorizedException: () => UnauthorizedException,
84
- UntagResourceCommand: () => UntagResourceCommand,
85
- UntagResourceInputFilterSensitiveLog: () => UntagResourceInputFilterSensitiveLog,
86
- UpdateIndexTypeCommand: () => UpdateIndexTypeCommand,
87
- UpdateViewCommand: () => UpdateViewCommand,
88
- UpdateViewInputFilterSensitiveLog: () => UpdateViewInputFilterSensitiveLog,
89
- UpdateViewOutputFilterSensitiveLog: () => UpdateViewOutputFilterSensitiveLog,
90
- ValidationException: () => ValidationException,
91
- ViewFilterSensitiveLog: () => ViewFilterSensitiveLog,
92
- ViewStatusFilterSensitiveLog: () => ViewStatusFilterSensitiveLog,
93
- __Client: () => import_smithy_client.Client,
94
- paginateGetResourceExplorerSetup: () => paginateGetResourceExplorerSetup,
95
- paginateListIndexes: () => paginateListIndexes,
96
- paginateListIndexesForMembers: () => paginateListIndexesForMembers,
97
- paginateListManagedViews: () => paginateListManagedViews,
98
- paginateListResources: () => paginateListResources,
99
- paginateListServiceIndexes: () => paginateListServiceIndexes,
100
- paginateListServiceViews: () => paginateListServiceViews,
101
- paginateListStreamingAccessForServices: () => paginateListStreamingAccessForServices,
102
- paginateListSupportedResourceTypes: () => paginateListSupportedResourceTypes,
103
- paginateListViews: () => paginateListViews,
104
- paginateSearch: () => paginateSearch
105
- });
106
- module.exports = __toCommonJS(index_exports);
107
-
108
- // src/ResourceExplorer2Client.ts
109
- var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
110
- var import_middleware_logger = require("@aws-sdk/middleware-logger");
111
- var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
112
- var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
113
- var import_config_resolver = require("@smithy/config-resolver");
114
- var import_core = require("@smithy/core");
115
- var import_middleware_content_length = require("@smithy/middleware-content-length");
116
- var import_middleware_endpoint = require("@smithy/middleware-endpoint");
117
- var import_middleware_retry = require("@smithy/middleware-retry");
118
-
119
- var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider");
120
-
121
- // src/endpoint/EndpointParameters.ts
122
- var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
123
- return Object.assign(options, {
124
- useDualstackEndpoint: options.useDualstackEndpoint ?? false,
125
- useFipsEndpoint: options.useFipsEndpoint ?? false,
126
- defaultSigningName: "resource-explorer-2"
127
- });
128
- }, "resolveClientEndpointParameters");
129
- var commonParams = {
130
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
131
- Endpoint: { type: "builtInParams", name: "endpoint" },
132
- Region: { type: "builtInParams", name: "region" },
133
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
1
+ 'use strict';
2
+
3
+ var middlewareHostHeader = require('@aws-sdk/middleware-host-header');
4
+ var middlewareLogger = require('@aws-sdk/middleware-logger');
5
+ var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detection');
6
+ var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
7
+ var configResolver = require('@smithy/config-resolver');
8
+ var core = require('@smithy/core');
9
+ var middlewareContentLength = require('@smithy/middleware-content-length');
10
+ var middlewareEndpoint = require('@smithy/middleware-endpoint');
11
+ var middlewareRetry = require('@smithy/middleware-retry');
12
+ var smithyClient = require('@smithy/smithy-client');
13
+ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
14
+ var runtimeConfig = require('./runtimeConfig');
15
+ var regionConfigResolver = require('@aws-sdk/region-config-resolver');
16
+ var protocolHttp = require('@smithy/protocol-http');
17
+ var middlewareSerde = require('@smithy/middleware-serde');
18
+ var core$1 = require('@aws-sdk/core');
19
+ var uuid = require('@smithy/uuid');
20
+
21
+ const resolveClientEndpointParameters = (options) => {
22
+ return Object.assign(options, {
23
+ useDualstackEndpoint: options.useDualstackEndpoint ?? false,
24
+ useFipsEndpoint: options.useFipsEndpoint ?? false,
25
+ defaultSigningName: "resource-explorer-2",
26
+ });
27
+ };
28
+ const commonParams = {
29
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
30
+ Endpoint: { type: "builtInParams", name: "endpoint" },
31
+ Region: { type: "builtInParams", name: "region" },
32
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
134
33
  };
135
34
 
136
- // src/ResourceExplorer2Client.ts
137
- var import_runtimeConfig = require("././runtimeConfig");
35
+ const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
36
+ const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
37
+ let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
38
+ let _credentials = runtimeConfig.credentials;
39
+ return {
40
+ setHttpAuthScheme(httpAuthScheme) {
41
+ const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
42
+ if (index === -1) {
43
+ _httpAuthSchemes.push(httpAuthScheme);
44
+ }
45
+ else {
46
+ _httpAuthSchemes.splice(index, 1, httpAuthScheme);
47
+ }
48
+ },
49
+ httpAuthSchemes() {
50
+ return _httpAuthSchemes;
51
+ },
52
+ setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
53
+ _httpAuthSchemeProvider = httpAuthSchemeProvider;
54
+ },
55
+ httpAuthSchemeProvider() {
56
+ return _httpAuthSchemeProvider;
57
+ },
58
+ setCredentials(credentials) {
59
+ _credentials = credentials;
60
+ },
61
+ credentials() {
62
+ return _credentials;
63
+ },
64
+ };
65
+ };
66
+ const resolveHttpAuthRuntimeConfig = (config) => {
67
+ return {
68
+ httpAuthSchemes: config.httpAuthSchemes(),
69
+ httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
70
+ credentials: config.credentials(),
71
+ };
72
+ };
138
73
 
139
- // src/runtimeExtensions.ts
140
- var import_region_config_resolver = require("@aws-sdk/region-config-resolver");
141
- var import_protocol_http = require("@smithy/protocol-http");
142
- var import_smithy_client = require("@smithy/smithy-client");
74
+ const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
75
+ const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), smithyClient.getDefaultExtensionConfiguration(runtimeConfig), protocolHttp.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
76
+ extensions.forEach((extension) => extension.configure(extensionConfiguration));
77
+ return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), smithyClient.resolveDefaultRuntimeConfig(extensionConfiguration), protocolHttp.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
78
+ };
143
79
 
144
- // src/auth/httpAuthExtensionConfiguration.ts
145
- var getHttpAuthExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {
146
- const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
147
- let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
148
- let _credentials = runtimeConfig.credentials;
149
- return {
150
- setHttpAuthScheme(httpAuthScheme) {
151
- const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
152
- if (index === -1) {
153
- _httpAuthSchemes.push(httpAuthScheme);
154
- } else {
155
- _httpAuthSchemes.splice(index, 1, httpAuthScheme);
156
- }
157
- },
158
- httpAuthSchemes() {
159
- return _httpAuthSchemes;
160
- },
161
- setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
162
- _httpAuthSchemeProvider = httpAuthSchemeProvider;
163
- },
164
- httpAuthSchemeProvider() {
165
- return _httpAuthSchemeProvider;
166
- },
167
- setCredentials(credentials) {
168
- _credentials = credentials;
169
- },
170
- credentials() {
171
- return _credentials;
80
+ class ResourceExplorer2Client extends smithyClient.Client {
81
+ config;
82
+ constructor(...[configuration]) {
83
+ const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {});
84
+ super(_config_0);
85
+ this.initConfig = _config_0;
86
+ const _config_1 = resolveClientEndpointParameters(_config_0);
87
+ const _config_2 = middlewareUserAgent.resolveUserAgentConfig(_config_1);
88
+ const _config_3 = middlewareRetry.resolveRetryConfig(_config_2);
89
+ const _config_4 = configResolver.resolveRegionConfig(_config_3);
90
+ const _config_5 = middlewareHostHeader.resolveHostHeaderConfig(_config_4);
91
+ const _config_6 = middlewareEndpoint.resolveEndpointConfig(_config_5);
92
+ const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
93
+ const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
94
+ this.config = _config_8;
95
+ this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
96
+ this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
97
+ this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
98
+ this.middlewareStack.use(middlewareHostHeader.getHostHeaderPlugin(this.config));
99
+ this.middlewareStack.use(middlewareLogger.getLoggerPlugin(this.config));
100
+ this.middlewareStack.use(middlewareRecursionDetection.getRecursionDetectionPlugin(this.config));
101
+ this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
102
+ httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultResourceExplorer2HttpAuthSchemeParametersProvider,
103
+ identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({
104
+ "aws.auth#sigv4": config.credentials,
105
+ }),
106
+ }));
107
+ this.middlewareStack.use(core.getHttpSigningPlugin(this.config));
172
108
  }
173
- };
174
- }, "getHttpAuthExtensionConfiguration");
175
- var resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {
176
- return {
177
- httpAuthSchemes: config.httpAuthSchemes(),
178
- httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
179
- credentials: config.credentials()
180
- };
181
- }, "resolveHttpAuthRuntimeConfig");
182
-
183
- // src/runtimeExtensions.ts
184
- var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
185
- const extensionConfiguration = Object.assign(
186
- (0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig),
187
- (0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig),
188
- (0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig),
189
- getHttpAuthExtensionConfiguration(runtimeConfig)
190
- );
191
- extensions.forEach((extension) => extension.configure(extensionConfiguration));
192
- return Object.assign(
193
- runtimeConfig,
194
- (0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
195
- (0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
196
- (0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
197
- resolveHttpAuthRuntimeConfig(extensionConfiguration)
198
- );
199
- }, "resolveRuntimeExtensions");
109
+ destroy() {
110
+ super.destroy();
111
+ }
112
+ }
200
113
 
201
- // src/ResourceExplorer2Client.ts
202
- var ResourceExplorer2Client = class extends import_smithy_client.Client {
203
- static {
204
- __name(this, "ResourceExplorer2Client");
205
- }
206
- /**
207
- * The resolved configuration of ResourceExplorer2Client class. This is resolved and normalized from the {@link ResourceExplorer2ClientConfig | constructor configuration interface}.
208
- */
209
- config;
210
- constructor(...[configuration]) {
211
- const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
212
- super(_config_0);
213
- this.initConfig = _config_0;
214
- const _config_1 = resolveClientEndpointParameters(_config_0);
215
- const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);
216
- const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);
217
- const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3);
218
- const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
219
- const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
220
- const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
221
- const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
222
- this.config = _config_8;
223
- this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
224
- this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
225
- this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
226
- this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
227
- this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
228
- this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
229
- this.middlewareStack.use(
230
- (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
231
- httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultResourceExplorer2HttpAuthSchemeParametersProvider,
232
- identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
233
- "aws.auth#sigv4": config.credentials
234
- }), "identityProviderConfigProvider")
235
- })
236
- );
237
- this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
238
- }
239
- /**
240
- * Destroy underlying resources, like sockets. It's usually not necessary to do this.
241
- * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
242
- * Otherwise, sockets might stay open for quite a long time before the server terminates them.
243
- */
244
- destroy() {
245
- super.destroy();
246
- }
114
+ class ResourceExplorer2ServiceException extends smithyClient.ServiceException {
115
+ constructor(options) {
116
+ super(options);
117
+ Object.setPrototypeOf(this, ResourceExplorer2ServiceException.prototype);
118
+ }
119
+ }
120
+
121
+ class AccessDeniedException extends ResourceExplorer2ServiceException {
122
+ name = "AccessDeniedException";
123
+ $fault = "client";
124
+ Message;
125
+ constructor(opts) {
126
+ super({
127
+ name: "AccessDeniedException",
128
+ $fault: "client",
129
+ ...opts,
130
+ });
131
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
132
+ this.Message = opts.Message;
133
+ }
134
+ }
135
+ class InternalServerException extends ResourceExplorer2ServiceException {
136
+ name = "InternalServerException";
137
+ $fault = "server";
138
+ Message;
139
+ constructor(opts) {
140
+ super({
141
+ name: "InternalServerException",
142
+ $fault: "server",
143
+ ...opts,
144
+ });
145
+ Object.setPrototypeOf(this, InternalServerException.prototype);
146
+ this.Message = opts.Message;
147
+ }
148
+ }
149
+ class ResourceNotFoundException extends ResourceExplorer2ServiceException {
150
+ name = "ResourceNotFoundException";
151
+ $fault = "client";
152
+ Message;
153
+ constructor(opts) {
154
+ super({
155
+ name: "ResourceNotFoundException",
156
+ $fault: "client",
157
+ ...opts,
158
+ });
159
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
160
+ this.Message = opts.Message;
161
+ }
162
+ }
163
+ class ThrottlingException extends ResourceExplorer2ServiceException {
164
+ name = "ThrottlingException";
165
+ $fault = "client";
166
+ Message;
167
+ constructor(opts) {
168
+ super({
169
+ name: "ThrottlingException",
170
+ $fault: "client",
171
+ ...opts,
172
+ });
173
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
174
+ this.Message = opts.Message;
175
+ }
176
+ }
177
+ class ValidationException extends ResourceExplorer2ServiceException {
178
+ name = "ValidationException";
179
+ $fault = "client";
180
+ Message;
181
+ FieldList;
182
+ constructor(opts) {
183
+ super({
184
+ name: "ValidationException",
185
+ $fault: "client",
186
+ ...opts,
187
+ });
188
+ Object.setPrototypeOf(this, ValidationException.prototype);
189
+ this.Message = opts.Message;
190
+ this.FieldList = opts.FieldList;
191
+ }
192
+ }
193
+ const AWSServiceAccessStatus = {
194
+ DISABLED: "DISABLED",
195
+ ENABLED: "ENABLED",
247
196
  };
248
-
249
- // src/ResourceExplorer2.ts
250
-
251
-
252
- // src/commands/AssociateDefaultViewCommand.ts
253
-
254
- var import_middleware_serde = require("@smithy/middleware-serde");
255
-
256
-
257
- // src/protocols/Aws_restJson1.ts
258
- var import_core2 = require("@aws-sdk/core");
259
-
260
-
261
- var import_uuid = require("@smithy/uuid");
262
-
263
- // src/models/models_0.ts
264
-
265
-
266
- // src/models/ResourceExplorer2ServiceException.ts
267
-
268
- var ResourceExplorer2ServiceException = class _ResourceExplorer2ServiceException extends import_smithy_client.ServiceException {
269
- static {
270
- __name(this, "ResourceExplorer2ServiceException");
271
- }
272
- /**
273
- * @internal
274
- */
275
- constructor(options) {
276
- super(options);
277
- Object.setPrototypeOf(this, _ResourceExplorer2ServiceException.prototype);
278
- }
197
+ class UnauthorizedException extends ResourceExplorer2ServiceException {
198
+ name = "UnauthorizedException";
199
+ $fault = "client";
200
+ Message;
201
+ constructor(opts) {
202
+ super({
203
+ name: "UnauthorizedException",
204
+ $fault: "client",
205
+ ...opts,
206
+ });
207
+ Object.setPrototypeOf(this, UnauthorizedException.prototype);
208
+ this.Message = opts.Message;
209
+ }
210
+ }
211
+ class ConflictException extends ResourceExplorer2ServiceException {
212
+ name = "ConflictException";
213
+ $fault = "client";
214
+ Message;
215
+ constructor(opts) {
216
+ super({
217
+ name: "ConflictException",
218
+ $fault: "client",
219
+ ...opts,
220
+ });
221
+ Object.setPrototypeOf(this, ConflictException.prototype);
222
+ this.Message = opts.Message;
223
+ }
224
+ }
225
+ const IndexState = {
226
+ ACTIVE: "ACTIVE",
227
+ CREATING: "CREATING",
228
+ DELETED: "DELETED",
229
+ DELETING: "DELETING",
230
+ UPDATING: "UPDATING",
279
231
  };
280
-
281
- // src/models/models_0.ts
282
- var AccessDeniedException = class _AccessDeniedException extends ResourceExplorer2ServiceException {
283
- static {
284
- __name(this, "AccessDeniedException");
285
- }
286
- name = "AccessDeniedException";
287
- $fault = "client";
288
- Message;
289
- /**
290
- * @internal
291
- */
292
- constructor(opts) {
293
- super({
294
- name: "AccessDeniedException",
295
- $fault: "client",
296
- ...opts
297
- });
298
- Object.setPrototypeOf(this, _AccessDeniedException.prototype);
299
- this.Message = opts.Message;
300
- }
301
- };
302
- var InternalServerException = class _InternalServerException extends ResourceExplorer2ServiceException {
303
- static {
304
- __name(this, "InternalServerException");
305
- }
306
- name = "InternalServerException";
307
- $fault = "server";
308
- Message;
309
- /**
310
- * @internal
311
- */
312
- constructor(opts) {
313
- super({
314
- name: "InternalServerException",
315
- $fault: "server",
316
- ...opts
317
- });
318
- Object.setPrototypeOf(this, _InternalServerException.prototype);
319
- this.Message = opts.Message;
320
- }
321
- };
322
- var ResourceNotFoundException = class _ResourceNotFoundException extends ResourceExplorer2ServiceException {
323
- static {
324
- __name(this, "ResourceNotFoundException");
325
- }
326
- name = "ResourceNotFoundException";
327
- $fault = "client";
328
- Message;
329
- /**
330
- * @internal
331
- */
332
- constructor(opts) {
333
- super({
334
- name: "ResourceNotFoundException",
335
- $fault: "client",
336
- ...opts
337
- });
338
- Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
339
- this.Message = opts.Message;
340
- }
341
- };
342
- var ThrottlingException = class _ThrottlingException extends ResourceExplorer2ServiceException {
343
- static {
344
- __name(this, "ThrottlingException");
345
- }
346
- name = "ThrottlingException";
347
- $fault = "client";
348
- Message;
349
- /**
350
- * @internal
351
- */
352
- constructor(opts) {
353
- super({
354
- name: "ThrottlingException",
355
- $fault: "client",
356
- ...opts
357
- });
358
- Object.setPrototypeOf(this, _ThrottlingException.prototype);
359
- this.Message = opts.Message;
360
- }
361
- };
362
- var ValidationException = class _ValidationException extends ResourceExplorer2ServiceException {
363
- static {
364
- __name(this, "ValidationException");
365
- }
366
- name = "ValidationException";
367
- $fault = "client";
368
- Message;
369
- /**
370
- * <p>An array of the request fields that had validation errors.</p>
371
- * @public
372
- */
373
- FieldList;
374
- /**
375
- * @internal
376
- */
377
- constructor(opts) {
378
- super({
379
- name: "ValidationException",
380
- $fault: "client",
381
- ...opts
382
- });
383
- Object.setPrototypeOf(this, _ValidationException.prototype);
384
- this.Message = opts.Message;
385
- this.FieldList = opts.FieldList;
386
- }
387
- };
388
- var AWSServiceAccessStatus = {
389
- DISABLED: "DISABLED",
390
- ENABLED: "ENABLED"
391
- };
392
- var UnauthorizedException = class _UnauthorizedException extends ResourceExplorer2ServiceException {
393
- static {
394
- __name(this, "UnauthorizedException");
395
- }
396
- name = "UnauthorizedException";
397
- $fault = "client";
398
- Message;
399
- /**
400
- * @internal
401
- */
402
- constructor(opts) {
403
- super({
404
- name: "UnauthorizedException",
405
- $fault: "client",
406
- ...opts
407
- });
408
- Object.setPrototypeOf(this, _UnauthorizedException.prototype);
409
- this.Message = opts.Message;
410
- }
411
- };
412
- var ConflictException = class _ConflictException extends ResourceExplorer2ServiceException {
413
- static {
414
- __name(this, "ConflictException");
415
- }
416
- name = "ConflictException";
417
- $fault = "client";
418
- Message;
419
- /**
420
- * @internal
421
- */
422
- constructor(opts) {
423
- super({
424
- name: "ConflictException",
425
- $fault: "client",
426
- ...opts
427
- });
428
- Object.setPrototypeOf(this, _ConflictException.prototype);
429
- this.Message = opts.Message;
430
- }
431
- };
432
- var IndexState = {
433
- /**
434
- * Index is active.
435
- */
436
- ACTIVE: "ACTIVE",
437
- /**
438
- * Resource Explorer is creating the index.
439
- */
440
- CREATING: "CREATING",
441
- /**
442
- * Resource Explorer successfully deleted the index.
443
- */
444
- DELETED: "DELETED",
445
- /**
446
- * Resource Explorer is deleting the index.
447
- */
448
- DELETING: "DELETING",
449
- /**
450
- * Resource Explorer is switching the index type between local and aggregator.
451
- */
452
- UPDATING: "UPDATING"
453
- };
454
- var IndexType = {
455
- /**
456
- * aggregator index
457
- */
458
- AGGREGATOR: "AGGREGATOR",
459
- /**
460
- * local index
461
- */
462
- LOCAL: "LOCAL"
463
- };
464
- var ServiceQuotaExceededException = class _ServiceQuotaExceededException extends ResourceExplorer2ServiceException {
465
- static {
466
- __name(this, "ServiceQuotaExceededException");
467
- }
468
- name = "ServiceQuotaExceededException";
469
- $fault = "client";
470
- Message;
471
- /**
472
- * <p>The name of the service quota that was exceeded by the request.</p>
473
- * @public
474
- */
475
- Name;
476
- /**
477
- * <p>The current value for the quota that the request tried to exceed.</p>
478
- * @public
479
- */
480
- Value;
481
- /**
482
- * @internal
483
- */
484
- constructor(opts) {
485
- super({
486
- name: "ServiceQuotaExceededException",
487
- $fault: "client",
488
- ...opts
489
- });
490
- Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
491
- this.Message = opts.Message;
492
- this.Name = opts.Name;
493
- this.Value = opts.Value;
494
- }
495
- };
496
- var OperationStatus = {
497
- FAILED: "FAILED",
498
- IN_PROGRESS: "IN_PROGRESS",
499
- SKIPPED: "SKIPPED",
500
- SUCCEEDED: "SUCCEEDED"
501
- };
502
- var SearchFilterFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
503
- ...obj
504
- }), "SearchFilterFilterSensitiveLog");
505
- var ViewFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
506
- ...obj,
507
- ...obj.Filters && { Filters: import_smithy_client.SENSITIVE_STRING }
508
- }), "ViewFilterSensitiveLog");
509
- var BatchGetViewOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
510
- ...obj,
511
- ...obj.Views && { Views: obj.Views.map((item) => ViewFilterSensitiveLog(item)) }
512
- }), "BatchGetViewOutputFilterSensitiveLog");
513
- var CreateIndexInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
514
- ...obj,
515
- ...obj.Tags && { Tags: import_smithy_client.SENSITIVE_STRING }
516
- }), "CreateIndexInputFilterSensitiveLog");
517
- var CreateViewInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
518
- ...obj,
519
- ...obj.Filters && { Filters: import_smithy_client.SENSITIVE_STRING },
520
- ...obj.Tags && { Tags: import_smithy_client.SENSITIVE_STRING }
521
- }), "CreateViewInputFilterSensitiveLog");
522
- var CreateViewOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
523
- ...obj,
524
- ...obj.View && { View: ViewFilterSensitiveLog(obj.View) }
525
- }), "CreateViewOutputFilterSensitiveLog");
526
- var GetViewOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
527
- ...obj,
528
- ...obj.View && { View: ViewFilterSensitiveLog(obj.View) },
529
- ...obj.Tags && { Tags: import_smithy_client.SENSITIVE_STRING }
530
- }), "GetViewOutputFilterSensitiveLog");
531
- var UpdateViewInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
532
- ...obj,
533
- ...obj.Filters && { Filters: import_smithy_client.SENSITIVE_STRING }
534
- }), "UpdateViewInputFilterSensitiveLog");
535
- var UpdateViewOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
536
- ...obj,
537
- ...obj.View && { View: ViewFilterSensitiveLog(obj.View) }
538
- }), "UpdateViewOutputFilterSensitiveLog");
539
- var GetIndexOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
540
- ...obj,
541
- ...obj.Tags && { Tags: import_smithy_client.SENSITIVE_STRING }
542
- }), "GetIndexOutputFilterSensitiveLog");
543
- var ManagedViewFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
544
- ...obj,
545
- ...obj.Filters && { Filters: import_smithy_client.SENSITIVE_STRING }
546
- }), "ManagedViewFilterSensitiveLog");
547
- var GetManagedViewOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
548
- ...obj,
549
- ...obj.ManagedView && { ManagedView: ManagedViewFilterSensitiveLog(obj.ManagedView) }
550
- }), "GetManagedViewOutputFilterSensitiveLog");
551
- var ViewStatusFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
552
- ...obj,
553
- ...obj.View && { View: ViewFilterSensitiveLog(obj.View) }
554
- }), "ViewStatusFilterSensitiveLog");
555
- var RegionStatusFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
556
- ...obj
557
- }), "RegionStatusFilterSensitiveLog");
558
- var GetResourceExplorerSetupOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
559
- ...obj
560
- }), "GetResourceExplorerSetupOutputFilterSensitiveLog");
561
- var ServiceViewFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
562
- ...obj,
563
- ...obj.Filters && { Filters: import_smithy_client.SENSITIVE_STRING }
564
- }), "ServiceViewFilterSensitiveLog");
565
- var GetServiceViewOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
566
- ...obj,
567
- ...obj.View && { View: ServiceViewFilterSensitiveLog(obj.View) }
568
- }), "GetServiceViewOutputFilterSensitiveLog");
569
- var ListResourcesInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
570
- ...obj,
571
- ...obj.Filters && { Filters: import_smithy_client.SENSITIVE_STRING }
572
- }), "ListResourcesInputFilterSensitiveLog");
573
- var ListTagsForResourceOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
574
- ...obj,
575
- ...obj.Tags && { Tags: import_smithy_client.SENSITIVE_STRING }
576
- }), "ListTagsForResourceOutputFilterSensitiveLog");
577
- var SearchInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
578
- ...obj,
579
- ...obj.QueryString && { QueryString: import_smithy_client.SENSITIVE_STRING }
580
- }), "SearchInputFilterSensitiveLog");
581
- var TagResourceInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
582
- ...obj,
583
- ...obj.Tags && { Tags: import_smithy_client.SENSITIVE_STRING }
584
- }), "TagResourceInputFilterSensitiveLog");
585
- var UntagResourceInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
586
- ...obj,
587
- ...obj.tagKeys && { tagKeys: import_smithy_client.SENSITIVE_STRING }
588
- }), "UntagResourceInputFilterSensitiveLog");
589
-
590
- // src/protocols/Aws_restJson1.ts
591
- var se_AssociateDefaultViewCommand = /* @__PURE__ */ __name(async (input, context) => {
592
- const b = (0, import_core.requestBuilder)(input, context);
593
- const headers = {
594
- "content-type": "application/json"
595
- };
596
- b.bp("/AssociateDefaultView");
597
- let body;
598
- body = JSON.stringify(
599
- (0, import_smithy_client.take)(input, {
600
- ViewArn: []
601
- })
602
- );
603
- b.m("POST").h(headers).b(body);
604
- return b.build();
605
- }, "se_AssociateDefaultViewCommand");
606
- var se_BatchGetViewCommand = /* @__PURE__ */ __name(async (input, context) => {
607
- const b = (0, import_core.requestBuilder)(input, context);
608
- const headers = {
609
- "content-type": "application/json"
610
- };
611
- b.bp("/BatchGetView");
612
- let body;
613
- body = JSON.stringify(
614
- (0, import_smithy_client.take)(input, {
615
- ViewArns: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "ViewArns")
616
- })
617
- );
618
- b.m("POST").h(headers).b(body);
619
- return b.build();
620
- }, "se_BatchGetViewCommand");
621
- var se_CreateIndexCommand = /* @__PURE__ */ __name(async (input, context) => {
622
- const b = (0, import_core.requestBuilder)(input, context);
623
- const headers = {
624
- "content-type": "application/json"
625
- };
626
- b.bp("/CreateIndex");
627
- let body;
628
- body = JSON.stringify(
629
- (0, import_smithy_client.take)(input, {
630
- ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
631
- Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags")
632
- })
633
- );
634
- b.m("POST").h(headers).b(body);
635
- return b.build();
636
- }, "se_CreateIndexCommand");
637
- var se_CreateResourceExplorerSetupCommand = /* @__PURE__ */ __name(async (input, context) => {
638
- const b = (0, import_core.requestBuilder)(input, context);
639
- const headers = {
640
- "content-type": "application/json"
641
- };
642
- b.bp("/CreateResourceExplorerSetup");
643
- let body;
644
- body = JSON.stringify(
645
- (0, import_smithy_client.take)(input, {
646
- AggregatorRegions: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "AggregatorRegions"),
647
- RegionList: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "RegionList"),
648
- ViewName: []
649
- })
650
- );
651
- b.m("POST").h(headers).b(body);
652
- return b.build();
653
- }, "se_CreateResourceExplorerSetupCommand");
654
- var se_CreateViewCommand = /* @__PURE__ */ __name(async (input, context) => {
655
- const b = (0, import_core.requestBuilder)(input, context);
656
- const headers = {
657
- "content-type": "application/json"
658
- };
659
- b.bp("/CreateView");
660
- let body;
661
- body = JSON.stringify(
662
- (0, import_smithy_client.take)(input, {
663
- ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
664
- Filters: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Filters"),
665
- IncludedProperties: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "IncludedProperties"),
666
- Scope: [],
667
- Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags"),
668
- ViewName: []
669
- })
670
- );
671
- b.m("POST").h(headers).b(body);
672
- return b.build();
673
- }, "se_CreateViewCommand");
674
- var se_DeleteIndexCommand = /* @__PURE__ */ __name(async (input, context) => {
675
- const b = (0, import_core.requestBuilder)(input, context);
676
- const headers = {
677
- "content-type": "application/json"
678
- };
679
- b.bp("/DeleteIndex");
680
- let body;
681
- body = JSON.stringify(
682
- (0, import_smithy_client.take)(input, {
683
- Arn: []
684
- })
685
- );
686
- b.m("POST").h(headers).b(body);
687
- return b.build();
688
- }, "se_DeleteIndexCommand");
689
- var se_DeleteResourceExplorerSetupCommand = /* @__PURE__ */ __name(async (input, context) => {
690
- const b = (0, import_core.requestBuilder)(input, context);
691
- const headers = {
692
- "content-type": "application/json"
693
- };
694
- b.bp("/DeleteResourceExplorerSetup");
695
- let body;
696
- body = JSON.stringify(
697
- (0, import_smithy_client.take)(input, {
698
- DeleteInAllRegions: [],
699
- RegionList: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "RegionList")
700
- })
701
- );
702
- b.m("POST").h(headers).b(body);
703
- return b.build();
704
- }, "se_DeleteResourceExplorerSetupCommand");
705
- var se_DeleteViewCommand = /* @__PURE__ */ __name(async (input, context) => {
706
- const b = (0, import_core.requestBuilder)(input, context);
707
- const headers = {
708
- "content-type": "application/json"
709
- };
710
- b.bp("/DeleteView");
711
- let body;
712
- body = JSON.stringify(
713
- (0, import_smithy_client.take)(input, {
714
- ViewArn: []
715
- })
716
- );
717
- b.m("POST").h(headers).b(body);
718
- return b.build();
719
- }, "se_DeleteViewCommand");
720
- var se_DisassociateDefaultViewCommand = /* @__PURE__ */ __name(async (input, context) => {
721
- const b = (0, import_core.requestBuilder)(input, context);
722
- const headers = {};
723
- b.bp("/DisassociateDefaultView");
724
- let body;
725
- b.m("POST").h(headers).b(body);
726
- return b.build();
727
- }, "se_DisassociateDefaultViewCommand");
728
- var se_GetAccountLevelServiceConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
729
- const b = (0, import_core.requestBuilder)(input, context);
730
- const headers = {};
731
- b.bp("/GetAccountLevelServiceConfiguration");
732
- let body;
733
- b.m("POST").h(headers).b(body);
734
- return b.build();
735
- }, "se_GetAccountLevelServiceConfigurationCommand");
736
- var se_GetDefaultViewCommand = /* @__PURE__ */ __name(async (input, context) => {
737
- const b = (0, import_core.requestBuilder)(input, context);
738
- const headers = {};
739
- b.bp("/GetDefaultView");
740
- let body;
741
- b.m("POST").h(headers).b(body);
742
- return b.build();
743
- }, "se_GetDefaultViewCommand");
744
- var se_GetIndexCommand = /* @__PURE__ */ __name(async (input, context) => {
745
- const b = (0, import_core.requestBuilder)(input, context);
746
- const headers = {};
747
- b.bp("/GetIndex");
748
- let body;
749
- b.m("POST").h(headers).b(body);
750
- return b.build();
751
- }, "se_GetIndexCommand");
752
- var se_GetManagedViewCommand = /* @__PURE__ */ __name(async (input, context) => {
753
- const b = (0, import_core.requestBuilder)(input, context);
754
- const headers = {
755
- "content-type": "application/json"
756
- };
757
- b.bp("/GetManagedView");
758
- let body;
759
- body = JSON.stringify(
760
- (0, import_smithy_client.take)(input, {
761
- ManagedViewArn: []
762
- })
763
- );
764
- b.m("POST").h(headers).b(body);
765
- return b.build();
766
- }, "se_GetManagedViewCommand");
767
- var se_GetResourceExplorerSetupCommand = /* @__PURE__ */ __name(async (input, context) => {
768
- const b = (0, import_core.requestBuilder)(input, context);
769
- const headers = {
770
- "content-type": "application/json"
771
- };
772
- b.bp("/GetResourceExplorerSetup");
773
- let body;
774
- body = JSON.stringify(
775
- (0, import_smithy_client.take)(input, {
776
- MaxResults: [],
777
- NextToken: [],
778
- TaskId: []
779
- })
780
- );
781
- b.m("POST").h(headers).b(body);
782
- return b.build();
783
- }, "se_GetResourceExplorerSetupCommand");
784
- var se_GetServiceIndexCommand = /* @__PURE__ */ __name(async (input, context) => {
785
- const b = (0, import_core.requestBuilder)(input, context);
786
- const headers = {};
787
- b.bp("/GetServiceIndex");
788
- let body;
789
- b.m("POST").h(headers).b(body);
790
- return b.build();
791
- }, "se_GetServiceIndexCommand");
792
- var se_GetServiceViewCommand = /* @__PURE__ */ __name(async (input, context) => {
793
- const b = (0, import_core.requestBuilder)(input, context);
794
- const headers = {
795
- "content-type": "application/json"
796
- };
797
- b.bp("/GetServiceView");
798
- let body;
799
- body = JSON.stringify(
800
- (0, import_smithy_client.take)(input, {
801
- ServiceViewArn: []
802
- })
803
- );
804
- b.m("POST").h(headers).b(body);
805
- return b.build();
806
- }, "se_GetServiceViewCommand");
807
- var se_GetViewCommand = /* @__PURE__ */ __name(async (input, context) => {
808
- const b = (0, import_core.requestBuilder)(input, context);
809
- const headers = {
810
- "content-type": "application/json"
811
- };
812
- b.bp("/GetView");
813
- let body;
814
- body = JSON.stringify(
815
- (0, import_smithy_client.take)(input, {
816
- ViewArn: []
817
- })
818
- );
819
- b.m("POST").h(headers).b(body);
820
- return b.build();
821
- }, "se_GetViewCommand");
822
- var se_ListIndexesCommand = /* @__PURE__ */ __name(async (input, context) => {
823
- const b = (0, import_core.requestBuilder)(input, context);
824
- const headers = {
825
- "content-type": "application/json"
826
- };
827
- b.bp("/ListIndexes");
828
- let body;
829
- body = JSON.stringify(
830
- (0, import_smithy_client.take)(input, {
831
- MaxResults: [],
832
- NextToken: [],
833
- Regions: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Regions"),
834
- Type: []
835
- })
836
- );
837
- b.m("POST").h(headers).b(body);
838
- return b.build();
839
- }, "se_ListIndexesCommand");
840
- var se_ListIndexesForMembersCommand = /* @__PURE__ */ __name(async (input, context) => {
841
- const b = (0, import_core.requestBuilder)(input, context);
842
- const headers = {
843
- "content-type": "application/json"
844
- };
845
- b.bp("/ListIndexesForMembers");
846
- let body;
847
- body = JSON.stringify(
848
- (0, import_smithy_client.take)(input, {
849
- AccountIdList: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "AccountIdList"),
850
- MaxResults: [],
851
- NextToken: []
852
- })
853
- );
854
- b.m("POST").h(headers).b(body);
855
- return b.build();
856
- }, "se_ListIndexesForMembersCommand");
857
- var se_ListManagedViewsCommand = /* @__PURE__ */ __name(async (input, context) => {
858
- const b = (0, import_core.requestBuilder)(input, context);
859
- const headers = {
860
- "content-type": "application/json"
861
- };
862
- b.bp("/ListManagedViews");
863
- let body;
864
- body = JSON.stringify(
865
- (0, import_smithy_client.take)(input, {
866
- MaxResults: [],
867
- NextToken: [],
868
- ServicePrincipal: []
869
- })
870
- );
871
- b.m("POST").h(headers).b(body);
872
- return b.build();
873
- }, "se_ListManagedViewsCommand");
874
- var se_ListResourcesCommand = /* @__PURE__ */ __name(async (input, context) => {
875
- const b = (0, import_core.requestBuilder)(input, context);
876
- const headers = {
877
- "content-type": "application/json"
878
- };
879
- b.bp("/ListResources");
880
- let body;
881
- body = JSON.stringify(
882
- (0, import_smithy_client.take)(input, {
883
- Filters: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Filters"),
884
- MaxResults: [],
885
- NextToken: [],
886
- ViewArn: []
887
- })
888
- );
889
- b.m("POST").h(headers).b(body);
890
- return b.build();
891
- }, "se_ListResourcesCommand");
892
- var se_ListServiceIndexesCommand = /* @__PURE__ */ __name(async (input, context) => {
893
- const b = (0, import_core.requestBuilder)(input, context);
894
- const headers = {
895
- "content-type": "application/json"
896
- };
897
- b.bp("/ListServiceIndexes");
898
- let body;
899
- body = JSON.stringify(
900
- (0, import_smithy_client.take)(input, {
901
- MaxResults: [],
902
- NextToken: [],
903
- Regions: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Regions")
904
- })
905
- );
906
- b.m("POST").h(headers).b(body);
907
- return b.build();
908
- }, "se_ListServiceIndexesCommand");
909
- var se_ListServiceViewsCommand = /* @__PURE__ */ __name(async (input, context) => {
910
- const b = (0, import_core.requestBuilder)(input, context);
911
- const headers = {
912
- "content-type": "application/json"
913
- };
914
- b.bp("/ListServiceViews");
915
- let body;
916
- body = JSON.stringify(
917
- (0, import_smithy_client.take)(input, {
918
- MaxResults: [],
919
- NextToken: []
920
- })
921
- );
922
- b.m("POST").h(headers).b(body);
923
- return b.build();
924
- }, "se_ListServiceViewsCommand");
925
- var se_ListStreamingAccessForServicesCommand = /* @__PURE__ */ __name(async (input, context) => {
926
- const b = (0, import_core.requestBuilder)(input, context);
927
- const headers = {
928
- "content-type": "application/json"
929
- };
930
- b.bp("/ListStreamingAccessForServices");
931
- let body;
932
- body = JSON.stringify(
933
- (0, import_smithy_client.take)(input, {
934
- MaxResults: [],
935
- NextToken: []
936
- })
937
- );
938
- b.m("POST").h(headers).b(body);
939
- return b.build();
940
- }, "se_ListStreamingAccessForServicesCommand");
941
- var se_ListSupportedResourceTypesCommand = /* @__PURE__ */ __name(async (input, context) => {
942
- const b = (0, import_core.requestBuilder)(input, context);
943
- const headers = {
944
- "content-type": "application/json"
945
- };
946
- b.bp("/ListSupportedResourceTypes");
947
- let body;
948
- body = JSON.stringify(
949
- (0, import_smithy_client.take)(input, {
950
- MaxResults: [],
951
- NextToken: []
952
- })
953
- );
954
- b.m("POST").h(headers).b(body);
955
- return b.build();
956
- }, "se_ListSupportedResourceTypesCommand");
957
- var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
958
- const b = (0, import_core.requestBuilder)(input, context);
959
- const headers = {};
960
- b.bp("/tags/{resourceArn}");
961
- b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
962
- let body;
963
- b.m("GET").h(headers).b(body);
964
- return b.build();
965
- }, "se_ListTagsForResourceCommand");
966
- var se_ListViewsCommand = /* @__PURE__ */ __name(async (input, context) => {
967
- const b = (0, import_core.requestBuilder)(input, context);
968
- const headers = {
969
- "content-type": "application/json"
970
- };
971
- b.bp("/ListViews");
972
- let body;
973
- body = JSON.stringify(
974
- (0, import_smithy_client.take)(input, {
975
- MaxResults: [],
976
- NextToken: []
977
- })
978
- );
979
- b.m("POST").h(headers).b(body);
980
- return b.build();
981
- }, "se_ListViewsCommand");
982
- var se_SearchCommand = /* @__PURE__ */ __name(async (input, context) => {
983
- const b = (0, import_core.requestBuilder)(input, context);
984
- const headers = {
985
- "content-type": "application/json"
986
- };
987
- b.bp("/Search");
988
- let body;
989
- body = JSON.stringify(
990
- (0, import_smithy_client.take)(input, {
991
- MaxResults: [],
992
- NextToken: [],
993
- QueryString: [],
994
- ViewArn: []
995
- })
996
- );
997
- b.m("POST").h(headers).b(body);
998
- return b.build();
999
- }, "se_SearchCommand");
1000
- var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
1001
- const b = (0, import_core.requestBuilder)(input, context);
1002
- const headers = {
1003
- "content-type": "application/json"
1004
- };
1005
- b.bp("/tags/{resourceArn}");
1006
- b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
1007
- let body;
1008
- body = JSON.stringify(
1009
- (0, import_smithy_client.take)(input, {
1010
- Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags")
1011
- })
1012
- );
1013
- b.m("POST").h(headers).b(body);
1014
- return b.build();
1015
- }, "se_TagResourceCommand");
1016
- var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
1017
- const b = (0, import_core.requestBuilder)(input, context);
1018
- const headers = {};
1019
- b.bp("/tags/{resourceArn}");
1020
- b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
1021
- const query = (0, import_smithy_client.map)({
1022
- [_tK]: [(0, import_smithy_client.expectNonNull)(input.tagKeys, `tagKeys`) != null, () => input[_tK] || []]
1023
- });
1024
- let body;
1025
- b.m("DELETE").h(headers).q(query).b(body);
1026
- return b.build();
1027
- }, "se_UntagResourceCommand");
1028
- var se_UpdateIndexTypeCommand = /* @__PURE__ */ __name(async (input, context) => {
1029
- const b = (0, import_core.requestBuilder)(input, context);
1030
- const headers = {
1031
- "content-type": "application/json"
1032
- };
1033
- b.bp("/UpdateIndexType");
1034
- let body;
1035
- body = JSON.stringify(
1036
- (0, import_smithy_client.take)(input, {
1037
- Arn: [],
1038
- Type: []
1039
- })
1040
- );
1041
- b.m("POST").h(headers).b(body);
1042
- return b.build();
1043
- }, "se_UpdateIndexTypeCommand");
1044
- var se_UpdateViewCommand = /* @__PURE__ */ __name(async (input, context) => {
1045
- const b = (0, import_core.requestBuilder)(input, context);
1046
- const headers = {
1047
- "content-type": "application/json"
1048
- };
1049
- b.bp("/UpdateView");
1050
- let body;
1051
- body = JSON.stringify(
1052
- (0, import_smithy_client.take)(input, {
1053
- Filters: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Filters"),
1054
- IncludedProperties: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "IncludedProperties"),
1055
- ViewArn: []
1056
- })
1057
- );
1058
- b.m("POST").h(headers).b(body);
1059
- return b.build();
1060
- }, "se_UpdateViewCommand");
1061
- var de_AssociateDefaultViewCommand = /* @__PURE__ */ __name(async (output, context) => {
1062
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1063
- return de_CommandError(output, context);
1064
- }
1065
- const contents = (0, import_smithy_client.map)({
1066
- $metadata: deserializeMetadata(output)
1067
- });
1068
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1069
- const doc = (0, import_smithy_client.take)(data, {
1070
- ViewArn: import_smithy_client.expectString
1071
- });
1072
- Object.assign(contents, doc);
1073
- return contents;
1074
- }, "de_AssociateDefaultViewCommand");
1075
- var de_BatchGetViewCommand = /* @__PURE__ */ __name(async (output, context) => {
1076
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1077
- return de_CommandError(output, context);
1078
- }
1079
- const contents = (0, import_smithy_client.map)({
1080
- $metadata: deserializeMetadata(output)
1081
- });
1082
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1083
- const doc = (0, import_smithy_client.take)(data, {
1084
- Errors: import_smithy_client._json,
1085
- Views: /* @__PURE__ */ __name((_) => de_ViewList(_, context), "Views")
1086
- });
1087
- Object.assign(contents, doc);
1088
- return contents;
1089
- }, "de_BatchGetViewCommand");
1090
- var de_CreateIndexCommand = /* @__PURE__ */ __name(async (output, context) => {
1091
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1092
- return de_CommandError(output, context);
1093
- }
1094
- const contents = (0, import_smithy_client.map)({
1095
- $metadata: deserializeMetadata(output)
1096
- });
1097
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1098
- const doc = (0, import_smithy_client.take)(data, {
1099
- Arn: import_smithy_client.expectString,
1100
- CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "CreatedAt"),
1101
- State: import_smithy_client.expectString
1102
- });
1103
- Object.assign(contents, doc);
1104
- return contents;
1105
- }, "de_CreateIndexCommand");
1106
- var de_CreateResourceExplorerSetupCommand = /* @__PURE__ */ __name(async (output, context) => {
1107
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1108
- return de_CommandError(output, context);
1109
- }
1110
- const contents = (0, import_smithy_client.map)({
1111
- $metadata: deserializeMetadata(output)
1112
- });
1113
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1114
- const doc = (0, import_smithy_client.take)(data, {
1115
- TaskId: import_smithy_client.expectString
1116
- });
1117
- Object.assign(contents, doc);
1118
- return contents;
1119
- }, "de_CreateResourceExplorerSetupCommand");
1120
- var de_CreateViewCommand = /* @__PURE__ */ __name(async (output, context) => {
1121
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1122
- return de_CommandError(output, context);
1123
- }
1124
- const contents = (0, import_smithy_client.map)({
1125
- $metadata: deserializeMetadata(output)
1126
- });
1127
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1128
- const doc = (0, import_smithy_client.take)(data, {
1129
- View: /* @__PURE__ */ __name((_) => de_View(_, context), "View")
1130
- });
1131
- Object.assign(contents, doc);
1132
- return contents;
1133
- }, "de_CreateViewCommand");
1134
- var de_DeleteIndexCommand = /* @__PURE__ */ __name(async (output, context) => {
1135
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1136
- return de_CommandError(output, context);
1137
- }
1138
- const contents = (0, import_smithy_client.map)({
1139
- $metadata: deserializeMetadata(output)
1140
- });
1141
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1142
- const doc = (0, import_smithy_client.take)(data, {
1143
- Arn: import_smithy_client.expectString,
1144
- LastUpdatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "LastUpdatedAt"),
1145
- State: import_smithy_client.expectString
1146
- });
1147
- Object.assign(contents, doc);
1148
- return contents;
1149
- }, "de_DeleteIndexCommand");
1150
- var de_DeleteResourceExplorerSetupCommand = /* @__PURE__ */ __name(async (output, context) => {
1151
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1152
- return de_CommandError(output, context);
1153
- }
1154
- const contents = (0, import_smithy_client.map)({
1155
- $metadata: deserializeMetadata(output)
1156
- });
1157
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1158
- const doc = (0, import_smithy_client.take)(data, {
1159
- TaskId: import_smithy_client.expectString
1160
- });
1161
- Object.assign(contents, doc);
1162
- return contents;
1163
- }, "de_DeleteResourceExplorerSetupCommand");
1164
- var de_DeleteViewCommand = /* @__PURE__ */ __name(async (output, context) => {
1165
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1166
- return de_CommandError(output, context);
1167
- }
1168
- const contents = (0, import_smithy_client.map)({
1169
- $metadata: deserializeMetadata(output)
1170
- });
1171
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1172
- const doc = (0, import_smithy_client.take)(data, {
1173
- ViewArn: import_smithy_client.expectString
1174
- });
1175
- Object.assign(contents, doc);
1176
- return contents;
1177
- }, "de_DeleteViewCommand");
1178
- var de_DisassociateDefaultViewCommand = /* @__PURE__ */ __name(async (output, context) => {
1179
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1180
- return de_CommandError(output, context);
1181
- }
1182
- const contents = (0, import_smithy_client.map)({
1183
- $metadata: deserializeMetadata(output)
1184
- });
1185
- await (0, import_smithy_client.collectBody)(output.body, context);
1186
- return contents;
1187
- }, "de_DisassociateDefaultViewCommand");
1188
- var de_GetAccountLevelServiceConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
1189
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1190
- return de_CommandError(output, context);
1191
- }
1192
- const contents = (0, import_smithy_client.map)({
1193
- $metadata: deserializeMetadata(output)
1194
- });
1195
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1196
- const doc = (0, import_smithy_client.take)(data, {
1197
- OrgConfiguration: import_smithy_client._json
1198
- });
1199
- Object.assign(contents, doc);
1200
- return contents;
1201
- }, "de_GetAccountLevelServiceConfigurationCommand");
1202
- var de_GetDefaultViewCommand = /* @__PURE__ */ __name(async (output, context) => {
1203
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1204
- return de_CommandError(output, context);
1205
- }
1206
- const contents = (0, import_smithy_client.map)({
1207
- $metadata: deserializeMetadata(output)
1208
- });
1209
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1210
- const doc = (0, import_smithy_client.take)(data, {
1211
- ViewArn: import_smithy_client.expectString
1212
- });
1213
- Object.assign(contents, doc);
1214
- return contents;
1215
- }, "de_GetDefaultViewCommand");
1216
- var de_GetIndexCommand = /* @__PURE__ */ __name(async (output, context) => {
1217
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1218
- return de_CommandError(output, context);
1219
- }
1220
- const contents = (0, import_smithy_client.map)({
1221
- $metadata: deserializeMetadata(output)
1222
- });
1223
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1224
- const doc = (0, import_smithy_client.take)(data, {
1225
- Arn: import_smithy_client.expectString,
1226
- CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "CreatedAt"),
1227
- LastUpdatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "LastUpdatedAt"),
1228
- ReplicatingFrom: import_smithy_client._json,
1229
- ReplicatingTo: import_smithy_client._json,
1230
- State: import_smithy_client.expectString,
1231
- Tags: import_smithy_client._json,
1232
- Type: import_smithy_client.expectString
1233
- });
1234
- Object.assign(contents, doc);
1235
- return contents;
1236
- }, "de_GetIndexCommand");
1237
- var de_GetManagedViewCommand = /* @__PURE__ */ __name(async (output, context) => {
1238
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1239
- return de_CommandError(output, context);
1240
- }
1241
- const contents = (0, import_smithy_client.map)({
1242
- $metadata: deserializeMetadata(output)
1243
- });
1244
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1245
- const doc = (0, import_smithy_client.take)(data, {
1246
- ManagedView: /* @__PURE__ */ __name((_) => de_ManagedView(_, context), "ManagedView")
1247
- });
1248
- Object.assign(contents, doc);
1249
- return contents;
1250
- }, "de_GetManagedViewCommand");
1251
- var de_GetResourceExplorerSetupCommand = /* @__PURE__ */ __name(async (output, context) => {
1252
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1253
- return de_CommandError(output, context);
1254
- }
1255
- const contents = (0, import_smithy_client.map)({
1256
- $metadata: deserializeMetadata(output)
1257
- });
1258
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1259
- const doc = (0, import_smithy_client.take)(data, {
1260
- NextToken: import_smithy_client.expectString,
1261
- Regions: /* @__PURE__ */ __name((_) => de_RegionStatusList(_, context), "Regions")
1262
- });
1263
- Object.assign(contents, doc);
1264
- return contents;
1265
- }, "de_GetResourceExplorerSetupCommand");
1266
- var de_GetServiceIndexCommand = /* @__PURE__ */ __name(async (output, context) => {
1267
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1268
- return de_CommandError(output, context);
1269
- }
1270
- const contents = (0, import_smithy_client.map)({
1271
- $metadata: deserializeMetadata(output)
1272
- });
1273
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1274
- const doc = (0, import_smithy_client.take)(data, {
1275
- Arn: import_smithy_client.expectString,
1276
- Type: import_smithy_client.expectString
1277
- });
1278
- Object.assign(contents, doc);
1279
- return contents;
1280
- }, "de_GetServiceIndexCommand");
1281
- var de_GetServiceViewCommand = /* @__PURE__ */ __name(async (output, context) => {
1282
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1283
- return de_CommandError(output, context);
1284
- }
1285
- const contents = (0, import_smithy_client.map)({
1286
- $metadata: deserializeMetadata(output)
1287
- });
1288
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1289
- const doc = (0, import_smithy_client.take)(data, {
1290
- View: import_smithy_client._json
1291
- });
1292
- Object.assign(contents, doc);
1293
- return contents;
1294
- }, "de_GetServiceViewCommand");
1295
- var de_GetViewCommand = /* @__PURE__ */ __name(async (output, context) => {
1296
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1297
- return de_CommandError(output, context);
1298
- }
1299
- const contents = (0, import_smithy_client.map)({
1300
- $metadata: deserializeMetadata(output)
1301
- });
1302
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1303
- const doc = (0, import_smithy_client.take)(data, {
1304
- Tags: import_smithy_client._json,
1305
- View: /* @__PURE__ */ __name((_) => de_View(_, context), "View")
1306
- });
1307
- Object.assign(contents, doc);
1308
- return contents;
1309
- }, "de_GetViewCommand");
1310
- var de_ListIndexesCommand = /* @__PURE__ */ __name(async (output, context) => {
1311
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1312
- return de_CommandError(output, context);
1313
- }
1314
- const contents = (0, import_smithy_client.map)({
1315
- $metadata: deserializeMetadata(output)
1316
- });
1317
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1318
- const doc = (0, import_smithy_client.take)(data, {
1319
- Indexes: import_smithy_client._json,
1320
- NextToken: import_smithy_client.expectString
1321
- });
1322
- Object.assign(contents, doc);
1323
- return contents;
1324
- }, "de_ListIndexesCommand");
1325
- var de_ListIndexesForMembersCommand = /* @__PURE__ */ __name(async (output, context) => {
1326
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1327
- return de_CommandError(output, context);
1328
- }
1329
- const contents = (0, import_smithy_client.map)({
1330
- $metadata: deserializeMetadata(output)
1331
- });
1332
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1333
- const doc = (0, import_smithy_client.take)(data, {
1334
- Indexes: import_smithy_client._json,
1335
- NextToken: import_smithy_client.expectString
1336
- });
1337
- Object.assign(contents, doc);
1338
- return contents;
1339
- }, "de_ListIndexesForMembersCommand");
1340
- var de_ListManagedViewsCommand = /* @__PURE__ */ __name(async (output, context) => {
1341
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1342
- return de_CommandError(output, context);
1343
- }
1344
- const contents = (0, import_smithy_client.map)({
1345
- $metadata: deserializeMetadata(output)
1346
- });
1347
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1348
- const doc = (0, import_smithy_client.take)(data, {
1349
- ManagedViews: import_smithy_client._json,
1350
- NextToken: import_smithy_client.expectString
1351
- });
1352
- Object.assign(contents, doc);
1353
- return contents;
1354
- }, "de_ListManagedViewsCommand");
1355
- var de_ListResourcesCommand = /* @__PURE__ */ __name(async (output, context) => {
1356
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1357
- return de_CommandError(output, context);
1358
- }
1359
- const contents = (0, import_smithy_client.map)({
1360
- $metadata: deserializeMetadata(output)
1361
- });
1362
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1363
- const doc = (0, import_smithy_client.take)(data, {
1364
- NextToken: import_smithy_client.expectString,
1365
- Resources: /* @__PURE__ */ __name((_) => de_ResourceList(_, context), "Resources"),
1366
- ViewArn: import_smithy_client.expectString
1367
- });
1368
- Object.assign(contents, doc);
1369
- return contents;
1370
- }, "de_ListResourcesCommand");
1371
- var de_ListServiceIndexesCommand = /* @__PURE__ */ __name(async (output, context) => {
1372
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1373
- return de_CommandError(output, context);
1374
- }
1375
- const contents = (0, import_smithy_client.map)({
1376
- $metadata: deserializeMetadata(output)
1377
- });
1378
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1379
- const doc = (0, import_smithy_client.take)(data, {
1380
- Indexes: import_smithy_client._json,
1381
- NextToken: import_smithy_client.expectString
1382
- });
1383
- Object.assign(contents, doc);
1384
- return contents;
1385
- }, "de_ListServiceIndexesCommand");
1386
- var de_ListServiceViewsCommand = /* @__PURE__ */ __name(async (output, context) => {
1387
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1388
- return de_CommandError(output, context);
1389
- }
1390
- const contents = (0, import_smithy_client.map)({
1391
- $metadata: deserializeMetadata(output)
1392
- });
1393
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1394
- const doc = (0, import_smithy_client.take)(data, {
1395
- NextToken: import_smithy_client.expectString,
1396
- ServiceViews: import_smithy_client._json
1397
- });
1398
- Object.assign(contents, doc);
1399
- return contents;
1400
- }, "de_ListServiceViewsCommand");
1401
- var de_ListStreamingAccessForServicesCommand = /* @__PURE__ */ __name(async (output, context) => {
1402
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1403
- return de_CommandError(output, context);
1404
- }
1405
- const contents = (0, import_smithy_client.map)({
1406
- $metadata: deserializeMetadata(output)
1407
- });
1408
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1409
- const doc = (0, import_smithy_client.take)(data, {
1410
- NextToken: import_smithy_client.expectString,
1411
- StreamingAccessForServices: /* @__PURE__ */ __name((_) => de_StreamingAccessDetailsList(_, context), "StreamingAccessForServices")
1412
- });
1413
- Object.assign(contents, doc);
1414
- return contents;
1415
- }, "de_ListStreamingAccessForServicesCommand");
1416
- var de_ListSupportedResourceTypesCommand = /* @__PURE__ */ __name(async (output, context) => {
1417
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1418
- return de_CommandError(output, context);
1419
- }
1420
- const contents = (0, import_smithy_client.map)({
1421
- $metadata: deserializeMetadata(output)
1422
- });
1423
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1424
- const doc = (0, import_smithy_client.take)(data, {
1425
- NextToken: import_smithy_client.expectString,
1426
- ResourceTypes: import_smithy_client._json
1427
- });
1428
- Object.assign(contents, doc);
1429
- return contents;
1430
- }, "de_ListSupportedResourceTypesCommand");
1431
- var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
1432
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1433
- return de_CommandError(output, context);
1434
- }
1435
- const contents = (0, import_smithy_client.map)({
1436
- $metadata: deserializeMetadata(output)
1437
- });
1438
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1439
- const doc = (0, import_smithy_client.take)(data, {
1440
- Tags: import_smithy_client._json
1441
- });
1442
- Object.assign(contents, doc);
1443
- return contents;
1444
- }, "de_ListTagsForResourceCommand");
1445
- var de_ListViewsCommand = /* @__PURE__ */ __name(async (output, context) => {
1446
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1447
- return de_CommandError(output, context);
1448
- }
1449
- const contents = (0, import_smithy_client.map)({
1450
- $metadata: deserializeMetadata(output)
1451
- });
1452
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1453
- const doc = (0, import_smithy_client.take)(data, {
1454
- NextToken: import_smithy_client.expectString,
1455
- Views: import_smithy_client._json
1456
- });
1457
- Object.assign(contents, doc);
1458
- return contents;
1459
- }, "de_ListViewsCommand");
1460
- var de_SearchCommand = /* @__PURE__ */ __name(async (output, context) => {
1461
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1462
- return de_CommandError(output, context);
1463
- }
1464
- const contents = (0, import_smithy_client.map)({
1465
- $metadata: deserializeMetadata(output)
1466
- });
1467
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1468
- const doc = (0, import_smithy_client.take)(data, {
1469
- Count: import_smithy_client._json,
1470
- NextToken: import_smithy_client.expectString,
1471
- Resources: /* @__PURE__ */ __name((_) => de_ResourceList(_, context), "Resources"),
1472
- ViewArn: import_smithy_client.expectString
1473
- });
1474
- Object.assign(contents, doc);
1475
- return contents;
1476
- }, "de_SearchCommand");
1477
- var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
1478
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1479
- return de_CommandError(output, context);
1480
- }
1481
- const contents = (0, import_smithy_client.map)({
1482
- $metadata: deserializeMetadata(output)
1483
- });
1484
- await (0, import_smithy_client.collectBody)(output.body, context);
1485
- return contents;
1486
- }, "de_TagResourceCommand");
1487
- var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
1488
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1489
- return de_CommandError(output, context);
1490
- }
1491
- const contents = (0, import_smithy_client.map)({
1492
- $metadata: deserializeMetadata(output)
1493
- });
1494
- await (0, import_smithy_client.collectBody)(output.body, context);
1495
- return contents;
1496
- }, "de_UntagResourceCommand");
1497
- var de_UpdateIndexTypeCommand = /* @__PURE__ */ __name(async (output, context) => {
1498
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1499
- return de_CommandError(output, context);
1500
- }
1501
- const contents = (0, import_smithy_client.map)({
1502
- $metadata: deserializeMetadata(output)
1503
- });
1504
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1505
- const doc = (0, import_smithy_client.take)(data, {
1506
- Arn: import_smithy_client.expectString,
1507
- LastUpdatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "LastUpdatedAt"),
1508
- State: import_smithy_client.expectString,
1509
- Type: import_smithy_client.expectString
1510
- });
1511
- Object.assign(contents, doc);
1512
- return contents;
1513
- }, "de_UpdateIndexTypeCommand");
1514
- var de_UpdateViewCommand = /* @__PURE__ */ __name(async (output, context) => {
1515
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1516
- return de_CommandError(output, context);
1517
- }
1518
- const contents = (0, import_smithy_client.map)({
1519
- $metadata: deserializeMetadata(output)
1520
- });
1521
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1522
- const doc = (0, import_smithy_client.take)(data, {
1523
- View: /* @__PURE__ */ __name((_) => de_View(_, context), "View")
1524
- });
1525
- Object.assign(contents, doc);
1526
- return contents;
1527
- }, "de_UpdateViewCommand");
1528
- var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
1529
- const parsedOutput = {
1530
- ...output,
1531
- body: await (0, import_core2.parseJsonErrorBody)(output.body, context)
1532
- };
1533
- const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);
1534
- switch (errorCode) {
1535
- case "AccessDeniedException":
1536
- case "com.amazonaws.resourceexplorer2#AccessDeniedException":
1537
- throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1538
- case "InternalServerException":
1539
- case "com.amazonaws.resourceexplorer2#InternalServerException":
1540
- throw await de_InternalServerExceptionRes(parsedOutput, context);
1541
- case "ResourceNotFoundException":
1542
- case "com.amazonaws.resourceexplorer2#ResourceNotFoundException":
1543
- throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1544
- case "ThrottlingException":
1545
- case "com.amazonaws.resourceexplorer2#ThrottlingException":
1546
- throw await de_ThrottlingExceptionRes(parsedOutput, context);
1547
- case "ValidationException":
1548
- case "com.amazonaws.resourceexplorer2#ValidationException":
1549
- throw await de_ValidationExceptionRes(parsedOutput, context);
1550
- case "UnauthorizedException":
1551
- case "com.amazonaws.resourceexplorer2#UnauthorizedException":
1552
- throw await de_UnauthorizedExceptionRes(parsedOutput, context);
1553
- case "ConflictException":
1554
- case "com.amazonaws.resourceexplorer2#ConflictException":
1555
- throw await de_ConflictExceptionRes(parsedOutput, context);
1556
- case "ServiceQuotaExceededException":
1557
- case "com.amazonaws.resourceexplorer2#ServiceQuotaExceededException":
1558
- throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
1559
- default:
1560
- const parsedBody = parsedOutput.body;
1561
- return throwDefaultError({
1562
- output,
1563
- parsedBody,
1564
- errorCode
1565
- });
1566
- }
1567
- }, "de_CommandError");
1568
- var throwDefaultError = (0, import_smithy_client.withBaseException)(ResourceExplorer2ServiceException);
1569
- var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1570
- const contents = (0, import_smithy_client.map)({});
1571
- const data = parsedOutput.body;
1572
- const doc = (0, import_smithy_client.take)(data, {
1573
- Message: import_smithy_client.expectString
1574
- });
1575
- Object.assign(contents, doc);
1576
- const exception = new AccessDeniedException({
1577
- $metadata: deserializeMetadata(parsedOutput),
1578
- ...contents
1579
- });
1580
- return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
1581
- }, "de_AccessDeniedExceptionRes");
1582
- var de_ConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1583
- const contents = (0, import_smithy_client.map)({});
1584
- const data = parsedOutput.body;
1585
- const doc = (0, import_smithy_client.take)(data, {
1586
- Message: import_smithy_client.expectString
1587
- });
1588
- Object.assign(contents, doc);
1589
- const exception = new ConflictException({
1590
- $metadata: deserializeMetadata(parsedOutput),
1591
- ...contents
1592
- });
1593
- return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
1594
- }, "de_ConflictExceptionRes");
1595
- var de_InternalServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1596
- const contents = (0, import_smithy_client.map)({});
1597
- const data = parsedOutput.body;
1598
- const doc = (0, import_smithy_client.take)(data, {
1599
- Message: import_smithy_client.expectString
1600
- });
1601
- Object.assign(contents, doc);
1602
- const exception = new InternalServerException({
1603
- $metadata: deserializeMetadata(parsedOutput),
1604
- ...contents
1605
- });
1606
- return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
1607
- }, "de_InternalServerExceptionRes");
1608
- var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1609
- const contents = (0, import_smithy_client.map)({});
1610
- const data = parsedOutput.body;
1611
- const doc = (0, import_smithy_client.take)(data, {
1612
- Message: import_smithy_client.expectString
1613
- });
1614
- Object.assign(contents, doc);
1615
- const exception = new ResourceNotFoundException({
1616
- $metadata: deserializeMetadata(parsedOutput),
1617
- ...contents
1618
- });
1619
- return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
1620
- }, "de_ResourceNotFoundExceptionRes");
1621
- var de_ServiceQuotaExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1622
- const contents = (0, import_smithy_client.map)({});
1623
- const data = parsedOutput.body;
1624
- const doc = (0, import_smithy_client.take)(data, {
1625
- Message: import_smithy_client.expectString,
1626
- Name: import_smithy_client.expectString,
1627
- Value: import_smithy_client.expectString
1628
- });
1629
- Object.assign(contents, doc);
1630
- const exception = new ServiceQuotaExceededException({
1631
- $metadata: deserializeMetadata(parsedOutput),
1632
- ...contents
1633
- });
1634
- return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
1635
- }, "de_ServiceQuotaExceededExceptionRes");
1636
- var de_ThrottlingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1637
- const contents = (0, import_smithy_client.map)({});
1638
- const data = parsedOutput.body;
1639
- const doc = (0, import_smithy_client.take)(data, {
1640
- Message: import_smithy_client.expectString
1641
- });
1642
- Object.assign(contents, doc);
1643
- const exception = new ThrottlingException({
1644
- $metadata: deserializeMetadata(parsedOutput),
1645
- ...contents
1646
- });
1647
- return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
1648
- }, "de_ThrottlingExceptionRes");
1649
- var de_UnauthorizedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1650
- const contents = (0, import_smithy_client.map)({});
1651
- const data = parsedOutput.body;
1652
- const doc = (0, import_smithy_client.take)(data, {
1653
- Message: import_smithy_client.expectString
1654
- });
1655
- Object.assign(contents, doc);
1656
- const exception = new UnauthorizedException({
1657
- $metadata: deserializeMetadata(parsedOutput),
1658
- ...contents
1659
- });
1660
- return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
1661
- }, "de_UnauthorizedExceptionRes");
1662
- var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1663
- const contents = (0, import_smithy_client.map)({});
1664
- const data = parsedOutput.body;
1665
- const doc = (0, import_smithy_client.take)(data, {
1666
- FieldList: import_smithy_client._json,
1667
- Message: import_smithy_client.expectString
1668
- });
1669
- Object.assign(contents, doc);
1670
- const exception = new ValidationException({
1671
- $metadata: deserializeMetadata(parsedOutput),
1672
- ...contents
1673
- });
1674
- return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
1675
- }, "de_ValidationExceptionRes");
1676
- var de_ManagedView = /* @__PURE__ */ __name((output, context) => {
1677
- return (0, import_smithy_client.take)(output, {
1678
- Filters: import_smithy_client._json,
1679
- IncludedProperties: import_smithy_client._json,
1680
- LastUpdatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "LastUpdatedAt"),
1681
- ManagedViewArn: import_smithy_client.expectString,
1682
- ManagedViewName: import_smithy_client.expectString,
1683
- Owner: import_smithy_client.expectString,
1684
- ResourcePolicy: import_smithy_client.expectString,
1685
- Scope: import_smithy_client.expectString,
1686
- TrustedService: import_smithy_client.expectString,
1687
- Version: import_smithy_client.expectString
1688
- });
1689
- }, "de_ManagedView");
1690
- var de_RegionStatus = /* @__PURE__ */ __name((output, context) => {
1691
- return (0, import_smithy_client.take)(output, {
1692
- Index: import_smithy_client._json,
1693
- Region: import_smithy_client.expectString,
1694
- View: /* @__PURE__ */ __name((_) => de_ViewStatus(_, context), "View")
1695
- });
1696
- }, "de_RegionStatus");
1697
- var de_RegionStatusList = /* @__PURE__ */ __name((output, context) => {
1698
- const retVal = (output || []).filter((e) => e != null).map((entry) => {
1699
- return de_RegionStatus(entry, context);
1700
- });
1701
- return retVal;
1702
- }, "de_RegionStatusList");
1703
- var de_Resource = /* @__PURE__ */ __name((output, context) => {
1704
- return (0, import_smithy_client.take)(output, {
1705
- Arn: import_smithy_client.expectString,
1706
- LastReportedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "LastReportedAt"),
1707
- OwningAccountId: import_smithy_client.expectString,
1708
- Properties: /* @__PURE__ */ __name((_) => de_ResourcePropertyList(_, context), "Properties"),
1709
- Region: import_smithy_client.expectString,
1710
- ResourceType: import_smithy_client.expectString,
1711
- Service: import_smithy_client.expectString
1712
- });
1713
- }, "de_Resource");
1714
- var de_ResourceList = /* @__PURE__ */ __name((output, context) => {
1715
- const retVal = (output || []).filter((e) => e != null).map((entry) => {
1716
- return de_Resource(entry, context);
1717
- });
1718
- return retVal;
1719
- }, "de_ResourceList");
1720
- var de_ResourceProperty = /* @__PURE__ */ __name((output, context) => {
1721
- return (0, import_smithy_client.take)(output, {
1722
- Data: /* @__PURE__ */ __name((_) => de_Document(_, context), "Data"),
1723
- LastReportedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "LastReportedAt"),
1724
- Name: import_smithy_client.expectString
1725
- });
1726
- }, "de_ResourceProperty");
1727
- var de_ResourcePropertyList = /* @__PURE__ */ __name((output, context) => {
1728
- const retVal = (output || []).filter((e) => e != null).map((entry) => {
1729
- return de_ResourceProperty(entry, context);
1730
- });
1731
- return retVal;
1732
- }, "de_ResourcePropertyList");
1733
- var de_StreamingAccessDetails = /* @__PURE__ */ __name((output, context) => {
1734
- return (0, import_smithy_client.take)(output, {
1735
- CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "CreatedAt"),
1736
- ServicePrincipal: import_smithy_client.expectString
1737
- });
1738
- }, "de_StreamingAccessDetails");
1739
- var de_StreamingAccessDetailsList = /* @__PURE__ */ __name((output, context) => {
1740
- const retVal = (output || []).filter((e) => e != null).map((entry) => {
1741
- return de_StreamingAccessDetails(entry, context);
1742
- });
1743
- return retVal;
1744
- }, "de_StreamingAccessDetailsList");
1745
- var de_View = /* @__PURE__ */ __name((output, context) => {
1746
- return (0, import_smithy_client.take)(output, {
1747
- Filters: import_smithy_client._json,
1748
- IncludedProperties: import_smithy_client._json,
1749
- LastUpdatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "LastUpdatedAt"),
1750
- Owner: import_smithy_client.expectString,
1751
- Scope: import_smithy_client.expectString,
1752
- ViewArn: import_smithy_client.expectString
1753
- });
1754
- }, "de_View");
1755
- var de_ViewList = /* @__PURE__ */ __name((output, context) => {
1756
- const retVal = (output || []).filter((e) => e != null).map((entry) => {
1757
- return de_View(entry, context);
1758
- });
1759
- return retVal;
1760
- }, "de_ViewList");
1761
- var de_ViewStatus = /* @__PURE__ */ __name((output, context) => {
1762
- return (0, import_smithy_client.take)(output, {
1763
- ErrorDetails: import_smithy_client._json,
1764
- Status: import_smithy_client.expectString,
1765
- View: /* @__PURE__ */ __name((_) => de_View(_, context), "View")
1766
- });
1767
- }, "de_ViewStatus");
1768
- var de_Document = /* @__PURE__ */ __name((output, context) => {
1769
- return output;
1770
- }, "de_Document");
1771
- var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
1772
- httpStatusCode: output.statusCode,
1773
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
1774
- extendedRequestId: output.headers["x-amz-id-2"],
1775
- cfId: output.headers["x-amz-cf-id"]
1776
- }), "deserializeMetadata");
1777
- var _tK = "tagKeys";
1778
-
1779
- // src/commands/AssociateDefaultViewCommand.ts
1780
- var AssociateDefaultViewCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1781
- return [
1782
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1783
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1784
- ];
1785
- }).s("ResourceExplorer", "AssociateDefaultView", {}).n("ResourceExplorer2Client", "AssociateDefaultViewCommand").f(void 0, void 0).ser(se_AssociateDefaultViewCommand).de(de_AssociateDefaultViewCommand).build() {
1786
- static {
1787
- __name(this, "AssociateDefaultViewCommand");
1788
- }
232
+ const IndexType = {
233
+ AGGREGATOR: "AGGREGATOR",
234
+ LOCAL: "LOCAL",
1789
235
  };
1790
-
1791
- // src/commands/BatchGetViewCommand.ts
1792
-
1793
-
1794
-
1795
- var BatchGetViewCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1796
- return [
1797
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1798
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1799
- ];
1800
- }).s("ResourceExplorer", "BatchGetView", {}).n("ResourceExplorer2Client", "BatchGetViewCommand").f(void 0, BatchGetViewOutputFilterSensitiveLog).ser(se_BatchGetViewCommand).de(de_BatchGetViewCommand).build() {
1801
- static {
1802
- __name(this, "BatchGetViewCommand");
1803
- }
236
+ class ServiceQuotaExceededException extends ResourceExplorer2ServiceException {
237
+ name = "ServiceQuotaExceededException";
238
+ $fault = "client";
239
+ Message;
240
+ Name;
241
+ Value;
242
+ constructor(opts) {
243
+ super({
244
+ name: "ServiceQuotaExceededException",
245
+ $fault: "client",
246
+ ...opts,
247
+ });
248
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
249
+ this.Message = opts.Message;
250
+ this.Name = opts.Name;
251
+ this.Value = opts.Value;
252
+ }
253
+ }
254
+ const OperationStatus = {
255
+ FAILED: "FAILED",
256
+ IN_PROGRESS: "IN_PROGRESS",
257
+ SKIPPED: "SKIPPED",
258
+ SUCCEEDED: "SUCCEEDED",
1804
259
  };
260
+ const SearchFilterFilterSensitiveLog = (obj) => ({
261
+ ...obj,
262
+ });
263
+ const ViewFilterSensitiveLog = (obj) => ({
264
+ ...obj,
265
+ ...(obj.Filters && { Filters: smithyClient.SENSITIVE_STRING }),
266
+ });
267
+ const BatchGetViewOutputFilterSensitiveLog = (obj) => ({
268
+ ...obj,
269
+ ...(obj.Views && { Views: obj.Views.map((item) => ViewFilterSensitiveLog(item)) }),
270
+ });
271
+ const CreateIndexInputFilterSensitiveLog = (obj) => ({
272
+ ...obj,
273
+ ...(obj.Tags && { Tags: smithyClient.SENSITIVE_STRING }),
274
+ });
275
+ const CreateViewInputFilterSensitiveLog = (obj) => ({
276
+ ...obj,
277
+ ...(obj.Filters && { Filters: smithyClient.SENSITIVE_STRING }),
278
+ ...(obj.Tags && { Tags: smithyClient.SENSITIVE_STRING }),
279
+ });
280
+ const CreateViewOutputFilterSensitiveLog = (obj) => ({
281
+ ...obj,
282
+ ...(obj.View && { View: ViewFilterSensitiveLog(obj.View) }),
283
+ });
284
+ const GetViewOutputFilterSensitiveLog = (obj) => ({
285
+ ...obj,
286
+ ...(obj.View && { View: ViewFilterSensitiveLog(obj.View) }),
287
+ ...(obj.Tags && { Tags: smithyClient.SENSITIVE_STRING }),
288
+ });
289
+ const UpdateViewInputFilterSensitiveLog = (obj) => ({
290
+ ...obj,
291
+ ...(obj.Filters && { Filters: smithyClient.SENSITIVE_STRING }),
292
+ });
293
+ const UpdateViewOutputFilterSensitiveLog = (obj) => ({
294
+ ...obj,
295
+ ...(obj.View && { View: ViewFilterSensitiveLog(obj.View) }),
296
+ });
297
+ const GetIndexOutputFilterSensitiveLog = (obj) => ({
298
+ ...obj,
299
+ ...(obj.Tags && { Tags: smithyClient.SENSITIVE_STRING }),
300
+ });
301
+ const ManagedViewFilterSensitiveLog = (obj) => ({
302
+ ...obj,
303
+ ...(obj.Filters && { Filters: smithyClient.SENSITIVE_STRING }),
304
+ });
305
+ const GetManagedViewOutputFilterSensitiveLog = (obj) => ({
306
+ ...obj,
307
+ ...(obj.ManagedView && { ManagedView: ManagedViewFilterSensitiveLog(obj.ManagedView) }),
308
+ });
309
+ const ViewStatusFilterSensitiveLog = (obj) => ({
310
+ ...obj,
311
+ ...(obj.View && { View: ViewFilterSensitiveLog(obj.View) }),
312
+ });
313
+ const RegionStatusFilterSensitiveLog = (obj) => ({
314
+ ...obj,
315
+ });
316
+ const GetResourceExplorerSetupOutputFilterSensitiveLog = (obj) => ({
317
+ ...obj,
318
+ });
319
+ const ServiceViewFilterSensitiveLog = (obj) => ({
320
+ ...obj,
321
+ ...(obj.Filters && { Filters: smithyClient.SENSITIVE_STRING }),
322
+ });
323
+ const GetServiceViewOutputFilterSensitiveLog = (obj) => ({
324
+ ...obj,
325
+ ...(obj.View && { View: ServiceViewFilterSensitiveLog(obj.View) }),
326
+ });
327
+ const ListResourcesInputFilterSensitiveLog = (obj) => ({
328
+ ...obj,
329
+ ...(obj.Filters && { Filters: smithyClient.SENSITIVE_STRING }),
330
+ });
331
+ const ListTagsForResourceOutputFilterSensitiveLog = (obj) => ({
332
+ ...obj,
333
+ ...(obj.Tags && { Tags: smithyClient.SENSITIVE_STRING }),
334
+ });
335
+ const SearchInputFilterSensitiveLog = (obj) => ({
336
+ ...obj,
337
+ ...(obj.QueryString && { QueryString: smithyClient.SENSITIVE_STRING }),
338
+ });
339
+ const TagResourceInputFilterSensitiveLog = (obj) => ({
340
+ ...obj,
341
+ ...(obj.Tags && { Tags: smithyClient.SENSITIVE_STRING }),
342
+ });
343
+ const UntagResourceInputFilterSensitiveLog = (obj) => ({
344
+ ...obj,
345
+ ...(obj.tagKeys && { tagKeys: smithyClient.SENSITIVE_STRING }),
346
+ });
1805
347
 
1806
- // src/commands/CreateIndexCommand.ts
1807
-
1808
-
1809
-
1810
- var CreateIndexCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1811
- return [
1812
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1813
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1814
- ];
1815
- }).s("ResourceExplorer", "CreateIndex", {}).n("ResourceExplorer2Client", "CreateIndexCommand").f(CreateIndexInputFilterSensitiveLog, void 0).ser(se_CreateIndexCommand).de(de_CreateIndexCommand).build() {
1816
- static {
1817
- __name(this, "CreateIndexCommand");
1818
- }
348
+ const se_AssociateDefaultViewCommand = async (input, context) => {
349
+ const b = core.requestBuilder(input, context);
350
+ const headers = {
351
+ "content-type": "application/json",
352
+ };
353
+ b.bp("/AssociateDefaultView");
354
+ let body;
355
+ body = JSON.stringify(smithyClient.take(input, {
356
+ ViewArn: [],
357
+ }));
358
+ b.m("POST").h(headers).b(body);
359
+ return b.build();
1819
360
  };
1820
-
1821
- // src/commands/CreateResourceExplorerSetupCommand.ts
1822
-
1823
-
1824
-
1825
- var CreateResourceExplorerSetupCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1826
- return [
1827
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1828
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1829
- ];
1830
- }).s("ResourceExplorer", "CreateResourceExplorerSetup", {}).n("ResourceExplorer2Client", "CreateResourceExplorerSetupCommand").f(void 0, void 0).ser(se_CreateResourceExplorerSetupCommand).de(de_CreateResourceExplorerSetupCommand).build() {
1831
- static {
1832
- __name(this, "CreateResourceExplorerSetupCommand");
1833
- }
361
+ const se_BatchGetViewCommand = async (input, context) => {
362
+ const b = core.requestBuilder(input, context);
363
+ const headers = {
364
+ "content-type": "application/json",
365
+ };
366
+ b.bp("/BatchGetView");
367
+ let body;
368
+ body = JSON.stringify(smithyClient.take(input, {
369
+ ViewArns: (_) => smithyClient._json(_),
370
+ }));
371
+ b.m("POST").h(headers).b(body);
372
+ return b.build();
1834
373
  };
1835
-
1836
- // src/commands/CreateViewCommand.ts
1837
-
1838
-
1839
-
1840
- var CreateViewCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1841
- return [
1842
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1843
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1844
- ];
1845
- }).s("ResourceExplorer", "CreateView", {}).n("ResourceExplorer2Client", "CreateViewCommand").f(CreateViewInputFilterSensitiveLog, CreateViewOutputFilterSensitiveLog).ser(se_CreateViewCommand).de(de_CreateViewCommand).build() {
1846
- static {
1847
- __name(this, "CreateViewCommand");
1848
- }
374
+ const se_CreateIndexCommand = async (input, context) => {
375
+ const b = core.requestBuilder(input, context);
376
+ const headers = {
377
+ "content-type": "application/json",
378
+ };
379
+ b.bp("/CreateIndex");
380
+ let body;
381
+ body = JSON.stringify(smithyClient.take(input, {
382
+ ClientToken: [true, (_) => _ ?? uuid.v4()],
383
+ Tags: (_) => smithyClient._json(_),
384
+ }));
385
+ b.m("POST").h(headers).b(body);
386
+ return b.build();
1849
387
  };
1850
-
1851
- // src/commands/DeleteIndexCommand.ts
1852
-
1853
-
1854
-
1855
- var DeleteIndexCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1856
- return [
1857
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1858
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1859
- ];
1860
- }).s("ResourceExplorer", "DeleteIndex", {}).n("ResourceExplorer2Client", "DeleteIndexCommand").f(void 0, void 0).ser(se_DeleteIndexCommand).de(de_DeleteIndexCommand).build() {
1861
- static {
1862
- __name(this, "DeleteIndexCommand");
1863
- }
388
+ const se_CreateResourceExplorerSetupCommand = async (input, context) => {
389
+ const b = core.requestBuilder(input, context);
390
+ const headers = {
391
+ "content-type": "application/json",
392
+ };
393
+ b.bp("/CreateResourceExplorerSetup");
394
+ let body;
395
+ body = JSON.stringify(smithyClient.take(input, {
396
+ AggregatorRegions: (_) => smithyClient._json(_),
397
+ RegionList: (_) => smithyClient._json(_),
398
+ ViewName: [],
399
+ }));
400
+ b.m("POST").h(headers).b(body);
401
+ return b.build();
1864
402
  };
1865
-
1866
- // src/commands/DeleteResourceExplorerSetupCommand.ts
1867
-
1868
-
1869
-
1870
- var DeleteResourceExplorerSetupCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1871
- return [
1872
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1873
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1874
- ];
1875
- }).s("ResourceExplorer", "DeleteResourceExplorerSetup", {}).n("ResourceExplorer2Client", "DeleteResourceExplorerSetupCommand").f(void 0, void 0).ser(se_DeleteResourceExplorerSetupCommand).de(de_DeleteResourceExplorerSetupCommand).build() {
1876
- static {
1877
- __name(this, "DeleteResourceExplorerSetupCommand");
1878
- }
403
+ const se_CreateViewCommand = async (input, context) => {
404
+ const b = core.requestBuilder(input, context);
405
+ const headers = {
406
+ "content-type": "application/json",
407
+ };
408
+ b.bp("/CreateView");
409
+ let body;
410
+ body = JSON.stringify(smithyClient.take(input, {
411
+ ClientToken: [true, (_) => _ ?? uuid.v4()],
412
+ Filters: (_) => smithyClient._json(_),
413
+ IncludedProperties: (_) => smithyClient._json(_),
414
+ Scope: [],
415
+ Tags: (_) => smithyClient._json(_),
416
+ ViewName: [],
417
+ }));
418
+ b.m("POST").h(headers).b(body);
419
+ return b.build();
1879
420
  };
1880
-
1881
- // src/commands/DeleteViewCommand.ts
1882
-
1883
-
1884
-
1885
- var DeleteViewCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1886
- return [
1887
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1888
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1889
- ];
1890
- }).s("ResourceExplorer", "DeleteView", {}).n("ResourceExplorer2Client", "DeleteViewCommand").f(void 0, void 0).ser(se_DeleteViewCommand).de(de_DeleteViewCommand).build() {
1891
- static {
1892
- __name(this, "DeleteViewCommand");
1893
- }
421
+ const se_DeleteIndexCommand = async (input, context) => {
422
+ const b = core.requestBuilder(input, context);
423
+ const headers = {
424
+ "content-type": "application/json",
425
+ };
426
+ b.bp("/DeleteIndex");
427
+ let body;
428
+ body = JSON.stringify(smithyClient.take(input, {
429
+ Arn: [],
430
+ }));
431
+ b.m("POST").h(headers).b(body);
432
+ return b.build();
1894
433
  };
1895
-
1896
- // src/commands/DisassociateDefaultViewCommand.ts
1897
-
1898
-
1899
-
1900
- var DisassociateDefaultViewCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1901
- return [
1902
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1903
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1904
- ];
1905
- }).s("ResourceExplorer", "DisassociateDefaultView", {}).n("ResourceExplorer2Client", "DisassociateDefaultViewCommand").f(void 0, void 0).ser(se_DisassociateDefaultViewCommand).de(de_DisassociateDefaultViewCommand).build() {
1906
- static {
1907
- __name(this, "DisassociateDefaultViewCommand");
1908
- }
434
+ const se_DeleteResourceExplorerSetupCommand = async (input, context) => {
435
+ const b = core.requestBuilder(input, context);
436
+ const headers = {
437
+ "content-type": "application/json",
438
+ };
439
+ b.bp("/DeleteResourceExplorerSetup");
440
+ let body;
441
+ body = JSON.stringify(smithyClient.take(input, {
442
+ DeleteInAllRegions: [],
443
+ RegionList: (_) => smithyClient._json(_),
444
+ }));
445
+ b.m("POST").h(headers).b(body);
446
+ return b.build();
1909
447
  };
1910
-
1911
- // src/commands/GetAccountLevelServiceConfigurationCommand.ts
1912
-
1913
-
1914
-
1915
- var GetAccountLevelServiceConfigurationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1916
- return [
1917
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1918
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1919
- ];
1920
- }).s("ResourceExplorer", "GetAccountLevelServiceConfiguration", {}).n("ResourceExplorer2Client", "GetAccountLevelServiceConfigurationCommand").f(void 0, void 0).ser(se_GetAccountLevelServiceConfigurationCommand).de(de_GetAccountLevelServiceConfigurationCommand).build() {
1921
- static {
1922
- __name(this, "GetAccountLevelServiceConfigurationCommand");
1923
- }
448
+ const se_DeleteViewCommand = async (input, context) => {
449
+ const b = core.requestBuilder(input, context);
450
+ const headers = {
451
+ "content-type": "application/json",
452
+ };
453
+ b.bp("/DeleteView");
454
+ let body;
455
+ body = JSON.stringify(smithyClient.take(input, {
456
+ ViewArn: [],
457
+ }));
458
+ b.m("POST").h(headers).b(body);
459
+ return b.build();
1924
460
  };
1925
-
1926
- // src/commands/GetDefaultViewCommand.ts
1927
-
1928
-
1929
-
1930
- var GetDefaultViewCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1931
- return [
1932
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1933
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1934
- ];
1935
- }).s("ResourceExplorer", "GetDefaultView", {}).n("ResourceExplorer2Client", "GetDefaultViewCommand").f(void 0, void 0).ser(se_GetDefaultViewCommand).de(de_GetDefaultViewCommand).build() {
1936
- static {
1937
- __name(this, "GetDefaultViewCommand");
1938
- }
461
+ const se_DisassociateDefaultViewCommand = async (input, context) => {
462
+ const b = core.requestBuilder(input, context);
463
+ const headers = {};
464
+ b.bp("/DisassociateDefaultView");
465
+ let body;
466
+ b.m("POST").h(headers).b(body);
467
+ return b.build();
1939
468
  };
1940
-
1941
- // src/commands/GetIndexCommand.ts
1942
-
1943
-
1944
-
1945
- var GetIndexCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1946
- return [
1947
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1948
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1949
- ];
1950
- }).s("ResourceExplorer", "GetIndex", {}).n("ResourceExplorer2Client", "GetIndexCommand").f(void 0, GetIndexOutputFilterSensitiveLog).ser(se_GetIndexCommand).de(de_GetIndexCommand).build() {
1951
- static {
1952
- __name(this, "GetIndexCommand");
1953
- }
469
+ const se_GetAccountLevelServiceConfigurationCommand = async (input, context) => {
470
+ const b = core.requestBuilder(input, context);
471
+ const headers = {};
472
+ b.bp("/GetAccountLevelServiceConfiguration");
473
+ let body;
474
+ b.m("POST").h(headers).b(body);
475
+ return b.build();
1954
476
  };
1955
-
1956
- // src/commands/GetManagedViewCommand.ts
1957
-
1958
-
1959
-
1960
- var GetManagedViewCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1961
- return [
1962
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1963
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1964
- ];
1965
- }).s("ResourceExplorer", "GetManagedView", {}).n("ResourceExplorer2Client", "GetManagedViewCommand").f(void 0, GetManagedViewOutputFilterSensitiveLog).ser(se_GetManagedViewCommand).de(de_GetManagedViewCommand).build() {
1966
- static {
1967
- __name(this, "GetManagedViewCommand");
1968
- }
477
+ const se_GetDefaultViewCommand = async (input, context) => {
478
+ const b = core.requestBuilder(input, context);
479
+ const headers = {};
480
+ b.bp("/GetDefaultView");
481
+ let body;
482
+ b.m("POST").h(headers).b(body);
483
+ return b.build();
1969
484
  };
1970
-
1971
- // src/commands/GetResourceExplorerSetupCommand.ts
1972
-
1973
-
1974
-
1975
- var GetResourceExplorerSetupCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1976
- return [
1977
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1978
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1979
- ];
1980
- }).s("ResourceExplorer", "GetResourceExplorerSetup", {}).n("ResourceExplorer2Client", "GetResourceExplorerSetupCommand").f(void 0, GetResourceExplorerSetupOutputFilterSensitiveLog).ser(se_GetResourceExplorerSetupCommand).de(de_GetResourceExplorerSetupCommand).build() {
1981
- static {
1982
- __name(this, "GetResourceExplorerSetupCommand");
1983
- }
485
+ const se_GetIndexCommand = async (input, context) => {
486
+ const b = core.requestBuilder(input, context);
487
+ const headers = {};
488
+ b.bp("/GetIndex");
489
+ let body;
490
+ b.m("POST").h(headers).b(body);
491
+ return b.build();
1984
492
  };
1985
-
1986
- // src/commands/GetServiceIndexCommand.ts
1987
-
1988
-
1989
-
1990
- var GetServiceIndexCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1991
- return [
1992
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1993
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1994
- ];
1995
- }).s("ResourceExplorer", "GetServiceIndex", {}).n("ResourceExplorer2Client", "GetServiceIndexCommand").f(void 0, void 0).ser(se_GetServiceIndexCommand).de(de_GetServiceIndexCommand).build() {
1996
- static {
1997
- __name(this, "GetServiceIndexCommand");
1998
- }
493
+ const se_GetManagedViewCommand = async (input, context) => {
494
+ const b = core.requestBuilder(input, context);
495
+ const headers = {
496
+ "content-type": "application/json",
497
+ };
498
+ b.bp("/GetManagedView");
499
+ let body;
500
+ body = JSON.stringify(smithyClient.take(input, {
501
+ ManagedViewArn: [],
502
+ }));
503
+ b.m("POST").h(headers).b(body);
504
+ return b.build();
1999
505
  };
2000
-
2001
- // src/commands/GetServiceViewCommand.ts
2002
-
2003
-
2004
-
2005
- var GetServiceViewCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2006
- return [
2007
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2008
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2009
- ];
2010
- }).s("ResourceExplorer", "GetServiceView", {}).n("ResourceExplorer2Client", "GetServiceViewCommand").f(void 0, GetServiceViewOutputFilterSensitiveLog).ser(se_GetServiceViewCommand).de(de_GetServiceViewCommand).build() {
2011
- static {
2012
- __name(this, "GetServiceViewCommand");
2013
- }
506
+ const se_GetResourceExplorerSetupCommand = async (input, context) => {
507
+ const b = core.requestBuilder(input, context);
508
+ const headers = {
509
+ "content-type": "application/json",
510
+ };
511
+ b.bp("/GetResourceExplorerSetup");
512
+ let body;
513
+ body = JSON.stringify(smithyClient.take(input, {
514
+ MaxResults: [],
515
+ NextToken: [],
516
+ TaskId: [],
517
+ }));
518
+ b.m("POST").h(headers).b(body);
519
+ return b.build();
2014
520
  };
2015
-
2016
- // src/commands/GetViewCommand.ts
2017
-
2018
-
2019
-
2020
- var GetViewCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2021
- return [
2022
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2023
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2024
- ];
2025
- }).s("ResourceExplorer", "GetView", {}).n("ResourceExplorer2Client", "GetViewCommand").f(void 0, GetViewOutputFilterSensitiveLog).ser(se_GetViewCommand).de(de_GetViewCommand).build() {
2026
- static {
2027
- __name(this, "GetViewCommand");
2028
- }
521
+ const se_GetServiceIndexCommand = async (input, context) => {
522
+ const b = core.requestBuilder(input, context);
523
+ const headers = {};
524
+ b.bp("/GetServiceIndex");
525
+ let body;
526
+ b.m("POST").h(headers).b(body);
527
+ return b.build();
2029
528
  };
2030
-
2031
- // src/commands/ListIndexesCommand.ts
2032
-
2033
-
2034
-
2035
- var ListIndexesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2036
- return [
2037
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2038
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2039
- ];
2040
- }).s("ResourceExplorer", "ListIndexes", {}).n("ResourceExplorer2Client", "ListIndexesCommand").f(void 0, void 0).ser(se_ListIndexesCommand).de(de_ListIndexesCommand).build() {
2041
- static {
2042
- __name(this, "ListIndexesCommand");
2043
- }
529
+ const se_GetServiceViewCommand = async (input, context) => {
530
+ const b = core.requestBuilder(input, context);
531
+ const headers = {
532
+ "content-type": "application/json",
533
+ };
534
+ b.bp("/GetServiceView");
535
+ let body;
536
+ body = JSON.stringify(smithyClient.take(input, {
537
+ ServiceViewArn: [],
538
+ }));
539
+ b.m("POST").h(headers).b(body);
540
+ return b.build();
2044
541
  };
2045
-
2046
- // src/commands/ListIndexesForMembersCommand.ts
2047
-
2048
-
2049
-
2050
- var ListIndexesForMembersCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2051
- return [
2052
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2053
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2054
- ];
2055
- }).s("ResourceExplorer", "ListIndexesForMembers", {}).n("ResourceExplorer2Client", "ListIndexesForMembersCommand").f(void 0, void 0).ser(se_ListIndexesForMembersCommand).de(de_ListIndexesForMembersCommand).build() {
2056
- static {
2057
- __name(this, "ListIndexesForMembersCommand");
2058
- }
542
+ const se_GetViewCommand = async (input, context) => {
543
+ const b = core.requestBuilder(input, context);
544
+ const headers = {
545
+ "content-type": "application/json",
546
+ };
547
+ b.bp("/GetView");
548
+ let body;
549
+ body = JSON.stringify(smithyClient.take(input, {
550
+ ViewArn: [],
551
+ }));
552
+ b.m("POST").h(headers).b(body);
553
+ return b.build();
2059
554
  };
2060
-
2061
- // src/commands/ListManagedViewsCommand.ts
2062
-
2063
-
2064
-
2065
- var ListManagedViewsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2066
- return [
2067
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2068
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2069
- ];
2070
- }).s("ResourceExplorer", "ListManagedViews", {}).n("ResourceExplorer2Client", "ListManagedViewsCommand").f(void 0, void 0).ser(se_ListManagedViewsCommand).de(de_ListManagedViewsCommand).build() {
2071
- static {
2072
- __name(this, "ListManagedViewsCommand");
2073
- }
555
+ const se_ListIndexesCommand = async (input, context) => {
556
+ const b = core.requestBuilder(input, context);
557
+ const headers = {
558
+ "content-type": "application/json",
559
+ };
560
+ b.bp("/ListIndexes");
561
+ let body;
562
+ body = JSON.stringify(smithyClient.take(input, {
563
+ MaxResults: [],
564
+ NextToken: [],
565
+ Regions: (_) => smithyClient._json(_),
566
+ Type: [],
567
+ }));
568
+ b.m("POST").h(headers).b(body);
569
+ return b.build();
2074
570
  };
2075
-
2076
- // src/commands/ListResourcesCommand.ts
2077
-
2078
-
2079
-
2080
- var ListResourcesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2081
- return [
2082
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2083
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2084
- ];
2085
- }).s("ResourceExplorer", "ListResources", {}).n("ResourceExplorer2Client", "ListResourcesCommand").f(ListResourcesInputFilterSensitiveLog, void 0).ser(se_ListResourcesCommand).de(de_ListResourcesCommand).build() {
2086
- static {
2087
- __name(this, "ListResourcesCommand");
2088
- }
571
+ const se_ListIndexesForMembersCommand = async (input, context) => {
572
+ const b = core.requestBuilder(input, context);
573
+ const headers = {
574
+ "content-type": "application/json",
575
+ };
576
+ b.bp("/ListIndexesForMembers");
577
+ let body;
578
+ body = JSON.stringify(smithyClient.take(input, {
579
+ AccountIdList: (_) => smithyClient._json(_),
580
+ MaxResults: [],
581
+ NextToken: [],
582
+ }));
583
+ b.m("POST").h(headers).b(body);
584
+ return b.build();
2089
585
  };
2090
-
2091
- // src/commands/ListServiceIndexesCommand.ts
2092
-
2093
-
2094
-
2095
- var ListServiceIndexesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2096
- return [
2097
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2098
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2099
- ];
2100
- }).s("ResourceExplorer", "ListServiceIndexes", {}).n("ResourceExplorer2Client", "ListServiceIndexesCommand").f(void 0, void 0).ser(se_ListServiceIndexesCommand).de(de_ListServiceIndexesCommand).build() {
2101
- static {
2102
- __name(this, "ListServiceIndexesCommand");
2103
- }
586
+ const se_ListManagedViewsCommand = async (input, context) => {
587
+ const b = core.requestBuilder(input, context);
588
+ const headers = {
589
+ "content-type": "application/json",
590
+ };
591
+ b.bp("/ListManagedViews");
592
+ let body;
593
+ body = JSON.stringify(smithyClient.take(input, {
594
+ MaxResults: [],
595
+ NextToken: [],
596
+ ServicePrincipal: [],
597
+ }));
598
+ b.m("POST").h(headers).b(body);
599
+ return b.build();
2104
600
  };
2105
-
2106
- // src/commands/ListServiceViewsCommand.ts
2107
-
2108
-
2109
-
2110
- var ListServiceViewsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2111
- return [
2112
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2113
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2114
- ];
2115
- }).s("ResourceExplorer", "ListServiceViews", {}).n("ResourceExplorer2Client", "ListServiceViewsCommand").f(void 0, void 0).ser(se_ListServiceViewsCommand).de(de_ListServiceViewsCommand).build() {
2116
- static {
2117
- __name(this, "ListServiceViewsCommand");
2118
- }
601
+ const se_ListResourcesCommand = async (input, context) => {
602
+ const b = core.requestBuilder(input, context);
603
+ const headers = {
604
+ "content-type": "application/json",
605
+ };
606
+ b.bp("/ListResources");
607
+ let body;
608
+ body = JSON.stringify(smithyClient.take(input, {
609
+ Filters: (_) => smithyClient._json(_),
610
+ MaxResults: [],
611
+ NextToken: [],
612
+ ViewArn: [],
613
+ }));
614
+ b.m("POST").h(headers).b(body);
615
+ return b.build();
2119
616
  };
2120
-
2121
- // src/commands/ListStreamingAccessForServicesCommand.ts
2122
-
2123
-
2124
-
2125
- var ListStreamingAccessForServicesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2126
- return [
2127
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2128
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2129
- ];
2130
- }).s("ResourceExplorer", "ListStreamingAccessForServices", {}).n("ResourceExplorer2Client", "ListStreamingAccessForServicesCommand").f(void 0, void 0).ser(se_ListStreamingAccessForServicesCommand).de(de_ListStreamingAccessForServicesCommand).build() {
2131
- static {
2132
- __name(this, "ListStreamingAccessForServicesCommand");
2133
- }
617
+ const se_ListServiceIndexesCommand = async (input, context) => {
618
+ const b = core.requestBuilder(input, context);
619
+ const headers = {
620
+ "content-type": "application/json",
621
+ };
622
+ b.bp("/ListServiceIndexes");
623
+ let body;
624
+ body = JSON.stringify(smithyClient.take(input, {
625
+ MaxResults: [],
626
+ NextToken: [],
627
+ Regions: (_) => smithyClient._json(_),
628
+ }));
629
+ b.m("POST").h(headers).b(body);
630
+ return b.build();
2134
631
  };
2135
-
2136
- // src/commands/ListSupportedResourceTypesCommand.ts
2137
-
2138
-
2139
-
2140
- var ListSupportedResourceTypesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2141
- return [
2142
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2143
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2144
- ];
2145
- }).s("ResourceExplorer", "ListSupportedResourceTypes", {}).n("ResourceExplorer2Client", "ListSupportedResourceTypesCommand").f(void 0, void 0).ser(se_ListSupportedResourceTypesCommand).de(de_ListSupportedResourceTypesCommand).build() {
2146
- static {
2147
- __name(this, "ListSupportedResourceTypesCommand");
2148
- }
632
+ const se_ListServiceViewsCommand = async (input, context) => {
633
+ const b = core.requestBuilder(input, context);
634
+ const headers = {
635
+ "content-type": "application/json",
636
+ };
637
+ b.bp("/ListServiceViews");
638
+ let body;
639
+ body = JSON.stringify(smithyClient.take(input, {
640
+ MaxResults: [],
641
+ NextToken: [],
642
+ }));
643
+ b.m("POST").h(headers).b(body);
644
+ return b.build();
2149
645
  };
2150
-
2151
- // src/commands/ListTagsForResourceCommand.ts
2152
-
2153
-
2154
-
2155
- var ListTagsForResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2156
- return [
2157
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2158
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2159
- ];
2160
- }).s("ResourceExplorer", "ListTagsForResource", {}).n("ResourceExplorer2Client", "ListTagsForResourceCommand").f(void 0, ListTagsForResourceOutputFilterSensitiveLog).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
2161
- static {
2162
- __name(this, "ListTagsForResourceCommand");
2163
- }
646
+ const se_ListStreamingAccessForServicesCommand = async (input, context) => {
647
+ const b = core.requestBuilder(input, context);
648
+ const headers = {
649
+ "content-type": "application/json",
650
+ };
651
+ b.bp("/ListStreamingAccessForServices");
652
+ let body;
653
+ body = JSON.stringify(smithyClient.take(input, {
654
+ MaxResults: [],
655
+ NextToken: [],
656
+ }));
657
+ b.m("POST").h(headers).b(body);
658
+ return b.build();
2164
659
  };
2165
-
2166
- // src/commands/ListViewsCommand.ts
2167
-
2168
-
2169
-
2170
- var ListViewsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2171
- return [
2172
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2173
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2174
- ];
2175
- }).s("ResourceExplorer", "ListViews", {}).n("ResourceExplorer2Client", "ListViewsCommand").f(void 0, void 0).ser(se_ListViewsCommand).de(de_ListViewsCommand).build() {
2176
- static {
2177
- __name(this, "ListViewsCommand");
2178
- }
660
+ const se_ListSupportedResourceTypesCommand = async (input, context) => {
661
+ const b = core.requestBuilder(input, context);
662
+ const headers = {
663
+ "content-type": "application/json",
664
+ };
665
+ b.bp("/ListSupportedResourceTypes");
666
+ let body;
667
+ body = JSON.stringify(smithyClient.take(input, {
668
+ MaxResults: [],
669
+ NextToken: [],
670
+ }));
671
+ b.m("POST").h(headers).b(body);
672
+ return b.build();
2179
673
  };
2180
-
2181
- // src/commands/SearchCommand.ts
2182
-
2183
-
2184
-
2185
- var SearchCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2186
- return [
2187
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2188
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2189
- ];
2190
- }).s("ResourceExplorer", "Search", {}).n("ResourceExplorer2Client", "SearchCommand").f(SearchInputFilterSensitiveLog, void 0).ser(se_SearchCommand).de(de_SearchCommand).build() {
2191
- static {
2192
- __name(this, "SearchCommand");
2193
- }
674
+ const se_ListTagsForResourceCommand = async (input, context) => {
675
+ const b = core.requestBuilder(input, context);
676
+ const headers = {};
677
+ b.bp("/tags/{resourceArn}");
678
+ b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
679
+ let body;
680
+ b.m("GET").h(headers).b(body);
681
+ return b.build();
2194
682
  };
2195
-
2196
- // src/commands/TagResourceCommand.ts
2197
-
2198
-
2199
-
2200
- var TagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2201
- return [
2202
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2203
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2204
- ];
2205
- }).s("ResourceExplorer", "TagResource", {}).n("ResourceExplorer2Client", "TagResourceCommand").f(TagResourceInputFilterSensitiveLog, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
2206
- static {
2207
- __name(this, "TagResourceCommand");
2208
- }
683
+ const se_ListViewsCommand = async (input, context) => {
684
+ const b = core.requestBuilder(input, context);
685
+ const headers = {
686
+ "content-type": "application/json",
687
+ };
688
+ b.bp("/ListViews");
689
+ let body;
690
+ body = JSON.stringify(smithyClient.take(input, {
691
+ MaxResults: [],
692
+ NextToken: [],
693
+ }));
694
+ b.m("POST").h(headers).b(body);
695
+ return b.build();
2209
696
  };
2210
-
2211
- // src/commands/UntagResourceCommand.ts
2212
-
2213
-
2214
-
2215
- var UntagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2216
- return [
2217
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2218
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2219
- ];
2220
- }).s("ResourceExplorer", "UntagResource", {}).n("ResourceExplorer2Client", "UntagResourceCommand").f(UntagResourceInputFilterSensitiveLog, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
2221
- static {
2222
- __name(this, "UntagResourceCommand");
2223
- }
697
+ const se_SearchCommand = async (input, context) => {
698
+ const b = core.requestBuilder(input, context);
699
+ const headers = {
700
+ "content-type": "application/json",
701
+ };
702
+ b.bp("/Search");
703
+ let body;
704
+ body = JSON.stringify(smithyClient.take(input, {
705
+ MaxResults: [],
706
+ NextToken: [],
707
+ QueryString: [],
708
+ ViewArn: [],
709
+ }));
710
+ b.m("POST").h(headers).b(body);
711
+ return b.build();
2224
712
  };
2225
-
2226
- // src/commands/UpdateIndexTypeCommand.ts
2227
-
2228
-
2229
-
2230
- var UpdateIndexTypeCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2231
- return [
2232
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2233
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2234
- ];
2235
- }).s("ResourceExplorer", "UpdateIndexType", {}).n("ResourceExplorer2Client", "UpdateIndexTypeCommand").f(void 0, void 0).ser(se_UpdateIndexTypeCommand).de(de_UpdateIndexTypeCommand).build() {
2236
- static {
2237
- __name(this, "UpdateIndexTypeCommand");
2238
- }
713
+ const se_TagResourceCommand = async (input, context) => {
714
+ const b = core.requestBuilder(input, context);
715
+ const headers = {
716
+ "content-type": "application/json",
717
+ };
718
+ b.bp("/tags/{resourceArn}");
719
+ b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
720
+ let body;
721
+ body = JSON.stringify(smithyClient.take(input, {
722
+ Tags: (_) => smithyClient._json(_),
723
+ }));
724
+ b.m("POST").h(headers).b(body);
725
+ return b.build();
2239
726
  };
2240
-
2241
- // src/commands/UpdateViewCommand.ts
2242
-
2243
-
2244
-
2245
- var UpdateViewCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2246
- return [
2247
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2248
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2249
- ];
2250
- }).s("ResourceExplorer", "UpdateView", {}).n("ResourceExplorer2Client", "UpdateViewCommand").f(UpdateViewInputFilterSensitiveLog, UpdateViewOutputFilterSensitiveLog).ser(se_UpdateViewCommand).de(de_UpdateViewCommand).build() {
2251
- static {
2252
- __name(this, "UpdateViewCommand");
2253
- }
727
+ const se_UntagResourceCommand = async (input, context) => {
728
+ const b = core.requestBuilder(input, context);
729
+ const headers = {};
730
+ b.bp("/tags/{resourceArn}");
731
+ b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
732
+ const query = smithyClient.map({
733
+ [_tK]: [smithyClient.expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK] || []],
734
+ });
735
+ let body;
736
+ b.m("DELETE").h(headers).q(query).b(body);
737
+ return b.build();
2254
738
  };
739
+ const se_UpdateIndexTypeCommand = async (input, context) => {
740
+ const b = core.requestBuilder(input, context);
741
+ const headers = {
742
+ "content-type": "application/json",
743
+ };
744
+ b.bp("/UpdateIndexType");
745
+ let body;
746
+ body = JSON.stringify(smithyClient.take(input, {
747
+ Arn: [],
748
+ Type: [],
749
+ }));
750
+ b.m("POST").h(headers).b(body);
751
+ return b.build();
752
+ };
753
+ const se_UpdateViewCommand = async (input, context) => {
754
+ const b = core.requestBuilder(input, context);
755
+ const headers = {
756
+ "content-type": "application/json",
757
+ };
758
+ b.bp("/UpdateView");
759
+ let body;
760
+ body = JSON.stringify(smithyClient.take(input, {
761
+ Filters: (_) => smithyClient._json(_),
762
+ IncludedProperties: (_) => smithyClient._json(_),
763
+ ViewArn: [],
764
+ }));
765
+ b.m("POST").h(headers).b(body);
766
+ return b.build();
767
+ };
768
+ const de_AssociateDefaultViewCommand = async (output, context) => {
769
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
770
+ return de_CommandError(output, context);
771
+ }
772
+ const contents = smithyClient.map({
773
+ $metadata: deserializeMetadata(output),
774
+ });
775
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
776
+ const doc = smithyClient.take(data, {
777
+ ViewArn: smithyClient.expectString,
778
+ });
779
+ Object.assign(contents, doc);
780
+ return contents;
781
+ };
782
+ const de_BatchGetViewCommand = async (output, context) => {
783
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
784
+ return de_CommandError(output, context);
785
+ }
786
+ const contents = smithyClient.map({
787
+ $metadata: deserializeMetadata(output),
788
+ });
789
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
790
+ const doc = smithyClient.take(data, {
791
+ Errors: smithyClient._json,
792
+ Views: (_) => de_ViewList(_),
793
+ });
794
+ Object.assign(contents, doc);
795
+ return contents;
796
+ };
797
+ const de_CreateIndexCommand = async (output, context) => {
798
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
799
+ return de_CommandError(output, context);
800
+ }
801
+ const contents = smithyClient.map({
802
+ $metadata: deserializeMetadata(output),
803
+ });
804
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
805
+ const doc = smithyClient.take(data, {
806
+ Arn: smithyClient.expectString,
807
+ CreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
808
+ State: smithyClient.expectString,
809
+ });
810
+ Object.assign(contents, doc);
811
+ return contents;
812
+ };
813
+ const de_CreateResourceExplorerSetupCommand = async (output, context) => {
814
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
815
+ return de_CommandError(output, context);
816
+ }
817
+ const contents = smithyClient.map({
818
+ $metadata: deserializeMetadata(output),
819
+ });
820
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
821
+ const doc = smithyClient.take(data, {
822
+ TaskId: smithyClient.expectString,
823
+ });
824
+ Object.assign(contents, doc);
825
+ return contents;
826
+ };
827
+ const de_CreateViewCommand = async (output, context) => {
828
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
829
+ return de_CommandError(output, context);
830
+ }
831
+ const contents = smithyClient.map({
832
+ $metadata: deserializeMetadata(output),
833
+ });
834
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
835
+ const doc = smithyClient.take(data, {
836
+ View: (_) => de_View(_),
837
+ });
838
+ Object.assign(contents, doc);
839
+ return contents;
840
+ };
841
+ const de_DeleteIndexCommand = async (output, context) => {
842
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
843
+ return de_CommandError(output, context);
844
+ }
845
+ const contents = smithyClient.map({
846
+ $metadata: deserializeMetadata(output),
847
+ });
848
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
849
+ const doc = smithyClient.take(data, {
850
+ Arn: smithyClient.expectString,
851
+ LastUpdatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
852
+ State: smithyClient.expectString,
853
+ });
854
+ Object.assign(contents, doc);
855
+ return contents;
856
+ };
857
+ const de_DeleteResourceExplorerSetupCommand = async (output, context) => {
858
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
859
+ return de_CommandError(output, context);
860
+ }
861
+ const contents = smithyClient.map({
862
+ $metadata: deserializeMetadata(output),
863
+ });
864
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
865
+ const doc = smithyClient.take(data, {
866
+ TaskId: smithyClient.expectString,
867
+ });
868
+ Object.assign(contents, doc);
869
+ return contents;
870
+ };
871
+ const de_DeleteViewCommand = async (output, context) => {
872
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
873
+ return de_CommandError(output, context);
874
+ }
875
+ const contents = smithyClient.map({
876
+ $metadata: deserializeMetadata(output),
877
+ });
878
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
879
+ const doc = smithyClient.take(data, {
880
+ ViewArn: smithyClient.expectString,
881
+ });
882
+ Object.assign(contents, doc);
883
+ return contents;
884
+ };
885
+ const de_DisassociateDefaultViewCommand = async (output, context) => {
886
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
887
+ return de_CommandError(output, context);
888
+ }
889
+ const contents = smithyClient.map({
890
+ $metadata: deserializeMetadata(output),
891
+ });
892
+ await smithyClient.collectBody(output.body, context);
893
+ return contents;
894
+ };
895
+ const de_GetAccountLevelServiceConfigurationCommand = async (output, context) => {
896
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
897
+ return de_CommandError(output, context);
898
+ }
899
+ const contents = smithyClient.map({
900
+ $metadata: deserializeMetadata(output),
901
+ });
902
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
903
+ const doc = smithyClient.take(data, {
904
+ OrgConfiguration: smithyClient._json,
905
+ });
906
+ Object.assign(contents, doc);
907
+ return contents;
908
+ };
909
+ const de_GetDefaultViewCommand = async (output, context) => {
910
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
911
+ return de_CommandError(output, context);
912
+ }
913
+ const contents = smithyClient.map({
914
+ $metadata: deserializeMetadata(output),
915
+ });
916
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
917
+ const doc = smithyClient.take(data, {
918
+ ViewArn: smithyClient.expectString,
919
+ });
920
+ Object.assign(contents, doc);
921
+ return contents;
922
+ };
923
+ const de_GetIndexCommand = async (output, context) => {
924
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
925
+ return de_CommandError(output, context);
926
+ }
927
+ const contents = smithyClient.map({
928
+ $metadata: deserializeMetadata(output),
929
+ });
930
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
931
+ const doc = smithyClient.take(data, {
932
+ Arn: smithyClient.expectString,
933
+ CreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
934
+ LastUpdatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
935
+ ReplicatingFrom: smithyClient._json,
936
+ ReplicatingTo: smithyClient._json,
937
+ State: smithyClient.expectString,
938
+ Tags: smithyClient._json,
939
+ Type: smithyClient.expectString,
940
+ });
941
+ Object.assign(contents, doc);
942
+ return contents;
943
+ };
944
+ const de_GetManagedViewCommand = async (output, context) => {
945
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
946
+ return de_CommandError(output, context);
947
+ }
948
+ const contents = smithyClient.map({
949
+ $metadata: deserializeMetadata(output),
950
+ });
951
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
952
+ const doc = smithyClient.take(data, {
953
+ ManagedView: (_) => de_ManagedView(_),
954
+ });
955
+ Object.assign(contents, doc);
956
+ return contents;
957
+ };
958
+ const de_GetResourceExplorerSetupCommand = async (output, context) => {
959
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
960
+ return de_CommandError(output, context);
961
+ }
962
+ const contents = smithyClient.map({
963
+ $metadata: deserializeMetadata(output),
964
+ });
965
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
966
+ const doc = smithyClient.take(data, {
967
+ NextToken: smithyClient.expectString,
968
+ Regions: (_) => de_RegionStatusList(_),
969
+ });
970
+ Object.assign(contents, doc);
971
+ return contents;
972
+ };
973
+ const de_GetServiceIndexCommand = async (output, context) => {
974
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
975
+ return de_CommandError(output, context);
976
+ }
977
+ const contents = smithyClient.map({
978
+ $metadata: deserializeMetadata(output),
979
+ });
980
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
981
+ const doc = smithyClient.take(data, {
982
+ Arn: smithyClient.expectString,
983
+ Type: smithyClient.expectString,
984
+ });
985
+ Object.assign(contents, doc);
986
+ return contents;
987
+ };
988
+ const de_GetServiceViewCommand = async (output, context) => {
989
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
990
+ return de_CommandError(output, context);
991
+ }
992
+ const contents = smithyClient.map({
993
+ $metadata: deserializeMetadata(output),
994
+ });
995
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
996
+ const doc = smithyClient.take(data, {
997
+ View: smithyClient._json,
998
+ });
999
+ Object.assign(contents, doc);
1000
+ return contents;
1001
+ };
1002
+ const de_GetViewCommand = async (output, context) => {
1003
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1004
+ return de_CommandError(output, context);
1005
+ }
1006
+ const contents = smithyClient.map({
1007
+ $metadata: deserializeMetadata(output),
1008
+ });
1009
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1010
+ const doc = smithyClient.take(data, {
1011
+ Tags: smithyClient._json,
1012
+ View: (_) => de_View(_),
1013
+ });
1014
+ Object.assign(contents, doc);
1015
+ return contents;
1016
+ };
1017
+ const de_ListIndexesCommand = async (output, context) => {
1018
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1019
+ return de_CommandError(output, context);
1020
+ }
1021
+ const contents = smithyClient.map({
1022
+ $metadata: deserializeMetadata(output),
1023
+ });
1024
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1025
+ const doc = smithyClient.take(data, {
1026
+ Indexes: smithyClient._json,
1027
+ NextToken: smithyClient.expectString,
1028
+ });
1029
+ Object.assign(contents, doc);
1030
+ return contents;
1031
+ };
1032
+ const de_ListIndexesForMembersCommand = async (output, context) => {
1033
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1034
+ return de_CommandError(output, context);
1035
+ }
1036
+ const contents = smithyClient.map({
1037
+ $metadata: deserializeMetadata(output),
1038
+ });
1039
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1040
+ const doc = smithyClient.take(data, {
1041
+ Indexes: smithyClient._json,
1042
+ NextToken: smithyClient.expectString,
1043
+ });
1044
+ Object.assign(contents, doc);
1045
+ return contents;
1046
+ };
1047
+ const de_ListManagedViewsCommand = async (output, context) => {
1048
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1049
+ return de_CommandError(output, context);
1050
+ }
1051
+ const contents = smithyClient.map({
1052
+ $metadata: deserializeMetadata(output),
1053
+ });
1054
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1055
+ const doc = smithyClient.take(data, {
1056
+ ManagedViews: smithyClient._json,
1057
+ NextToken: smithyClient.expectString,
1058
+ });
1059
+ Object.assign(contents, doc);
1060
+ return contents;
1061
+ };
1062
+ const de_ListResourcesCommand = async (output, context) => {
1063
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1064
+ return de_CommandError(output, context);
1065
+ }
1066
+ const contents = smithyClient.map({
1067
+ $metadata: deserializeMetadata(output),
1068
+ });
1069
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1070
+ const doc = smithyClient.take(data, {
1071
+ NextToken: smithyClient.expectString,
1072
+ Resources: (_) => de_ResourceList(_),
1073
+ ViewArn: smithyClient.expectString,
1074
+ });
1075
+ Object.assign(contents, doc);
1076
+ return contents;
1077
+ };
1078
+ const de_ListServiceIndexesCommand = async (output, context) => {
1079
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1080
+ return de_CommandError(output, context);
1081
+ }
1082
+ const contents = smithyClient.map({
1083
+ $metadata: deserializeMetadata(output),
1084
+ });
1085
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1086
+ const doc = smithyClient.take(data, {
1087
+ Indexes: smithyClient._json,
1088
+ NextToken: smithyClient.expectString,
1089
+ });
1090
+ Object.assign(contents, doc);
1091
+ return contents;
1092
+ };
1093
+ const de_ListServiceViewsCommand = async (output, context) => {
1094
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1095
+ return de_CommandError(output, context);
1096
+ }
1097
+ const contents = smithyClient.map({
1098
+ $metadata: deserializeMetadata(output),
1099
+ });
1100
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1101
+ const doc = smithyClient.take(data, {
1102
+ NextToken: smithyClient.expectString,
1103
+ ServiceViews: smithyClient._json,
1104
+ });
1105
+ Object.assign(contents, doc);
1106
+ return contents;
1107
+ };
1108
+ const de_ListStreamingAccessForServicesCommand = async (output, context) => {
1109
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1110
+ return de_CommandError(output, context);
1111
+ }
1112
+ const contents = smithyClient.map({
1113
+ $metadata: deserializeMetadata(output),
1114
+ });
1115
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1116
+ const doc = smithyClient.take(data, {
1117
+ NextToken: smithyClient.expectString,
1118
+ StreamingAccessForServices: (_) => de_StreamingAccessDetailsList(_),
1119
+ });
1120
+ Object.assign(contents, doc);
1121
+ return contents;
1122
+ };
1123
+ const de_ListSupportedResourceTypesCommand = async (output, context) => {
1124
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1125
+ return de_CommandError(output, context);
1126
+ }
1127
+ const contents = smithyClient.map({
1128
+ $metadata: deserializeMetadata(output),
1129
+ });
1130
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1131
+ const doc = smithyClient.take(data, {
1132
+ NextToken: smithyClient.expectString,
1133
+ ResourceTypes: smithyClient._json,
1134
+ });
1135
+ Object.assign(contents, doc);
1136
+ return contents;
1137
+ };
1138
+ const de_ListTagsForResourceCommand = async (output, context) => {
1139
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1140
+ return de_CommandError(output, context);
1141
+ }
1142
+ const contents = smithyClient.map({
1143
+ $metadata: deserializeMetadata(output),
1144
+ });
1145
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1146
+ const doc = smithyClient.take(data, {
1147
+ Tags: smithyClient._json,
1148
+ });
1149
+ Object.assign(contents, doc);
1150
+ return contents;
1151
+ };
1152
+ const de_ListViewsCommand = async (output, context) => {
1153
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1154
+ return de_CommandError(output, context);
1155
+ }
1156
+ const contents = smithyClient.map({
1157
+ $metadata: deserializeMetadata(output),
1158
+ });
1159
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1160
+ const doc = smithyClient.take(data, {
1161
+ NextToken: smithyClient.expectString,
1162
+ Views: smithyClient._json,
1163
+ });
1164
+ Object.assign(contents, doc);
1165
+ return contents;
1166
+ };
1167
+ const de_SearchCommand = async (output, context) => {
1168
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1169
+ return de_CommandError(output, context);
1170
+ }
1171
+ const contents = smithyClient.map({
1172
+ $metadata: deserializeMetadata(output),
1173
+ });
1174
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1175
+ const doc = smithyClient.take(data, {
1176
+ Count: smithyClient._json,
1177
+ NextToken: smithyClient.expectString,
1178
+ Resources: (_) => de_ResourceList(_),
1179
+ ViewArn: smithyClient.expectString,
1180
+ });
1181
+ Object.assign(contents, doc);
1182
+ return contents;
1183
+ };
1184
+ const de_TagResourceCommand = async (output, context) => {
1185
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1186
+ return de_CommandError(output, context);
1187
+ }
1188
+ const contents = smithyClient.map({
1189
+ $metadata: deserializeMetadata(output),
1190
+ });
1191
+ await smithyClient.collectBody(output.body, context);
1192
+ return contents;
1193
+ };
1194
+ const de_UntagResourceCommand = async (output, context) => {
1195
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1196
+ return de_CommandError(output, context);
1197
+ }
1198
+ const contents = smithyClient.map({
1199
+ $metadata: deserializeMetadata(output),
1200
+ });
1201
+ await smithyClient.collectBody(output.body, context);
1202
+ return contents;
1203
+ };
1204
+ const de_UpdateIndexTypeCommand = async (output, context) => {
1205
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1206
+ return de_CommandError(output, context);
1207
+ }
1208
+ const contents = smithyClient.map({
1209
+ $metadata: deserializeMetadata(output),
1210
+ });
1211
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1212
+ const doc = smithyClient.take(data, {
1213
+ Arn: smithyClient.expectString,
1214
+ LastUpdatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1215
+ State: smithyClient.expectString,
1216
+ Type: smithyClient.expectString,
1217
+ });
1218
+ Object.assign(contents, doc);
1219
+ return contents;
1220
+ };
1221
+ const de_UpdateViewCommand = async (output, context) => {
1222
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1223
+ return de_CommandError(output, context);
1224
+ }
1225
+ const contents = smithyClient.map({
1226
+ $metadata: deserializeMetadata(output),
1227
+ });
1228
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1229
+ const doc = smithyClient.take(data, {
1230
+ View: (_) => de_View(_),
1231
+ });
1232
+ Object.assign(contents, doc);
1233
+ return contents;
1234
+ };
1235
+ const de_CommandError = async (output, context) => {
1236
+ const parsedOutput = {
1237
+ ...output,
1238
+ body: await core$1.parseJsonErrorBody(output.body, context),
1239
+ };
1240
+ const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
1241
+ switch (errorCode) {
1242
+ case "AccessDeniedException":
1243
+ case "com.amazonaws.resourceexplorer2#AccessDeniedException":
1244
+ throw await de_AccessDeniedExceptionRes(parsedOutput);
1245
+ case "InternalServerException":
1246
+ case "com.amazonaws.resourceexplorer2#InternalServerException":
1247
+ throw await de_InternalServerExceptionRes(parsedOutput);
1248
+ case "ResourceNotFoundException":
1249
+ case "com.amazonaws.resourceexplorer2#ResourceNotFoundException":
1250
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput);
1251
+ case "ThrottlingException":
1252
+ case "com.amazonaws.resourceexplorer2#ThrottlingException":
1253
+ throw await de_ThrottlingExceptionRes(parsedOutput);
1254
+ case "ValidationException":
1255
+ case "com.amazonaws.resourceexplorer2#ValidationException":
1256
+ throw await de_ValidationExceptionRes(parsedOutput);
1257
+ case "UnauthorizedException":
1258
+ case "com.amazonaws.resourceexplorer2#UnauthorizedException":
1259
+ throw await de_UnauthorizedExceptionRes(parsedOutput);
1260
+ case "ConflictException":
1261
+ case "com.amazonaws.resourceexplorer2#ConflictException":
1262
+ throw await de_ConflictExceptionRes(parsedOutput);
1263
+ case "ServiceQuotaExceededException":
1264
+ case "com.amazonaws.resourceexplorer2#ServiceQuotaExceededException":
1265
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput);
1266
+ default:
1267
+ const parsedBody = parsedOutput.body;
1268
+ return throwDefaultError({
1269
+ output,
1270
+ parsedBody,
1271
+ errorCode,
1272
+ });
1273
+ }
1274
+ };
1275
+ const throwDefaultError = smithyClient.withBaseException(ResourceExplorer2ServiceException);
1276
+ const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
1277
+ const contents = smithyClient.map({});
1278
+ const data = parsedOutput.body;
1279
+ const doc = smithyClient.take(data, {
1280
+ Message: smithyClient.expectString,
1281
+ });
1282
+ Object.assign(contents, doc);
1283
+ const exception = new AccessDeniedException({
1284
+ $metadata: deserializeMetadata(parsedOutput),
1285
+ ...contents,
1286
+ });
1287
+ return smithyClient.decorateServiceException(exception, parsedOutput.body);
1288
+ };
1289
+ const de_ConflictExceptionRes = async (parsedOutput, context) => {
1290
+ const contents = smithyClient.map({});
1291
+ const data = parsedOutput.body;
1292
+ const doc = smithyClient.take(data, {
1293
+ Message: smithyClient.expectString,
1294
+ });
1295
+ Object.assign(contents, doc);
1296
+ const exception = new ConflictException({
1297
+ $metadata: deserializeMetadata(parsedOutput),
1298
+ ...contents,
1299
+ });
1300
+ return smithyClient.decorateServiceException(exception, parsedOutput.body);
1301
+ };
1302
+ const de_InternalServerExceptionRes = async (parsedOutput, context) => {
1303
+ const contents = smithyClient.map({});
1304
+ const data = parsedOutput.body;
1305
+ const doc = smithyClient.take(data, {
1306
+ Message: smithyClient.expectString,
1307
+ });
1308
+ Object.assign(contents, doc);
1309
+ const exception = new InternalServerException({
1310
+ $metadata: deserializeMetadata(parsedOutput),
1311
+ ...contents,
1312
+ });
1313
+ return smithyClient.decorateServiceException(exception, parsedOutput.body);
1314
+ };
1315
+ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
1316
+ const contents = smithyClient.map({});
1317
+ const data = parsedOutput.body;
1318
+ const doc = smithyClient.take(data, {
1319
+ Message: smithyClient.expectString,
1320
+ });
1321
+ Object.assign(contents, doc);
1322
+ const exception = new ResourceNotFoundException({
1323
+ $metadata: deserializeMetadata(parsedOutput),
1324
+ ...contents,
1325
+ });
1326
+ return smithyClient.decorateServiceException(exception, parsedOutput.body);
1327
+ };
1328
+ const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
1329
+ const contents = smithyClient.map({});
1330
+ const data = parsedOutput.body;
1331
+ const doc = smithyClient.take(data, {
1332
+ Message: smithyClient.expectString,
1333
+ Name: smithyClient.expectString,
1334
+ Value: smithyClient.expectString,
1335
+ });
1336
+ Object.assign(contents, doc);
1337
+ const exception = new ServiceQuotaExceededException({
1338
+ $metadata: deserializeMetadata(parsedOutput),
1339
+ ...contents,
1340
+ });
1341
+ return smithyClient.decorateServiceException(exception, parsedOutput.body);
1342
+ };
1343
+ const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
1344
+ const contents = smithyClient.map({});
1345
+ const data = parsedOutput.body;
1346
+ const doc = smithyClient.take(data, {
1347
+ Message: smithyClient.expectString,
1348
+ });
1349
+ Object.assign(contents, doc);
1350
+ const exception = new ThrottlingException({
1351
+ $metadata: deserializeMetadata(parsedOutput),
1352
+ ...contents,
1353
+ });
1354
+ return smithyClient.decorateServiceException(exception, parsedOutput.body);
1355
+ };
1356
+ const de_UnauthorizedExceptionRes = async (parsedOutput, context) => {
1357
+ const contents = smithyClient.map({});
1358
+ const data = parsedOutput.body;
1359
+ const doc = smithyClient.take(data, {
1360
+ Message: smithyClient.expectString,
1361
+ });
1362
+ Object.assign(contents, doc);
1363
+ const exception = new UnauthorizedException({
1364
+ $metadata: deserializeMetadata(parsedOutput),
1365
+ ...contents,
1366
+ });
1367
+ return smithyClient.decorateServiceException(exception, parsedOutput.body);
1368
+ };
1369
+ const de_ValidationExceptionRes = async (parsedOutput, context) => {
1370
+ const contents = smithyClient.map({});
1371
+ const data = parsedOutput.body;
1372
+ const doc = smithyClient.take(data, {
1373
+ FieldList: smithyClient._json,
1374
+ Message: smithyClient.expectString,
1375
+ });
1376
+ Object.assign(contents, doc);
1377
+ const exception = new ValidationException({
1378
+ $metadata: deserializeMetadata(parsedOutput),
1379
+ ...contents,
1380
+ });
1381
+ return smithyClient.decorateServiceException(exception, parsedOutput.body);
1382
+ };
1383
+ const de_ManagedView = (output, context) => {
1384
+ return smithyClient.take(output, {
1385
+ Filters: smithyClient._json,
1386
+ IncludedProperties: smithyClient._json,
1387
+ LastUpdatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1388
+ ManagedViewArn: smithyClient.expectString,
1389
+ ManagedViewName: smithyClient.expectString,
1390
+ Owner: smithyClient.expectString,
1391
+ ResourcePolicy: smithyClient.expectString,
1392
+ Scope: smithyClient.expectString,
1393
+ TrustedService: smithyClient.expectString,
1394
+ Version: smithyClient.expectString,
1395
+ });
1396
+ };
1397
+ const de_RegionStatus = (output, context) => {
1398
+ return smithyClient.take(output, {
1399
+ Index: smithyClient._json,
1400
+ Region: smithyClient.expectString,
1401
+ View: (_) => de_ViewStatus(_),
1402
+ });
1403
+ };
1404
+ const de_RegionStatusList = (output, context) => {
1405
+ const retVal = (output || [])
1406
+ .filter((e) => e != null)
1407
+ .map((entry) => {
1408
+ return de_RegionStatus(entry);
1409
+ });
1410
+ return retVal;
1411
+ };
1412
+ const de_Resource = (output, context) => {
1413
+ return smithyClient.take(output, {
1414
+ Arn: smithyClient.expectString,
1415
+ LastReportedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1416
+ OwningAccountId: smithyClient.expectString,
1417
+ Properties: (_) => de_ResourcePropertyList(_),
1418
+ Region: smithyClient.expectString,
1419
+ ResourceType: smithyClient.expectString,
1420
+ Service: smithyClient.expectString,
1421
+ });
1422
+ };
1423
+ const de_ResourceList = (output, context) => {
1424
+ const retVal = (output || [])
1425
+ .filter((e) => e != null)
1426
+ .map((entry) => {
1427
+ return de_Resource(entry);
1428
+ });
1429
+ return retVal;
1430
+ };
1431
+ const de_ResourceProperty = (output, context) => {
1432
+ return smithyClient.take(output, {
1433
+ Data: (_) => de_Document(_),
1434
+ LastReportedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1435
+ Name: smithyClient.expectString,
1436
+ });
1437
+ };
1438
+ const de_ResourcePropertyList = (output, context) => {
1439
+ const retVal = (output || [])
1440
+ .filter((e) => e != null)
1441
+ .map((entry) => {
1442
+ return de_ResourceProperty(entry);
1443
+ });
1444
+ return retVal;
1445
+ };
1446
+ const de_StreamingAccessDetails = (output, context) => {
1447
+ return smithyClient.take(output, {
1448
+ CreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1449
+ ServicePrincipal: smithyClient.expectString,
1450
+ });
1451
+ };
1452
+ const de_StreamingAccessDetailsList = (output, context) => {
1453
+ const retVal = (output || [])
1454
+ .filter((e) => e != null)
1455
+ .map((entry) => {
1456
+ return de_StreamingAccessDetails(entry);
1457
+ });
1458
+ return retVal;
1459
+ };
1460
+ const de_View = (output, context) => {
1461
+ return smithyClient.take(output, {
1462
+ Filters: smithyClient._json,
1463
+ IncludedProperties: smithyClient._json,
1464
+ LastUpdatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1465
+ Owner: smithyClient.expectString,
1466
+ Scope: smithyClient.expectString,
1467
+ ViewArn: smithyClient.expectString,
1468
+ });
1469
+ };
1470
+ const de_ViewList = (output, context) => {
1471
+ const retVal = (output || [])
1472
+ .filter((e) => e != null)
1473
+ .map((entry) => {
1474
+ return de_View(entry);
1475
+ });
1476
+ return retVal;
1477
+ };
1478
+ const de_ViewStatus = (output, context) => {
1479
+ return smithyClient.take(output, {
1480
+ ErrorDetails: smithyClient._json,
1481
+ Status: smithyClient.expectString,
1482
+ View: (_) => de_View(_),
1483
+ });
1484
+ };
1485
+ const de_Document = (output, context) => {
1486
+ return output;
1487
+ };
1488
+ const deserializeMetadata = (output) => ({
1489
+ httpStatusCode: output.statusCode,
1490
+ requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
1491
+ extendedRequestId: output.headers["x-amz-id-2"],
1492
+ cfId: output.headers["x-amz-cf-id"],
1493
+ });
1494
+ const _tK = "tagKeys";
1495
+
1496
+ class AssociateDefaultViewCommand extends smithyClient.Command
1497
+ .classBuilder()
1498
+ .ep(commonParams)
1499
+ .m(function (Command, cs, config, o) {
1500
+ return [
1501
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1502
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1503
+ ];
1504
+ })
1505
+ .s("ResourceExplorer", "AssociateDefaultView", {})
1506
+ .n("ResourceExplorer2Client", "AssociateDefaultViewCommand")
1507
+ .f(void 0, void 0)
1508
+ .ser(se_AssociateDefaultViewCommand)
1509
+ .de(de_AssociateDefaultViewCommand)
1510
+ .build() {
1511
+ }
1512
+
1513
+ class BatchGetViewCommand extends smithyClient.Command
1514
+ .classBuilder()
1515
+ .ep(commonParams)
1516
+ .m(function (Command, cs, config, o) {
1517
+ return [
1518
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1519
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1520
+ ];
1521
+ })
1522
+ .s("ResourceExplorer", "BatchGetView", {})
1523
+ .n("ResourceExplorer2Client", "BatchGetViewCommand")
1524
+ .f(void 0, BatchGetViewOutputFilterSensitiveLog)
1525
+ .ser(se_BatchGetViewCommand)
1526
+ .de(de_BatchGetViewCommand)
1527
+ .build() {
1528
+ }
1529
+
1530
+ class CreateIndexCommand extends smithyClient.Command
1531
+ .classBuilder()
1532
+ .ep(commonParams)
1533
+ .m(function (Command, cs, config, o) {
1534
+ return [
1535
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1536
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1537
+ ];
1538
+ })
1539
+ .s("ResourceExplorer", "CreateIndex", {})
1540
+ .n("ResourceExplorer2Client", "CreateIndexCommand")
1541
+ .f(CreateIndexInputFilterSensitiveLog, void 0)
1542
+ .ser(se_CreateIndexCommand)
1543
+ .de(de_CreateIndexCommand)
1544
+ .build() {
1545
+ }
1546
+
1547
+ class CreateResourceExplorerSetupCommand extends smithyClient.Command
1548
+ .classBuilder()
1549
+ .ep(commonParams)
1550
+ .m(function (Command, cs, config, o) {
1551
+ return [
1552
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1553
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1554
+ ];
1555
+ })
1556
+ .s("ResourceExplorer", "CreateResourceExplorerSetup", {})
1557
+ .n("ResourceExplorer2Client", "CreateResourceExplorerSetupCommand")
1558
+ .f(void 0, void 0)
1559
+ .ser(se_CreateResourceExplorerSetupCommand)
1560
+ .de(de_CreateResourceExplorerSetupCommand)
1561
+ .build() {
1562
+ }
1563
+
1564
+ class CreateViewCommand extends smithyClient.Command
1565
+ .classBuilder()
1566
+ .ep(commonParams)
1567
+ .m(function (Command, cs, config, o) {
1568
+ return [
1569
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1570
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1571
+ ];
1572
+ })
1573
+ .s("ResourceExplorer", "CreateView", {})
1574
+ .n("ResourceExplorer2Client", "CreateViewCommand")
1575
+ .f(CreateViewInputFilterSensitiveLog, CreateViewOutputFilterSensitiveLog)
1576
+ .ser(se_CreateViewCommand)
1577
+ .de(de_CreateViewCommand)
1578
+ .build() {
1579
+ }
1580
+
1581
+ class DeleteIndexCommand extends smithyClient.Command
1582
+ .classBuilder()
1583
+ .ep(commonParams)
1584
+ .m(function (Command, cs, config, o) {
1585
+ return [
1586
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1587
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1588
+ ];
1589
+ })
1590
+ .s("ResourceExplorer", "DeleteIndex", {})
1591
+ .n("ResourceExplorer2Client", "DeleteIndexCommand")
1592
+ .f(void 0, void 0)
1593
+ .ser(se_DeleteIndexCommand)
1594
+ .de(de_DeleteIndexCommand)
1595
+ .build() {
1596
+ }
1597
+
1598
+ class DeleteResourceExplorerSetupCommand extends smithyClient.Command
1599
+ .classBuilder()
1600
+ .ep(commonParams)
1601
+ .m(function (Command, cs, config, o) {
1602
+ return [
1603
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1604
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1605
+ ];
1606
+ })
1607
+ .s("ResourceExplorer", "DeleteResourceExplorerSetup", {})
1608
+ .n("ResourceExplorer2Client", "DeleteResourceExplorerSetupCommand")
1609
+ .f(void 0, void 0)
1610
+ .ser(se_DeleteResourceExplorerSetupCommand)
1611
+ .de(de_DeleteResourceExplorerSetupCommand)
1612
+ .build() {
1613
+ }
1614
+
1615
+ class DeleteViewCommand extends smithyClient.Command
1616
+ .classBuilder()
1617
+ .ep(commonParams)
1618
+ .m(function (Command, cs, config, o) {
1619
+ return [
1620
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1621
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1622
+ ];
1623
+ })
1624
+ .s("ResourceExplorer", "DeleteView", {})
1625
+ .n("ResourceExplorer2Client", "DeleteViewCommand")
1626
+ .f(void 0, void 0)
1627
+ .ser(se_DeleteViewCommand)
1628
+ .de(de_DeleteViewCommand)
1629
+ .build() {
1630
+ }
1631
+
1632
+ class DisassociateDefaultViewCommand extends smithyClient.Command
1633
+ .classBuilder()
1634
+ .ep(commonParams)
1635
+ .m(function (Command, cs, config, o) {
1636
+ return [
1637
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1638
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1639
+ ];
1640
+ })
1641
+ .s("ResourceExplorer", "DisassociateDefaultView", {})
1642
+ .n("ResourceExplorer2Client", "DisassociateDefaultViewCommand")
1643
+ .f(void 0, void 0)
1644
+ .ser(se_DisassociateDefaultViewCommand)
1645
+ .de(de_DisassociateDefaultViewCommand)
1646
+ .build() {
1647
+ }
1648
+
1649
+ class GetAccountLevelServiceConfigurationCommand extends smithyClient.Command
1650
+ .classBuilder()
1651
+ .ep(commonParams)
1652
+ .m(function (Command, cs, config, o) {
1653
+ return [
1654
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1655
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1656
+ ];
1657
+ })
1658
+ .s("ResourceExplorer", "GetAccountLevelServiceConfiguration", {})
1659
+ .n("ResourceExplorer2Client", "GetAccountLevelServiceConfigurationCommand")
1660
+ .f(void 0, void 0)
1661
+ .ser(se_GetAccountLevelServiceConfigurationCommand)
1662
+ .de(de_GetAccountLevelServiceConfigurationCommand)
1663
+ .build() {
1664
+ }
1665
+
1666
+ class GetDefaultViewCommand extends smithyClient.Command
1667
+ .classBuilder()
1668
+ .ep(commonParams)
1669
+ .m(function (Command, cs, config, o) {
1670
+ return [
1671
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1672
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1673
+ ];
1674
+ })
1675
+ .s("ResourceExplorer", "GetDefaultView", {})
1676
+ .n("ResourceExplorer2Client", "GetDefaultViewCommand")
1677
+ .f(void 0, void 0)
1678
+ .ser(se_GetDefaultViewCommand)
1679
+ .de(de_GetDefaultViewCommand)
1680
+ .build() {
1681
+ }
1682
+
1683
+ class GetIndexCommand extends smithyClient.Command
1684
+ .classBuilder()
1685
+ .ep(commonParams)
1686
+ .m(function (Command, cs, config, o) {
1687
+ return [
1688
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1689
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1690
+ ];
1691
+ })
1692
+ .s("ResourceExplorer", "GetIndex", {})
1693
+ .n("ResourceExplorer2Client", "GetIndexCommand")
1694
+ .f(void 0, GetIndexOutputFilterSensitiveLog)
1695
+ .ser(se_GetIndexCommand)
1696
+ .de(de_GetIndexCommand)
1697
+ .build() {
1698
+ }
1699
+
1700
+ class GetManagedViewCommand extends smithyClient.Command
1701
+ .classBuilder()
1702
+ .ep(commonParams)
1703
+ .m(function (Command, cs, config, o) {
1704
+ return [
1705
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1706
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1707
+ ];
1708
+ })
1709
+ .s("ResourceExplorer", "GetManagedView", {})
1710
+ .n("ResourceExplorer2Client", "GetManagedViewCommand")
1711
+ .f(void 0, GetManagedViewOutputFilterSensitiveLog)
1712
+ .ser(se_GetManagedViewCommand)
1713
+ .de(de_GetManagedViewCommand)
1714
+ .build() {
1715
+ }
1716
+
1717
+ class GetResourceExplorerSetupCommand extends smithyClient.Command
1718
+ .classBuilder()
1719
+ .ep(commonParams)
1720
+ .m(function (Command, cs, config, o) {
1721
+ return [
1722
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1723
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1724
+ ];
1725
+ })
1726
+ .s("ResourceExplorer", "GetResourceExplorerSetup", {})
1727
+ .n("ResourceExplorer2Client", "GetResourceExplorerSetupCommand")
1728
+ .f(void 0, GetResourceExplorerSetupOutputFilterSensitiveLog)
1729
+ .ser(se_GetResourceExplorerSetupCommand)
1730
+ .de(de_GetResourceExplorerSetupCommand)
1731
+ .build() {
1732
+ }
1733
+
1734
+ class GetServiceIndexCommand extends smithyClient.Command
1735
+ .classBuilder()
1736
+ .ep(commonParams)
1737
+ .m(function (Command, cs, config, o) {
1738
+ return [
1739
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1740
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1741
+ ];
1742
+ })
1743
+ .s("ResourceExplorer", "GetServiceIndex", {})
1744
+ .n("ResourceExplorer2Client", "GetServiceIndexCommand")
1745
+ .f(void 0, void 0)
1746
+ .ser(se_GetServiceIndexCommand)
1747
+ .de(de_GetServiceIndexCommand)
1748
+ .build() {
1749
+ }
1750
+
1751
+ class GetServiceViewCommand extends smithyClient.Command
1752
+ .classBuilder()
1753
+ .ep(commonParams)
1754
+ .m(function (Command, cs, config, o) {
1755
+ return [
1756
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1757
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1758
+ ];
1759
+ })
1760
+ .s("ResourceExplorer", "GetServiceView", {})
1761
+ .n("ResourceExplorer2Client", "GetServiceViewCommand")
1762
+ .f(void 0, GetServiceViewOutputFilterSensitiveLog)
1763
+ .ser(se_GetServiceViewCommand)
1764
+ .de(de_GetServiceViewCommand)
1765
+ .build() {
1766
+ }
1767
+
1768
+ class GetViewCommand extends smithyClient.Command
1769
+ .classBuilder()
1770
+ .ep(commonParams)
1771
+ .m(function (Command, cs, config, o) {
1772
+ return [
1773
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1774
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1775
+ ];
1776
+ })
1777
+ .s("ResourceExplorer", "GetView", {})
1778
+ .n("ResourceExplorer2Client", "GetViewCommand")
1779
+ .f(void 0, GetViewOutputFilterSensitiveLog)
1780
+ .ser(se_GetViewCommand)
1781
+ .de(de_GetViewCommand)
1782
+ .build() {
1783
+ }
1784
+
1785
+ class ListIndexesCommand extends smithyClient.Command
1786
+ .classBuilder()
1787
+ .ep(commonParams)
1788
+ .m(function (Command, cs, config, o) {
1789
+ return [
1790
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1791
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1792
+ ];
1793
+ })
1794
+ .s("ResourceExplorer", "ListIndexes", {})
1795
+ .n("ResourceExplorer2Client", "ListIndexesCommand")
1796
+ .f(void 0, void 0)
1797
+ .ser(se_ListIndexesCommand)
1798
+ .de(de_ListIndexesCommand)
1799
+ .build() {
1800
+ }
1801
+
1802
+ class ListIndexesForMembersCommand extends smithyClient.Command
1803
+ .classBuilder()
1804
+ .ep(commonParams)
1805
+ .m(function (Command, cs, config, o) {
1806
+ return [
1807
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1808
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1809
+ ];
1810
+ })
1811
+ .s("ResourceExplorer", "ListIndexesForMembers", {})
1812
+ .n("ResourceExplorer2Client", "ListIndexesForMembersCommand")
1813
+ .f(void 0, void 0)
1814
+ .ser(se_ListIndexesForMembersCommand)
1815
+ .de(de_ListIndexesForMembersCommand)
1816
+ .build() {
1817
+ }
1818
+
1819
+ class ListManagedViewsCommand extends smithyClient.Command
1820
+ .classBuilder()
1821
+ .ep(commonParams)
1822
+ .m(function (Command, cs, config, o) {
1823
+ return [
1824
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1825
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1826
+ ];
1827
+ })
1828
+ .s("ResourceExplorer", "ListManagedViews", {})
1829
+ .n("ResourceExplorer2Client", "ListManagedViewsCommand")
1830
+ .f(void 0, void 0)
1831
+ .ser(se_ListManagedViewsCommand)
1832
+ .de(de_ListManagedViewsCommand)
1833
+ .build() {
1834
+ }
1835
+
1836
+ class ListResourcesCommand extends smithyClient.Command
1837
+ .classBuilder()
1838
+ .ep(commonParams)
1839
+ .m(function (Command, cs, config, o) {
1840
+ return [
1841
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1842
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1843
+ ];
1844
+ })
1845
+ .s("ResourceExplorer", "ListResources", {})
1846
+ .n("ResourceExplorer2Client", "ListResourcesCommand")
1847
+ .f(ListResourcesInputFilterSensitiveLog, void 0)
1848
+ .ser(se_ListResourcesCommand)
1849
+ .de(de_ListResourcesCommand)
1850
+ .build() {
1851
+ }
1852
+
1853
+ class ListServiceIndexesCommand extends smithyClient.Command
1854
+ .classBuilder()
1855
+ .ep(commonParams)
1856
+ .m(function (Command, cs, config, o) {
1857
+ return [
1858
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1859
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1860
+ ];
1861
+ })
1862
+ .s("ResourceExplorer", "ListServiceIndexes", {})
1863
+ .n("ResourceExplorer2Client", "ListServiceIndexesCommand")
1864
+ .f(void 0, void 0)
1865
+ .ser(se_ListServiceIndexesCommand)
1866
+ .de(de_ListServiceIndexesCommand)
1867
+ .build() {
1868
+ }
1869
+
1870
+ class ListServiceViewsCommand extends smithyClient.Command
1871
+ .classBuilder()
1872
+ .ep(commonParams)
1873
+ .m(function (Command, cs, config, o) {
1874
+ return [
1875
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1876
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1877
+ ];
1878
+ })
1879
+ .s("ResourceExplorer", "ListServiceViews", {})
1880
+ .n("ResourceExplorer2Client", "ListServiceViewsCommand")
1881
+ .f(void 0, void 0)
1882
+ .ser(se_ListServiceViewsCommand)
1883
+ .de(de_ListServiceViewsCommand)
1884
+ .build() {
1885
+ }
1886
+
1887
+ class ListStreamingAccessForServicesCommand extends smithyClient.Command
1888
+ .classBuilder()
1889
+ .ep(commonParams)
1890
+ .m(function (Command, cs, config, o) {
1891
+ return [
1892
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1893
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1894
+ ];
1895
+ })
1896
+ .s("ResourceExplorer", "ListStreamingAccessForServices", {})
1897
+ .n("ResourceExplorer2Client", "ListStreamingAccessForServicesCommand")
1898
+ .f(void 0, void 0)
1899
+ .ser(se_ListStreamingAccessForServicesCommand)
1900
+ .de(de_ListStreamingAccessForServicesCommand)
1901
+ .build() {
1902
+ }
1903
+
1904
+ class ListSupportedResourceTypesCommand extends smithyClient.Command
1905
+ .classBuilder()
1906
+ .ep(commonParams)
1907
+ .m(function (Command, cs, config, o) {
1908
+ return [
1909
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1910
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1911
+ ];
1912
+ })
1913
+ .s("ResourceExplorer", "ListSupportedResourceTypes", {})
1914
+ .n("ResourceExplorer2Client", "ListSupportedResourceTypesCommand")
1915
+ .f(void 0, void 0)
1916
+ .ser(se_ListSupportedResourceTypesCommand)
1917
+ .de(de_ListSupportedResourceTypesCommand)
1918
+ .build() {
1919
+ }
1920
+
1921
+ class ListTagsForResourceCommand extends smithyClient.Command
1922
+ .classBuilder()
1923
+ .ep(commonParams)
1924
+ .m(function (Command, cs, config, o) {
1925
+ return [
1926
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1927
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1928
+ ];
1929
+ })
1930
+ .s("ResourceExplorer", "ListTagsForResource", {})
1931
+ .n("ResourceExplorer2Client", "ListTagsForResourceCommand")
1932
+ .f(void 0, ListTagsForResourceOutputFilterSensitiveLog)
1933
+ .ser(se_ListTagsForResourceCommand)
1934
+ .de(de_ListTagsForResourceCommand)
1935
+ .build() {
1936
+ }
1937
+
1938
+ class ListViewsCommand extends smithyClient.Command
1939
+ .classBuilder()
1940
+ .ep(commonParams)
1941
+ .m(function (Command, cs, config, o) {
1942
+ return [
1943
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1944
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1945
+ ];
1946
+ })
1947
+ .s("ResourceExplorer", "ListViews", {})
1948
+ .n("ResourceExplorer2Client", "ListViewsCommand")
1949
+ .f(void 0, void 0)
1950
+ .ser(se_ListViewsCommand)
1951
+ .de(de_ListViewsCommand)
1952
+ .build() {
1953
+ }
1954
+
1955
+ class SearchCommand extends smithyClient.Command
1956
+ .classBuilder()
1957
+ .ep(commonParams)
1958
+ .m(function (Command, cs, config, o) {
1959
+ return [
1960
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1961
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1962
+ ];
1963
+ })
1964
+ .s("ResourceExplorer", "Search", {})
1965
+ .n("ResourceExplorer2Client", "SearchCommand")
1966
+ .f(SearchInputFilterSensitiveLog, void 0)
1967
+ .ser(se_SearchCommand)
1968
+ .de(de_SearchCommand)
1969
+ .build() {
1970
+ }
1971
+
1972
+ class TagResourceCommand extends smithyClient.Command
1973
+ .classBuilder()
1974
+ .ep(commonParams)
1975
+ .m(function (Command, cs, config, o) {
1976
+ return [
1977
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1978
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1979
+ ];
1980
+ })
1981
+ .s("ResourceExplorer", "TagResource", {})
1982
+ .n("ResourceExplorer2Client", "TagResourceCommand")
1983
+ .f(TagResourceInputFilterSensitiveLog, void 0)
1984
+ .ser(se_TagResourceCommand)
1985
+ .de(de_TagResourceCommand)
1986
+ .build() {
1987
+ }
1988
+
1989
+ class UntagResourceCommand extends smithyClient.Command
1990
+ .classBuilder()
1991
+ .ep(commonParams)
1992
+ .m(function (Command, cs, config, o) {
1993
+ return [
1994
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1995
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1996
+ ];
1997
+ })
1998
+ .s("ResourceExplorer", "UntagResource", {})
1999
+ .n("ResourceExplorer2Client", "UntagResourceCommand")
2000
+ .f(UntagResourceInputFilterSensitiveLog, void 0)
2001
+ .ser(se_UntagResourceCommand)
2002
+ .de(de_UntagResourceCommand)
2003
+ .build() {
2004
+ }
2005
+
2006
+ class UpdateIndexTypeCommand extends smithyClient.Command
2007
+ .classBuilder()
2008
+ .ep(commonParams)
2009
+ .m(function (Command, cs, config, o) {
2010
+ return [
2011
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2012
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2013
+ ];
2014
+ })
2015
+ .s("ResourceExplorer", "UpdateIndexType", {})
2016
+ .n("ResourceExplorer2Client", "UpdateIndexTypeCommand")
2017
+ .f(void 0, void 0)
2018
+ .ser(se_UpdateIndexTypeCommand)
2019
+ .de(de_UpdateIndexTypeCommand)
2020
+ .build() {
2021
+ }
2022
+
2023
+ class UpdateViewCommand extends smithyClient.Command
2024
+ .classBuilder()
2025
+ .ep(commonParams)
2026
+ .m(function (Command, cs, config, o) {
2027
+ return [
2028
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2029
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2030
+ ];
2031
+ })
2032
+ .s("ResourceExplorer", "UpdateView", {})
2033
+ .n("ResourceExplorer2Client", "UpdateViewCommand")
2034
+ .f(UpdateViewInputFilterSensitiveLog, UpdateViewOutputFilterSensitiveLog)
2035
+ .ser(se_UpdateViewCommand)
2036
+ .de(de_UpdateViewCommand)
2037
+ .build() {
2038
+ }
2039
+
2040
+ const commands = {
2041
+ AssociateDefaultViewCommand,
2042
+ BatchGetViewCommand,
2043
+ CreateIndexCommand,
2044
+ CreateResourceExplorerSetupCommand,
2045
+ CreateViewCommand,
2046
+ DeleteIndexCommand,
2047
+ DeleteResourceExplorerSetupCommand,
2048
+ DeleteViewCommand,
2049
+ DisassociateDefaultViewCommand,
2050
+ GetAccountLevelServiceConfigurationCommand,
2051
+ GetDefaultViewCommand,
2052
+ GetIndexCommand,
2053
+ GetManagedViewCommand,
2054
+ GetResourceExplorerSetupCommand,
2055
+ GetServiceIndexCommand,
2056
+ GetServiceViewCommand,
2057
+ GetViewCommand,
2058
+ ListIndexesCommand,
2059
+ ListIndexesForMembersCommand,
2060
+ ListManagedViewsCommand,
2061
+ ListResourcesCommand,
2062
+ ListServiceIndexesCommand,
2063
+ ListServiceViewsCommand,
2064
+ ListStreamingAccessForServicesCommand,
2065
+ ListSupportedResourceTypesCommand,
2066
+ ListTagsForResourceCommand,
2067
+ ListViewsCommand,
2068
+ SearchCommand,
2069
+ TagResourceCommand,
2070
+ UntagResourceCommand,
2071
+ UpdateIndexTypeCommand,
2072
+ UpdateViewCommand,
2073
+ };
2074
+ class ResourceExplorer2 extends ResourceExplorer2Client {
2075
+ }
2076
+ smithyClient.createAggregatedClient(commands, ResourceExplorer2);
2255
2077
 
2256
- // src/ResourceExplorer2.ts
2257
- var commands = {
2258
- AssociateDefaultViewCommand,
2259
- BatchGetViewCommand,
2260
- CreateIndexCommand,
2261
- CreateResourceExplorerSetupCommand,
2262
- CreateViewCommand,
2263
- DeleteIndexCommand,
2264
- DeleteResourceExplorerSetupCommand,
2265
- DeleteViewCommand,
2266
- DisassociateDefaultViewCommand,
2267
- GetAccountLevelServiceConfigurationCommand,
2268
- GetDefaultViewCommand,
2269
- GetIndexCommand,
2270
- GetManagedViewCommand,
2271
- GetResourceExplorerSetupCommand,
2272
- GetServiceIndexCommand,
2273
- GetServiceViewCommand,
2274
- GetViewCommand,
2275
- ListIndexesCommand,
2276
- ListIndexesForMembersCommand,
2277
- ListManagedViewsCommand,
2278
- ListResourcesCommand,
2279
- ListServiceIndexesCommand,
2280
- ListServiceViewsCommand,
2281
- ListStreamingAccessForServicesCommand,
2282
- ListSupportedResourceTypesCommand,
2283
- ListTagsForResourceCommand,
2284
- ListViewsCommand,
2285
- SearchCommand,
2286
- TagResourceCommand,
2287
- UntagResourceCommand,
2288
- UpdateIndexTypeCommand,
2289
- UpdateViewCommand
2290
- };
2291
- var ResourceExplorer2 = class extends ResourceExplorer2Client {
2292
- static {
2293
- __name(this, "ResourceExplorer2");
2294
- }
2295
- };
2296
- (0, import_smithy_client.createAggregatedClient)(commands, ResourceExplorer2);
2297
-
2298
- // src/pagination/GetResourceExplorerSetupPaginator.ts
2299
-
2300
- var paginateGetResourceExplorerSetup = (0, import_core.createPaginator)(ResourceExplorer2Client, GetResourceExplorerSetupCommand, "NextToken", "NextToken", "MaxResults");
2301
-
2302
- // src/pagination/ListIndexesForMembersPaginator.ts
2303
-
2304
- var paginateListIndexesForMembers = (0, import_core.createPaginator)(ResourceExplorer2Client, ListIndexesForMembersCommand, "NextToken", "NextToken", "MaxResults");
2305
-
2306
- // src/pagination/ListIndexesPaginator.ts
2307
-
2308
- var paginateListIndexes = (0, import_core.createPaginator)(ResourceExplorer2Client, ListIndexesCommand, "NextToken", "NextToken", "MaxResults");
2309
-
2310
- // src/pagination/ListManagedViewsPaginator.ts
2311
-
2312
- var paginateListManagedViews = (0, import_core.createPaginator)(ResourceExplorer2Client, ListManagedViewsCommand, "NextToken", "NextToken", "MaxResults");
2313
-
2314
- // src/pagination/ListResourcesPaginator.ts
2315
-
2316
- var paginateListResources = (0, import_core.createPaginator)(ResourceExplorer2Client, ListResourcesCommand, "NextToken", "NextToken", "MaxResults");
2317
-
2318
- // src/pagination/ListServiceIndexesPaginator.ts
2319
-
2320
- var paginateListServiceIndexes = (0, import_core.createPaginator)(ResourceExplorer2Client, ListServiceIndexesCommand, "NextToken", "NextToken", "MaxResults");
2078
+ const paginateGetResourceExplorerSetup = core.createPaginator(ResourceExplorer2Client, GetResourceExplorerSetupCommand, "NextToken", "NextToken", "MaxResults");
2321
2079
 
2322
- // src/pagination/ListServiceViewsPaginator.ts
2080
+ const paginateListIndexesForMembers = core.createPaginator(ResourceExplorer2Client, ListIndexesForMembersCommand, "NextToken", "NextToken", "MaxResults");
2323
2081
 
2324
- var paginateListServiceViews = (0, import_core.createPaginator)(ResourceExplorer2Client, ListServiceViewsCommand, "NextToken", "NextToken", "MaxResults");
2082
+ const paginateListIndexes = core.createPaginator(ResourceExplorer2Client, ListIndexesCommand, "NextToken", "NextToken", "MaxResults");
2325
2083
 
2326
- // src/pagination/ListStreamingAccessForServicesPaginator.ts
2084
+ const paginateListManagedViews = core.createPaginator(ResourceExplorer2Client, ListManagedViewsCommand, "NextToken", "NextToken", "MaxResults");
2327
2085
 
2328
- var paginateListStreamingAccessForServices = (0, import_core.createPaginator)(ResourceExplorer2Client, ListStreamingAccessForServicesCommand, "NextToken", "NextToken", "MaxResults");
2086
+ const paginateListResources = core.createPaginator(ResourceExplorer2Client, ListResourcesCommand, "NextToken", "NextToken", "MaxResults");
2329
2087
 
2330
- // src/pagination/ListSupportedResourceTypesPaginator.ts
2088
+ const paginateListServiceIndexes = core.createPaginator(ResourceExplorer2Client, ListServiceIndexesCommand, "NextToken", "NextToken", "MaxResults");
2331
2089
 
2332
- var paginateListSupportedResourceTypes = (0, import_core.createPaginator)(ResourceExplorer2Client, ListSupportedResourceTypesCommand, "NextToken", "NextToken", "MaxResults");
2090
+ const paginateListServiceViews = core.createPaginator(ResourceExplorer2Client, ListServiceViewsCommand, "NextToken", "NextToken", "MaxResults");
2333
2091
 
2334
- // src/pagination/ListViewsPaginator.ts
2092
+ const paginateListStreamingAccessForServices = core.createPaginator(ResourceExplorer2Client, ListStreamingAccessForServicesCommand, "NextToken", "NextToken", "MaxResults");
2335
2093
 
2336
- var paginateListViews = (0, import_core.createPaginator)(ResourceExplorer2Client, ListViewsCommand, "NextToken", "NextToken", "MaxResults");
2094
+ const paginateListSupportedResourceTypes = core.createPaginator(ResourceExplorer2Client, ListSupportedResourceTypesCommand, "NextToken", "NextToken", "MaxResults");
2337
2095
 
2338
- // src/pagination/SearchPaginator.ts
2096
+ const paginateListViews = core.createPaginator(ResourceExplorer2Client, ListViewsCommand, "NextToken", "NextToken", "MaxResults");
2339
2097
 
2340
- var paginateSearch = (0, import_core.createPaginator)(ResourceExplorer2Client, SearchCommand, "NextToken", "NextToken", "MaxResults");
2341
- // Annotate the CommonJS export names for ESM import in node:
2098
+ const paginateSearch = core.createPaginator(ResourceExplorer2Client, SearchCommand, "NextToken", "NextToken", "MaxResults");
2342
2099
 
2343
- 0 && (module.exports = {
2344
- ResourceExplorer2ServiceException,
2345
- __Client,
2346
- ResourceExplorer2Client,
2347
- ResourceExplorer2,
2348
- $Command,
2349
- AssociateDefaultViewCommand,
2350
- BatchGetViewCommand,
2351
- CreateIndexCommand,
2352
- CreateResourceExplorerSetupCommand,
2353
- CreateViewCommand,
2354
- DeleteIndexCommand,
2355
- DeleteResourceExplorerSetupCommand,
2356
- DeleteViewCommand,
2357
- DisassociateDefaultViewCommand,
2358
- GetAccountLevelServiceConfigurationCommand,
2359
- GetDefaultViewCommand,
2360
- GetIndexCommand,
2361
- GetManagedViewCommand,
2362
- GetResourceExplorerSetupCommand,
2363
- GetServiceIndexCommand,
2364
- GetServiceViewCommand,
2365
- GetViewCommand,
2366
- ListIndexesCommand,
2367
- ListIndexesForMembersCommand,
2368
- ListManagedViewsCommand,
2369
- ListResourcesCommand,
2370
- ListServiceIndexesCommand,
2371
- ListServiceViewsCommand,
2372
- ListStreamingAccessForServicesCommand,
2373
- ListSupportedResourceTypesCommand,
2374
- ListTagsForResourceCommand,
2375
- ListViewsCommand,
2376
- SearchCommand,
2377
- TagResourceCommand,
2378
- UntagResourceCommand,
2379
- UpdateIndexTypeCommand,
2380
- UpdateViewCommand,
2381
- paginateGetResourceExplorerSetup,
2382
- paginateListIndexesForMembers,
2383
- paginateListIndexes,
2384
- paginateListManagedViews,
2385
- paginateListResources,
2386
- paginateListServiceIndexes,
2387
- paginateListServiceViews,
2388
- paginateListStreamingAccessForServices,
2389
- paginateListSupportedResourceTypes,
2390
- paginateListViews,
2391
- paginateSearch,
2392
- AccessDeniedException,
2393
- InternalServerException,
2394
- ResourceNotFoundException,
2395
- ThrottlingException,
2396
- ValidationException,
2397
- AWSServiceAccessStatus,
2398
- UnauthorizedException,
2399
- ConflictException,
2400
- IndexState,
2401
- IndexType,
2402
- ServiceQuotaExceededException,
2403
- OperationStatus,
2404
- SearchFilterFilterSensitiveLog,
2405
- ViewFilterSensitiveLog,
2406
- BatchGetViewOutputFilterSensitiveLog,
2407
- CreateIndexInputFilterSensitiveLog,
2408
- CreateViewInputFilterSensitiveLog,
2409
- CreateViewOutputFilterSensitiveLog,
2410
- GetViewOutputFilterSensitiveLog,
2411
- UpdateViewInputFilterSensitiveLog,
2412
- UpdateViewOutputFilterSensitiveLog,
2413
- GetIndexOutputFilterSensitiveLog,
2414
- ManagedViewFilterSensitiveLog,
2415
- GetManagedViewOutputFilterSensitiveLog,
2416
- ViewStatusFilterSensitiveLog,
2417
- RegionStatusFilterSensitiveLog,
2418
- GetResourceExplorerSetupOutputFilterSensitiveLog,
2419
- ServiceViewFilterSensitiveLog,
2420
- GetServiceViewOutputFilterSensitiveLog,
2421
- ListResourcesInputFilterSensitiveLog,
2422
- ListTagsForResourceOutputFilterSensitiveLog,
2423
- SearchInputFilterSensitiveLog,
2424
- TagResourceInputFilterSensitiveLog,
2425
- UntagResourceInputFilterSensitiveLog
2100
+ Object.defineProperty(exports, "$Command", {
2101
+ enumerable: true,
2102
+ get: function () { return smithyClient.Command; }
2426
2103
  });
2427
-
2104
+ Object.defineProperty(exports, "__Client", {
2105
+ enumerable: true,
2106
+ get: function () { return smithyClient.Client; }
2107
+ });
2108
+ exports.AWSServiceAccessStatus = AWSServiceAccessStatus;
2109
+ exports.AccessDeniedException = AccessDeniedException;
2110
+ exports.AssociateDefaultViewCommand = AssociateDefaultViewCommand;
2111
+ exports.BatchGetViewCommand = BatchGetViewCommand;
2112
+ exports.BatchGetViewOutputFilterSensitiveLog = BatchGetViewOutputFilterSensitiveLog;
2113
+ exports.ConflictException = ConflictException;
2114
+ exports.CreateIndexCommand = CreateIndexCommand;
2115
+ exports.CreateIndexInputFilterSensitiveLog = CreateIndexInputFilterSensitiveLog;
2116
+ exports.CreateResourceExplorerSetupCommand = CreateResourceExplorerSetupCommand;
2117
+ exports.CreateViewCommand = CreateViewCommand;
2118
+ exports.CreateViewInputFilterSensitiveLog = CreateViewInputFilterSensitiveLog;
2119
+ exports.CreateViewOutputFilterSensitiveLog = CreateViewOutputFilterSensitiveLog;
2120
+ exports.DeleteIndexCommand = DeleteIndexCommand;
2121
+ exports.DeleteResourceExplorerSetupCommand = DeleteResourceExplorerSetupCommand;
2122
+ exports.DeleteViewCommand = DeleteViewCommand;
2123
+ exports.DisassociateDefaultViewCommand = DisassociateDefaultViewCommand;
2124
+ exports.GetAccountLevelServiceConfigurationCommand = GetAccountLevelServiceConfigurationCommand;
2125
+ exports.GetDefaultViewCommand = GetDefaultViewCommand;
2126
+ exports.GetIndexCommand = GetIndexCommand;
2127
+ exports.GetIndexOutputFilterSensitiveLog = GetIndexOutputFilterSensitiveLog;
2128
+ exports.GetManagedViewCommand = GetManagedViewCommand;
2129
+ exports.GetManagedViewOutputFilterSensitiveLog = GetManagedViewOutputFilterSensitiveLog;
2130
+ exports.GetResourceExplorerSetupCommand = GetResourceExplorerSetupCommand;
2131
+ exports.GetResourceExplorerSetupOutputFilterSensitiveLog = GetResourceExplorerSetupOutputFilterSensitiveLog;
2132
+ exports.GetServiceIndexCommand = GetServiceIndexCommand;
2133
+ exports.GetServiceViewCommand = GetServiceViewCommand;
2134
+ exports.GetServiceViewOutputFilterSensitiveLog = GetServiceViewOutputFilterSensitiveLog;
2135
+ exports.GetViewCommand = GetViewCommand;
2136
+ exports.GetViewOutputFilterSensitiveLog = GetViewOutputFilterSensitiveLog;
2137
+ exports.IndexState = IndexState;
2138
+ exports.IndexType = IndexType;
2139
+ exports.InternalServerException = InternalServerException;
2140
+ exports.ListIndexesCommand = ListIndexesCommand;
2141
+ exports.ListIndexesForMembersCommand = ListIndexesForMembersCommand;
2142
+ exports.ListManagedViewsCommand = ListManagedViewsCommand;
2143
+ exports.ListResourcesCommand = ListResourcesCommand;
2144
+ exports.ListResourcesInputFilterSensitiveLog = ListResourcesInputFilterSensitiveLog;
2145
+ exports.ListServiceIndexesCommand = ListServiceIndexesCommand;
2146
+ exports.ListServiceViewsCommand = ListServiceViewsCommand;
2147
+ exports.ListStreamingAccessForServicesCommand = ListStreamingAccessForServicesCommand;
2148
+ exports.ListSupportedResourceTypesCommand = ListSupportedResourceTypesCommand;
2149
+ exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
2150
+ exports.ListTagsForResourceOutputFilterSensitiveLog = ListTagsForResourceOutputFilterSensitiveLog;
2151
+ exports.ListViewsCommand = ListViewsCommand;
2152
+ exports.ManagedViewFilterSensitiveLog = ManagedViewFilterSensitiveLog;
2153
+ exports.OperationStatus = OperationStatus;
2154
+ exports.RegionStatusFilterSensitiveLog = RegionStatusFilterSensitiveLog;
2155
+ exports.ResourceExplorer2 = ResourceExplorer2;
2156
+ exports.ResourceExplorer2Client = ResourceExplorer2Client;
2157
+ exports.ResourceExplorer2ServiceException = ResourceExplorer2ServiceException;
2158
+ exports.ResourceNotFoundException = ResourceNotFoundException;
2159
+ exports.SearchCommand = SearchCommand;
2160
+ exports.SearchFilterFilterSensitiveLog = SearchFilterFilterSensitiveLog;
2161
+ exports.SearchInputFilterSensitiveLog = SearchInputFilterSensitiveLog;
2162
+ exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
2163
+ exports.ServiceViewFilterSensitiveLog = ServiceViewFilterSensitiveLog;
2164
+ exports.TagResourceCommand = TagResourceCommand;
2165
+ exports.TagResourceInputFilterSensitiveLog = TagResourceInputFilterSensitiveLog;
2166
+ exports.ThrottlingException = ThrottlingException;
2167
+ exports.UnauthorizedException = UnauthorizedException;
2168
+ exports.UntagResourceCommand = UntagResourceCommand;
2169
+ exports.UntagResourceInputFilterSensitiveLog = UntagResourceInputFilterSensitiveLog;
2170
+ exports.UpdateIndexTypeCommand = UpdateIndexTypeCommand;
2171
+ exports.UpdateViewCommand = UpdateViewCommand;
2172
+ exports.UpdateViewInputFilterSensitiveLog = UpdateViewInputFilterSensitiveLog;
2173
+ exports.UpdateViewOutputFilterSensitiveLog = UpdateViewOutputFilterSensitiveLog;
2174
+ exports.ValidationException = ValidationException;
2175
+ exports.ViewFilterSensitiveLog = ViewFilterSensitiveLog;
2176
+ exports.ViewStatusFilterSensitiveLog = ViewStatusFilterSensitiveLog;
2177
+ exports.paginateGetResourceExplorerSetup = paginateGetResourceExplorerSetup;
2178
+ exports.paginateListIndexes = paginateListIndexes;
2179
+ exports.paginateListIndexesForMembers = paginateListIndexesForMembers;
2180
+ exports.paginateListManagedViews = paginateListManagedViews;
2181
+ exports.paginateListResources = paginateListResources;
2182
+ exports.paginateListServiceIndexes = paginateListServiceIndexes;
2183
+ exports.paginateListServiceViews = paginateListServiceViews;
2184
+ exports.paginateListStreamingAccessForServices = paginateListStreamingAccessForServices;
2185
+ exports.paginateListSupportedResourceTypes = paginateListSupportedResourceTypes;
2186
+ exports.paginateListViews = paginateListViews;
2187
+ exports.paginateSearch = paginateSearch;