@aws-sdk/client-resource-explorer-2 3.206.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (163) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +241 -0
  3. package/dist-cjs/ResourceExplorer2.js +292 -0
  4. package/dist-cjs/ResourceExplorer2Client.js +40 -0
  5. package/dist-cjs/commands/AssociateDefaultViewCommand.js +45 -0
  6. package/dist-cjs/commands/BatchGetViewCommand.js +45 -0
  7. package/dist-cjs/commands/CreateIndexCommand.js +45 -0
  8. package/dist-cjs/commands/CreateViewCommand.js +45 -0
  9. package/dist-cjs/commands/DeleteIndexCommand.js +45 -0
  10. package/dist-cjs/commands/DeleteViewCommand.js +45 -0
  11. package/dist-cjs/commands/DisassociateDefaultViewCommand.js +44 -0
  12. package/dist-cjs/commands/GetDefaultViewCommand.js +45 -0
  13. package/dist-cjs/commands/GetIndexCommand.js +45 -0
  14. package/dist-cjs/commands/GetViewCommand.js +45 -0
  15. package/dist-cjs/commands/ListIndexesCommand.js +45 -0
  16. package/dist-cjs/commands/ListSupportedResourceTypesCommand.js +45 -0
  17. package/dist-cjs/commands/ListTagsForResourceCommand.js +45 -0
  18. package/dist-cjs/commands/ListViewsCommand.js +45 -0
  19. package/dist-cjs/commands/SearchCommand.js +45 -0
  20. package/dist-cjs/commands/TagResourceCommand.js +45 -0
  21. package/dist-cjs/commands/UntagResourceCommand.js +45 -0
  22. package/dist-cjs/commands/UpdateIndexTypeCommand.js +45 -0
  23. package/dist-cjs/commands/UpdateViewCommand.js +45 -0
  24. package/dist-cjs/commands/index.js +22 -0
  25. package/dist-cjs/endpoint/EndpointParameters.js +11 -0
  26. package/dist-cjs/endpoint/endpointResolver.js +12 -0
  27. package/dist-cjs/endpoint/ruleset.js +251 -0
  28. package/dist-cjs/index.js +11 -0
  29. package/dist-cjs/models/ResourceExplorer2ServiceException.js +11 -0
  30. package/dist-cjs/models/index.js +4 -0
  31. package/dist-cjs/models/models_0.js +318 -0
  32. package/dist-cjs/pagination/Interfaces.js +2 -0
  33. package/dist-cjs/pagination/ListIndexesPaginator.js +36 -0
  34. package/dist-cjs/pagination/ListSupportedResourceTypesPaginator.js +36 -0
  35. package/dist-cjs/pagination/ListViewsPaginator.js +36 -0
  36. package/dist-cjs/pagination/SearchPaginator.js +36 -0
  37. package/dist-cjs/pagination/index.js +8 -0
  38. package/dist-cjs/protocols/Aws_restJson1.js +1771 -0
  39. package/dist-cjs/runtimeConfig.browser.js +42 -0
  40. package/dist-cjs/runtimeConfig.js +50 -0
  41. package/dist-cjs/runtimeConfig.native.js +15 -0
  42. package/dist-cjs/runtimeConfig.shared.js +17 -0
  43. package/dist-es/ResourceExplorer2.js +288 -0
  44. package/dist-es/ResourceExplorer2Client.js +36 -0
  45. package/dist-es/commands/AssociateDefaultViewCommand.js +41 -0
  46. package/dist-es/commands/BatchGetViewCommand.js +41 -0
  47. package/dist-es/commands/CreateIndexCommand.js +41 -0
  48. package/dist-es/commands/CreateViewCommand.js +41 -0
  49. package/dist-es/commands/DeleteIndexCommand.js +41 -0
  50. package/dist-es/commands/DeleteViewCommand.js +41 -0
  51. package/dist-es/commands/DisassociateDefaultViewCommand.js +40 -0
  52. package/dist-es/commands/GetDefaultViewCommand.js +41 -0
  53. package/dist-es/commands/GetIndexCommand.js +41 -0
  54. package/dist-es/commands/GetViewCommand.js +41 -0
  55. package/dist-es/commands/ListIndexesCommand.js +41 -0
  56. package/dist-es/commands/ListSupportedResourceTypesCommand.js +41 -0
  57. package/dist-es/commands/ListTagsForResourceCommand.js +41 -0
  58. package/dist-es/commands/ListViewsCommand.js +41 -0
  59. package/dist-es/commands/SearchCommand.js +41 -0
  60. package/dist-es/commands/TagResourceCommand.js +41 -0
  61. package/dist-es/commands/UntagResourceCommand.js +41 -0
  62. package/dist-es/commands/UpdateIndexTypeCommand.js +41 -0
  63. package/dist-es/commands/UpdateViewCommand.js +41 -0
  64. package/dist-es/commands/index.js +19 -0
  65. package/dist-es/endpoint/EndpointParameters.js +7 -0
  66. package/dist-es/endpoint/endpointResolver.js +8 -0
  67. package/dist-es/endpoint/ruleset.js +248 -0
  68. package/dist-es/index.js +6 -0
  69. package/dist-es/models/ResourceExplorer2ServiceException.js +7 -0
  70. package/dist-es/models/index.js +1 -0
  71. package/dist-es/models/models_0.js +262 -0
  72. package/dist-es/pagination/Interfaces.js +1 -0
  73. package/dist-es/pagination/ListIndexesPaginator.js +32 -0
  74. package/dist-es/pagination/ListSupportedResourceTypesPaginator.js +32 -0
  75. package/dist-es/pagination/ListViewsPaginator.js +32 -0
  76. package/dist-es/pagination/SearchPaginator.js +32 -0
  77. package/dist-es/pagination/index.js +5 -0
  78. package/dist-es/protocols/Aws_restJson1.js +1730 -0
  79. package/dist-es/runtimeConfig.browser.js +37 -0
  80. package/dist-es/runtimeConfig.js +45 -0
  81. package/dist-es/runtimeConfig.native.js +11 -0
  82. package/dist-es/runtimeConfig.shared.js +13 -0
  83. package/dist-types/ResourceExplorer2.d.ts +336 -0
  84. package/dist-types/ResourceExplorer2Client.d.ts +196 -0
  85. package/dist-types/commands/AssociateDefaultViewCommand.d.ts +43 -0
  86. package/dist-types/commands/BatchGetViewCommand.d.ts +37 -0
  87. package/dist-types/commands/CreateIndexCommand.d.ts +90 -0
  88. package/dist-types/commands/CreateViewCommand.d.ts +44 -0
  89. package/dist-types/commands/DeleteIndexCommand.d.ts +42 -0
  90. package/dist-types/commands/DeleteViewCommand.d.ts +40 -0
  91. package/dist-types/commands/DisassociateDefaultViewCommand.d.ts +41 -0
  92. package/dist-types/commands/GetDefaultViewCommand.d.ts +38 -0
  93. package/dist-types/commands/GetIndexCommand.d.ts +38 -0
  94. package/dist-types/commands/GetViewCommand.d.ts +37 -0
  95. package/dist-types/commands/ListIndexesCommand.d.ts +38 -0
  96. package/dist-types/commands/ListSupportedResourceTypesCommand.d.ts +37 -0
  97. package/dist-types/commands/ListTagsForResourceCommand.d.ts +37 -0
  98. package/dist-types/commands/ListViewsCommand.d.ts +46 -0
  99. package/dist-types/commands/SearchCommand.d.ts +49 -0
  100. package/dist-types/commands/TagResourceCommand.d.ts +37 -0
  101. package/dist-types/commands/UntagResourceCommand.d.ts +37 -0
  102. package/dist-types/commands/UpdateIndexTypeCommand.d.ts +93 -0
  103. package/dist-types/commands/UpdateViewCommand.d.ts +38 -0
  104. package/dist-types/commands/index.d.ts +19 -0
  105. package/dist-types/endpoint/EndpointParameters.d.ts +17 -0
  106. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  107. package/dist-types/endpoint/ruleset.d.ts +2 -0
  108. package/dist-types/index.d.ts +6 -0
  109. package/dist-types/models/ResourceExplorer2ServiceException.d.ts +10 -0
  110. package/dist-types/models/index.d.ts +1 -0
  111. package/dist-types/models/models_0.d.ts +1080 -0
  112. package/dist-types/pagination/Interfaces.d.ts +6 -0
  113. package/dist-types/pagination/ListIndexesPaginator.d.ts +4 -0
  114. package/dist-types/pagination/ListSupportedResourceTypesPaginator.d.ts +4 -0
  115. package/dist-types/pagination/ListViewsPaginator.d.ts +4 -0
  116. package/dist-types/pagination/SearchPaginator.d.ts +4 -0
  117. package/dist-types/pagination/index.d.ts +5 -0
  118. package/dist-types/protocols/Aws_restJson1.d.ts +59 -0
  119. package/dist-types/runtimeConfig.browser.d.ts +42 -0
  120. package/dist-types/runtimeConfig.d.ts +42 -0
  121. package/dist-types/runtimeConfig.native.d.ts +41 -0
  122. package/dist-types/runtimeConfig.shared.d.ts +17 -0
  123. package/dist-types/ts3.4/ResourceExplorer2.d.ts +327 -0
  124. package/dist-types/ts3.4/ResourceExplorer2Client.d.ts +226 -0
  125. package/dist-types/ts3.4/commands/AssociateDefaultViewCommand.d.ts +41 -0
  126. package/dist-types/ts3.4/commands/BatchGetViewCommand.d.ts +34 -0
  127. package/dist-types/ts3.4/commands/CreateIndexCommand.d.ts +34 -0
  128. package/dist-types/ts3.4/commands/CreateViewCommand.d.ts +34 -0
  129. package/dist-types/ts3.4/commands/DeleteIndexCommand.d.ts +34 -0
  130. package/dist-types/ts3.4/commands/DeleteViewCommand.d.ts +34 -0
  131. package/dist-types/ts3.4/commands/DisassociateDefaultViewCommand.d.ts +35 -0
  132. package/dist-types/ts3.4/commands/GetDefaultViewCommand.d.ts +34 -0
  133. package/dist-types/ts3.4/commands/GetIndexCommand.d.ts +34 -0
  134. package/dist-types/ts3.4/commands/GetViewCommand.d.ts +32 -0
  135. package/dist-types/ts3.4/commands/ListIndexesCommand.d.ts +34 -0
  136. package/dist-types/ts3.4/commands/ListSupportedResourceTypesCommand.d.ts +41 -0
  137. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +38 -0
  138. package/dist-types/ts3.4/commands/ListViewsCommand.d.ts +34 -0
  139. package/dist-types/ts3.4/commands/SearchCommand.d.ts +32 -0
  140. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +34 -0
  141. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +34 -0
  142. package/dist-types/ts3.4/commands/UpdateIndexTypeCommand.d.ts +37 -0
  143. package/dist-types/ts3.4/commands/UpdateViewCommand.d.ts +34 -0
  144. package/dist-types/ts3.4/commands/index.d.ts +19 -0
  145. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +32 -0
  146. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  147. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  148. package/dist-types/ts3.4/index.d.ts +6 -0
  149. package/dist-types/ts3.4/models/ResourceExplorer2ServiceException.d.ts +7 -0
  150. package/dist-types/ts3.4/models/index.d.ts +1 -0
  151. package/dist-types/ts3.4/models/models_0.d.ts +384 -0
  152. package/dist-types/ts3.4/pagination/Interfaces.d.ts +7 -0
  153. package/dist-types/ts3.4/pagination/ListIndexesPaginator.d.ts +11 -0
  154. package/dist-types/ts3.4/pagination/ListSupportedResourceTypesPaginator.d.ts +11 -0
  155. package/dist-types/ts3.4/pagination/ListViewsPaginator.d.ts +11 -0
  156. package/dist-types/ts3.4/pagination/SearchPaginator.d.ts +11 -0
  157. package/dist-types/ts3.4/pagination/index.d.ts +5 -0
  158. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +233 -0
  159. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +88 -0
  160. package/dist-types/ts3.4/runtimeConfig.d.ts +88 -0
  161. package/dist-types/ts3.4/runtimeConfig.native.d.ts +77 -0
  162. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +19 -0
  163. package/package.json +105 -0
