@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.
- package/LICENSE +201 -0
- package/README.md +241 -0
- package/dist-cjs/ResourceExplorer2.js +292 -0
- package/dist-cjs/ResourceExplorer2Client.js +40 -0
- package/dist-cjs/commands/AssociateDefaultViewCommand.js +45 -0
- package/dist-cjs/commands/BatchGetViewCommand.js +45 -0
- package/dist-cjs/commands/CreateIndexCommand.js +45 -0
- package/dist-cjs/commands/CreateViewCommand.js +45 -0
- package/dist-cjs/commands/DeleteIndexCommand.js +45 -0
- package/dist-cjs/commands/DeleteViewCommand.js +45 -0
- package/dist-cjs/commands/DisassociateDefaultViewCommand.js +44 -0
- package/dist-cjs/commands/GetDefaultViewCommand.js +45 -0
- package/dist-cjs/commands/GetIndexCommand.js +45 -0
- package/dist-cjs/commands/GetViewCommand.js +45 -0
- package/dist-cjs/commands/ListIndexesCommand.js +45 -0
- package/dist-cjs/commands/ListSupportedResourceTypesCommand.js +45 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +45 -0
- package/dist-cjs/commands/ListViewsCommand.js +45 -0
- package/dist-cjs/commands/SearchCommand.js +45 -0
- package/dist-cjs/commands/TagResourceCommand.js +45 -0
- package/dist-cjs/commands/UntagResourceCommand.js +45 -0
- package/dist-cjs/commands/UpdateIndexTypeCommand.js +45 -0
- package/dist-cjs/commands/UpdateViewCommand.js +45 -0
- package/dist-cjs/commands/index.js +22 -0
- package/dist-cjs/endpoint/EndpointParameters.js +11 -0
- package/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +251 -0
- package/dist-cjs/index.js +11 -0
- package/dist-cjs/models/ResourceExplorer2ServiceException.js +11 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +318 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListIndexesPaginator.js +36 -0
- package/dist-cjs/pagination/ListSupportedResourceTypesPaginator.js +36 -0
- package/dist-cjs/pagination/ListViewsPaginator.js +36 -0
- package/dist-cjs/pagination/SearchPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +8 -0
- package/dist-cjs/protocols/Aws_restJson1.js +1771 -0
- package/dist-cjs/runtimeConfig.browser.js +42 -0
- package/dist-cjs/runtimeConfig.js +50 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +17 -0
- package/dist-es/ResourceExplorer2.js +288 -0
- package/dist-es/ResourceExplorer2Client.js +36 -0
- package/dist-es/commands/AssociateDefaultViewCommand.js +41 -0
- package/dist-es/commands/BatchGetViewCommand.js +41 -0
- package/dist-es/commands/CreateIndexCommand.js +41 -0
- package/dist-es/commands/CreateViewCommand.js +41 -0
- package/dist-es/commands/DeleteIndexCommand.js +41 -0
- package/dist-es/commands/DeleteViewCommand.js +41 -0
- package/dist-es/commands/DisassociateDefaultViewCommand.js +40 -0
- package/dist-es/commands/GetDefaultViewCommand.js +41 -0
- package/dist-es/commands/GetIndexCommand.js +41 -0
- package/dist-es/commands/GetViewCommand.js +41 -0
- package/dist-es/commands/ListIndexesCommand.js +41 -0
- package/dist-es/commands/ListSupportedResourceTypesCommand.js +41 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +41 -0
- package/dist-es/commands/ListViewsCommand.js +41 -0
- package/dist-es/commands/SearchCommand.js +41 -0
- package/dist-es/commands/TagResourceCommand.js +41 -0
- package/dist-es/commands/UntagResourceCommand.js +41 -0
- package/dist-es/commands/UpdateIndexTypeCommand.js +41 -0
- package/dist-es/commands/UpdateViewCommand.js +41 -0
- package/dist-es/commands/index.js +19 -0
- package/dist-es/endpoint/EndpointParameters.js +7 -0
- package/dist-es/endpoint/endpointResolver.js +8 -0
- package/dist-es/endpoint/ruleset.js +248 -0
- package/dist-es/index.js +6 -0
- package/dist-es/models/ResourceExplorer2ServiceException.js +7 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +262 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListIndexesPaginator.js +32 -0
- package/dist-es/pagination/ListSupportedResourceTypesPaginator.js +32 -0
- package/dist-es/pagination/ListViewsPaginator.js +32 -0
- package/dist-es/pagination/SearchPaginator.js +32 -0
- package/dist-es/pagination/index.js +5 -0
- package/dist-es/protocols/Aws_restJson1.js +1730 -0
- package/dist-es/runtimeConfig.browser.js +37 -0
- package/dist-es/runtimeConfig.js +45 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +13 -0
- package/dist-types/ResourceExplorer2.d.ts +336 -0
- package/dist-types/ResourceExplorer2Client.d.ts +196 -0
- package/dist-types/commands/AssociateDefaultViewCommand.d.ts +43 -0
- package/dist-types/commands/BatchGetViewCommand.d.ts +37 -0
- package/dist-types/commands/CreateIndexCommand.d.ts +90 -0
- package/dist-types/commands/CreateViewCommand.d.ts +44 -0
- package/dist-types/commands/DeleteIndexCommand.d.ts +42 -0
- package/dist-types/commands/DeleteViewCommand.d.ts +40 -0
- package/dist-types/commands/DisassociateDefaultViewCommand.d.ts +41 -0
- package/dist-types/commands/GetDefaultViewCommand.d.ts +38 -0
- package/dist-types/commands/GetIndexCommand.d.ts +38 -0
- package/dist-types/commands/GetViewCommand.d.ts +37 -0
- package/dist-types/commands/ListIndexesCommand.d.ts +38 -0
- package/dist-types/commands/ListSupportedResourceTypesCommand.d.ts +37 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +37 -0
- package/dist-types/commands/ListViewsCommand.d.ts +46 -0
- package/dist-types/commands/SearchCommand.d.ts +49 -0
- package/dist-types/commands/TagResourceCommand.d.ts +37 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +37 -0
- package/dist-types/commands/UpdateIndexTypeCommand.d.ts +93 -0
- package/dist-types/commands/UpdateViewCommand.d.ts +38 -0
- package/dist-types/commands/index.d.ts +19 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +17 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/index.d.ts +6 -0
- package/dist-types/models/ResourceExplorer2ServiceException.d.ts +10 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +1080 -0
- package/dist-types/pagination/Interfaces.d.ts +6 -0
- package/dist-types/pagination/ListIndexesPaginator.d.ts +4 -0
- package/dist-types/pagination/ListSupportedResourceTypesPaginator.d.ts +4 -0
- package/dist-types/pagination/ListViewsPaginator.d.ts +4 -0
- package/dist-types/pagination/SearchPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +5 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +59 -0
- package/dist-types/runtimeConfig.browser.d.ts +42 -0
- package/dist-types/runtimeConfig.d.ts +42 -0
- package/dist-types/runtimeConfig.native.d.ts +41 -0
- package/dist-types/runtimeConfig.shared.d.ts +17 -0
- package/dist-types/ts3.4/ResourceExplorer2.d.ts +327 -0
- package/dist-types/ts3.4/ResourceExplorer2Client.d.ts +226 -0
- package/dist-types/ts3.4/commands/AssociateDefaultViewCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/BatchGetViewCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/CreateIndexCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/CreateViewCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/DeleteIndexCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/DeleteViewCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/DisassociateDefaultViewCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetDefaultViewCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/GetIndexCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/GetViewCommand.d.ts +32 -0
- package/dist-types/ts3.4/commands/ListIndexesCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/ListSupportedResourceTypesCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListViewsCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/SearchCommand.d.ts +32 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/UpdateIndexTypeCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/UpdateViewCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/index.d.ts +19 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +32 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +6 -0
- package/dist-types/ts3.4/models/ResourceExplorer2ServiceException.d.ts +7 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +384 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +7 -0
- package/dist-types/ts3.4/pagination/ListIndexesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListSupportedResourceTypesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListViewsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/SearchPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +5 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +233 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +88 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +88 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +77 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +19 -0
- package/package.json +105 -0
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
import { RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
|
|
2
|
+
import { EndpointInputConfig, EndpointResolvedConfig } from "@aws-sdk/middleware-endpoint";
|
|
3
|
+
import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
4
|
+
import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
|
|
5
|
+
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
6
|
+
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
7
|
+
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
8
|
+
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
9
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
10
|
+
import { AssociateDefaultViewCommandInput, AssociateDefaultViewCommandOutput } from "./commands/AssociateDefaultViewCommand";
|
|
11
|
+
import { BatchGetViewCommandInput, BatchGetViewCommandOutput } from "./commands/BatchGetViewCommand";
|
|
12
|
+
import { CreateIndexCommandInput, CreateIndexCommandOutput } from "./commands/CreateIndexCommand";
|
|
13
|
+
import { CreateViewCommandInput, CreateViewCommandOutput } from "./commands/CreateViewCommand";
|
|
14
|
+
import { DeleteIndexCommandInput, DeleteIndexCommandOutput } from "./commands/DeleteIndexCommand";
|
|
15
|
+
import { DeleteViewCommandInput, DeleteViewCommandOutput } from "./commands/DeleteViewCommand";
|
|
16
|
+
import { DisassociateDefaultViewCommandInput, DisassociateDefaultViewCommandOutput } from "./commands/DisassociateDefaultViewCommand";
|
|
17
|
+
import { GetDefaultViewCommandInput, GetDefaultViewCommandOutput } from "./commands/GetDefaultViewCommand";
|
|
18
|
+
import { GetIndexCommandInput, GetIndexCommandOutput } from "./commands/GetIndexCommand";
|
|
19
|
+
import { GetViewCommandInput, GetViewCommandOutput } from "./commands/GetViewCommand";
|
|
20
|
+
import { ListIndexesCommandInput, ListIndexesCommandOutput } from "./commands/ListIndexesCommand";
|
|
21
|
+
import { ListSupportedResourceTypesCommandInput, ListSupportedResourceTypesCommandOutput } from "./commands/ListSupportedResourceTypesCommand";
|
|
22
|
+
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
23
|
+
import { ListViewsCommandInput, ListViewsCommandOutput } from "./commands/ListViewsCommand";
|
|
24
|
+
import { SearchCommandInput, SearchCommandOutput } from "./commands/SearchCommand";
|
|
25
|
+
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
26
|
+
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
27
|
+
import { UpdateIndexTypeCommandInput, UpdateIndexTypeCommandOutput } from "./commands/UpdateIndexTypeCommand";
|
|
28
|
+
import { UpdateViewCommandInput, UpdateViewCommandOutput } from "./commands/UpdateViewCommand";
|
|
29
|
+
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
30
|
+
export declare type ServiceInputTypes = AssociateDefaultViewCommandInput | BatchGetViewCommandInput | CreateIndexCommandInput | CreateViewCommandInput | DeleteIndexCommandInput | DeleteViewCommandInput | DisassociateDefaultViewCommandInput | GetDefaultViewCommandInput | GetIndexCommandInput | GetViewCommandInput | ListIndexesCommandInput | ListSupportedResourceTypesCommandInput | ListTagsForResourceCommandInput | ListViewsCommandInput | SearchCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateIndexTypeCommandInput | UpdateViewCommandInput;
|
|
31
|
+
export declare type ServiceOutputTypes = AssociateDefaultViewCommandOutput | BatchGetViewCommandOutput | CreateIndexCommandOutput | CreateViewCommandOutput | DeleteIndexCommandOutput | DeleteViewCommandOutput | DisassociateDefaultViewCommandOutput | GetDefaultViewCommandOutput | GetIndexCommandOutput | GetViewCommandOutput | ListIndexesCommandOutput | ListSupportedResourceTypesCommandOutput | ListTagsForResourceCommandOutput | ListViewsCommandOutput | SearchCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateIndexTypeCommandOutput | UpdateViewCommandOutput;
|
|
32
|
+
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
33
|
+
/**
|
|
34
|
+
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
35
|
+
*/
|
|
36
|
+
requestHandler?: __HttpHandler;
|
|
37
|
+
/**
|
|
38
|
+
* A constructor for a class implementing the {@link __Hash} interface
|
|
39
|
+
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
40
|
+
* @internal
|
|
41
|
+
*/
|
|
42
|
+
sha256?: __HashConstructor;
|
|
43
|
+
/**
|
|
44
|
+
* The function that will be used to convert strings into HTTP endpoints.
|
|
45
|
+
* @internal
|
|
46
|
+
*/
|
|
47
|
+
urlParser?: __UrlParser;
|
|
48
|
+
/**
|
|
49
|
+
* A function that can calculate the length of a request body.
|
|
50
|
+
* @internal
|
|
51
|
+
*/
|
|
52
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
53
|
+
/**
|
|
54
|
+
* A function that converts a stream into an array of bytes.
|
|
55
|
+
* @internal
|
|
56
|
+
*/
|
|
57
|
+
streamCollector?: __StreamCollector;
|
|
58
|
+
/**
|
|
59
|
+
* The function that will be used to convert a base64-encoded string to a byte array.
|
|
60
|
+
* @internal
|
|
61
|
+
*/
|
|
62
|
+
base64Decoder?: __Decoder;
|
|
63
|
+
/**
|
|
64
|
+
* The function that will be used to convert binary data to a base64-encoded string.
|
|
65
|
+
* @internal
|
|
66
|
+
*/
|
|
67
|
+
base64Encoder?: __Encoder;
|
|
68
|
+
/**
|
|
69
|
+
* The function that will be used to convert a UTF8-encoded string to a byte array.
|
|
70
|
+
* @internal
|
|
71
|
+
*/
|
|
72
|
+
utf8Decoder?: __Decoder;
|
|
73
|
+
/**
|
|
74
|
+
* The function that will be used to convert binary data to a UTF-8 encoded string.
|
|
75
|
+
* @internal
|
|
76
|
+
*/
|
|
77
|
+
utf8Encoder?: __Encoder;
|
|
78
|
+
/**
|
|
79
|
+
* The runtime environment.
|
|
80
|
+
* @internal
|
|
81
|
+
*/
|
|
82
|
+
runtime?: string;
|
|
83
|
+
/**
|
|
84
|
+
* Disable dyanamically changing the endpoint of the client based on the hostPrefix
|
|
85
|
+
* trait of an operation.
|
|
86
|
+
*/
|
|
87
|
+
disableHostPrefix?: boolean;
|
|
88
|
+
/**
|
|
89
|
+
* Value for how many times a request will be made at most in case of retry.
|
|
90
|
+
*/
|
|
91
|
+
maxAttempts?: number | __Provider<number>;
|
|
92
|
+
/**
|
|
93
|
+
* Specifies which retry algorithm to use.
|
|
94
|
+
*/
|
|
95
|
+
retryMode?: string | __Provider<string>;
|
|
96
|
+
/**
|
|
97
|
+
* Optional logger for logging debug/info/warn/error.
|
|
98
|
+
*/
|
|
99
|
+
logger?: __Logger;
|
|
100
|
+
/**
|
|
101
|
+
* Enables IPv6/IPv4 dualstack endpoint.
|
|
102
|
+
*/
|
|
103
|
+
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
104
|
+
/**
|
|
105
|
+
* Enables FIPS compatible endpoints.
|
|
106
|
+
*/
|
|
107
|
+
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
108
|
+
/**
|
|
109
|
+
* Unique service identifier.
|
|
110
|
+
* @internal
|
|
111
|
+
*/
|
|
112
|
+
serviceId?: string;
|
|
113
|
+
/**
|
|
114
|
+
* The AWS region to which this client will send requests
|
|
115
|
+
*/
|
|
116
|
+
region?: string | __Provider<string>;
|
|
117
|
+
/**
|
|
118
|
+
* Default credentials provider; Not available in browser runtime.
|
|
119
|
+
* @internal
|
|
120
|
+
*/
|
|
121
|
+
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
122
|
+
/**
|
|
123
|
+
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
124
|
+
* @internal
|
|
125
|
+
*/
|
|
126
|
+
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
127
|
+
/**
|
|
128
|
+
* The {@link DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
129
|
+
*/
|
|
130
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
131
|
+
}
|
|
132
|
+
declare type ResourceExplorer2ClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
|
|
133
|
+
/**
|
|
134
|
+
* The configuration interface of ResourceExplorer2Client class constructor that set the region, credentials and other options.
|
|
135
|
+
*/
|
|
136
|
+
export interface ResourceExplorer2ClientConfig extends ResourceExplorer2ClientConfigType {
|
|
137
|
+
}
|
|
138
|
+
declare type ResourceExplorer2ClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
|
|
139
|
+
/**
|
|
140
|
+
* The resolved configuration interface of ResourceExplorer2Client class. This is resolved and normalized from the {@link ResourceExplorer2ClientConfig | constructor configuration interface}.
|
|
141
|
+
*/
|
|
142
|
+
export interface ResourceExplorer2ClientResolvedConfig extends ResourceExplorer2ClientResolvedConfigType {
|
|
143
|
+
}
|
|
144
|
+
/**
|
|
145
|
+
* <p>Amazon Web Services Resource Explorer is a resource search and discovery service. By using Resource Explorer, you can
|
|
146
|
+
* explore your resources using an internet search engine-like experience. Examples of
|
|
147
|
+
* resources include Amazon Relational Database Service (Amazon RDS) instances, Amazon Simple Storage Service (Amazon S3) buckets, or Amazon DynamoDB
|
|
148
|
+
* tables. You can search for your resources using resource metadata like names, tags, and
|
|
149
|
+
* IDs. Resource Explorer can search across all of the Amazon Web Services Regions in your account in which you turn
|
|
150
|
+
* the service on, to simplify your cross-Region workloads.</p>
|
|
151
|
+
* <p>Resource Explorer scans the resources in each of the Amazon Web Services Regions in your Amazon Web Services account in which
|
|
152
|
+
* you turn on Resource Explorer. Resource Explorer <a href="https://docs.aws.amazon.com/arexug/mainline/getting-started-terms-and-concepts.html#term-index">creates and
|
|
153
|
+
* maintains an index</a> in each Region, with the details of that Region's
|
|
154
|
+
* resources.</p>
|
|
155
|
+
* <p>You can <a href="https://docs.aws.amazon.com/arexug/mainline/manage-aggregator-region.html">search across all of the indexed
|
|
156
|
+
* Regions in your account</a> by designating one of your Amazon Web Services Regions to contain
|
|
157
|
+
* the aggregator index for the account. When you <a href="https://docs.aws.amazon.com/arexug/mainline/manage-aggregator-region-turn-on.html">promote a local index in
|
|
158
|
+
* a Region to become the aggregator index for the account</a>, Resource Explorer automatically
|
|
159
|
+
* replicates the index information from all local indexes in the other Regions to the
|
|
160
|
+
* aggregator index. Therefore, the Region with the aggregator index has a copy of all resource
|
|
161
|
+
* information for all Regions in the account where you turned on Resource Explorer. As a result,
|
|
162
|
+
* views in the aggregator index Region include resources from all of the indexed Regions in your
|
|
163
|
+
* account.</p>
|
|
164
|
+
*
|
|
165
|
+
* <p>For more information about Amazon Web Services Resource Explorer, including how to enable and configure the
|
|
166
|
+
* service, see the <a href="https://docs.aws.amazon.com/resource-explorer/latest/userguide/">Amazon Web Services Resource Explorer User Guide</a>.</p>
|
|
167
|
+
* <note>
|
|
168
|
+
* <p>The example HTTP query requests and responses in this guide are displayed with the
|
|
169
|
+
* <a href="https://json.org">JSON</a> formatted across multiple lines for
|
|
170
|
+
* readability. The actual query responses from the Resource Explorer service do not include this
|
|
171
|
+
* extra whitespace.</p>
|
|
172
|
+
* </note>
|
|
173
|
+
* <p>
|
|
174
|
+
* <b>We want your feedback about this documentation</b>
|
|
175
|
+
* </p>
|
|
176
|
+
* <p>Our goal is to help you get everything you can from Resource Explorer. If this guide helps you to
|
|
177
|
+
* do that, then let us know. If the guide isn't helping you, then we want to hear from you
|
|
178
|
+
* so we can address the issue. Use the <b>Feedback</b> link
|
|
179
|
+
* that's in the upper-right corner of every page. That sends your comments directly to the
|
|
180
|
+
* writers of this guide. We review every submission, looking for opportunities to improve
|
|
181
|
+
* the documentation. Thank you in advance for your help!</p>
|
|
182
|
+
*/
|
|
183
|
+
export declare class ResourceExplorer2Client extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, ResourceExplorer2ClientResolvedConfig> {
|
|
184
|
+
/**
|
|
185
|
+
* The resolved configuration of ResourceExplorer2Client class. This is resolved and normalized from the {@link ResourceExplorer2ClientConfig | constructor configuration interface}.
|
|
186
|
+
*/
|
|
187
|
+
readonly config: ResourceExplorer2ClientResolvedConfig;
|
|
188
|
+
constructor(configuration: ResourceExplorer2ClientConfig);
|
|
189
|
+
/**
|
|
190
|
+
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
191
|
+
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
192
|
+
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
193
|
+
*/
|
|
194
|
+
destroy(): void;
|
|
195
|
+
}
|
|
196
|
+
export {};
|
|
@@ -0,0 +1,43 @@
|
|
|
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 { AssociateDefaultViewInput, AssociateDefaultViewOutput } from "../models/models_0";
|
|
5
|
+
import { ResourceExplorer2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResourceExplorer2Client";
|
|
6
|
+
export interface AssociateDefaultViewCommandInput extends AssociateDefaultViewInput {
|
|
7
|
+
}
|
|
8
|
+
export interface AssociateDefaultViewCommandOutput extends AssociateDefaultViewOutput, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Sets the specified view as the default for the Amazon Web Services Region in which you call this
|
|
12
|
+
* operation. When a user performs a <a>Search</a> that doesn't explicitly
|
|
13
|
+
* specify which view to use, then Amazon Web Services Resource Explorer automatically chooses this default view for
|
|
14
|
+
* searches performed in this Amazon Web Services Region.</p>
|
|
15
|
+
* <p>If an Amazon Web Services Region doesn't have a default view
|
|
16
|
+
* configured, then users must explicitly specify a view with every <code>Search</code>
|
|
17
|
+
* operation performed in that Region.</p>
|
|
18
|
+
* @example
|
|
19
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
20
|
+
* ```javascript
|
|
21
|
+
* import { ResourceExplorer2Client, AssociateDefaultViewCommand } from "@aws-sdk/client-resource-explorer-2"; // ES Modules import
|
|
22
|
+
* // const { ResourceExplorer2Client, AssociateDefaultViewCommand } = require("@aws-sdk/client-resource-explorer-2"); // CommonJS import
|
|
23
|
+
* const client = new ResourceExplorer2Client(config);
|
|
24
|
+
* const command = new AssociateDefaultViewCommand(input);
|
|
25
|
+
* const response = await client.send(command);
|
|
26
|
+
* ```
|
|
27
|
+
*
|
|
28
|
+
* @see {@link AssociateDefaultViewCommandInput} for command's `input` shape.
|
|
29
|
+
* @see {@link AssociateDefaultViewCommandOutput} for command's `response` shape.
|
|
30
|
+
* @see {@link ResourceExplorer2ClientResolvedConfig | config} for ResourceExplorer2Client's `config` shape.
|
|
31
|
+
*
|
|
32
|
+
*/
|
|
33
|
+
export declare class AssociateDefaultViewCommand extends $Command<AssociateDefaultViewCommandInput, AssociateDefaultViewCommandOutput, ResourceExplorer2ClientResolvedConfig> {
|
|
34
|
+
readonly input: AssociateDefaultViewCommandInput;
|
|
35
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
36
|
+
constructor(input: AssociateDefaultViewCommandInput);
|
|
37
|
+
/**
|
|
38
|
+
* @internal
|
|
39
|
+
*/
|
|
40
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ResourceExplorer2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AssociateDefaultViewCommandInput, AssociateDefaultViewCommandOutput>;
|
|
41
|
+
private serialize;
|
|
42
|
+
private deserialize;
|
|
43
|
+
}
|
|
@@ -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 { BatchGetViewInput, BatchGetViewOutput } from "../models/models_0";
|
|
5
|
+
import { ResourceExplorer2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResourceExplorer2Client";
|
|
6
|
+
export interface BatchGetViewCommandInput extends BatchGetViewInput {
|
|
7
|
+
}
|
|
8
|
+
export interface BatchGetViewCommandOutput extends BatchGetViewOutput, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Retrieves details about a list of views.</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { ResourceExplorer2Client, BatchGetViewCommand } from "@aws-sdk/client-resource-explorer-2"; // ES Modules import
|
|
16
|
+
* // const { ResourceExplorer2Client, BatchGetViewCommand } = require("@aws-sdk/client-resource-explorer-2"); // CommonJS import
|
|
17
|
+
* const client = new ResourceExplorer2Client(config);
|
|
18
|
+
* const command = new BatchGetViewCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link BatchGetViewCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link BatchGetViewCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link ResourceExplorer2ClientResolvedConfig | config} for ResourceExplorer2Client's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class BatchGetViewCommand extends $Command<BatchGetViewCommandInput, BatchGetViewCommandOutput, ResourceExplorer2ClientResolvedConfig> {
|
|
28
|
+
readonly input: BatchGetViewCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: BatchGetViewCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ResourceExplorer2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchGetViewCommandInput, BatchGetViewCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
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 { CreateIndexInput, CreateIndexOutput } from "../models/models_0";
|
|
5
|
+
import { ResourceExplorer2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResourceExplorer2Client";
|
|
6
|
+
export interface CreateIndexCommandInput extends CreateIndexInput {
|
|
7
|
+
}
|
|
8
|
+
export interface CreateIndexCommandOutput extends CreateIndexOutput, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Turns on Amazon Web Services Resource Explorer in the Amazon Web Services Region in which you called this operation by creating
|
|
12
|
+
* an index. Resource Explorer begins discovering the resources in this Region and stores the details
|
|
13
|
+
* about the resources in the index so that they can be queried by using the <a>Search</a> operation. You can create only one index in a Region.</p>
|
|
14
|
+
* <note>
|
|
15
|
+
* <p>This operation creates only a <i>local</i> index. To promote the
|
|
16
|
+
* local index in one Amazon Web Services Region into the aggregator index for the Amazon Web Services account, use the
|
|
17
|
+
* <a>UpdateIndexType</a> operation. For more information, see <a href="https://docs.aws.amazon.com/resource-explorer/latest/userguide/manage-aggregator-region.html">Turning on cross-Region search by creating an aggregator index</a> in the
|
|
18
|
+
* <i>Amazon Web Services Resource Explorer User Guide</i>.</p>
|
|
19
|
+
* </note>
|
|
20
|
+
* <p>For more details about what happens when you turn on Resource Explorer in an Amazon Web Services Region, see
|
|
21
|
+
* <a href="https://docs.aws.amazon.com/resource-explorer/latest/userguide/manage-service-activate.html">Turn
|
|
22
|
+
* on Resource Explorer to index your resources in an Amazon Web Services Region</a> in the
|
|
23
|
+
* <i>Amazon Web Services Resource Explorer User Guide</i>.</p>
|
|
24
|
+
* <p>If this is the first Amazon Web Services Region in which you've created an index for Resource Explorer, then
|
|
25
|
+
* this operation also <a href="https://docs.aws.amazon.com/arexug/mainline/security_iam_service-linked-roles.html">creates a
|
|
26
|
+
* service-linked role</a> in your Amazon Web Services account that allows Resource Explorer to enumerate
|
|
27
|
+
* your resources to populate the index.</p>
|
|
28
|
+
*
|
|
29
|
+
*
|
|
30
|
+
*
|
|
31
|
+
* <ul>
|
|
32
|
+
* <li>
|
|
33
|
+
* <p>
|
|
34
|
+
* <b>Action</b>:
|
|
35
|
+
* <code>resource-explorer-2:CreateIndex</code>
|
|
36
|
+
* </p>
|
|
37
|
+
* <p>
|
|
38
|
+
* <b>Resource</b>: The ARN of the index (as it will
|
|
39
|
+
* exist after the operation completes) in the Amazon Web Services Region and account in which
|
|
40
|
+
* you're trying to create the index. Use the wildcard character (<code>*</code>)
|
|
41
|
+
* at the end of the string to match the eventual UUID. For example, the following
|
|
42
|
+
* <code>Resource</code> element restricts the role or user to creating an
|
|
43
|
+
* index in only the <code>us-east-2</code> Region of the specified account.</p>
|
|
44
|
+
* <p>
|
|
45
|
+
* <code>"Resource":
|
|
46
|
+
* "arn:aws:resource-explorer-2:us-east-2:<i><account-id></i>:index/*"</code>
|
|
47
|
+
* </p>
|
|
48
|
+
* <p>Alternatively, you can use <code>"Resource": "*"</code> to allow the role or
|
|
49
|
+
* user to create an index in any Region.</p>
|
|
50
|
+
* </li>
|
|
51
|
+
* <li>
|
|
52
|
+
* <p>
|
|
53
|
+
* <b>Action</b>:
|
|
54
|
+
* <code>iam:CreateServiceLinkedRole</code>
|
|
55
|
+
* </p>
|
|
56
|
+
* <p>
|
|
57
|
+
* <b>Resource</b>: No specific resource (*). </p>
|
|
58
|
+
* <p>This permission is required only the first time you create an index to turn on
|
|
59
|
+
* Resource Explorer in the account. Resource Explorer uses this to create the <a href="https://docs.aws.amazon.com/resource-explorer/latest/userguide/security_iam_service-linked-roles.html">service-linked
|
|
60
|
+
* role needed to index the resources in your account</a>. Resource Explorer uses the
|
|
61
|
+
* same service-linked role for all additional indexes you create
|
|
62
|
+
* afterwards.</p>
|
|
63
|
+
* </li>
|
|
64
|
+
* </ul>
|
|
65
|
+
* @example
|
|
66
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
67
|
+
* ```javascript
|
|
68
|
+
* import { ResourceExplorer2Client, CreateIndexCommand } from "@aws-sdk/client-resource-explorer-2"; // ES Modules import
|
|
69
|
+
* // const { ResourceExplorer2Client, CreateIndexCommand } = require("@aws-sdk/client-resource-explorer-2"); // CommonJS import
|
|
70
|
+
* const client = new ResourceExplorer2Client(config);
|
|
71
|
+
* const command = new CreateIndexCommand(input);
|
|
72
|
+
* const response = await client.send(command);
|
|
73
|
+
* ```
|
|
74
|
+
*
|
|
75
|
+
* @see {@link CreateIndexCommandInput} for command's `input` shape.
|
|
76
|
+
* @see {@link CreateIndexCommandOutput} for command's `response` shape.
|
|
77
|
+
* @see {@link ResourceExplorer2ClientResolvedConfig | config} for ResourceExplorer2Client's `config` shape.
|
|
78
|
+
*
|
|
79
|
+
*/
|
|
80
|
+
export declare class CreateIndexCommand extends $Command<CreateIndexCommandInput, CreateIndexCommandOutput, ResourceExplorer2ClientResolvedConfig> {
|
|
81
|
+
readonly input: CreateIndexCommandInput;
|
|
82
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
83
|
+
constructor(input: CreateIndexCommandInput);
|
|
84
|
+
/**
|
|
85
|
+
* @internal
|
|
86
|
+
*/
|
|
87
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ResourceExplorer2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateIndexCommandInput, CreateIndexCommandOutput>;
|
|
88
|
+
private serialize;
|
|
89
|
+
private deserialize;
|
|
90
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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 { CreateViewInput, CreateViewOutput } from "../models/models_0";
|
|
5
|
+
import { ResourceExplorer2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResourceExplorer2Client";
|
|
6
|
+
export interface CreateViewCommandInput extends CreateViewInput {
|
|
7
|
+
}
|
|
8
|
+
export interface CreateViewCommandOutput extends CreateViewOutput, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Creates a view that users can query by using the <a>Search</a> operation.
|
|
12
|
+
* Results from queries that you make using this view include only resources that match the
|
|
13
|
+
* view's <code>Filters</code>. For more information about Amazon Web Services Resource Explorer views, see <a href="https://docs.aws.amazon.com/arexug/mainline/manage-views.html">Managing views</a>
|
|
14
|
+
* in the <i>Amazon Web Services Resource Explorer User Guide</i>.</p>
|
|
15
|
+
* <p>Only the principals with an IAM identity-based policy that grants <code>Allow</code>
|
|
16
|
+
* to the <code>Search</code> action on a <code>Resource</code> with the <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon resource name (ARN)</a> of
|
|
17
|
+
* this view can <a>Search</a> using views you create with this
|
|
18
|
+
* operation.</p>
|
|
19
|
+
* @example
|
|
20
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
21
|
+
* ```javascript
|
|
22
|
+
* import { ResourceExplorer2Client, CreateViewCommand } from "@aws-sdk/client-resource-explorer-2"; // ES Modules import
|
|
23
|
+
* // const { ResourceExplorer2Client, CreateViewCommand } = require("@aws-sdk/client-resource-explorer-2"); // CommonJS import
|
|
24
|
+
* const client = new ResourceExplorer2Client(config);
|
|
25
|
+
* const command = new CreateViewCommand(input);
|
|
26
|
+
* const response = await client.send(command);
|
|
27
|
+
* ```
|
|
28
|
+
*
|
|
29
|
+
* @see {@link CreateViewCommandInput} for command's `input` shape.
|
|
30
|
+
* @see {@link CreateViewCommandOutput} for command's `response` shape.
|
|
31
|
+
* @see {@link ResourceExplorer2ClientResolvedConfig | config} for ResourceExplorer2Client's `config` shape.
|
|
32
|
+
*
|
|
33
|
+
*/
|
|
34
|
+
export declare class CreateViewCommand extends $Command<CreateViewCommandInput, CreateViewCommandOutput, ResourceExplorer2ClientResolvedConfig> {
|
|
35
|
+
readonly input: CreateViewCommandInput;
|
|
36
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
37
|
+
constructor(input: CreateViewCommandInput);
|
|
38
|
+
/**
|
|
39
|
+
* @internal
|
|
40
|
+
*/
|
|
41
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ResourceExplorer2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateViewCommandInput, CreateViewCommandOutput>;
|
|
42
|
+
private serialize;
|
|
43
|
+
private deserialize;
|
|
44
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
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 { DeleteIndexInput, DeleteIndexOutput } from "../models/models_0";
|
|
5
|
+
import { ResourceExplorer2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResourceExplorer2Client";
|
|
6
|
+
export interface DeleteIndexCommandInput extends DeleteIndexInput {
|
|
7
|
+
}
|
|
8
|
+
export interface DeleteIndexCommandOutput extends DeleteIndexOutput, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Deletes the specified index and turns off Amazon Web Services Resource Explorer in the specified Amazon Web Services Region.
|
|
12
|
+
* When you delete an index, Resource Explorer stops discovering and indexing resources in that
|
|
13
|
+
* Region. Resource Explorer also deletes all views in that Region. These actions occur as
|
|
14
|
+
* asynchronous background tasks. You can check to see when the actions are complete by
|
|
15
|
+
* using the <a>GetIndex</a> operation and checking the <code>Status</code>
|
|
16
|
+
* response value.</p>
|
|
17
|
+
* @example
|
|
18
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
19
|
+
* ```javascript
|
|
20
|
+
* import { ResourceExplorer2Client, DeleteIndexCommand } from "@aws-sdk/client-resource-explorer-2"; // ES Modules import
|
|
21
|
+
* // const { ResourceExplorer2Client, DeleteIndexCommand } = require("@aws-sdk/client-resource-explorer-2"); // CommonJS import
|
|
22
|
+
* const client = new ResourceExplorer2Client(config);
|
|
23
|
+
* const command = new DeleteIndexCommand(input);
|
|
24
|
+
* const response = await client.send(command);
|
|
25
|
+
* ```
|
|
26
|
+
*
|
|
27
|
+
* @see {@link DeleteIndexCommandInput} for command's `input` shape.
|
|
28
|
+
* @see {@link DeleteIndexCommandOutput} for command's `response` shape.
|
|
29
|
+
* @see {@link ResourceExplorer2ClientResolvedConfig | config} for ResourceExplorer2Client's `config` shape.
|
|
30
|
+
*
|
|
31
|
+
*/
|
|
32
|
+
export declare class DeleteIndexCommand extends $Command<DeleteIndexCommandInput, DeleteIndexCommandOutput, ResourceExplorer2ClientResolvedConfig> {
|
|
33
|
+
readonly input: DeleteIndexCommandInput;
|
|
34
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
35
|
+
constructor(input: DeleteIndexCommandInput);
|
|
36
|
+
/**
|
|
37
|
+
* @internal
|
|
38
|
+
*/
|
|
39
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ResourceExplorer2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteIndexCommandInput, DeleteIndexCommandOutput>;
|
|
40
|
+
private serialize;
|
|
41
|
+
private deserialize;
|
|
42
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
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 { DeleteViewInput, DeleteViewOutput } from "../models/models_0";
|
|
5
|
+
import { ResourceExplorer2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResourceExplorer2Client";
|
|
6
|
+
export interface DeleteViewCommandInput extends DeleteViewInput {
|
|
7
|
+
}
|
|
8
|
+
export interface DeleteViewCommandOutput extends DeleteViewOutput, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Deletes the specified view.</p>
|
|
12
|
+
* <p>If the specified view is the default view for its Amazon Web Services Region, then all <a>Search</a> operations in that Region must explicitly specify the view to use
|
|
13
|
+
* until you configure a new default by calling the <a>AssociateDefaultView</a>
|
|
14
|
+
* operation.</p>
|
|
15
|
+
* @example
|
|
16
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
17
|
+
* ```javascript
|
|
18
|
+
* import { ResourceExplorer2Client, DeleteViewCommand } from "@aws-sdk/client-resource-explorer-2"; // ES Modules import
|
|
19
|
+
* // const { ResourceExplorer2Client, DeleteViewCommand } = require("@aws-sdk/client-resource-explorer-2"); // CommonJS import
|
|
20
|
+
* const client = new ResourceExplorer2Client(config);
|
|
21
|
+
* const command = new DeleteViewCommand(input);
|
|
22
|
+
* const response = await client.send(command);
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* @see {@link DeleteViewCommandInput} for command's `input` shape.
|
|
26
|
+
* @see {@link DeleteViewCommandOutput} for command's `response` shape.
|
|
27
|
+
* @see {@link ResourceExplorer2ClientResolvedConfig | config} for ResourceExplorer2Client's `config` shape.
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
export declare class DeleteViewCommand extends $Command<DeleteViewCommandInput, DeleteViewCommandOutput, ResourceExplorer2ClientResolvedConfig> {
|
|
31
|
+
readonly input: DeleteViewCommandInput;
|
|
32
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
33
|
+
constructor(input: DeleteViewCommandInput);
|
|
34
|
+
/**
|
|
35
|
+
* @internal
|
|
36
|
+
*/
|
|
37
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ResourceExplorer2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteViewCommandInput, DeleteViewCommandOutput>;
|
|
38
|
+
private serialize;
|
|
39
|
+
private deserialize;
|
|
40
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
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 { ResourceExplorer2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResourceExplorer2Client";
|
|
5
|
+
export interface DisassociateDefaultViewCommandInput {
|
|
6
|
+
}
|
|
7
|
+
export interface DisassociateDefaultViewCommandOutput extends __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>After you call this operation, the affected Amazon Web Services Region no longer has a default view.
|
|
11
|
+
* All <a>Search</a> operations in that Region must explicitly specify a view or
|
|
12
|
+
* the operation fails. You can configure a new default by calling the <a>AssociateDefaultView</a> operation.</p>
|
|
13
|
+
* <p>If an Amazon Web Services Region doesn't have a default view
|
|
14
|
+
* configured, then users must explicitly specify a view with every <code>Search</code>
|
|
15
|
+
* operation performed in that Region.</p>
|
|
16
|
+
* @example
|
|
17
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
18
|
+
* ```javascript
|
|
19
|
+
* import { ResourceExplorer2Client, DisassociateDefaultViewCommand } from "@aws-sdk/client-resource-explorer-2"; // ES Modules import
|
|
20
|
+
* // const { ResourceExplorer2Client, DisassociateDefaultViewCommand } = require("@aws-sdk/client-resource-explorer-2"); // CommonJS import
|
|
21
|
+
* const client = new ResourceExplorer2Client(config);
|
|
22
|
+
* const command = new DisassociateDefaultViewCommand(input);
|
|
23
|
+
* const response = await client.send(command);
|
|
24
|
+
* ```
|
|
25
|
+
*
|
|
26
|
+
* @see {@link DisassociateDefaultViewCommandInput} for command's `input` shape.
|
|
27
|
+
* @see {@link DisassociateDefaultViewCommandOutput} for command's `response` shape.
|
|
28
|
+
* @see {@link ResourceExplorer2ClientResolvedConfig | config} for ResourceExplorer2Client's `config` shape.
|
|
29
|
+
*
|
|
30
|
+
*/
|
|
31
|
+
export declare class DisassociateDefaultViewCommand extends $Command<DisassociateDefaultViewCommandInput, DisassociateDefaultViewCommandOutput, ResourceExplorer2ClientResolvedConfig> {
|
|
32
|
+
readonly input: DisassociateDefaultViewCommandInput;
|
|
33
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
34
|
+
constructor(input: DisassociateDefaultViewCommandInput);
|
|
35
|
+
/**
|
|
36
|
+
* @internal
|
|
37
|
+
*/
|
|
38
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ResourceExplorer2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DisassociateDefaultViewCommandInput, DisassociateDefaultViewCommandOutput>;
|
|
39
|
+
private serialize;
|
|
40
|
+
private deserialize;
|
|
41
|
+
}
|
|
@@ -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 { GetDefaultViewOutput } from "../models/models_0";
|
|
5
|
+
import { ResourceExplorer2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResourceExplorer2Client";
|
|
6
|
+
export interface GetDefaultViewCommandInput {
|
|
7
|
+
}
|
|
8
|
+
export interface GetDefaultViewCommandOutput extends GetDefaultViewOutput, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Retrieves the Amazon Resource Name (ARN) of the view that is the default for the
|
|
12
|
+
* Amazon Web Services Region in which you call this operation. You can then call <a>GetView</a> to retrieve the details of that 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, GetDefaultViewCommand } from "@aws-sdk/client-resource-explorer-2"; // ES Modules import
|
|
17
|
+
* // const { ResourceExplorer2Client, GetDefaultViewCommand } = require("@aws-sdk/client-resource-explorer-2"); // CommonJS import
|
|
18
|
+
* const client = new ResourceExplorer2Client(config);
|
|
19
|
+
* const command = new GetDefaultViewCommand(input);
|
|
20
|
+
* const response = await client.send(command);
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* @see {@link GetDefaultViewCommandInput} for command's `input` shape.
|
|
24
|
+
* @see {@link GetDefaultViewCommandOutput} for command's `response` shape.
|
|
25
|
+
* @see {@link ResourceExplorer2ClientResolvedConfig | config} for ResourceExplorer2Client's `config` shape.
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
export declare class GetDefaultViewCommand extends $Command<GetDefaultViewCommandInput, GetDefaultViewCommandOutput, ResourceExplorer2ClientResolvedConfig> {
|
|
29
|
+
readonly input: GetDefaultViewCommandInput;
|
|
30
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
31
|
+
constructor(input: GetDefaultViewCommandInput);
|
|
32
|
+
/**
|
|
33
|
+
* @internal
|
|
34
|
+
*/
|
|
35
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ResourceExplorer2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetDefaultViewCommandInput, GetDefaultViewCommandOutput>;
|
|
36
|
+
private serialize;
|
|
37
|
+
private deserialize;
|
|
38
|
+
}
|
|
@@ -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 { GetIndexOutput } from "../models/models_0";
|
|
5
|
+
import { ResourceExplorer2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResourceExplorer2Client";
|
|
6
|
+
export interface GetIndexCommandInput {
|
|
7
|
+
}
|
|
8
|
+
export interface GetIndexCommandOutput extends GetIndexOutput, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Retrieves details about the Amazon Web Services Resource Explorer index in the Amazon Web Services Region in which you invoked
|
|
12
|
+
* the operation.</p>
|
|
13
|
+
* @example
|
|
14
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
+
* ```javascript
|
|
16
|
+
* import { ResourceExplorer2Client, GetIndexCommand } from "@aws-sdk/client-resource-explorer-2"; // ES Modules import
|
|
17
|
+
* // const { ResourceExplorer2Client, GetIndexCommand } = require("@aws-sdk/client-resource-explorer-2"); // CommonJS import
|
|
18
|
+
* const client = new ResourceExplorer2Client(config);
|
|
19
|
+
* const command = new GetIndexCommand(input);
|
|
20
|
+
* const response = await client.send(command);
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* @see {@link GetIndexCommandInput} for command's `input` shape.
|
|
24
|
+
* @see {@link GetIndexCommandOutput} for command's `response` shape.
|
|
25
|
+
* @see {@link ResourceExplorer2ClientResolvedConfig | config} for ResourceExplorer2Client's `config` shape.
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
export declare class GetIndexCommand extends $Command<GetIndexCommandInput, GetIndexCommandOutput, ResourceExplorer2ClientResolvedConfig> {
|
|
29
|
+
readonly input: GetIndexCommandInput;
|
|
30
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
31
|
+
constructor(input: GetIndexCommandInput);
|
|
32
|
+
/**
|
|
33
|
+
* @internal
|
|
34
|
+
*/
|
|
35
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ResourceExplorer2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetIndexCommandInput, GetIndexCommandOutput>;
|
|
36
|
+
private serialize;
|
|
37
|
+
private deserialize;
|
|
38
|
+
}
|