@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,37 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { GetViewInput, GetViewOutput } from "../models/models_0";
5
+ import { ResourceExplorer2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResourceExplorer2Client";
6
+ export interface GetViewCommandInput extends GetViewInput {
7
+ }
8
+ export interface GetViewCommandOutput extends GetViewOutput, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Retrieves details of the specified view.</p>
12
+ * @example
13
+ * Use a bare-bones client and the command you need to make an API call.
14
+ * ```javascript
15
+ * import { ResourceExplorer2Client, GetViewCommand } from "@aws-sdk/client-resource-explorer-2"; // ES Modules import
16
+ * // const { ResourceExplorer2Client, GetViewCommand } = require("@aws-sdk/client-resource-explorer-2"); // CommonJS import
17
+ * const client = new ResourceExplorer2Client(config);
18
+ * const command = new GetViewCommand(input);
19
+ * const response = await client.send(command);
20
+ * ```
21
+ *
22
+ * @see {@link GetViewCommandInput} for command's `input` shape.
23
+ * @see {@link GetViewCommandOutput} for command's `response` shape.
24
+ * @see {@link ResourceExplorer2ClientResolvedConfig | config} for ResourceExplorer2Client's `config` shape.
25
+ *
26
+ */
27
+ export declare class GetViewCommand extends $Command<GetViewCommandInput, GetViewCommandOutput, ResourceExplorer2ClientResolvedConfig> {
28
+ readonly input: GetViewCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: GetViewCommandInput);
31
+ /**
32
+ * @internal
33
+ */
34
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ResourceExplorer2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetViewCommandInput, GetViewCommandOutput>;
35
+ private serialize;
36
+ private deserialize;
37
+ }
@@ -0,0 +1,38 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { ListIndexesInput, ListIndexesOutput } from "../models/models_0";
5
+ import { ResourceExplorer2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResourceExplorer2Client";
6
+ export interface ListIndexesCommandInput extends ListIndexesInput {
7
+ }
8
+ export interface ListIndexesCommandOutput extends ListIndexesOutput, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Retrieves a list of all of the indexes in Amazon Web Services Regions that are currently collecting
12
+ * resource information for Amazon Web Services Resource Explorer.</p>
13
+ * @example
14
+ * Use a bare-bones client and the command you need to make an API call.
15
+ * ```javascript
16
+ * import { ResourceExplorer2Client, ListIndexesCommand } from "@aws-sdk/client-resource-explorer-2"; // ES Modules import
17
+ * // const { ResourceExplorer2Client, ListIndexesCommand } = require("@aws-sdk/client-resource-explorer-2"); // CommonJS import
18
+ * const client = new ResourceExplorer2Client(config);
19
+ * const command = new ListIndexesCommand(input);
20
+ * const response = await client.send(command);
21
+ * ```
22
+ *
23
+ * @see {@link ListIndexesCommandInput} for command's `input` shape.
24
+ * @see {@link ListIndexesCommandOutput} for command's `response` shape.
25
+ * @see {@link ResourceExplorer2ClientResolvedConfig | config} for ResourceExplorer2Client's `config` shape.
26
+ *
27
+ */
28
+ export declare class ListIndexesCommand extends $Command<ListIndexesCommandInput, ListIndexesCommandOutput, ResourceExplorer2ClientResolvedConfig> {
29
+ readonly input: ListIndexesCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
+ constructor(input: ListIndexesCommandInput);
32
+ /**
33
+ * @internal
34
+ */
35
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ResourceExplorer2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListIndexesCommandInput, ListIndexesCommandOutput>;
36
+ private serialize;
37
+ private deserialize;
38
+ }
@@ -0,0 +1,37 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { ListSupportedResourceTypesInput, ListSupportedResourceTypesOutput } from "../models/models_0";
5
+ import { ResourceExplorer2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResourceExplorer2Client";
6
+ export interface ListSupportedResourceTypesCommandInput extends ListSupportedResourceTypesInput {
7
+ }
8
+ export interface ListSupportedResourceTypesCommandOutput extends ListSupportedResourceTypesOutput, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Retrieves a list of all resource types currently supported by Amazon Web Services Resource Explorer.</p>
12
+ * @example
13
+ * Use a bare-bones client and the command you need to make an API call.
14
+ * ```javascript
15
+ * import { ResourceExplorer2Client, ListSupportedResourceTypesCommand } from "@aws-sdk/client-resource-explorer-2"; // ES Modules import
16
+ * // const { ResourceExplorer2Client, ListSupportedResourceTypesCommand } = require("@aws-sdk/client-resource-explorer-2"); // CommonJS import
17
+ * const client = new ResourceExplorer2Client(config);
18
+ * const command = new ListSupportedResourceTypesCommand(input);
19
+ * const response = await client.send(command);
20
+ * ```
21
+ *
22
+ * @see {@link ListSupportedResourceTypesCommandInput} for command's `input` shape.
23
+ * @see {@link ListSupportedResourceTypesCommandOutput} for command's `response` shape.
24
+ * @see {@link ResourceExplorer2ClientResolvedConfig | config} for ResourceExplorer2Client's `config` shape.
25
+ *
26
+ */
27
+ export declare class ListSupportedResourceTypesCommand extends $Command<ListSupportedResourceTypesCommandInput, ListSupportedResourceTypesCommandOutput, ResourceExplorer2ClientResolvedConfig> {
28
+ readonly input: ListSupportedResourceTypesCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: ListSupportedResourceTypesCommandInput);
31
+ /**
32
+ * @internal
33
+ */
34
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ResourceExplorer2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListSupportedResourceTypesCommandInput, ListSupportedResourceTypesCommandOutput>;
35
+ private serialize;
36
+ private deserialize;
37
+ }
@@ -0,0 +1,37 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { ListTagsForResourceInput, ListTagsForResourceOutput } from "../models/models_0";
5
+ import { ResourceExplorer2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResourceExplorer2Client";
6
+ export interface ListTagsForResourceCommandInput extends ListTagsForResourceInput {
7
+ }
8
+ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceOutput, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Lists the tags that are attached to the specified resource.</p>
12
+ * @example
13
+ * Use a bare-bones client and the command you need to make an API call.
14
+ * ```javascript
15
+ * import { ResourceExplorer2Client, ListTagsForResourceCommand } from "@aws-sdk/client-resource-explorer-2"; // ES Modules import
16
+ * // const { ResourceExplorer2Client, ListTagsForResourceCommand } = require("@aws-sdk/client-resource-explorer-2"); // CommonJS import
17
+ * const client = new ResourceExplorer2Client(config);
18
+ * const command = new ListTagsForResourceCommand(input);
19
+ * const response = await client.send(command);
20
+ * ```
21
+ *
22
+ * @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
23
+ * @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
24
+ * @see {@link ResourceExplorer2ClientResolvedConfig | config} for ResourceExplorer2Client's `config` shape.
25
+ *
26
+ */
27
+ export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, ResourceExplorer2ClientResolvedConfig> {
28
+ readonly input: ListTagsForResourceCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: ListTagsForResourceCommandInput);
31
+ /**
32
+ * @internal
33
+ */
34
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ResourceExplorer2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput>;
35
+ private serialize;
36
+ private deserialize;
37
+ }
@@ -0,0 +1,46 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { ListViewsInput, ListViewsOutput } from "../models/models_0";
5
+ import { ResourceExplorer2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResourceExplorer2Client";
6
+ export interface ListViewsCommandInput extends ListViewsInput {
7
+ }
8
+ export interface ListViewsCommandOutput extends ListViewsOutput, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Lists the <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon resource names (ARNs)</a> of the views available in the Amazon Web Services Region in which you
12
+ * call this operation.</p>
13
+ * <note>
14
+ * <p>Always check the <code>NextToken</code> response parameter
15
+ * for a <code>null</code> value when calling a paginated operation. These operations can
16
+ * occasionally return an empty set of results even when there are more results available. The
17
+ * <code>NextToken</code> response parameter value is <code>null</code>
18
+ * <i>only</i>
19
+ * when there are no more results to display.</p>
20
+ * </note>
21
+ * @example
22
+ * Use a bare-bones client and the command you need to make an API call.
23
+ * ```javascript
24
+ * import { ResourceExplorer2Client, ListViewsCommand } from "@aws-sdk/client-resource-explorer-2"; // ES Modules import
25
+ * // const { ResourceExplorer2Client, ListViewsCommand } = require("@aws-sdk/client-resource-explorer-2"); // CommonJS import
26
+ * const client = new ResourceExplorer2Client(config);
27
+ * const command = new ListViewsCommand(input);
28
+ * const response = await client.send(command);
29
+ * ```
30
+ *
31
+ * @see {@link ListViewsCommandInput} for command's `input` shape.
32
+ * @see {@link ListViewsCommandOutput} for command's `response` shape.
33
+ * @see {@link ResourceExplorer2ClientResolvedConfig | config} for ResourceExplorer2Client's `config` shape.
34
+ *
35
+ */
36
+ export declare class ListViewsCommand extends $Command<ListViewsCommandInput, ListViewsCommandOutput, ResourceExplorer2ClientResolvedConfig> {
37
+ readonly input: ListViewsCommandInput;
38
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
39
+ constructor(input: ListViewsCommandInput);
40
+ /**
41
+ * @internal
42
+ */
43
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ResourceExplorer2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListViewsCommandInput, ListViewsCommandOutput>;
44
+ private serialize;
45
+ private deserialize;
46
+ }
@@ -0,0 +1,49 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { SearchInput, SearchOutput } from "../models/models_0";
5
+ import { ResourceExplorer2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResourceExplorer2Client";
6
+ export interface SearchCommandInput extends SearchInput {
7
+ }
8
+ export interface SearchCommandOutput extends SearchOutput, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Searches for resources and displays details about all resources that match the
12
+ * specified criteria. You must specify a query string.</p>
13
+ * <p>All search queries must use a view. If you don't explicitly specify a view, then
14
+ * Amazon Web Services Resource Explorer uses the default view for the Amazon Web Services Region in which you call this operation.
15
+ * The results are the logical intersection of the results that match both the
16
+ * <code>QueryString</code> parameter supplied to this operation and the
17
+ * <code>SearchFilter</code> parameter attached to the view.</p>
18
+ * <p>For the complete syntax supported by the <code>QueryString</code> parameter, see
19
+ * <a href="https://docs.aws.amazon.com/resource-explorer/latest/APIReference/about-query-syntax.html">Search
20
+ * query syntax reference for Resource Explorer</a>.</p>
21
+ * <p>If your search results are empty, or are missing results that you think should be
22
+ * there, see <a href="https://docs.aws.amazon.com/resource-explorer/latest/userguide/troubleshooting_search.html">Troubleshooting Resource Explorer
23
+ * search</a>.</p>
24
+ * @example
25
+ * Use a bare-bones client and the command you need to make an API call.
26
+ * ```javascript
27
+ * import { ResourceExplorer2Client, SearchCommand } from "@aws-sdk/client-resource-explorer-2"; // ES Modules import
28
+ * // const { ResourceExplorer2Client, SearchCommand } = require("@aws-sdk/client-resource-explorer-2"); // CommonJS import
29
+ * const client = new ResourceExplorer2Client(config);
30
+ * const command = new SearchCommand(input);
31
+ * const response = await client.send(command);
32
+ * ```
33
+ *
34
+ * @see {@link SearchCommandInput} for command's `input` shape.
35
+ * @see {@link SearchCommandOutput} for command's `response` shape.
36
+ * @see {@link ResourceExplorer2ClientResolvedConfig | config} for ResourceExplorer2Client's `config` shape.
37
+ *
38
+ */
39
+ export declare class SearchCommand extends $Command<SearchCommandInput, SearchCommandOutput, ResourceExplorer2ClientResolvedConfig> {
40
+ readonly input: SearchCommandInput;
41
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
42
+ constructor(input: SearchCommandInput);
43
+ /**
44
+ * @internal
45
+ */
46
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ResourceExplorer2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<SearchCommandInput, SearchCommandOutput>;
47
+ private serialize;
48
+ private deserialize;
49
+ }
@@ -0,0 +1,37 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { TagResourceInput, TagResourceOutput } from "../models/models_0";
5
+ import { ResourceExplorer2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResourceExplorer2Client";
6
+ export interface TagResourceCommandInput extends TagResourceInput {
7
+ }
8
+ export interface TagResourceCommandOutput extends TagResourceOutput, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Adds one or more tag key and value pairs to an Amazon Web Services Resource Explorer view or index.</p>
12
+ * @example
13
+ * Use a bare-bones client and the command you need to make an API call.
14
+ * ```javascript
15
+ * import { ResourceExplorer2Client, TagResourceCommand } from "@aws-sdk/client-resource-explorer-2"; // ES Modules import
16
+ * // const { ResourceExplorer2Client, TagResourceCommand } = require("@aws-sdk/client-resource-explorer-2"); // CommonJS import
17
+ * const client = new ResourceExplorer2Client(config);
18
+ * const command = new TagResourceCommand(input);
19
+ * const response = await client.send(command);
20
+ * ```
21
+ *
22
+ * @see {@link TagResourceCommandInput} for command's `input` shape.
23
+ * @see {@link TagResourceCommandOutput} for command's `response` shape.
24
+ * @see {@link ResourceExplorer2ClientResolvedConfig | config} for ResourceExplorer2Client's `config` shape.
25
+ *
26
+ */
27
+ export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, ResourceExplorer2ClientResolvedConfig> {
28
+ readonly input: TagResourceCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: TagResourceCommandInput);
31
+ /**
32
+ * @internal
33
+ */
34
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ResourceExplorer2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<TagResourceCommandInput, TagResourceCommandOutput>;
35
+ private serialize;
36
+ private deserialize;
37
+ }
@@ -0,0 +1,37 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { UntagResourceInput, UntagResourceOutput } from "../models/models_0";
5
+ import { ResourceExplorer2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResourceExplorer2Client";
6
+ export interface UntagResourceCommandInput extends UntagResourceInput {
7
+ }
8
+ export interface UntagResourceCommandOutput extends UntagResourceOutput, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Removes one or more tag key and value pairs from an Amazon Web Services Resource Explorer view or index.</p>
12
+ * @example
13
+ * Use a bare-bones client and the command you need to make an API call.
14
+ * ```javascript
15
+ * import { ResourceExplorer2Client, UntagResourceCommand } from "@aws-sdk/client-resource-explorer-2"; // ES Modules import
16
+ * // const { ResourceExplorer2Client, UntagResourceCommand } = require("@aws-sdk/client-resource-explorer-2"); // CommonJS import
17
+ * const client = new ResourceExplorer2Client(config);
18
+ * const command = new UntagResourceCommand(input);
19
+ * const response = await client.send(command);
20
+ * ```
21
+ *
22
+ * @see {@link UntagResourceCommandInput} for command's `input` shape.
23
+ * @see {@link UntagResourceCommandOutput} for command's `response` shape.
24
+ * @see {@link ResourceExplorer2ClientResolvedConfig | config} for ResourceExplorer2Client's `config` shape.
25
+ *
26
+ */
27
+ export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, ResourceExplorer2ClientResolvedConfig> {
28
+ readonly input: UntagResourceCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: UntagResourceCommandInput);
31
+ /**
32
+ * @internal
33
+ */
34
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ResourceExplorer2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UntagResourceCommandInput, UntagResourceCommandOutput>;
35
+ private serialize;
36
+ private deserialize;
37
+ }
@@ -0,0 +1,93 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { UpdateIndexTypeInput, UpdateIndexTypeOutput } from "../models/models_0";
5
+ import { ResourceExplorer2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResourceExplorer2Client";
6
+ export interface UpdateIndexTypeCommandInput extends UpdateIndexTypeInput {
7
+ }
8
+ export interface UpdateIndexTypeCommandOutput extends UpdateIndexTypeOutput, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Changes the type of the index from one of the following types to the other. For more
12
+ * information about indexes and the role they perform in Amazon Web Services Resource Explorer, see <a href="https://docs.aws.amazon.com/arexug/mainline/manage-aggregator-region.html">Turning on
13
+ * cross-Region search by creating an aggregator index</a> in the
14
+ * <i>Amazon Web Services Resource Explorer User Guide</i>.</p>
15
+ * <ul>
16
+ * <li>
17
+ * <p>
18
+ * <b>
19
+ * <code>AGGREGATOR</code> index type</b>
20
+ * </p>
21
+ * <p>The index contains information about resources from all Amazon Web Services Regions in the
22
+ * Amazon Web Services account in which you've created a Resource Explorer index. Resource information from
23
+ * all other Regions is replicated to this Region's index.</p>
24
+ * <p>When you change the index type to <code>AGGREGATOR</code>, Resource Explorer turns on
25
+ * replication of all discovered resource information from the other Amazon Web Services Regions
26
+ * in your account to this index. You can then, from this Region only, perform
27
+ * resource search queries that span all Amazon Web Services Regions in the Amazon Web Services account.
28
+ * Turning on replication from all other Regions is performed by asynchronous
29
+ * background tasks. You can check the status of the asynchronous tasks by using
30
+ * the <a>GetIndex</a> operation. When the asynchronous tasks complete,
31
+ * the <code>Status</code> response of that operation changes from
32
+ * <code>UPDATING</code> to <code>ACTIVE</code>. After that, you can start to
33
+ * see results from other Amazon Web Services Regions in query results. However, it can take
34
+ * several hours for replication from all other Regions to complete.</p>
35
+ * <important>
36
+ * <p>You can have only one aggregator index per Amazon Web Services account. Before you can
37
+ * promote a different index to be the aggregator index for the account, you must
38
+ * first demote the existing aggregator index to type <code>LOCAL</code>.</p>
39
+ * </important>
40
+ * </li>
41
+ * <li>
42
+ * <p>
43
+ * <b>
44
+ * <code>LOCAL</code> index type</b>
45
+ * </p>
46
+ * <p>The index contains information about resources in only the Amazon Web Services Region in
47
+ * which the index exists. If an aggregator index in another Region exists, then
48
+ * information in this local index is replicated to the aggregator index.</p>
49
+ * <p>When you change the index type to <code>LOCAL</code>, Resource Explorer turns off the
50
+ * replication of resource information from all other Amazon Web Services Regions in the
51
+ * Amazon Web Services account to this Region. The aggregator index remains in the
52
+ * <code>UPDATING</code> state until all replication with other Regions
53
+ * successfully stops. You can check the status of the asynchronous task by using
54
+ * the <a>GetIndex</a> operation. When Resource Explorer successfully stops all
55
+ * replication with other Regions, the <code>Status</code> response of that
56
+ * operation changes from <code>UPDATING</code> to <code>ACTIVE</code>. Separately,
57
+ * the resource information from other Regions that was previously stored in the
58
+ * index is deleted within 30 days by another background task. Until that
59
+ * asynchronous task completes, some results from other Regions can continue to
60
+ * appear in search results.</p>
61
+ * <important>
62
+ * <p>After you demote an aggregator index to a local index, you must wait
63
+ * 24 hours before you can promote another index to be the new
64
+ * aggregator index for the account.</p>
65
+ * </important>
66
+ * </li>
67
+ * </ul>
68
+ * @example
69
+ * Use a bare-bones client and the command you need to make an API call.
70
+ * ```javascript
71
+ * import { ResourceExplorer2Client, UpdateIndexTypeCommand } from "@aws-sdk/client-resource-explorer-2"; // ES Modules import
72
+ * // const { ResourceExplorer2Client, UpdateIndexTypeCommand } = require("@aws-sdk/client-resource-explorer-2"); // CommonJS import
73
+ * const client = new ResourceExplorer2Client(config);
74
+ * const command = new UpdateIndexTypeCommand(input);
75
+ * const response = await client.send(command);
76
+ * ```
77
+ *
78
+ * @see {@link UpdateIndexTypeCommandInput} for command's `input` shape.
79
+ * @see {@link UpdateIndexTypeCommandOutput} for command's `response` shape.
80
+ * @see {@link ResourceExplorer2ClientResolvedConfig | config} for ResourceExplorer2Client's `config` shape.
81
+ *
82
+ */
83
+ export declare class UpdateIndexTypeCommand extends $Command<UpdateIndexTypeCommandInput, UpdateIndexTypeCommandOutput, ResourceExplorer2ClientResolvedConfig> {
84
+ readonly input: UpdateIndexTypeCommandInput;
85
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
86
+ constructor(input: UpdateIndexTypeCommandInput);
87
+ /**
88
+ * @internal
89
+ */
90
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ResourceExplorer2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateIndexTypeCommandInput, UpdateIndexTypeCommandOutput>;
91
+ private serialize;
92
+ private deserialize;
93
+ }
@@ -0,0 +1,38 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { UpdateViewInput, UpdateViewOutput } from "../models/models_0";
5
+ import { ResourceExplorer2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResourceExplorer2Client";
6
+ export interface UpdateViewCommandInput extends UpdateViewInput {
7
+ }
8
+ export interface UpdateViewCommandOutput extends UpdateViewOutput, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Modifies some of the details of a view. You can change the filter string and the list
12
+ * of included properties. You can't change the name of the view.</p>
13
+ * @example
14
+ * Use a bare-bones client and the command you need to make an API call.
15
+ * ```javascript
16
+ * import { ResourceExplorer2Client, UpdateViewCommand } from "@aws-sdk/client-resource-explorer-2"; // ES Modules import
17
+ * // const { ResourceExplorer2Client, UpdateViewCommand } = require("@aws-sdk/client-resource-explorer-2"); // CommonJS import
18
+ * const client = new ResourceExplorer2Client(config);
19
+ * const command = new UpdateViewCommand(input);
20
+ * const response = await client.send(command);
21
+ * ```
22
+ *
23
+ * @see {@link UpdateViewCommandInput} for command's `input` shape.
24
+ * @see {@link UpdateViewCommandOutput} for command's `response` shape.
25
+ * @see {@link ResourceExplorer2ClientResolvedConfig | config} for ResourceExplorer2Client's `config` shape.
26
+ *
27
+ */
28
+ export declare class UpdateViewCommand extends $Command<UpdateViewCommandInput, UpdateViewCommandOutput, ResourceExplorer2ClientResolvedConfig> {
29
+ readonly input: UpdateViewCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
+ constructor(input: UpdateViewCommandInput);
32
+ /**
33
+ * @internal
34
+ */
35
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ResourceExplorer2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateViewCommandInput, UpdateViewCommandOutput>;
36
+ private serialize;
37
+ private deserialize;
38
+ }
@@ -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,17 @@
1
+ import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@aws-sdk/types";
2
+ export interface ClientInputEndpointParameters {
3
+ region?: string | Provider<string>;
4
+ useFipsEndpoint?: boolean | Provider<boolean>;
5
+ endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
6
+ }
7
+ export declare type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
8
+ defaultSigningName: string;
9
+ };
10
+ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientInputEndpointParameters & {
11
+ defaultSigningName: string;
12
+ };
13
+ export interface EndpointParameters extends __EndpointParameters {
14
+ Region?: string;
15
+ UseFIPS?: boolean;
16
+ Endpoint?: string;
17
+ }
@@ -0,0 +1,5 @@
1
+ import { EndpointV2, Logger } from "@aws-sdk/types";
2
+ import { EndpointParameters } from "./EndpointParameters";
3
+ export declare const defaultEndpointResolver: (endpointParams: EndpointParameters, context?: {
4
+ logger?: Logger;
5
+ }) => EndpointV2;
@@ -0,0 +1,2 @@
1
+ import { RuleSetObject } from "@aws-sdk/util-endpoints";
2
+ export declare const ruleSet: RuleSetObject;
@@ -0,0 +1,6 @@
1
+ export * from "./ResourceExplorer2";
2
+ export * from "./ResourceExplorer2Client";
3
+ export * from "./commands";
4
+ export * from "./models";
5
+ export * from "./pagination";
6
+ export { ResourceExplorer2ServiceException } from "./models/ResourceExplorer2ServiceException";
@@ -0,0 +1,10 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+ /**
3
+ * Base exception class for all service exceptions from ResourceExplorer2 service.
4
+ */
5
+ export declare class ResourceExplorer2ServiceException extends __ServiceException {
6
+ /**
7
+ * @internal
8
+ */
9
+ constructor(options: __ServiceExceptionOptions);
10
+ }
@@ -0,0 +1 @@
1
+ export * from "./models_0";