@@ -0,0 +1,41 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { DeleteViewInputFilterSensitiveLog, DeleteViewOutputFilterSensitiveLog, } from "../models/models_0";
5
+ import { deserializeAws_restJson1DeleteViewCommand, serializeAws_restJson1DeleteViewCommand, } from "../protocols/Aws_restJson1";
6
+ export class DeleteViewCommand extends $Command {
7
+ constructor(input) {
8
+ super();
9
+ this.input = input;
10
+ }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ };
17
+ }
18
+ resolveMiddleware(clientStack, configuration, options) {
19
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
20
+ this.middlewareStack.use(getEndpointPlugin(configuration, DeleteViewCommand.getEndpointParameterInstructions()));
21
+ const stack = clientStack.concat(this.middlewareStack);
22
+ const { logger } = configuration;
23
+ const clientName = "ResourceExplorer2Client";
24
+ const commandName = "DeleteViewCommand";
25
+ const handlerExecutionContext = {
26
+ logger,
27
+ clientName,
28
+ commandName,
29
+ inputFilterSensitiveLog: DeleteViewInputFilterSensitiveLog,
30
+ outputFilterSensitiveLog: DeleteViewOutputFilterSensitiveLog,
31
+ };
32
+ const { requestHandler } = configuration;
33
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
+ }
35
+ serialize(input, context) {
36
+ return serializeAws_restJson1DeleteViewCommand(input, context);
37
+ }
38
+ deserialize(output, context) {
39
+ return deserializeAws_restJson1DeleteViewCommand(output, context);
40
+ }
41
+ }
@@ -0,0 +1,40 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { deserializeAws_restJson1DisassociateDefaultViewCommand, serializeAws_restJson1DisassociateDefaultViewCommand, } from "../protocols/Aws_restJson1";
5
+ export class DisassociateDefaultViewCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
9
+ }
10
+ static getEndpointParameterInstructions() {
11
+ return {
12
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
13
+ Endpoint: { type: "builtInParams", name: "endpoint" },
14
+ Region: { type: "builtInParams", name: "region" },
15
+ };
16
+ }
17
+ resolveMiddleware(clientStack, configuration, options) {
18
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
19
+ this.middlewareStack.use(getEndpointPlugin(configuration, DisassociateDefaultViewCommand.getEndpointParameterInstructions()));
20
+ const stack = clientStack.concat(this.middlewareStack);
21
+ const { logger } = configuration;
22
+ const clientName = "ResourceExplorer2Client";
23
+ const commandName = "DisassociateDefaultViewCommand";
24
+ const handlerExecutionContext = {
25
+ logger,
26
+ clientName,
27
+ commandName,
28
+ inputFilterSensitiveLog: (input) => input,
29
+ outputFilterSensitiveLog: (output) => output,
30
+ };
31
+ const { requestHandler } = configuration;
32
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
33
+ }
34
+ serialize(input, context) {
35
+ return serializeAws_restJson1DisassociateDefaultViewCommand(input, context);
36
+ }
37
+ deserialize(output, context) {
38
+ return deserializeAws_restJson1DisassociateDefaultViewCommand(output, context);
39
+ }
40
+ }
@@ -0,0 +1,41 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { GetDefaultViewOutputFilterSensitiveLog } from "../models/models_0";
5
+ import { deserializeAws_restJson1GetDefaultViewCommand, serializeAws_restJson1GetDefaultViewCommand, } from "../protocols/Aws_restJson1";
6
+ export class GetDefaultViewCommand extends $Command {
7
+ constructor(input) {
8
+ super();
9
+ this.input = input;
10
+ }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ };
17
+ }
18
+ resolveMiddleware(clientStack, configuration, options) {
19
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
20
+ this.middlewareStack.use(getEndpointPlugin(configuration, GetDefaultViewCommand.getEndpointParameterInstructions()));
21
+ const stack = clientStack.concat(this.middlewareStack);
22
+ const { logger } = configuration;
23
+ const clientName = "ResourceExplorer2Client";
24
+ const commandName = "GetDefaultViewCommand";
25
+ const handlerExecutionContext = {
26
+ logger,
27
+ clientName,
28
+ commandName,
29
+ inputFilterSensitiveLog: (input) => input,
30
+ outputFilterSensitiveLog: GetDefaultViewOutputFilterSensitiveLog,
31
+ };
32
+ const { requestHandler } = configuration;
33
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
+ }
35
+ serialize(input, context) {
36
+ return serializeAws_restJson1GetDefaultViewCommand(input, context);
37
+ }
38
+ deserialize(output, context) {
39
+ return deserializeAws_restJson1GetDefaultViewCommand(output, context);
40
+ }
41
+ }
@@ -0,0 +1,41 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { GetIndexOutputFilterSensitiveLog } from "../models/models_0";
5
+ import { deserializeAws_restJson1GetIndexCommand, serializeAws_restJson1GetIndexCommand, } from "../protocols/Aws_restJson1";
6
+ export class GetIndexCommand extends $Command {
7
+ constructor(input) {
8
+ super();
9
+ this.input = input;
10
+ }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ };
17
+ }
18
+ resolveMiddleware(clientStack, configuration, options) {
19
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
20
+ this.middlewareStack.use(getEndpointPlugin(configuration, GetIndexCommand.getEndpointParameterInstructions()));
21
+ const stack = clientStack.concat(this.middlewareStack);
22
+ const { logger } = configuration;
23
+ const clientName = "ResourceExplorer2Client";
24
+ const commandName = "GetIndexCommand";
25
+ const handlerExecutionContext = {
26
+ logger,
27
+ clientName,
28
+ commandName,
29
+ inputFilterSensitiveLog: (input) => input,
30
+ outputFilterSensitiveLog: GetIndexOutputFilterSensitiveLog,
31
+ };
32
+ const { requestHandler } = configuration;
33
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
+ }
35
+ serialize(input, context) {
36
+ return serializeAws_restJson1GetIndexCommand(input, context);
37
+ }
38
+ deserialize(output, context) {
39
+ return deserializeAws_restJson1GetIndexCommand(output, context);
40
+ }
41
+ }
@@ -0,0 +1,41 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { GetViewInputFilterSensitiveLog, GetViewOutputFilterSensitiveLog, } from "../models/models_0";
5
+ import { deserializeAws_restJson1GetViewCommand, serializeAws_restJson1GetViewCommand, } from "../protocols/Aws_restJson1";
6
+ export class GetViewCommand extends $Command {
7
+ constructor(input) {
8
+ super();
9
+ this.input = input;
10
+ }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ };
17
+ }
18
+ resolveMiddleware(clientStack, configuration, options) {
19
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
20
+ this.middlewareStack.use(getEndpointPlugin(configuration, GetViewCommand.getEndpointParameterInstructions()));
21
+ const stack = clientStack.concat(this.middlewareStack);
22
+ const { logger } = configuration;
23
+ const clientName = "ResourceExplorer2Client";
24
+ const commandName = "GetViewCommand";
25
+ const handlerExecutionContext = {
26
+ logger,
27
+ clientName,
28
+ commandName,
29
+ inputFilterSensitiveLog: GetViewInputFilterSensitiveLog,
30
+ outputFilterSensitiveLog: GetViewOutputFilterSensitiveLog,
31
+ };
32
+ const { requestHandler } = configuration;
33
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
+ }
35
+ serialize(input, context) {
36
+ return serializeAws_restJson1GetViewCommand(input, context);
37
+ }
38
+ deserialize(output, context) {
39
+ return deserializeAws_restJson1GetViewCommand(output, context);
40
+ }
41
+ }
@@ -0,0 +1,41 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { ListIndexesInputFilterSensitiveLog, ListIndexesOutputFilterSensitiveLog, } from "../models/models_0";
5
+ import { deserializeAws_restJson1ListIndexesCommand, serializeAws_restJson1ListIndexesCommand, } from "../protocols/Aws_restJson1";
6
+ export class ListIndexesCommand extends $Command {
7
+ constructor(input) {
8
+ super();
9
+ this.input = input;
10
+ }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ };
17
+ }
18
+ resolveMiddleware(clientStack, configuration, options) {
19
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
20
+ this.middlewareStack.use(getEndpointPlugin(configuration, ListIndexesCommand.getEndpointParameterInstructions()));
21
+ const stack = clientStack.concat(this.middlewareStack);
22
+ const { logger } = configuration;
23
+ const clientName = "ResourceExplorer2Client";
24
+ const commandName = "ListIndexesCommand";
25
+ const handlerExecutionContext = {
26
+ logger,
27
+ clientName,
28
+ commandName,
29
+ inputFilterSensitiveLog: ListIndexesInputFilterSensitiveLog,
30
+ outputFilterSensitiveLog: ListIndexesOutputFilterSensitiveLog,
31
+ };
32
+ const { requestHandler } = configuration;
33
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
+ }
35
+ serialize(input, context) {
36
+ return serializeAws_restJson1ListIndexesCommand(input, context);
37
+ }
38
+ deserialize(output, context) {
39
+ return deserializeAws_restJson1ListIndexesCommand(output, context);
40
+ }
41
+ }
@@ -0,0 +1,41 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { ListSupportedResourceTypesInputFilterSensitiveLog, ListSupportedResourceTypesOutputFilterSensitiveLog, } from "../models/models_0";
5
+ import { deserializeAws_restJson1ListSupportedResourceTypesCommand, serializeAws_restJson1ListSupportedResourceTypesCommand, } from "../protocols/Aws_restJson1";
6
+ export class ListSupportedResourceTypesCommand extends $Command {
7
+ constructor(input) {
8
+ super();
9
+ this.input = input;
10
+ }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ };
17
+ }
18
+ resolveMiddleware(clientStack, configuration, options) {
19
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
20
+ this.middlewareStack.use(getEndpointPlugin(configuration, ListSupportedResourceTypesCommand.getEndpointParameterInstructions()));
21
+ const stack = clientStack.concat(this.middlewareStack);
22
+ const { logger } = configuration;
23
+ const clientName = "ResourceExplorer2Client";
24
+ const commandName = "ListSupportedResourceTypesCommand";
25
+ const handlerExecutionContext = {
26
+ logger,
27
+ clientName,
28
+ commandName,
29
+ inputFilterSensitiveLog: ListSupportedResourceTypesInputFilterSensitiveLog,
30
+ outputFilterSensitiveLog: ListSupportedResourceTypesOutputFilterSensitiveLog,
31
+ };
32
+ const { requestHandler } = configuration;
33
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
+ }
35
+ serialize(input, context) {
36
+ return serializeAws_restJson1ListSupportedResourceTypesCommand(input, context);
37
+ }
38
+ deserialize(output, context) {
39
+ return deserializeAws_restJson1ListSupportedResourceTypesCommand(output, context);
40
+ }
41
+ }
@@ -0,0 +1,41 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { ListTagsForResourceInputFilterSensitiveLog, ListTagsForResourceOutputFilterSensitiveLog, } from "../models/models_0";
5
+ import { deserializeAws_restJson1ListTagsForResourceCommand, serializeAws_restJson1ListTagsForResourceCommand, } from "../protocols/Aws_restJson1";
6
+ export class ListTagsForResourceCommand extends $Command {
7
+ constructor(input) {
8
+ super();
9
+ this.input = input;
10
+ }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ };
17
+ }
18
+ resolveMiddleware(clientStack, configuration, options) {
19
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
20
+ this.middlewareStack.use(getEndpointPlugin(configuration, ListTagsForResourceCommand.getEndpointParameterInstructions()));
21
+ const stack = clientStack.concat(this.middlewareStack);
22
+ const { logger } = configuration;
23
+ const clientName = "ResourceExplorer2Client";
24
+ const commandName = "ListTagsForResourceCommand";
25
+ const handlerExecutionContext = {
26
+ logger,
27
+ clientName,
28
+ commandName,
29
+ inputFilterSensitiveLog: ListTagsForResourceInputFilterSensitiveLog,
30
+ outputFilterSensitiveLog: ListTagsForResourceOutputFilterSensitiveLog,
31
+ };
32
+ const { requestHandler } = configuration;
33
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
+ }
35
+ serialize(input, context) {
36
+ return serializeAws_restJson1ListTagsForResourceCommand(input, context);
37
+ }
38
+ deserialize(output, context) {
39
+ return deserializeAws_restJson1ListTagsForResourceCommand(output, context);
40
+ }
41
+ }
@@ -0,0 +1,41 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { ListViewsInputFilterSensitiveLog, ListViewsOutputFilterSensitiveLog, } from "../models/models_0";
5
+ import { deserializeAws_restJson1ListViewsCommand, serializeAws_restJson1ListViewsCommand, } from "../protocols/Aws_restJson1";
6
+ export class ListViewsCommand extends $Command {
7
+ constructor(input) {
8
+ super();
9
+ this.input = input;
10
+ }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ };
17
+ }
18
+ resolveMiddleware(clientStack, configuration, options) {
19
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
20
+ this.middlewareStack.use(getEndpointPlugin(configuration, ListViewsCommand.getEndpointParameterInstructions()));
21
+ const stack = clientStack.concat(this.middlewareStack);
22
+ const { logger } = configuration;
23
+ const clientName = "ResourceExplorer2Client";
24
+ const commandName = "ListViewsCommand";
25
+ const handlerExecutionContext = {
26
+ logger,
27
+ clientName,
28
+ commandName,
29
+ inputFilterSensitiveLog: ListViewsInputFilterSensitiveLog,
30
+ outputFilterSensitiveLog: ListViewsOutputFilterSensitiveLog,
31
+ };
32
+ const { requestHandler } = configuration;
33
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
+ }
35
+ serialize(input, context) {
36
+ return serializeAws_restJson1ListViewsCommand(input, context);
37
+ }
38
+ deserialize(output, context) {
39
+ return deserializeAws_restJson1ListViewsCommand(output, context);
40
+ }
41
+ }
@@ -0,0 +1,41 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { SearchInputFilterSensitiveLog, SearchOutputFilterSensitiveLog, } from "../models/models_0";
5
+ import { deserializeAws_restJson1SearchCommand, serializeAws_restJson1SearchCommand } from "../protocols/Aws_restJson1";
6
+ export class SearchCommand extends $Command {
7
+ constructor(input) {
8
+ super();
9
+ this.input = input;
10
+ }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ };
17
+ }
18
+ resolveMiddleware(clientStack, configuration, options) {
19
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
20
+ this.middlewareStack.use(getEndpointPlugin(configuration, SearchCommand.getEndpointParameterInstructions()));
21
+ const stack = clientStack.concat(this.middlewareStack);
22
+ const { logger } = configuration;
23
+ const clientName = "ResourceExplorer2Client";
24
+ const commandName = "SearchCommand";
25
+ const handlerExecutionContext = {
26
+ logger,
27
+ clientName,
28
+ commandName,
29
+ inputFilterSensitiveLog: SearchInputFilterSensitiveLog,
30
+ outputFilterSensitiveLog: SearchOutputFilterSensitiveLog,
31
+ };
32
+ const { requestHandler } = configuration;
33
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
+ }
35
+ serialize(input, context) {
36
+ return serializeAws_restJson1SearchCommand(input, context);
37
+ }
38
+ deserialize(output, context) {
39
+ return deserializeAws_restJson1SearchCommand(output, context);
40
+ }
41
+ }
@@ -0,0 +1,41 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { TagResourceInputFilterSensitiveLog, TagResourceOutputFilterSensitiveLog, } from "../models/models_0";
5
+ import { deserializeAws_restJson1TagResourceCommand, serializeAws_restJson1TagResourceCommand, } from "../protocols/Aws_restJson1";
6
+ export class TagResourceCommand extends $Command {
7
+ constructor(input) {
8
+ super();
9
+ this.input = input;
10
+ }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ };
17
+ }
18
+ resolveMiddleware(clientStack, configuration, options) {
19
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
20
+ this.middlewareStack.use(getEndpointPlugin(configuration, TagResourceCommand.getEndpointParameterInstructions()));
21
+ const stack = clientStack.concat(this.middlewareStack);
22
+ const { logger } = configuration;
23
+ const clientName = "ResourceExplorer2Client";
24
+ const commandName = "TagResourceCommand";
25
+ const handlerExecutionContext = {
26
+ logger,
27
+ clientName,
28
+ commandName,
29
+ inputFilterSensitiveLog: TagResourceInputFilterSensitiveLog,
30
+ outputFilterSensitiveLog: TagResourceOutputFilterSensitiveLog,
31
+ };
32
+ const { requestHandler } = configuration;
33
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
+ }
35
+ serialize(input, context) {
36
+ return serializeAws_restJson1TagResourceCommand(input, context);
37
+ }
38
+ deserialize(output, context) {
39
+ return deserializeAws_restJson1TagResourceCommand(output, context);
40
+ }
41
+ }
@@ -0,0 +1,41 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { UntagResourceInputFilterSensitiveLog, UntagResourceOutputFilterSensitiveLog, } from "../models/models_0";
5
+ import { deserializeAws_restJson1UntagResourceCommand, serializeAws_restJson1UntagResourceCommand, } from "../protocols/Aws_restJson1";
6
+ export class UntagResourceCommand extends $Command {
7
+ constructor(input) {
8
+ super();
9
+ this.input = input;
10
+ }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ };
17
+ }
18
+ resolveMiddleware(clientStack, configuration, options) {
19
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
20
+ this.middlewareStack.use(getEndpointPlugin(configuration, UntagResourceCommand.getEndpointParameterInstructions()));
21
+ const stack = clientStack.concat(this.middlewareStack);
22
+ const { logger } = configuration;
23
+ const clientName = "ResourceExplorer2Client";
24
+ const commandName = "UntagResourceCommand";
25
+ const handlerExecutionContext = {
26
+ logger,
27
+ clientName,
28
+ commandName,
29
+ inputFilterSensitiveLog: UntagResourceInputFilterSensitiveLog,
30
+ outputFilterSensitiveLog: UntagResourceOutputFilterSensitiveLog,
31
+ };
32
+ const { requestHandler } = configuration;
33
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
+ }
35
+ serialize(input, context) {
36
+ return serializeAws_restJson1UntagResourceCommand(input, context);
37
+ }
38
+ deserialize(output, context) {
39
+ return deserializeAws_restJson1UntagResourceCommand(output, context);
40
+ }
41
+ }
@@ -0,0 +1,41 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { UpdateIndexTypeInputFilterSensitiveLog, UpdateIndexTypeOutputFilterSensitiveLog, } from "../models/models_0";
5
+ import { deserializeAws_restJson1UpdateIndexTypeCommand, serializeAws_restJson1UpdateIndexTypeCommand, } from "../protocols/Aws_restJson1";
6
+ export class UpdateIndexTypeCommand extends $Command {
7
+ constructor(input) {
8
+ super();
9
+ this.input = input;
10
+ }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ };
17
+ }
18
+ resolveMiddleware(clientStack, configuration, options) {
19
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
20
+ this.middlewareStack.use(getEndpointPlugin(configuration, UpdateIndexTypeCommand.getEndpointParameterInstructions()));
21
+ const stack = clientStack.concat(this.middlewareStack);
22
+ const { logger } = configuration;
23
+ const clientName = "ResourceExplorer2Client";
24
+ const commandName = "UpdateIndexTypeCommand";
25
+ const handlerExecutionContext = {
26
+ logger,
27
+ clientName,
28
+ commandName,
29
+ inputFilterSensitiveLog: UpdateIndexTypeInputFilterSensitiveLog,
30
+ outputFilterSensitiveLog: UpdateIndexTypeOutputFilterSensitiveLog,
31
+ };
32
+ const { requestHandler } = configuration;
33
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
+ }
35
+ serialize(input, context) {
36
+ return serializeAws_restJson1UpdateIndexTypeCommand(input, context);
37
+ }
38
+ deserialize(output, context) {
39
+ return deserializeAws_restJson1UpdateIndexTypeCommand(output, context);
40
+ }
41
+ }
@@ -0,0 +1,41 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { UpdateViewInputFilterSensitiveLog, UpdateViewOutputFilterSensitiveLog, } from "../models/models_0";
5
+ import { deserializeAws_restJson1UpdateViewCommand, serializeAws_restJson1UpdateViewCommand, } from "../protocols/Aws_restJson1";
6
+ export class UpdateViewCommand extends $Command {
7
+ constructor(input) {
8
+ super();
9
+ this.input = input;
10
+ }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ };
17
+ }
18
+ resolveMiddleware(clientStack, configuration, options) {
19
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
20
+ this.middlewareStack.use(getEndpointPlugin(configuration, UpdateViewCommand.getEndpointParameterInstructions()));
21
+ const stack = clientStack.concat(this.middlewareStack);
22
+ const { logger } = configuration;
23
+ const clientName = "ResourceExplorer2Client";
24
+ const commandName = "UpdateViewCommand";
25
+ const handlerExecutionContext = {
26
+ logger,
27
+ clientName,
28
+ commandName,
29
+ inputFilterSensitiveLog: UpdateViewInputFilterSensitiveLog,
30
+ outputFilterSensitiveLog: UpdateViewOutputFilterSensitiveLog,
31
+ };
32
+ const { requestHandler } = configuration;
33
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
+ }
35
+ serialize(input, context) {
36
+ return serializeAws_restJson1UpdateViewCommand(input, context);
37
+ }
38
+ deserialize(output, context) {
39
+ return deserializeAws_restJson1UpdateViewCommand(output, context);
40
+ }
41
+ }
@@ -0,0 +1,19 @@
1
+ export * from "./AssociateDefaultViewCommand";
2
+ export * from "./BatchGetViewCommand";
3
+ export * from "./CreateIndexCommand";
4
+ export * from "./CreateViewCommand";
5
+ export * from "./DeleteIndexCommand";
6
+ export * from "./DeleteViewCommand";
7
+ export * from "./DisassociateDefaultViewCommand";
8
+ export * from "./GetDefaultViewCommand";
9
+ export * from "./GetIndexCommand";
10
+ export * from "./GetViewCommand";
11
+ export * from "./ListIndexesCommand";
12
+ export * from "./ListSupportedResourceTypesCommand";
13
+ export * from "./ListTagsForResourceCommand";
14
+ export * from "./ListViewsCommand";
15
+ export * from "./SearchCommand";
16
+ export * from "./TagResourceCommand";
17
+ export * from "./UntagResourceCommand";
18
+ export * from "./UpdateIndexTypeCommand";
19
+ export * from "./UpdateViewCommand";
@@ -0,0 +1,7 @@
1
+ export const resolveClientEndpointParameters = (options) => {
2
+ return {
3
+ ...options,
4
+ useFipsEndpoint: options.useFipsEndpoint ?? false,
5
+ defaultSigningName: "resource-explorer-2",
6
+ };
7
+ };
@@ -0,0 +1,8 @@
1
+ import { resolveEndpoint } from "@aws-sdk/util-endpoints";
2
+ import { ruleSet } from "./ruleset";
3
+ export const defaultEndpointResolver = (endpointParams, context = {}) => {
4
+ return resolveEndpoint(ruleSet, {
5
+ endpointParams: endpointParams,
6
+ logger: context.logger,
7
+ });
8
+ };