@aws-sdk/client-resource-explorer-2 3.928.0 → 3.930.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 (56) hide show
  1. package/dist-cjs/index.js +991 -1509
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/ResourceExplorer2Client.js +2 -0
  4. package/dist-es/commands/AssociateDefaultViewCommand.js +3 -9
  5. package/dist-es/commands/BatchGetViewCommand.js +3 -10
  6. package/dist-es/commands/CreateIndexCommand.js +3 -10
  7. package/dist-es/commands/CreateResourceExplorerSetupCommand.js +3 -9
  8. package/dist-es/commands/CreateViewCommand.js +3 -10
  9. package/dist-es/commands/DeleteIndexCommand.js +3 -9
  10. package/dist-es/commands/DeleteResourceExplorerSetupCommand.js +3 -9
  11. package/dist-es/commands/DeleteViewCommand.js +3 -9
  12. package/dist-es/commands/DisassociateDefaultViewCommand.js +3 -9
  13. package/dist-es/commands/GetAccountLevelServiceConfigurationCommand.js +3 -9
  14. package/dist-es/commands/GetDefaultViewCommand.js +3 -9
  15. package/dist-es/commands/GetIndexCommand.js +3 -10
  16. package/dist-es/commands/GetManagedViewCommand.js +3 -10
  17. package/dist-es/commands/GetResourceExplorerSetupCommand.js +3 -10
  18. package/dist-es/commands/GetServiceIndexCommand.js +3 -9
  19. package/dist-es/commands/GetServiceViewCommand.js +3 -10
  20. package/dist-es/commands/GetViewCommand.js +3 -10
  21. package/dist-es/commands/ListIndexesCommand.js +3 -9
  22. package/dist-es/commands/ListIndexesForMembersCommand.js +3 -9
  23. package/dist-es/commands/ListManagedViewsCommand.js +3 -9
  24. package/dist-es/commands/ListResourcesCommand.js +3 -10
  25. package/dist-es/commands/ListServiceIndexesCommand.js +3 -9
  26. package/dist-es/commands/ListServiceViewsCommand.js +3 -9
  27. package/dist-es/commands/ListStreamingAccessForServicesCommand.js +3 -9
  28. package/dist-es/commands/ListSupportedResourceTypesCommand.js +3 -9
  29. package/dist-es/commands/ListTagsForResourceCommand.js +3 -10
  30. package/dist-es/commands/ListViewsCommand.js +3 -9
  31. package/dist-es/commands/SearchCommand.js +3 -10
  32. package/dist-es/commands/TagResourceCommand.js +3 -10
  33. package/dist-es/commands/UntagResourceCommand.js +3 -10
  34. package/dist-es/commands/UpdateIndexTypeCommand.js +3 -9
  35. package/dist-es/commands/UpdateViewCommand.js +3 -10
  36. package/dist-es/models/models_0.js +0 -88
  37. package/dist-es/runtimeConfig.shared.js +2 -0
  38. package/dist-es/schemas/schemas_0.js +907 -0
  39. package/dist-types/ResourceExplorer2Client.d.ts +10 -1
  40. package/dist-types/models/models_0.d.ts +0 -88
  41. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  42. package/dist-types/runtimeConfig.d.ts +1 -0
  43. package/dist-types/runtimeConfig.native.d.ts +1 -0
  44. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  45. package/dist-types/schemas/schemas_0.d.ts +139 -0
  46. package/dist-types/ts3.4/ResourceExplorer2Client.d.ts +4 -0
  47. package/dist-types/ts3.4/models/models_0.d.ts +0 -52
  48. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  49. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  50. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  51. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  52. package/dist-types/ts3.4/schemas/schemas_0.d.ts +146 -0
  53. package/package.json +33 -34
  54. package/dist-es/protocols/Aws_restJson1.js +0 -1154
  55. package/dist-types/protocols/Aws_restJson1.d.ts +0 -290
  56. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -389
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListServiceViewsCommand, se_ListServiceViewsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListServiceViews } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListServiceViewsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("ResourceExplorer", "ListServiceViews", {})
17
13
  .n("ResourceExplorer2Client", "ListServiceViewsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListServiceViewsCommand)
20
- .de(de_ListServiceViewsCommand)
14
+ .sc(ListServiceViews)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListStreamingAccessForServicesCommand, se_ListStreamingAccessForServicesCommand, } from "../protocols/Aws_restJson1";
4
+ import { ListStreamingAccessForServices } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListStreamingAccessForServicesCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("ResourceExplorer", "ListStreamingAccessForServices", {})
17
13
  .n("ResourceExplorer2Client", "ListStreamingAccessForServicesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListStreamingAccessForServicesCommand)
20
- .de(de_ListStreamingAccessForServicesCommand)
14
+ .sc(ListStreamingAccessForServices)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListSupportedResourceTypesCommand, se_ListSupportedResourceTypesCommand } from "../protocols/Aws_restJson1";
4
+ import { ListSupportedResourceTypes } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListSupportedResourceTypesCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("ResourceExplorer", "ListSupportedResourceTypes", {})
17
13
  .n("ResourceExplorer2Client", "ListSupportedResourceTypesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListSupportedResourceTypesCommand)
20
- .de(de_ListSupportedResourceTypesCommand)
14
+ .sc(ListSupportedResourceTypes)
21
15
  .build() {
22
16
  }
@@ -1,23 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { ListTagsForResourceOutputFilterSensitiveLog, } from "../models/models_0";
6
- import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_restJson1";
4
+ import { ListTagsForResource } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class ListTagsForResourceCommand extends $Command
9
7
  .classBuilder()
10
8
  .ep(commonParams)
11
9
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
16
11
  })
