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