@aws-sdk/client-resource-explorer-2 3.899.0 → 3.904.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/README.md +65 -21
- package/dist-cjs/endpoint/ruleset.js +1 -1
- package/dist-cjs/index.js +475 -0
- package/dist-es/ResourceExplorer2.js +16 -0
- package/dist-es/commands/CreateResourceExplorerSetupCommand.js +22 -0
- package/dist-es/commands/DeleteResourceExplorerSetupCommand.js +22 -0
- package/dist-es/commands/GetResourceExplorerSetupCommand.js +23 -0
- package/dist-es/commands/GetServiceIndexCommand.js +22 -0
- package/dist-es/commands/GetServiceViewCommand.js +23 -0
- package/dist-es/commands/ListServiceIndexesCommand.js +22 -0
- package/dist-es/commands/ListServiceViewsCommand.js +22 -0
- package/dist-es/commands/ListStreamingAccessForServicesCommand.js +22 -0
- package/dist-es/commands/index.js +8 -0
- package/dist-es/endpoint/ruleset.js +1 -1
- package/dist-es/models/models_0.js +24 -0
- package/dist-es/pagination/GetResourceExplorerSetupPaginator.js +4 -0
- package/dist-es/pagination/ListServiceIndexesPaginator.js +4 -0
- package/dist-es/pagination/ListServiceViewsPaginator.js +4 -0
- package/dist-es/pagination/ListStreamingAccessForServicesPaginator.js +4 -0
- package/dist-es/pagination/index.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +261 -0
- package/dist-types/ResourceExplorer2.d.ts +62 -21
- package/dist-types/ResourceExplorer2Client.d.ts +11 -23
- package/dist-types/commands/AssociateDefaultViewCommand.d.ts +6 -18
- package/dist-types/commands/BatchGetViewCommand.d.ts +4 -9
- package/dist-types/commands/CreateIndexCommand.d.ts +6 -67
- package/dist-types/commands/CreateResourceExplorerSetupCommand.d.ts +95 -0
- package/dist-types/commands/CreateViewCommand.d.ts +6 -24
- package/dist-types/commands/DeleteIndexCommand.d.ts +6 -23
- package/dist-types/commands/DeleteResourceExplorerSetupCommand.d.ts +92 -0
- package/dist-types/commands/DeleteViewCommand.d.ts +6 -15
- package/dist-types/commands/DisassociateDefaultViewCommand.d.ts +6 -17
- package/dist-types/commands/GetAccountLevelServiceConfigurationCommand.d.ts +5 -12
- package/dist-types/commands/GetDefaultViewCommand.d.ts +6 -13
- package/dist-types/commands/GetIndexCommand.d.ts +6 -13
- package/dist-types/commands/GetManagedViewCommand.d.ts +5 -11
- package/dist-types/commands/GetResourceExplorerSetupCommand.d.ts +129 -0
- package/dist-types/commands/GetServiceIndexCommand.d.ts +88 -0
- package/dist-types/commands/GetServiceViewCommand.d.ts +101 -0
- package/dist-types/commands/GetViewCommand.d.ts +5 -11
- package/dist-types/commands/ListIndexesCommand.d.ts +5 -11
- package/dist-types/commands/ListIndexesForMembersCommand.d.ts +5 -13
- package/dist-types/commands/ListManagedViewsCommand.d.ts +5 -12
- package/dist-types/commands/ListResourcesCommand.d.ts +6 -14
- package/dist-types/commands/ListServiceIndexesCommand.d.ts +97 -0
- package/dist-types/commands/ListServiceViewsCommand.d.ts +90 -0
- package/dist-types/commands/ListStreamingAccessForServicesCommand.d.ts +90 -0
- package/dist-types/commands/ListSupportedResourceTypesCommand.d.ts +4 -9
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +5 -11
- package/dist-types/commands/ListViewsCommand.d.ts +5 -19
- package/dist-types/commands/SearchCommand.d.ts +6 -24
- package/dist-types/commands/TagResourceCommand.d.ts +5 -16
- package/dist-types/commands/UntagResourceCommand.d.ts +5 -11
- package/dist-types/commands/UpdateIndexTypeCommand.d.ts +7 -75
- package/dist-types/commands/UpdateViewCommand.d.ts +5 -11
- package/dist-types/commands/index.d.ts +8 -0
- package/dist-types/index.d.ts +1 -21
- package/dist-types/models/models_0.d.ts +473 -442
- package/dist-types/pagination/GetResourceExplorerSetupPaginator.d.ts +7 -0
- package/dist-types/pagination/ListServiceIndexesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListServiceViewsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListStreamingAccessForServicesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +4 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +72 -0
- package/dist-types/ts3.4/ResourceExplorer2.d.ts +141 -0
- package/dist-types/ts3.4/ResourceExplorer2Client.d.ts +48 -0
- package/dist-types/ts3.4/commands/CreateResourceExplorerSetupCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteResourceExplorerSetupCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetResourceExplorerSetupCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetServiceIndexCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetServiceViewCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListServiceIndexesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListServiceViewsCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListStreamingAccessForServicesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +8 -0
- package/dist-types/ts3.4/models/models_0.d.ts +106 -0
- package/dist-types/ts3.4/pagination/GetResourceExplorerSetupPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListServiceIndexesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListServiceViewsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListStreamingAccessForServicesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +96 -0
- package/package.json +38 -38
|
@@ -27,57 +27,7 @@ declare const CreateIndexCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Turns on Amazon Web Services Resource Explorer in the Amazon Web Services Region in which you called this operation by creating
|
|
31
|
-
* an index. Resource Explorer begins discovering the resources in this Region and stores the details
|
|
32
|
-
* 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>
|
|
33
|
-
* <note>
|
|
34
|
-
* <p>This operation creates only a <i>local</i> index. To promote the
|
|
35
|
-
* local index in one Amazon Web Services Region into the aggregator index for the Amazon Web Services account, use the
|
|
36
|
-
* <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
|
|
37
|
-
* <i>Amazon Web Services Resource Explorer User Guide</i>.</p>
|
|
38
|
-
* </note>
|
|
39
|
-
* <p>For more details about what happens when you turn on Resource Explorer in an Amazon Web Services Region, see
|
|
40
|
-
* <a href="https://docs.aws.amazon.com/resource-explorer/latest/userguide/manage-service-activate.html">Turn
|
|
41
|
-
* on Resource Explorer to index your resources in an Amazon Web Services Region</a> in the
|
|
42
|
-
* <i>Amazon Web Services Resource Explorer User Guide</i>.</p>
|
|
43
|
-
* <p>If this is the first Amazon Web Services Region in which you've created an index for Resource Explorer, then
|
|
44
|
-
* this operation also <a href="https://docs.aws.amazon.com/resource-explorer/latest/userguide/security_iam_service-linked-roles.html">creates a
|
|
45
|
-
* service-linked role</a> in your Amazon Web Services account that allows Resource Explorer to enumerate
|
|
46
|
-
* your resources to populate the index.</p>
|
|
47
|
-
* <ul>
|
|
48
|
-
* <li>
|
|
49
|
-
* <p>
|
|
50
|
-
* <b>Action</b>:
|
|
51
|
-
* <code>resource-explorer-2:CreateIndex</code>
|
|
52
|
-
* </p>
|
|
53
|
-
* <p>
|
|
54
|
-
* <b>Resource</b>: The ARN of the index (as it will
|
|
55
|
-
* exist after the operation completes) in the Amazon Web Services Region and account in which
|
|
56
|
-
* you're trying to create the index. Use the wildcard character (<code>*</code>)
|
|
57
|
-
* at the end of the string to match the eventual UUID. For example, the following
|
|
58
|
-
* <code>Resource</code> element restricts the role or user to creating an
|
|
59
|
-
* index in only the <code>us-east-2</code> Region of the specified account.</p>
|
|
60
|
-
* <p>
|
|
61
|
-
* <code>"Resource":
|
|
62
|
-
* "arn:aws:resource-explorer-2:us-west-2:<i><account-id></i>:index/*"</code>
|
|
63
|
-
* </p>
|
|
64
|
-
* <p>Alternatively, you can use <code>"Resource": "*"</code> to allow the role or
|
|
65
|
-
* user to create an index in any Region.</p>
|
|
66
|
-
* </li>
|
|
67
|
-
* <li>
|
|
68
|
-
* <p>
|
|
69
|
-
* <b>Action</b>:
|
|
70
|
-
* <code>iam:CreateServiceLinkedRole</code>
|
|
71
|
-
* </p>
|
|
72
|
-
* <p>
|
|
73
|
-
* <b>Resource</b>: No specific resource (*). </p>
|
|
74
|
-
* <p>This permission is required only the first time you create an index to turn on
|
|
75
|
-
* 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
|
|
76
|
-
* role needed to index the resources in your account</a>. Resource Explorer uses the
|
|
77
|
-
* same service-linked role for all additional indexes you create
|
|
78
|
-
* afterwards.</p>
|
|
79
|
-
* </li>
|
|
80
|
-
* </ul>
|
|
30
|
+
* <p>Turns on Amazon Web Services Resource Explorer in the Amazon Web Services Region in which you called this operation by creating an index. Resource Explorer begins discovering the resources in this Region and stores the details 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> <note> <p>This operation creates only a <i>local</i> index. To promote the local index in one Amazon Web Services Region into the aggregator index for the Amazon Web Services account, use the <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 <i>Amazon Web Services Resource Explorer User Guide</i>.</p> </note> <p>For more details about what happens when you turn on Resource Explorer in an Amazon Web Services Region, see <a href="https://docs.aws.amazon.com/resource-explorer/latest/userguide/manage-service-activate.html">Turn on Resource Explorer to index your resources in an Amazon Web Services Region</a> in the <i>Amazon Web Services Resource Explorer User Guide</i>.</p> <p>If this is the first Amazon Web Services Region in which you've created an index for Resource Explorer, then this operation also <a href="https://docs.aws.amazon.com/resource-explorer/latest/userguide/security_iam_service-linked-roles.html">creates a service-linked role</a> in your Amazon Web Services account that allows Resource Explorer to enumerate your resources to populate the index.</p> <ul> <li> <p> <b>Action</b>: <code>resource-explorer-2:CreateIndex</code> </p> <p> <b>Resource</b>: The ARN of the index (as it will exist after the operation completes) in the Amazon Web Services Region and account in which you're trying to create the index. Use the wildcard character (<code>*</code>) at the end of the string to match the eventual UUID. For example, the following <code>Resource</code> element restricts the role or user to creating an index in only the <code>us-east-2</code> Region of the specified account.</p> <p> <code>"Resource": "arn:aws:resource-explorer-2:us-west-2:<i><account-id></i>:index/*"</code> </p> <p>Alternatively, you can use <code>"Resource": "*"</code> to allow the role or user to create an index in any Region.</p> </li> <li> <p> <b>Action</b>: <code>iam:CreateServiceLinkedRole</code> </p> <p> <b>Resource</b>: No specific resource (*). </p> <p>This permission is required only the first time you create an index to turn on 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 role needed to index the resources in your account</a>. Resource Explorer uses the same service-linked role for all additional indexes you create afterwards.</p> </li> </ul>
|
|
81
31
|
* @example
|
|
82
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
83
33
|
* ```javascript
|
|
@@ -109,30 +59,19 @@ declare const CreateIndexCommand_base: {
|
|
|
109
59
|
* @see {@link ResourceExplorer2ClientResolvedConfig | config} for ResourceExplorer2Client's `config` shape.
|
|
110
60
|
*
|
|
111
61
|
* @throws {@link AccessDeniedException} (client fault)
|
|
112
|
-
* <p>The credentials that you used to call this operation don't have the minimum required
|
|
113
|
-
* permissions.</p>
|
|
62
|
+
* <p>The credentials that you used to call this operation don't have the minimum required permissions.</p>
|
|
114
63
|
*
|
|
115
64
|
* @throws {@link ConflictException} (client fault)
|
|
116
|
-
* <p>If you attempted to create a view, then the request failed because either you specified parameters that didn’t match the
|
|
117
|
-
* original request, or you attempted to create a view with a name that already exists in
|
|
118
|
-
* this Amazon Web Services Region.</p>
|
|
119
|
-
* <p>If you attempted to create an index, then the request failed because either you specified parameters that didn't match
|
|
120
|
-
* the original request, or an index already exists in the current Amazon Web Services Region.</p>
|
|
121
|
-
* <p>If you attempted to update an index type to <code>AGGREGATOR</code>, then the request failed because you already
|
|
122
|
-
* have an <code>AGGREGATOR</code> index in a different Amazon Web Services Region.</p>
|
|
65
|
+
* <p>If you attempted to create a view, then the request failed because either you specified parameters that didn’t match the original request, or you attempted to create a view with a name that already exists in this Amazon Web Services Region.</p> <p>If you attempted to create an index, then the request failed because either you specified parameters that didn't match the original request, or an index already exists in the current Amazon Web Services Region.</p> <p>If you attempted to update an index type to <code>AGGREGATOR</code>, then the request failed because you already have an <code>AGGREGATOR</code> index in a different Amazon Web Services Region.</p>
|
|
123
66
|
*
|
|
124
67
|
* @throws {@link InternalServerException} (server fault)
|
|
125
|
-
* <p>The request failed because of internal service error. Try your request again
|
|
126
|
-
* later.</p>
|
|
68
|
+
* <p>The request failed because of internal service error. Try your request again later.</p>
|
|
127
69
|
*
|
|
128
70
|
* @throws {@link ThrottlingException} (client fault)
|
|
129
|
-
* <p>The request failed because you exceeded a rate limit for this operation. For more
|
|
130
|
-
* information, see <a href="https://docs.aws.amazon.com/resource-explorer/latest/userguide/quotas.html">Quotas for
|
|
131
|
-
* Resource Explorer</a>.</p>
|
|
71
|
+
* <p>The request failed because you exceeded a rate limit for this operation. For more information, see <a href="https://docs.aws.amazon.com/resource-explorer/latest/userguide/quotas.html">Quotas for Resource Explorer</a>.</p>
|
|
132
72
|
*
|
|
133
73
|
* @throws {@link ValidationException} (client fault)
|
|
134
|
-
* <p>You provided an invalid value for one of the operation's parameters. Check the syntax
|
|
135
|
-
* for the operation, and try again.</p>
|
|
74
|
+
* <p>You provided an invalid value for one of the operation's parameters. Check the syntax for the operation, and try again.</p>
|
|
136
75
|
*
|
|
137
76
|
* @throws {@link ResourceExplorer2ServiceException}
|
|
138
77
|
* <p>Base exception class for all service exceptions from ResourceExplorer2 service.</p>
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { CreateResourceExplorerSetupInput, CreateResourceExplorerSetupOutput } from "../models/models_0";
|
|
4
|
+
import { ResourceExplorer2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResourceExplorer2Client";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateResourceExplorerSetupCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateResourceExplorerSetupCommandInput extends CreateResourceExplorerSetupInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateResourceExplorerSetupCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateResourceExplorerSetupCommandOutput extends CreateResourceExplorerSetupOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateResourceExplorerSetupCommand_base: {
|
|
25
|
+
new (input: CreateResourceExplorerSetupCommandInput): import("@smithy/smithy-client").CommandImpl<CreateResourceExplorerSetupCommandInput, CreateResourceExplorerSetupCommandOutput, ResourceExplorer2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreateResourceExplorerSetupCommandInput): import("@smithy/smithy-client").CommandImpl<CreateResourceExplorerSetupCommandInput, CreateResourceExplorerSetupCommandOutput, ResourceExplorer2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Creates a Resource Explorer setup configuration across multiple Amazon Web Services Regions. This operation sets up indexes and views in the specified Regions. This operation can also be used to set an aggregator Region for cross-Region resource search.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { ResourceExplorer2Client, CreateResourceExplorerSetupCommand } from "@aws-sdk/client-resource-explorer-2"; // ES Modules import
|
|
35
|
+
* // const { ResourceExplorer2Client, CreateResourceExplorerSetupCommand } = require("@aws-sdk/client-resource-explorer-2"); // CommonJS import
|
|
36
|
+
* // import type { ResourceExplorer2ClientConfig } from "@aws-sdk/client-resource-explorer-2";
|
|
37
|
+
* const config = {}; // type is ResourceExplorer2ClientConfig
|
|
38
|
+
* const client = new ResourceExplorer2Client(config);
|
|
39
|
+
* const input = { // CreateResourceExplorerSetupInput
|
|
40
|
+
* RegionList: [ // RegionList // required
|
|
41
|
+
* "STRING_VALUE",
|
|
42
|
+
* ],
|
|
43
|
+
* AggregatorRegions: [
|
|
44
|
+
* "STRING_VALUE",
|
|
45
|
+
* ],
|
|
46
|
+
* ViewName: "STRING_VALUE", // required
|
|
47
|
+
* };
|
|
48
|
+
* const command = new CreateResourceExplorerSetupCommand(input);
|
|
49
|
+
* const response = await client.send(command);
|
|
50
|
+
* // { // CreateResourceExplorerSetupOutput
|
|
51
|
+
* // TaskId: "STRING_VALUE", // required
|
|
52
|
+
* // };
|
|
53
|
+
*
|
|
54
|
+
* ```
|
|
55
|
+
*
|
|
56
|
+
* @param CreateResourceExplorerSetupCommandInput - {@link CreateResourceExplorerSetupCommandInput}
|
|
57
|
+
* @returns {@link CreateResourceExplorerSetupCommandOutput}
|
|
58
|
+
* @see {@link CreateResourceExplorerSetupCommandInput} for command's `input` shape.
|
|
59
|
+
* @see {@link CreateResourceExplorerSetupCommandOutput} for command's `response` shape.
|
|
60
|
+
* @see {@link ResourceExplorer2ClientResolvedConfig | config} for ResourceExplorer2Client's `config` shape.
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
63
|
+
* <p>The credentials that you used to call this operation don't have the minimum required permissions.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ConflictException} (client fault)
|
|
66
|
+
* <p>If you attempted to create a view, then the request failed because either you specified parameters that didn’t match the original request, or you attempted to create a view with a name that already exists in this Amazon Web Services Region.</p> <p>If you attempted to create an index, then the request failed because either you specified parameters that didn't match the original request, or an index already exists in the current Amazon Web Services Region.</p> <p>If you attempted to update an index type to <code>AGGREGATOR</code>, then the request failed because you already have an <code>AGGREGATOR</code> index in a different Amazon Web Services Region.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link InternalServerException} (server fault)
|
|
69
|
+
* <p>The request failed because of internal service error. Try your request again later.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
72
|
+
* <p>The request failed because you exceeded a rate limit for this operation. For more information, see <a href="https://docs.aws.amazon.com/resource-explorer/latest/userguide/quotas.html">Quotas for Resource Explorer</a>.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link ValidationException} (client fault)
|
|
75
|
+
* <p>You provided an invalid value for one of the operation's parameters. Check the syntax for the operation, and try again.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link ResourceExplorer2ServiceException}
|
|
78
|
+
* <p>Base exception class for all service exceptions from ResourceExplorer2 service.</p>
|
|
79
|
+
*
|
|
80
|
+
*
|
|
81
|
+
* @public
|
|
82
|
+
*/
|
|
83
|
+
export declare class CreateResourceExplorerSetupCommand extends CreateResourceExplorerSetupCommand_base {
|
|
84
|
+
/** @internal type navigation helper, not in runtime. */
|
|
85
|
+
protected static __types: {
|
|
86
|
+
api: {
|
|
87
|
+
input: CreateResourceExplorerSetupInput;
|
|
88
|
+
output: CreateResourceExplorerSetupOutput;
|
|
89
|
+
};
|
|
90
|
+
sdk: {
|
|
91
|
+
input: CreateResourceExplorerSetupCommandInput;
|
|
92
|
+
output: CreateResourceExplorerSetupCommandOutput;
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
}
|
|
@@ -27,14 +27,7 @@ declare const CreateViewCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Creates a view that users can query by using the <a>Search</a> operation.
|
|
31
|
-
* Results from queries that you make using this view include only resources that match the
|
|
32
|
-
* view's <code>Filters</code>. For more information about Amazon Web Services Resource Explorer views, see <a href="https://docs.aws.amazon.com/resource-explorer/latest/userguide/manage-views.html">Managing views</a>
|
|
33
|
-
* in the <i>Amazon Web Services Resource Explorer User Guide</i>.</p>
|
|
34
|
-
* <p>Only the principals with an IAM identity-based policy that grants <code>Allow</code>
|
|
35
|
-
* 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
|
|
36
|
-
* this view can <a>Search</a> using views you create with this
|
|
37
|
-
* operation.</p>
|
|
30
|
+
* <p>Creates a view that users can query by using the <a>Search</a> operation. Results from queries that you make using this view include only resources that match the view's <code>Filters</code>. For more information about Amazon Web Services Resource Explorer views, see <a href="https://docs.aws.amazon.com/resource-explorer/latest/userguide/manage-views.html">Managing views</a> in the <i>Amazon Web Services Resource Explorer User Guide</i>.</p> <p>Only the principals with an IAM identity-based policy that grants <code>Allow</code> 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 this view can <a>Search</a> using views you create with this operation.</p>
|
|
38
31
|
* @example
|
|
39
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
40
33
|
* ```javascript
|
|
@@ -87,36 +80,25 @@ declare const CreateViewCommand_base: {
|
|
|
87
80
|
* @see {@link ResourceExplorer2ClientResolvedConfig | config} for ResourceExplorer2Client's `config` shape.
|
|
88
81
|
*
|
|
89
82
|
* @throws {@link AccessDeniedException} (client fault)
|
|
90
|
-
* <p>The credentials that you used to call this operation don't have the minimum required
|
|
91
|
-
* permissions.</p>
|
|
83
|
+
* <p>The credentials that you used to call this operation don't have the minimum required permissions.</p>
|
|
92
84
|
*
|
|
93
85
|
* @throws {@link ConflictException} (client fault)
|
|
94
|
-
* <p>If you attempted to create a view, then the request failed because either you specified parameters that didn’t match the
|
|
95
|
-
* original request, or you attempted to create a view with a name that already exists in
|
|
96
|
-
* this Amazon Web Services Region.</p>
|
|
97
|
-
* <p>If you attempted to create an index, then the request failed because either you specified parameters that didn't match
|
|
98
|
-
* the original request, or an index already exists in the current Amazon Web Services Region.</p>
|
|
99
|
-
* <p>If you attempted to update an index type to <code>AGGREGATOR</code>, then the request failed because you already
|
|
100
|
-
* have an <code>AGGREGATOR</code> index in a different Amazon Web Services Region.</p>
|
|
86
|
+
* <p>If you attempted to create a view, then the request failed because either you specified parameters that didn’t match the original request, or you attempted to create a view with a name that already exists in this Amazon Web Services Region.</p> <p>If you attempted to create an index, then the request failed because either you specified parameters that didn't match the original request, or an index already exists in the current Amazon Web Services Region.</p> <p>If you attempted to update an index type to <code>AGGREGATOR</code>, then the request failed because you already have an <code>AGGREGATOR</code> index in a different Amazon Web Services Region.</p>
|
|
101
87
|
*
|
|
102
88
|
* @throws {@link InternalServerException} (server fault)
|
|
103
|
-
* <p>The request failed because of internal service error. Try your request again
|
|
104
|
-
* later.</p>
|
|
89
|
+
* <p>The request failed because of internal service error. Try your request again later.</p>
|
|
105
90
|
*
|
|
106
91
|
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
107
92
|
* <p>The request failed because it exceeds a service quota.</p>
|
|
108
93
|
*
|
|
109
94
|
* @throws {@link ThrottlingException} (client fault)
|
|
110
|
-
* <p>The request failed because you exceeded a rate limit for this operation. For more
|
|
111
|
-
* information, see <a href="https://docs.aws.amazon.com/resource-explorer/latest/userguide/quotas.html">Quotas for
|
|
112
|
-
* Resource Explorer</a>.</p>
|
|
95
|
+
* <p>The request failed because you exceeded a rate limit for this operation. For more information, see <a href="https://docs.aws.amazon.com/resource-explorer/latest/userguide/quotas.html">Quotas for Resource Explorer</a>.</p>
|
|
113
96
|
*
|
|
114
97
|
* @throws {@link UnauthorizedException} (client fault)
|
|
115
98
|
* <p>The principal making the request isn't permitted to perform the operation.</p>
|
|
116
99
|
*
|
|
117
100
|
* @throws {@link ValidationException} (client fault)
|
|
118
|
-
* <p>You provided an invalid value for one of the operation's parameters. Check the syntax
|
|
119
|
-
* for the operation, and try again.</p>
|
|
101
|
+
* <p>You provided an invalid value for one of the operation's parameters. Check the syntax for the operation, and try again.</p>
|
|
120
102
|
*
|
|
121
103
|
* @throws {@link ResourceExplorer2ServiceException}
|
|
122
104
|
* <p>Base exception class for all service exceptions from ResourceExplorer2 service.</p>
|
|
@@ -27,18 +27,7 @@ declare const DeleteIndexCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Deletes the specified index and turns off Amazon Web Services Resource Explorer in the specified Amazon Web Services Region.
|
|
31
|
-
* When you delete an index, Resource Explorer stops discovering and indexing resources in that
|
|
32
|
-
* Region. Resource Explorer also deletes all views in that Region. These actions occur as
|
|
33
|
-
* asynchronous background tasks. You can check to see when the actions are complete by
|
|
34
|
-
* using the <a>GetIndex</a> operation and checking the <code>Status</code>
|
|
35
|
-
* response value.</p>
|
|
36
|
-
* <note>
|
|
37
|
-
* <p>If the index you delete is the aggregator index for the Amazon Web Services account, you must
|
|
38
|
-
* wait 24 hours before you can promote another local index to be the
|
|
39
|
-
* aggregator index for the account. Users can't perform account-wide searches using
|
|
40
|
-
* Resource Explorer until another aggregator index is configured.</p>
|
|
41
|
-
* </note>
|
|
30
|
+
* <p>Deletes the specified index and turns off Amazon Web Services Resource Explorer in the specified Amazon Web Services Region. When you delete an index, Resource Explorer stops discovering and indexing resources in that Region. Resource Explorer also deletes all views in that Region. These actions occur as asynchronous background tasks. You can check to see when the actions are complete by using the <a>GetIndex</a> operation and checking the <code>Status</code> response value.</p> <note> <p>If the index you delete is the aggregator index for the Amazon Web Services account, you must wait 24 hours before you can promote another local index to be the aggregator index for the account. Users can't perform account-wide searches using Resource Explorer until another aggregator index is configured.</p> </note>
|
|
42
31
|
* @example
|
|
43
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
44
33
|
* ```javascript
|
|
@@ -67,25 +56,19 @@ declare const DeleteIndexCommand_base: {
|
|
|
67
56
|
* @see {@link ResourceExplorer2ClientResolvedConfig | config} for ResourceExplorer2Client's `config` shape.
|
|
68
57
|
*
|
|
69
58
|
* @throws {@link AccessDeniedException} (client fault)
|
|
70
|
-
* <p>The credentials that you used to call this operation don't have the minimum required
|
|
71
|
-
* permissions.</p>
|
|
59
|
+
* <p>The credentials that you used to call this operation don't have the minimum required permissions.</p>
|
|
72
60
|
*
|
|
73
61
|
* @throws {@link InternalServerException} (server fault)
|
|
74
|
-
* <p>The request failed because of internal service error. Try your request again
|
|
75
|
-
* later.</p>
|
|
62
|
+
* <p>The request failed because of internal service error. Try your request again later.</p>
|
|
76
63
|
*
|
|
77
64
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
78
|
-
* <p>You specified a resource that doesn't exist. Check the ID or ARN that you used to
|
|
79
|
-
* identity the resource, and try again.</p>
|
|
65
|
+
* <p>You specified a resource that doesn't exist. Check the ID or ARN that you used to identity the resource, and try again.</p>
|
|
80
66
|
*
|
|
81
67
|
* @throws {@link ThrottlingException} (client fault)
|
|
82
|
-
* <p>The request failed because you exceeded a rate limit for this operation. For more
|
|
83
|
-
* information, see <a href="https://docs.aws.amazon.com/resource-explorer/latest/userguide/quotas.html">Quotas for
|
|
84
|
-
* Resource Explorer</a>.</p>
|
|
68
|
+
* <p>The request failed because you exceeded a rate limit for this operation. For more information, see <a href="https://docs.aws.amazon.com/resource-explorer/latest/userguide/quotas.html">Quotas for Resource Explorer</a>.</p>
|
|
85
69
|
*
|
|
86
70
|
* @throws {@link ValidationException} (client fault)
|
|
87
|
-
* <p>You provided an invalid value for one of the operation's parameters. Check the syntax
|
|
88
|
-
* for the operation, and try again.</p>
|
|
71
|
+
* <p>You provided an invalid value for one of the operation's parameters. Check the syntax for the operation, and try again.</p>
|
|
89
72
|
*
|
|
90
73
|
* @throws {@link ResourceExplorer2ServiceException}
|
|
91
74
|
* <p>Base exception class for all service exceptions from ResourceExplorer2 service.</p>
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { DeleteResourceExplorerSetupInput, DeleteResourceExplorerSetupOutput } from "../models/models_0";
|
|
4
|
+
import { ResourceExplorer2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResourceExplorer2Client";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteResourceExplorerSetupCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteResourceExplorerSetupCommandInput extends DeleteResourceExplorerSetupInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteResourceExplorerSetupCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteResourceExplorerSetupCommandOutput extends DeleteResourceExplorerSetupOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteResourceExplorerSetupCommand_base: {
|
|
25
|
+
new (input: DeleteResourceExplorerSetupCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteResourceExplorerSetupCommandInput, DeleteResourceExplorerSetupCommandOutput, ResourceExplorer2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [DeleteResourceExplorerSetupCommandInput]): import("@smithy/smithy-client").CommandImpl<DeleteResourceExplorerSetupCommandInput, DeleteResourceExplorerSetupCommandOutput, ResourceExplorer2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Deletes a Resource Explorer setup configuration. This operation removes indexes and views from the specified Regions or all Regions where Resource Explorer is configured.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { ResourceExplorer2Client, DeleteResourceExplorerSetupCommand } from "@aws-sdk/client-resource-explorer-2"; // ES Modules import
|
|
35
|
+
* // const { ResourceExplorer2Client, DeleteResourceExplorerSetupCommand } = require("@aws-sdk/client-resource-explorer-2"); // CommonJS import
|
|
36
|
+
* // import type { ResourceExplorer2ClientConfig } from "@aws-sdk/client-resource-explorer-2";
|
|
37
|
+
* const config = {}; // type is ResourceExplorer2ClientConfig
|
|
38
|
+
* const client = new ResourceExplorer2Client(config);
|
|
39
|
+
* const input = { // DeleteResourceExplorerSetupInput
|
|
40
|
+
* RegionList: [ // RegionList
|
|
41
|
+
* "STRING_VALUE",
|
|
42
|
+
* ],
|
|
43
|
+
* DeleteInAllRegions: true || false,
|
|
44
|
+
* };
|
|
45
|
+
* const command = new DeleteResourceExplorerSetupCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // { // DeleteResourceExplorerSetupOutput
|
|
48
|
+
* // TaskId: "STRING_VALUE", // required
|
|
49
|
+
* // };
|
|
50
|
+
*
|
|
51
|
+
* ```
|
|
52
|
+
*
|
|
53
|
+
* @param DeleteResourceExplorerSetupCommandInput - {@link DeleteResourceExplorerSetupCommandInput}
|
|
54
|
+
* @returns {@link DeleteResourceExplorerSetupCommandOutput}
|
|
55
|
+
* @see {@link DeleteResourceExplorerSetupCommandInput} for command's `input` shape.
|
|
56
|
+
* @see {@link DeleteResourceExplorerSetupCommandOutput} for command's `response` shape.
|
|
57
|
+
* @see {@link ResourceExplorer2ClientResolvedConfig | config} for ResourceExplorer2Client's `config` shape.
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
60
|
+
* <p>The credentials that you used to call this operation don't have the minimum required permissions.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link ConflictException} (client fault)
|
|
63
|
+
* <p>If you attempted to create a view, then the request failed because either you specified parameters that didn’t match the original request, or you attempted to create a view with a name that already exists in this Amazon Web Services Region.</p> <p>If you attempted to create an index, then the request failed because either you specified parameters that didn't match the original request, or an index already exists in the current Amazon Web Services Region.</p> <p>If you attempted to update an index type to <code>AGGREGATOR</code>, then the request failed because you already have an <code>AGGREGATOR</code> index in a different Amazon Web Services Region.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link InternalServerException} (server fault)
|
|
66
|
+
* <p>The request failed because of internal service error. Try your request again later.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
69
|
+
* <p>The request failed because you exceeded a rate limit for this operation. For more information, see <a href="https://docs.aws.amazon.com/resource-explorer/latest/userguide/quotas.html">Quotas for Resource Explorer</a>.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ValidationException} (client fault)
|
|
72
|
+
* <p>You provided an invalid value for one of the operation's parameters. Check the syntax for the operation, and try again.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link ResourceExplorer2ServiceException}
|
|
75
|
+
* <p>Base exception class for all service exceptions from ResourceExplorer2 service.</p>
|
|
76
|
+
*
|
|
77
|
+
*
|
|
78
|
+
* @public
|
|
79
|
+
*/
|
|
80
|
+
export declare class DeleteResourceExplorerSetupCommand extends DeleteResourceExplorerSetupCommand_base {
|
|
81
|
+
/** @internal type navigation helper, not in runtime. */
|
|
82
|
+
protected static __types: {
|
|
83
|
+
api: {
|
|
84
|
+
input: DeleteResourceExplorerSetupInput;
|
|
85
|
+
output: DeleteResourceExplorerSetupOutput;
|
|
86
|
+
};
|
|
87
|
+
sdk: {
|
|
88
|
+
input: DeleteResourceExplorerSetupCommandInput;
|
|
89
|
+
output: DeleteResourceExplorerSetupCommandOutput;
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
}
|
|
@@ -27,10 +27,7 @@ declare const DeleteViewCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Deletes the specified view.</p>
|
|
31
|
-
* <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
|
|
32
|
-
* until you configure a new default by calling the <a>AssociateDefaultView</a>
|
|
33
|
-
* operation.</p>
|
|
30
|
+
* <p>Deletes the specified view.</p> <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 until you configure a new default by calling the <a>AssociateDefaultView</a> operation.</p>
|
|
34
31
|
* @example
|
|
35
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
36
33
|
* ```javascript
|
|
@@ -57,28 +54,22 @@ declare const DeleteViewCommand_base: {
|
|
|
57
54
|
* @see {@link ResourceExplorer2ClientResolvedConfig | config} for ResourceExplorer2Client's `config` shape.
|
|
58
55
|
*
|
|
59
56
|
* @throws {@link AccessDeniedException} (client fault)
|
|
60
|
-
* <p>The credentials that you used to call this operation don't have the minimum required
|
|
61
|
-
* permissions.</p>
|
|
57
|
+
* <p>The credentials that you used to call this operation don't have the minimum required permissions.</p>
|
|
62
58
|
*
|
|
63
59
|
* @throws {@link InternalServerException} (server fault)
|
|
64
|
-
* <p>The request failed because of internal service error. Try your request again
|
|
65
|
-
* later.</p>
|
|
60
|
+
* <p>The request failed because of internal service error. Try your request again later.</p>
|
|
66
61
|
*
|
|
67
62
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
68
|
-
* <p>You specified a resource that doesn't exist. Check the ID or ARN that you used to
|
|
69
|
-
* identity the resource, and try again.</p>
|
|
63
|
+
* <p>You specified a resource that doesn't exist. Check the ID or ARN that you used to identity the resource, and try again.</p>
|
|
70
64
|
*
|
|
71
65
|
* @throws {@link ThrottlingException} (client fault)
|
|
72
|
-
* <p>The request failed because you exceeded a rate limit for this operation. For more
|
|
73
|
-
* information, see <a href="https://docs.aws.amazon.com/resource-explorer/latest/userguide/quotas.html">Quotas for
|
|
74
|
-
* Resource Explorer</a>.</p>
|
|
66
|
+
* <p>The request failed because you exceeded a rate limit for this operation. For more information, see <a href="https://docs.aws.amazon.com/resource-explorer/latest/userguide/quotas.html">Quotas for Resource Explorer</a>.</p>
|
|
75
67
|
*
|
|
76
68
|
* @throws {@link UnauthorizedException} (client fault)
|
|
77
69
|
* <p>The principal making the request isn't permitted to perform the operation.</p>
|
|
78
70
|
*
|
|
79
71
|
* @throws {@link ValidationException} (client fault)
|
|
80
|
-
* <p>You provided an invalid value for one of the operation's parameters. Check the syntax
|
|
81
|
-
* for the operation, and try again.</p>
|
|
72
|
+
* <p>You provided an invalid value for one of the operation's parameters. Check the syntax for the operation, and try again.</p>
|
|
82
73
|
*
|
|
83
74
|
* @throws {@link ResourceExplorer2ServiceException}
|
|
84
75
|
* <p>Base exception class for all service exceptions from ResourceExplorer2 service.</p>
|
|
@@ -26,12 +26,7 @@ declare const DisassociateDefaultViewCommand_base: {
|
|
|
26
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
|
-
* <p>After you call this operation, the affected Amazon Web Services Region no longer has a default view.
|
|
30
|
-
* All <a>Search</a> operations in that Region must explicitly specify a view or
|
|
31
|
-
* the operation fails. You can configure a new default by calling the <a>AssociateDefaultView</a> operation.</p>
|
|
32
|
-
* <p>If an Amazon Web Services Region doesn't have a default view
|
|
33
|
-
* configured, then users must explicitly specify a view with every <code>Search</code>
|
|
34
|
-
* operation performed in that Region.</p>
|
|
29
|
+
* <p>After you call this operation, the affected Amazon Web Services Region no longer has a default view. All <a>Search</a> operations in that Region must explicitly specify a view or the operation fails. You can configure a new default by calling the <a>AssociateDefaultView</a> operation.</p> <p>If an Amazon Web Services Region doesn't have a default view configured, then users must explicitly specify a view with every <code>Search</code> operation performed in that Region.</p>
|
|
35
30
|
* @example
|
|
36
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
37
32
|
* ```javascript
|
|
@@ -54,25 +49,19 @@ declare const DisassociateDefaultViewCommand_base: {
|
|
|
54
49
|
* @see {@link ResourceExplorer2ClientResolvedConfig | config} for ResourceExplorer2Client's `config` shape.
|
|
55
50
|
*
|
|
56
51
|
* @throws {@link AccessDeniedException} (client fault)
|
|
57
|
-
* <p>The credentials that you used to call this operation don't have the minimum required
|
|
58
|
-
* permissions.</p>
|
|
52
|
+
* <p>The credentials that you used to call this operation don't have the minimum required permissions.</p>
|
|
59
53
|
*
|
|
60
54
|
* @throws {@link InternalServerException} (server fault)
|
|
61
|
-
* <p>The request failed because of internal service error. Try your request again
|
|
62
|
-
* later.</p>
|
|
55
|
+
* <p>The request failed because of internal service error. Try your request again later.</p>
|
|
63
56
|
*
|
|
64
57
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
65
|
-
* <p>You specified a resource that doesn't exist. Check the ID or ARN that you used to
|
|
66
|
-
* identity the resource, and try again.</p>
|
|
58
|
+
* <p>You specified a resource that doesn't exist. Check the ID or ARN that you used to identity the resource, and try again.</p>
|
|
67
59
|
*
|
|
68
60
|
* @throws {@link ThrottlingException} (client fault)
|
|
69
|
-
* <p>The request failed because you exceeded a rate limit for this operation. For more
|
|
70
|
-
* information, see <a href="https://docs.aws.amazon.com/resource-explorer/latest/userguide/quotas.html">Quotas for
|
|
71
|
-
* Resource Explorer</a>.</p>
|
|
61
|
+
* <p>The request failed because you exceeded a rate limit for this operation. For more information, see <a href="https://docs.aws.amazon.com/resource-explorer/latest/userguide/quotas.html">Quotas for Resource Explorer</a>.</p>
|
|
72
62
|
*
|
|
73
63
|
* @throws {@link ValidationException} (client fault)
|
|
74
|
-
* <p>You provided an invalid value for one of the operation's parameters. Check the syntax
|
|
75
|
-
* for the operation, and try again.</p>
|
|
64
|
+
* <p>You provided an invalid value for one of the operation's parameters. Check the syntax for the operation, and try again.</p>
|
|
76
65
|
*
|
|
77
66
|
* @throws {@link ResourceExplorer2ServiceException}
|
|
78
67
|
* <p>Base exception class for all service exceptions from ResourceExplorer2 service.</p>
|
|
@@ -27,9 +27,7 @@ declare const GetAccountLevelServiceConfigurationCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Retrieves the status of your account's Amazon Web Services service access, and validates the service
|
|
31
|
-
* linked role required to access the multi-account search feature. Only the management
|
|
32
|
-
* account can invoke this API call. </p>
|
|
30
|
+
* <p>Retrieves the status of your account's Amazon Web Services service access, and validates the service linked role required to access the multi-account search feature. Only the management account can invoke this API call. </p>
|
|
33
31
|
* @example
|
|
34
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
35
33
|
* ```javascript
|
|
@@ -57,21 +55,16 @@ declare const GetAccountLevelServiceConfigurationCommand_base: {
|
|
|
57
55
|
* @see {@link ResourceExplorer2ClientResolvedConfig | config} for ResourceExplorer2Client's `config` shape.
|
|
58
56
|
*
|
|
59
57
|
* @throws {@link AccessDeniedException} (client fault)
|
|
60
|
-
* <p>The credentials that you used to call this operation don't have the minimum required
|
|
61
|
-
* permissions.</p>
|
|
58
|
+
* <p>The credentials that you used to call this operation don't have the minimum required permissions.</p>
|
|
62
59
|
*
|
|
63
60
|
* @throws {@link InternalServerException} (server fault)
|
|
64
|
-
* <p>The request failed because of internal service error. Try your request again
|
|
65
|
-
* later.</p>
|
|
61
|
+
* <p>The request failed because of internal service error. Try your request again later.</p>
|
|
66
62
|
*
|
|
67
63
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
68
|
-
* <p>You specified a resource that doesn't exist. Check the ID or ARN that you used to
|
|
69
|
-
* identity the resource, and try again.</p>
|
|
64
|
+
* <p>You specified a resource that doesn't exist. Check the ID or ARN that you used to identity the resource, and try again.</p>
|
|
70
65
|
*
|
|
71
66
|
* @throws {@link ThrottlingException} (client fault)
|
|
72
|
-
* <p>The request failed because you exceeded a rate limit for this operation. For more
|
|
73
|
-
* information, see <a href="https://docs.aws.amazon.com/resource-explorer/latest/userguide/quotas.html">Quotas for
|
|
74
|
-
* Resource Explorer</a>.</p>
|
|
67
|
+
* <p>The request failed because you exceeded a rate limit for this operation. For more information, see <a href="https://docs.aws.amazon.com/resource-explorer/latest/userguide/quotas.html">Quotas for Resource Explorer</a>.</p>
|
|
75
68
|
*
|
|
76
69
|
* @throws {@link ResourceExplorer2ServiceException}
|
|
77
70
|
* <p>Base exception class for all service exceptions from ResourceExplorer2 service.</p>
|
|
@@ -27,8 +27,7 @@ declare const GetDefaultViewCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Retrieves the Amazon Resource Name (ARN) of the view that is the default for the
|
|
31
|
-
* 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>
|
|
30
|
+
* <p>Retrieves the Amazon Resource Name (ARN) of the view that is the default for the 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>
|
|
32
31
|
* @example
|
|
33
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
33
|
* ```javascript
|
|
@@ -53,25 +52,19 @@ declare const GetDefaultViewCommand_base: {
|
|
|
53
52
|
* @see {@link ResourceExplorer2ClientResolvedConfig | config} for ResourceExplorer2Client's `config` shape.
|
|
54
53
|
*
|
|
55
54
|
* @throws {@link AccessDeniedException} (client fault)
|
|
56
|
-
* <p>The credentials that you used to call this operation don't have the minimum required
|
|
57
|
-
* permissions.</p>
|
|
55
|
+
* <p>The credentials that you used to call this operation don't have the minimum required permissions.</p>
|
|
58
56
|
*
|
|
59
57
|
* @throws {@link InternalServerException} (server fault)
|
|
60
|
-
* <p>The request failed because of internal service error. Try your request again
|
|
61
|
-
* later.</p>
|
|
58
|
+
* <p>The request failed because of internal service error. Try your request again later.</p>
|
|
62
59
|
*
|
|
63
60
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
64
|
-
* <p>You specified a resource that doesn't exist. Check the ID or ARN that you used to
|
|
65
|
-
* identity the resource, and try again.</p>
|
|
61
|
+
* <p>You specified a resource that doesn't exist. Check the ID or ARN that you used to identity the resource, and try again.</p>
|
|
66
62
|
*
|
|
67
63
|
* @throws {@link ThrottlingException} (client fault)
|
|
68
|
-
* <p>The request failed because you exceeded a rate limit for this operation. For more
|
|
69
|
-
* information, see <a href="https://docs.aws.amazon.com/resource-explorer/latest/userguide/quotas.html">Quotas for
|
|
70
|
-
* Resource Explorer</a>.</p>
|
|
64
|
+
* <p>The request failed because you exceeded a rate limit for this operation. For more information, see <a href="https://docs.aws.amazon.com/resource-explorer/latest/userguide/quotas.html">Quotas for Resource Explorer</a>.</p>
|
|
71
65
|
*
|
|
72
66
|
* @throws {@link ValidationException} (client fault)
|
|
73
|
-
* <p>You provided an invalid value for one of the operation's parameters. Check the syntax
|
|
74
|
-
* for the operation, and try again.</p>
|
|
67
|
+
* <p>You provided an invalid value for one of the operation's parameters. Check the syntax for the operation, and try again.</p>
|
|
75
68
|
*
|
|
76
69
|
* @throws {@link ResourceExplorer2ServiceException}
|
|
77
70
|
* <p>Base exception class for all service exceptions from ResourceExplorer2 service.</p>
|
|
@@ -27,8 +27,7 @@ declare const GetIndexCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Retrieves details about the Amazon Web Services Resource Explorer index in the Amazon Web Services Region in which you invoked
|
|
31
|
-
* the operation.</p>
|
|
30
|
+
* <p>Retrieves details about the Amazon Web Services Resource Explorer index in the Amazon Web Services Region in which you invoked the operation.</p>
|
|
32
31
|
* @example
|
|
33
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
33
|
* ```javascript
|
|
@@ -66,25 +65,19 @@ declare const GetIndexCommand_base: {
|
|
|
66
65
|
* @see {@link ResourceExplorer2ClientResolvedConfig | config} for ResourceExplorer2Client's `config` shape.
|
|
67
66
|
*
|
|
68
67
|
* @throws {@link AccessDeniedException} (client fault)
|
|
69
|
-
* <p>The credentials that you used to call this operation don't have the minimum required
|
|
70
|
-
* permissions.</p>
|
|
68
|
+
* <p>The credentials that you used to call this operation don't have the minimum required permissions.</p>
|
|
71
69
|
*
|
|
72
70
|
* @throws {@link InternalServerException} (server fault)
|
|
73
|
-
* <p>The request failed because of internal service error. Try your request again
|
|
74
|
-
* later.</p>
|
|
71
|
+
* <p>The request failed because of internal service error. Try your request again later.</p>
|
|
75
72
|
*
|
|
76
73
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
77
|
-
* <p>You specified a resource that doesn't exist. Check the ID or ARN that you used to
|
|
78
|
-
* identity the resource, and try again.</p>
|
|
74
|
+
* <p>You specified a resource that doesn't exist. Check the ID or ARN that you used to identity the resource, and try again.</p>
|
|
79
75
|
*
|
|
80
76
|
* @throws {@link ThrottlingException} (client fault)
|
|
81
|
-
* <p>The request failed because you exceeded a rate limit for this operation. For more
|
|
82
|
-
* information, see <a href="https://docs.aws.amazon.com/resource-explorer/latest/userguide/quotas.html">Quotas for
|
|
83
|
-
* Resource Explorer</a>.</p>
|
|
77
|
+
* <p>The request failed because you exceeded a rate limit for this operation. For more information, see <a href="https://docs.aws.amazon.com/resource-explorer/latest/userguide/quotas.html">Quotas for Resource Explorer</a>.</p>
|
|
84
78
|
*
|
|
85
79
|
* @throws {@link ValidationException} (client fault)
|
|
86
|
-
* <p>You provided an invalid value for one of the operation's parameters. Check the syntax
|
|
87
|
-
* for the operation, and try again.</p>
|
|
80
|
+
* <p>You provided an invalid value for one of the operation's parameters. Check the syntax for the operation, and try again.</p>
|
|
88
81
|
*
|
|
89
82
|
* @throws {@link ResourceExplorer2ServiceException}
|
|
90
83
|
* <p>Base exception class for all service exceptions from ResourceExplorer2 service.</p>
|