17
12
  .s("ResourceExplorer", "ListTagsForResource", {})
18
13
  .n("ResourceExplorer2Client", "ListTagsForResourceCommand")
19
- .f(void 0, ListTagsForResourceOutputFilterSensitiveLog)
20
- .ser(se_ListTagsForResourceCommand)
21
- .de(de_ListTagsForResourceCommand)
14
+ .sc(ListTagsForResource)
22
15
  .build() {
23
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListViewsCommand, se_ListViewsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListViews } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListViewsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("ResourceExplorer", "ListViews", {})
17
13
  .n("ResourceExplorer2Client", "ListViewsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListViewsCommand)
20
- .de(de_ListViewsCommand)
14
+ .sc(ListViews)
21
15
  .build() {
22
16
  }
@@ -1,23 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { SearchInputFilterSensitiveLog } from "../models/models_0";
6
- import { de_SearchCommand, se_SearchCommand } from "../protocols/Aws_restJson1";
4
+ import { Search } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class SearchCommand extends $Command
9
7
  .classBuilder()
10
8
  .ep(commonParams)
11
9
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
16
11
  })
17
12
  .s("ResourceExplorer", "Search", {})
18
13
  .n("ResourceExplorer2Client", "SearchCommand")
19
- .f(SearchInputFilterSensitiveLog, void 0)
20
- .ser(se_SearchCommand)
21
- .de(de_SearchCommand)
14
+ .sc(Search)
22
15
  .build() {
23
16
  }
@@ -1,23 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { TagResourceInputFilterSensitiveLog } from "../models/models_0";
6
- import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1";
4
+ import { TagResource } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class TagResourceCommand extends $Command
9
7
  .classBuilder()
10
8
  .ep(commonParams)
11
9
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
16
11
  })
17
12
  .s("ResourceExplorer", "TagResource", {})
18
13
  .n("ResourceExplorer2Client", "TagResourceCommand")
19
- .f(TagResourceInputFilterSensitiveLog, void 0)
20
- .ser(se_TagResourceCommand)
21
- .de(de_TagResourceCommand)
14
+ .sc(TagResource)
22
15
  .build() {
23
16
  }
@@ -1,23 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { UntagResourceInputFilterSensitiveLog } from "../models/models_0";
6
- import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
4
+ import { UntagResource } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class UntagResourceCommand extends $Command
9
7
  .classBuilder()
10
8
  .ep(commonParams)
11
9
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
16
11
  })
17
12
  .s("ResourceExplorer", "UntagResource", {})
18
13
  .n("ResourceExplorer2Client", "UntagResourceCommand")
19
- .f(UntagResourceInputFilterSensitiveLog, void 0)
20
- .ser(se_UntagResourceCommand)
21
- .de(de_UntagResourceCommand)
14
+ .sc(UntagResource)
22
15
  .build() {
23
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateIndexTypeCommand, se_UpdateIndexTypeCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateIndexType } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateIndexTypeCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("ResourceExplorer", "UpdateIndexType", {})
17
13
  .n("ResourceExplorer2Client", "UpdateIndexTypeCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateIndexTypeCommand)
20
- .de(de_UpdateIndexTypeCommand)
14
+ .sc(UpdateIndexType)
21
15
  .build() {
22
16
  }
@@ -1,23 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { UpdateViewInputFilterSensitiveLog, UpdateViewOutputFilterSensitiveLog, } from "../models/models_0";
6
- import { de_UpdateViewCommand, se_UpdateViewCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateView } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class UpdateViewCommand extends $Command
9
7
  .classBuilder()
10
8
  .ep(commonParams)
11
9
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
16
11
  })
17
12
  .s("ResourceExplorer", "UpdateView", {})
18
13
  .n("ResourceExplorer2Client", "UpdateViewCommand")
19
- .f(UpdateViewInputFilterSensitiveLog, UpdateViewOutputFilterSensitiveLog)
20
- .ser(se_UpdateViewCommand)
21
- .de(de_UpdateViewCommand)
14
+ .sc(UpdateView)
22
15
  .build() {
23
16
  }
@@ -1,4 +1,3 @@
1
- import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
1
  import { ResourceExplorer2ServiceException as __BaseException } from "./ResourceExplorer2ServiceException";
3
2
  export class AccessDeniedException extends __BaseException {
4
3
  name = "AccessDeniedException";
@@ -139,90 +138,3 @@ export const OperationStatus = {
139
138
  SKIPPED: "SKIPPED",
140
139
  SUCCEEDED: "SUCCEEDED",
141
140
  };
142
- export const SearchFilterFilterSensitiveLog = (obj) => ({
143
- ...obj,
144
- });
145
- export const ViewFilterSensitiveLog = (obj) => ({
146
- ...obj,
147
- ...(obj.Filters && { Filters: SENSITIVE_STRING }),
148
- });
149
- export const BatchGetViewOutputFilterSensitiveLog = (obj) => ({
150
- ...obj,
151
- ...(obj.Views && { Views: obj.Views.map((item) => ViewFilterSensitiveLog(item)) }),
152
- });
153
- export const CreateIndexInputFilterSensitiveLog = (obj) => ({
154
- ...obj,
155
- ...(obj.Tags && { Tags: SENSITIVE_STRING }),
156
- });
157
- export const CreateViewInputFilterSensitiveLog = (obj) => ({
158
- ...obj,
159
- ...(obj.Filters && { Filters: SENSITIVE_STRING }),
160
- ...(obj.Tags && { Tags: SENSITIVE_STRING }),
161
- });
162
- export const CreateViewOutputFilterSensitiveLog = (obj) => ({
163
- ...obj,
164
- ...(obj.View && { View: ViewFilterSensitiveLog(obj.View) }),
165
- });
166
- export const GetViewOutputFilterSensitiveLog = (obj) => ({
167
- ...obj,
168
- ...(obj.View && { View: ViewFilterSensitiveLog(obj.View) }),
169
- ...(obj.Tags && { Tags: SENSITIVE_STRING }),
170
- });
171
- export const UpdateViewInputFilterSensitiveLog = (obj) => ({
172
- ...obj,
173
- ...(obj.Filters && { Filters: SENSITIVE_STRING }),
174
- });
175
- export const UpdateViewOutputFilterSensitiveLog = (obj) => ({
176
- ...obj,
177
- ...(obj.View && { View: ViewFilterSensitiveLog(obj.View) }),
178
- });
179
- export const GetIndexOutputFilterSensitiveLog = (obj) => ({
180
- ...obj,
181
- ...(obj.Tags && { Tags: SENSITIVE_STRING }),
182
- });
183
- export const ManagedViewFilterSensitiveLog = (obj) => ({
184
- ...obj,
185
- ...(obj.Filters && { Filters: SENSITIVE_STRING }),
186
- });
187
- export const GetManagedViewOutputFilterSensitiveLog = (obj) => ({
188
- ...obj,
189
- ...(obj.ManagedView && { ManagedView: ManagedViewFilterSensitiveLog(obj.ManagedView) }),
190
- });
191
- export const ViewStatusFilterSensitiveLog = (obj) => ({
192
- ...obj,
193
- ...(obj.View && { View: ViewFilterSensitiveLog(obj.View) }),
194
- });
195
- export const RegionStatusFilterSensitiveLog = (obj) => ({
196
- ...obj,
197
- });
198
- export const GetResourceExplorerSetupOutputFilterSensitiveLog = (obj) => ({
199
- ...obj,
200
- });
201
- export const ServiceViewFilterSensitiveLog = (obj) => ({
202
- ...obj,
203
- ...(obj.Filters && { Filters: SENSITIVE_STRING }),
204
- });
205
- export const GetServiceViewOutputFilterSensitiveLog = (obj) => ({
206
- ...obj,
207
- ...(obj.View && { View: ServiceViewFilterSensitiveLog(obj.View) }),
208
- });
209
- export const ListResourcesInputFilterSensitiveLog = (obj) => ({
210
- ...obj,
211
- ...(obj.Filters && { Filters: SENSITIVE_STRING }),
212
- });
213
- export const ListTagsForResourceOutputFilterSensitiveLog = (obj) => ({
214
- ...obj,
215
- ...(obj.Tags && { Tags: SENSITIVE_STRING }),
216
- });
217
- export const SearchInputFilterSensitiveLog = (obj) => ({
218
- ...obj,
219
- ...(obj.QueryString && { QueryString: SENSITIVE_STRING }),
220
- });
221
- export const TagResourceInputFilterSensitiveLog = (obj) => ({
222
- ...obj,
223
- ...(obj.Tags && { Tags: SENSITIVE_STRING }),
224
- });
225
- export const UntagResourceInputFilterSensitiveLog = (obj) => ({
226
- ...obj,
227
- ...(obj.tagKeys && { tagKeys: SENSITIVE_STRING }),
228
- });
@@ -1,4 +1,5 @@
1
1
  import { AwsSdkSigV4Signer } from "@aws-sdk/core";
2
+ import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
2
3
  import { NoOpLogger } from "@smithy/smithy-client";
3
4
  import { parseUrl } from "@smithy/url-parser";
4
5
  import { fromBase64, toBase64 } from "@smithy/util-base64";
@@ -22,6 +23,7 @@ export const getRuntimeConfig = (config) => {
22
23
  },
23
24
  ],
24
25
  logger: config?.logger ?? new NoOpLogger(),
26
+ protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.resourceexplorer2" }),
25
27
  serviceId: config?.serviceId ?? "Resource Explorer 2",
26
28
  urlParser: config?.urlParser ?? parseUrl,
27
29
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,