@aws-sdk/client-resource-explorer-2 3.651.1 → 3.657.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 +8 -0
- package/dist-cjs/index.js +63 -0
- package/dist-es/ResourceExplorer2.js +2 -0
- package/dist-es/commands/ListResourcesCommand.js +23 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +4 -0
- package/dist-es/pagination/ListResourcesPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +32 -0
- package/dist-types/ResourceExplorer2.d.ts +8 -0
- package/dist-types/ResourceExplorer2Client.d.ts +3 -2
- package/dist-types/commands/AssociateDefaultViewCommand.d.ts +11 -0
- package/dist-types/commands/BatchGetViewCommand.d.ts +11 -0
- package/dist-types/commands/CreateIndexCommand.d.ts +11 -0
- package/dist-types/commands/CreateViewCommand.d.ts +11 -0
- package/dist-types/commands/DeleteIndexCommand.d.ts +11 -0
- package/dist-types/commands/DeleteViewCommand.d.ts +11 -0
- package/dist-types/commands/DisassociateDefaultViewCommand.d.ts +11 -0
- package/dist-types/commands/GetAccountLevelServiceConfigurationCommand.d.ts +12 -2
- package/dist-types/commands/GetDefaultViewCommand.d.ts +11 -0
- package/dist-types/commands/GetIndexCommand.d.ts +11 -0
- package/dist-types/commands/GetViewCommand.d.ts +11 -0
- package/dist-types/commands/ListIndexesCommand.d.ts +11 -0
- package/dist-types/commands/ListIndexesForMembersCommand.d.ts +11 -0
- package/dist-types/commands/ListResourcesCommand.d.ts +120 -0
- package/dist-types/commands/ListSupportedResourceTypesCommand.d.ts +11 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +11 -0
- package/dist-types/commands/ListViewsCommand.d.ts +11 -0
- package/dist-types/commands/SearchCommand.d.ts +11 -0
- package/dist-types/commands/TagResourceCommand.d.ts +11 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +11 -0
- package/dist-types/commands/UpdateIndexTypeCommand.d.ts +11 -0
- package/dist-types/commands/UpdateViewCommand.d.ts +11 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +130 -58
- package/dist-types/pagination/ListResourcesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
- package/dist-types/ts3.4/ResourceExplorer2.d.ts +18 -0
- package/dist-types/ts3.4/ResourceExplorer2Client.d.ts +6 -0
- package/dist-types/ts3.4/commands/AssociateDefaultViewCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/BatchGetViewCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/CreateIndexCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/CreateViewCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/DeleteIndexCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/DeleteViewCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/DisassociateDefaultViewCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/GetAccountLevelServiceConfigurationCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/GetDefaultViewCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/GetIndexCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/GetViewCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/ListIndexesCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/ListIndexesForMembersCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/ListResourcesCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListSupportedResourceTypesCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/ListViewsCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/SearchCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/UpdateIndexTypeCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/UpdateViewCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +28 -14
- package/dist-types/ts3.4/pagination/ListResourcesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
- package/package.json +35 -35
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { ListResourcesInput, ListResourcesOutput } 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 ListResourcesCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListResourcesCommandInput extends ListResourcesInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListResourcesCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListResourcesCommandOutput extends ListResourcesOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListResourcesCommand_base: {
|
|
25
|
+
new (input: ListResourcesCommandInput): import("@smithy/smithy-client").CommandImpl<ListResourcesCommandInput, ListResourcesCommandOutput, ResourceExplorer2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [ListResourcesCommandInput]): import("@smithy/smithy-client").CommandImpl<ListResourcesCommandInput, ListResourcesCommandOutput, ResourceExplorer2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Returns a list of resources and their details that match the specified criteria. This query must
|
|
31
|
+
* use a view. If you don’t explicitly specify a view, then Resource Explorer uses the default view for the Amazon Web Services Region
|
|
32
|
+
* in which you call this operation. </p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { ResourceExplorer2Client, ListResourcesCommand } from "@aws-sdk/client-resource-explorer-2"; // ES Modules import
|
|
37
|
+
* // const { ResourceExplorer2Client, ListResourcesCommand } = require("@aws-sdk/client-resource-explorer-2"); // CommonJS import
|
|
38
|
+
* const client = new ResourceExplorer2Client(config);
|
|
39
|
+
* const input = { // ListResourcesInput
|
|
40
|
+
* Filters: { // SearchFilter
|
|
41
|
+
* FilterString: "STRING_VALUE", // required
|
|
42
|
+
* },
|
|
43
|
+
* MaxResults: Number("int"),
|
|
44
|
+
* ViewArn: "STRING_VALUE",
|
|
45
|
+
* NextToken: "STRING_VALUE",
|
|
46
|
+
* };
|
|
47
|
+
* const command = new ListResourcesCommand(input);
|
|
48
|
+
* const response = await client.send(command);
|
|
49
|
+
* // { // ListResourcesOutput
|
|
50
|
+
* // Resources: [ // ResourceList
|
|
51
|
+
* // { // Resource
|
|
52
|
+
* // Arn: "STRING_VALUE",
|
|
53
|
+
* // OwningAccountId: "STRING_VALUE",
|
|
54
|
+
* // Region: "STRING_VALUE",
|
|
55
|
+
* // ResourceType: "STRING_VALUE",
|
|
56
|
+
* // Service: "STRING_VALUE",
|
|
57
|
+
* // LastReportedAt: new Date("TIMESTAMP"),
|
|
58
|
+
* // Properties: [ // ResourcePropertyList
|
|
59
|
+
* // { // ResourceProperty
|
|
60
|
+
* // Name: "STRING_VALUE",
|
|
61
|
+
* // LastReportedAt: new Date("TIMESTAMP"),
|
|
62
|
+
* // Data: "DOCUMENT_VALUE",
|
|
63
|
+
* // },
|
|
64
|
+
* // ],
|
|
65
|
+
* // },
|
|
66
|
+
* // ],
|
|
67
|
+
* // NextToken: "STRING_VALUE",
|
|
68
|
+
* // ViewArn: "STRING_VALUE",
|
|
69
|
+
* // };
|
|
70
|
+
*
|
|
71
|
+
* ```
|
|
72
|
+
*
|
|
73
|
+
* @param ListResourcesCommandInput - {@link ListResourcesCommandInput}
|
|
74
|
+
* @returns {@link ListResourcesCommandOutput}
|
|
75
|
+
* @see {@link ListResourcesCommandInput} for command's `input` shape.
|
|
76
|
+
* @see {@link ListResourcesCommandOutput} for command's `response` shape.
|
|
77
|
+
* @see {@link ResourceExplorer2ClientResolvedConfig | config} for ResourceExplorer2Client's `config` shape.
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
80
|
+
* <p>The credentials that you used to call this operation don't have the minimum required
|
|
81
|
+
* permissions.</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link InternalServerException} (server fault)
|
|
84
|
+
* <p>The request failed because of internal service error. Try your request again
|
|
85
|
+
* later.</p>
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
88
|
+
* <p>You specified a resource that doesn't exist. Check the ID or ARN that you used to
|
|
89
|
+
* identity the resource, and try again.</p>
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
92
|
+
* <p>The request failed because you exceeded a rate limit for this operation. For more
|
|
93
|
+
* information, see <a href="https://docs.aws.amazon.com/resource-explorer/latest/userguide/quotas.html">Quotas for
|
|
94
|
+
* Resource Explorer</a>.</p>
|
|
95
|
+
*
|
|
96
|
+
* @throws {@link UnauthorizedException} (client fault)
|
|
97
|
+
* <p>The principal making the request isn't permitted to perform the operation.</p>
|
|
98
|
+
*
|
|
99
|
+
* @throws {@link ValidationException} (client fault)
|
|
100
|
+
* <p>You provided an invalid value for one of the operation's parameters. Check the syntax
|
|
101
|
+
* for the operation, and try again.</p>
|
|
102
|
+
*
|
|
103
|
+
* @throws {@link ResourceExplorer2ServiceException}
|
|
104
|
+
* <p>Base exception class for all service exceptions from ResourceExplorer2 service.</p>
|
|
105
|
+
*
|
|
106
|
+
* @public
|
|
107
|
+
*/
|
|
108
|
+
export declare class ListResourcesCommand extends ListResourcesCommand_base {
|
|
109
|
+
/** @internal type navigation helper, not in runtime. */
|
|
110
|
+
protected static __types: {
|
|
111
|
+
api: {
|
|
112
|
+
input: ListResourcesInput;
|
|
113
|
+
output: ListResourcesOutput;
|
|
114
|
+
};
|
|
115
|
+
sdk: {
|
|
116
|
+
input: ListResourcesCommandInput;
|
|
117
|
+
output: ListResourcesCommandOutput;
|
|
118
|
+
};
|
|
119
|
+
};
|
|
120
|
+
}
|
|
@@ -81,4 +81,15 @@ declare const ListSupportedResourceTypesCommand_base: {
|
|
|
81
81
|
* @public
|
|
82
82
|
*/
|
|
83
83
|
export declare class ListSupportedResourceTypesCommand extends ListSupportedResourceTypesCommand_base {
|
|
84
|
+
/** @internal type navigation helper, not in runtime. */
|
|
85
|
+
protected static __types: {
|
|
86
|
+
api: {
|
|
87
|
+
input: ListSupportedResourceTypesInput;
|
|
88
|
+
output: ListSupportedResourceTypesOutput;
|
|
89
|
+
};
|
|
90
|
+
sdk: {
|
|
91
|
+
input: ListSupportedResourceTypesCommandInput;
|
|
92
|
+
output: ListSupportedResourceTypesCommandOutput;
|
|
93
|
+
};
|
|
94
|
+
};
|
|
84
95
|
}
|
|
@@ -83,4 +83,15 @@ declare const ListTagsForResourceCommand_base: {
|
|
|
83
83
|
* @public
|
|
84
84
|
*/
|
|
85
85
|
export declare class ListTagsForResourceCommand extends ListTagsForResourceCommand_base {
|
|
86
|
+
/** @internal type navigation helper, not in runtime. */
|
|
87
|
+
protected static __types: {
|
|
88
|
+
api: {
|
|
89
|
+
input: ListTagsForResourceInput;
|
|
90
|
+
output: ListTagsForResourceOutput;
|
|
91
|
+
};
|
|
92
|
+
sdk: {
|
|
93
|
+
input: ListTagsForResourceCommandInput;
|
|
94
|
+
output: ListTagsForResourceCommandOutput;
|
|
95
|
+
};
|
|
96
|
+
};
|
|
86
97
|
}
|
|
@@ -87,4 +87,15 @@ declare const ListViewsCommand_base: {
|
|
|
87
87
|
* @public
|
|
88
88
|
*/
|
|
89
89
|
export declare class ListViewsCommand extends ListViewsCommand_base {
|
|
90
|
+
/** @internal type navigation helper, not in runtime. */
|
|
91
|
+
protected static __types: {
|
|
92
|
+
api: {
|
|
93
|
+
input: ListViewsInput;
|
|
94
|
+
output: ListViewsOutput;
|
|
95
|
+
};
|
|
96
|
+
sdk: {
|
|
97
|
+
input: ListViewsCommandInput;
|
|
98
|
+
output: ListViewsCommandOutput;
|
|
99
|
+
};
|
|
100
|
+
};
|
|
90
101
|
}
|
|
@@ -118,4 +118,15 @@ declare const SearchCommand_base: {
|
|
|
118
118
|
* @public
|
|
119
119
|
*/
|
|
120
120
|
export declare class SearchCommand extends SearchCommand_base {
|
|
121
|
+
/** @internal type navigation helper, not in runtime. */
|
|
122
|
+
protected static __types: {
|
|
123
|
+
api: {
|
|
124
|
+
input: SearchInput;
|
|
125
|
+
output: SearchOutput;
|
|
126
|
+
};
|
|
127
|
+
sdk: {
|
|
128
|
+
input: SearchCommandInput;
|
|
129
|
+
output: SearchCommandOutput;
|
|
130
|
+
};
|
|
131
|
+
};
|
|
121
132
|
}
|
|
@@ -87,4 +87,15 @@ declare const TagResourceCommand_base: {
|
|
|
87
87
|
* @public
|
|
88
88
|
*/
|
|
89
89
|
export declare class TagResourceCommand extends TagResourceCommand_base {
|
|
90
|
+
/** @internal type navigation helper, not in runtime. */
|
|
91
|
+
protected static __types: {
|
|
92
|
+
api: {
|
|
93
|
+
input: TagResourceInput;
|
|
94
|
+
output: {};
|
|
95
|
+
};
|
|
96
|
+
sdk: {
|
|
97
|
+
input: TagResourceCommandInput;
|
|
98
|
+
output: TagResourceCommandOutput;
|
|
99
|
+
};
|
|
100
|
+
};
|
|
90
101
|
}
|
|
@@ -82,4 +82,15 @@ declare const UntagResourceCommand_base: {
|
|
|
82
82
|
* @public
|
|
83
83
|
*/
|
|
84
84
|
export declare class UntagResourceCommand extends UntagResourceCommand_base {
|
|
85
|
+
/** @internal type navigation helper, not in runtime. */
|
|
86
|
+
protected static __types: {
|
|
87
|
+
api: {
|
|
88
|
+
input: UntagResourceInput;
|
|
89
|
+
output: {};
|
|
90
|
+
};
|
|
91
|
+
sdk: {
|
|
92
|
+
input: UntagResourceCommandInput;
|
|
93
|
+
output: UntagResourceCommandOutput;
|
|
94
|
+
};
|
|
95
|
+
};
|
|
85
96
|
}
|
|
@@ -150,4 +150,15 @@ declare const UpdateIndexTypeCommand_base: {
|
|
|
150
150
|
* @public
|
|
151
151
|
*/
|
|
152
152
|
export declare class UpdateIndexTypeCommand extends UpdateIndexTypeCommand_base {
|
|
153
|
+
/** @internal type navigation helper, not in runtime. */
|
|
154
|
+
protected static __types: {
|
|
155
|
+
api: {
|
|
156
|
+
input: UpdateIndexTypeInput;
|
|
157
|
+
output: UpdateIndexTypeOutput;
|
|
158
|
+
};
|
|
159
|
+
sdk: {
|
|
160
|
+
input: UpdateIndexTypeCommandInput;
|
|
161
|
+
output: UpdateIndexTypeCommandOutput;
|
|
162
|
+
};
|
|
163
|
+
};
|
|
153
164
|
}
|
|
@@ -102,4 +102,15 @@ declare const UpdateViewCommand_base: {
|
|
|
102
102
|
* @public
|
|
103
103
|
*/
|
|
104
104
|
export declare class UpdateViewCommand extends UpdateViewCommand_base {
|
|
105
|
+
/** @internal type navigation helper, not in runtime. */
|
|
106
|
+
protected static __types: {
|
|
107
|
+
api: {
|
|
108
|
+
input: UpdateViewInput;
|
|
109
|
+
output: UpdateViewOutput;
|
|
110
|
+
};
|
|
111
|
+
sdk: {
|
|
112
|
+
input: UpdateViewCommandInput;
|
|
113
|
+
output: UpdateViewCommandOutput;
|
|
114
|
+
};
|
|
115
|
+
};
|
|
105
116
|
}
|
|
@@ -11,6 +11,7 @@ export * from "./GetIndexCommand";
|
|
|
11
11
|
export * from "./GetViewCommand";
|
|
12
12
|
export * from "./ListIndexesCommand";
|
|
13
13
|
export * from "./ListIndexesForMembersCommand";
|
|
14
|
+
export * from "./ListResourcesCommand";
|
|
14
15
|
export * from "./ListSupportedResourceTypesCommand";
|
|
15
16
|
export * from "./ListTagsForResourceCommand";
|
|
16
17
|
export * from "./ListViewsCommand";
|
|
@@ -982,16 +982,13 @@ export interface ListIndexesForMembersOutput {
|
|
|
982
982
|
/**
|
|
983
983
|
* @public
|
|
984
984
|
*/
|
|
985
|
-
export interface
|
|
985
|
+
export interface ListResourcesInput {
|
|
986
986
|
/**
|
|
987
|
-
* <p>
|
|
988
|
-
*
|
|
989
|
-
* indicates that more output is available. Set this parameter to the value of the previous
|
|
990
|
-
* call's <code>NextToken</code> response to indicate where the output should continue
|
|
991
|
-
* from. The pagination tokens expire after 24 hours.</p>
|
|
987
|
+
* <p>A search filter defines which resources can be part of a search query result
|
|
988
|
+
* set.</p>
|
|
992
989
|
* @public
|
|
993
990
|
*/
|
|
994
|
-
|
|
991
|
+
Filters?: SearchFilter;
|
|
995
992
|
/**
|
|
996
993
|
* <p>The maximum number of results that you want included on each page of the
|
|
997
994
|
* response. If you do not include this parameter, it defaults to a value appropriate to the
|
|
@@ -1007,64 +1004,25 @@ export interface ListSupportedResourceTypesInput {
|
|
|
1007
1004
|
* @public
|
|
1008
1005
|
*/
|
|
1009
1006
|
MaxResults?: number;
|
|
1010
|
-
}
|
|
1011
|
-
/**
|
|
1012
|
-
* <p>A structure that describes a resource type supported by Amazon Web Services Resource Explorer.</p>
|
|
1013
|
-
* @public
|
|
1014
|
-
*/
|
|
1015
|
-
export interface SupportedResourceType {
|
|
1016
1007
|
/**
|
|
1017
|
-
* <p>
|
|
1018
|
-
*
|
|
1008
|
+
* <p>Specifies the Amazon resource name (ARN) of the view to use for the query. If you don't
|
|
1009
|
+
* specify a value for this parameter, then the operation automatically uses the default view
|
|
1010
|
+
* for the Amazon Web Services Region in which you called this operation. If the Region either doesn't have
|
|
1011
|
+
* a default view or if you don't have permission to use the default view, then the operation
|
|
1012
|
+
* fails with a 401 Unauthorized exception.</p>
|
|
1019
1013
|
* @public
|
|
1020
1014
|
*/
|
|
1021
|
-
|
|
1022
|
-
/**
|
|
1023
|
-
* <p>The unique identifier of the resource type.</p>
|
|
1024
|
-
* @public
|
|
1025
|
-
*/
|
|
1026
|
-
ResourceType?: string;
|
|
1027
|
-
}
|
|
1028
|
-
/**
|
|
1029
|
-
* @public
|
|
1030
|
-
*/
|
|
1031
|
-
export interface ListSupportedResourceTypesOutput {
|
|
1032
|
-
/**
|
|
1033
|
-
* <p>The list of resource types supported by Resource Explorer.</p>
|
|
1034
|
-
* @public
|
|
1035
|
-
*/
|
|
1036
|
-
ResourceTypes?: SupportedResourceType[];
|
|
1015
|
+
ViewArn?: string;
|
|
1037
1016
|
/**
|
|
1038
|
-
* <p>
|
|
1039
|
-
*
|
|
1040
|
-
*
|
|
1041
|
-
*
|
|
1042
|
-
* The pagination tokens expire after 24 hours.</p>
|
|
1017
|
+
* <p>The parameter for receiving additional results if you receive a
|
|
1018
|
+
* <code>NextToken</code> response in a previous request. A <code>NextToken</code> response
|
|
1019
|
+
* indicates that more output is available. Set this parameter to the value of the previous
|
|
1020
|
+
* call's <code>NextToken</code> response to indicate where the output should continue
|
|
1021
|
+
* from. The pagination tokens expire after 24 hours.</p>
|
|
1043
1022
|
* @public
|
|
1044
1023
|
*/
|
|
1045
1024
|
NextToken?: string;
|
|
1046
1025
|
}
|
|
1047
|
-
/**
|
|
1048
|
-
* @public
|
|
1049
|
-
*/
|
|
1050
|
-
export interface ListTagsForResourceInput {
|
|
1051
|
-
/**
|
|
1052
|
-
* <p>The <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon resource name (ARN)</a> of the view or index that you want to attach tags to.</p>
|
|
1053
|
-
* @public
|
|
1054
|
-
*/
|
|
1055
|
-
resourceArn: string | undefined;
|
|
1056
|
-
}
|
|
1057
|
-
/**
|
|
1058
|
-
* @public
|
|
1059
|
-
*/
|
|
1060
|
-
export interface ListTagsForResourceOutput {
|
|
1061
|
-
/**
|
|
1062
|
-
* <p>The tag key and value pairs that you want to attach to the specified view or
|
|
1063
|
-
* index.</p>
|
|
1064
|
-
* @public
|
|
1065
|
-
*/
|
|
1066
|
-
Tags?: Record<string, string>;
|
|
1067
|
-
}
|
|
1068
1026
|
/**
|
|
1069
1027
|
* <p>A structure that describes a property of a resource.</p>
|
|
1070
1028
|
* @public
|
|
@@ -1115,7 +1073,7 @@ export interface Resource {
|
|
|
1115
1073
|
*/
|
|
1116
1074
|
ResourceType?: string;
|
|
1117
1075
|
/**
|
|
1118
|
-
* <p>The Amazon Web
|
|
1076
|
+
* <p>The Amazon Web Servicesservice that owns the resource and is responsible for creating and updating
|
|
1119
1077
|
* it.</p>
|
|
1120
1078
|
* @public
|
|
1121
1079
|
*/
|
|
@@ -1133,6 +1091,116 @@ export interface Resource {
|
|
|
1133
1091
|
*/
|
|
1134
1092
|
Properties?: ResourceProperty[];
|
|
1135
1093
|
}
|
|
1094
|
+
/**
|
|
1095
|
+
* @public
|
|
1096
|
+
*/
|
|
1097
|
+
export interface ListResourcesOutput {
|
|
1098
|
+
/**
|
|
1099
|
+
* <p>The list of structures that describe the resources that match the query. </p>
|
|
1100
|
+
* @public
|
|
1101
|
+
*/
|
|
1102
|
+
Resources?: Resource[];
|
|
1103
|
+
/**
|
|
1104
|
+
* <p>If present, indicates that more output is available than is
|
|
1105
|
+
* included in the current response. Use this value in the <code>NextToken</code> request parameter
|
|
1106
|
+
* in a subsequent call to the operation to get the next part of the output. You should repeat this
|
|
1107
|
+
* until the <code>NextToken</code> response element comes back as <code>null</code>.
|
|
1108
|
+
* The pagination tokens expire after 24 hours.</p>
|
|
1109
|
+
* @public
|
|
1110
|
+
*/
|
|
1111
|
+
NextToken?: string;
|
|
1112
|
+
/**
|
|
1113
|
+
* <p>The Amazon resource name (ARN) of the view that this operation used to perform the search. </p>
|
|
1114
|
+
* @public
|
|
1115
|
+
*/
|
|
1116
|
+
ViewArn?: string;
|
|
1117
|
+
}
|
|
1118
|
+
/**
|
|
1119
|
+
* @public
|
|
1120
|
+
*/
|
|
1121
|
+
export interface ListSupportedResourceTypesInput {
|
|
1122
|
+
/**
|
|
1123
|
+
* <p>The parameter for receiving additional results if you receive a
|
|
1124
|
+
* <code>NextToken</code> response in a previous request. A <code>NextToken</code> response
|
|
1125
|
+
* indicates that more output is available. Set this parameter to the value of the previous
|
|
1126
|
+
* call's <code>NextToken</code> response to indicate where the output should continue
|
|
1127
|
+
* from. The pagination tokens expire after 24 hours.</p>
|
|
1128
|
+
* @public
|
|
1129
|
+
*/
|
|
1130
|
+
NextToken?: string;
|
|
1131
|
+
/**
|
|
1132
|
+
* <p>The maximum number of results that you want included on each page of the
|
|
1133
|
+
* response. If you do not include this parameter, it defaults to a value appropriate to the
|
|
1134
|
+
* operation. If additional items exist beyond those included in the current response, the
|
|
1135
|
+
* <code>NextToken</code> response element is present and has a value (is not null). Include that
|
|
1136
|
+
* value as the <code>NextToken</code> request parameter in the next call to the operation to get
|
|
1137
|
+
* the next part of the results.</p>
|
|
1138
|
+
* <note>
|
|
1139
|
+
* <p>An API operation can return fewer results than the maximum even when there are
|
|
1140
|
+
* more results available. You should check <code>NextToken</code> after every operation to ensure
|
|
1141
|
+
* that you receive all of the results.</p>
|
|
1142
|
+
* </note>
|
|
1143
|
+
* @public
|
|
1144
|
+
*/
|
|
1145
|
+
MaxResults?: number;
|
|
1146
|
+
}
|
|
1147
|
+
/**
|
|
1148
|
+
* <p>A structure that describes a resource type supported by Amazon Web Services Resource Explorer.</p>
|
|
1149
|
+
* @public
|
|
1150
|
+
*/
|
|
1151
|
+
export interface SupportedResourceType {
|
|
1152
|
+
/**
|
|
1153
|
+
* <p>The Amazon Web Servicesservice that is associated with the resource type. This is the primary
|
|
1154
|
+
* service that lets you create and interact with resources of this type.</p>
|
|
1155
|
+
* @public
|
|
1156
|
+
*/
|
|
1157
|
+
Service?: string;
|
|
1158
|
+
/**
|
|
1159
|
+
* <p>The unique identifier of the resource type.</p>
|
|
1160
|
+
* @public
|
|
1161
|
+
*/
|
|
1162
|
+
ResourceType?: string;
|
|
1163
|
+
}
|
|
1164
|
+
/**
|
|
1165
|
+
* @public
|
|
1166
|
+
*/
|
|
1167
|
+
export interface ListSupportedResourceTypesOutput {
|
|
1168
|
+
/**
|
|
1169
|
+
* <p>The list of resource types supported by Resource Explorer.</p>
|
|
1170
|
+
* @public
|
|
1171
|
+
*/
|
|
1172
|
+
ResourceTypes?: SupportedResourceType[];
|
|
1173
|
+
/**
|
|
1174
|
+
* <p>If present, indicates that more output is available than is
|
|
1175
|
+
* included in the current response. Use this value in the <code>NextToken</code> request parameter
|
|
1176
|
+
* in a subsequent call to the operation to get the next part of the output. You should repeat this
|
|
1177
|
+
* until the <code>NextToken</code> response element comes back as <code>null</code>.
|
|
1178
|
+
* The pagination tokens expire after 24 hours.</p>
|
|
1179
|
+
* @public
|
|
1180
|
+
*/
|
|
1181
|
+
NextToken?: string;
|
|
1182
|
+
}
|
|
1183
|
+
/**
|
|
1184
|
+
* @public
|
|
1185
|
+
*/
|
|
1186
|
+
export interface ListTagsForResourceInput {
|
|
1187
|
+
/**
|
|
1188
|
+
* <p>The <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon resource name (ARN)</a> of the view or index that you want to attach tags to.</p>
|
|
1189
|
+
* @public
|
|
1190
|
+
*/
|
|
1191
|
+
resourceArn: string | undefined;
|
|
1192
|
+
}
|
|
1193
|
+
/**
|
|
1194
|
+
* @public
|
|
1195
|
+
*/
|
|
1196
|
+
export interface ListTagsForResourceOutput {
|
|
1197
|
+
/**
|
|
1198
|
+
* <p>The tag key and value pairs that you want to attach to the specified view or
|
|
1199
|
+
* index.</p>
|
|
1200
|
+
* @public
|
|
1201
|
+
*/
|
|
1202
|
+
Tags?: Record<string, string>;
|
|
1203
|
+
}
|
|
1136
1204
|
/**
|
|
1137
1205
|
* <p>Information about the number of results that match the query. At this time, Amazon Web Services Resource Explorer
|
|
1138
1206
|
* doesn't count more than 1,000 matches for any query. This structure
|
|
@@ -1333,6 +1401,10 @@ export declare const UpdateViewOutputFilterSensitiveLog: (obj: UpdateViewOutput)
|
|
|
1333
1401
|
* @internal
|
|
1334
1402
|
*/
|
|
1335
1403
|
export declare const GetIndexOutputFilterSensitiveLog: (obj: GetIndexOutput) => any;
|
|
1404
|
+
/**
|
|
1405
|
+
* @internal
|
|
1406
|
+
*/
|
|
1407
|
+
export declare const ListResourcesInputFilterSensitiveLog: (obj: ListResourcesInput) => any;
|
|
1336
1408
|
/**
|
|
1337
1409
|
* @internal
|
|
1338
1410
|
*/
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import { ListResourcesCommandInput, ListResourcesCommandOutput } from "../commands/ListResourcesCommand";
|
|
3
|
+
import { ResourceExplorer2PaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare const paginateListResources: (config: ResourceExplorer2PaginationConfiguration, input: ListResourcesCommandInput, ...rest: any[]) => Paginator<ListResourcesCommandOutput>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./Interfaces";
|
|
2
2
|
export * from "./ListIndexesForMembersPaginator";
|
|
3
3
|
export * from "./ListIndexesPaginator";
|
|
4
|
+
export * from "./ListResourcesPaginator";
|
|
4
5
|
export * from "./ListSupportedResourceTypesPaginator";
|
|
5
6
|
export * from "./ListViewsPaginator";
|
|
6
7
|
export * from "./SearchPaginator";
|
|
@@ -13,6 +13,7 @@ import { GetIndexCommandInput, GetIndexCommandOutput } from "../commands/GetInde
|
|
|
13
13
|
import { GetViewCommandInput, GetViewCommandOutput } from "../commands/GetViewCommand";
|
|
14
14
|
import { ListIndexesCommandInput, ListIndexesCommandOutput } from "../commands/ListIndexesCommand";
|
|
15
15
|
import { ListIndexesForMembersCommandInput, ListIndexesForMembersCommandOutput } from "../commands/ListIndexesForMembersCommand";
|
|
16
|
+
import { ListResourcesCommandInput, ListResourcesCommandOutput } from "../commands/ListResourcesCommand";
|
|
16
17
|
import { ListSupportedResourceTypesCommandInput, ListSupportedResourceTypesCommandOutput } from "../commands/ListSupportedResourceTypesCommand";
|
|
17
18
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
|
|
18
19
|
import { ListViewsCommandInput, ListViewsCommandOutput } from "../commands/ListViewsCommand";
|
|
@@ -73,6 +74,10 @@ export declare const se_ListIndexesCommand: (input: ListIndexesCommandInput, con
|
|
|
73
74
|
* serializeAws_restJson1ListIndexesForMembersCommand
|
|
74
75
|
*/
|
|
75
76
|
export declare const se_ListIndexesForMembersCommand: (input: ListIndexesForMembersCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
77
|
+
/**
|
|
78
|
+
* serializeAws_restJson1ListResourcesCommand
|
|
79
|
+
*/
|
|
80
|
+
export declare const se_ListResourcesCommand: (input: ListResourcesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
76
81
|
/**
|
|
77
82
|
* serializeAws_restJson1ListSupportedResourceTypesCommand
|
|
78
83
|
*/
|
|
@@ -157,6 +162,10 @@ export declare const de_ListIndexesCommand: (output: __HttpResponse, context: __
|
|
|
157
162
|
* deserializeAws_restJson1ListIndexesForMembersCommand
|
|
158
163
|
*/
|
|
159
164
|
export declare const de_ListIndexesForMembersCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListIndexesForMembersCommandOutput>;
|
|
165
|
+
/**
|
|
166
|
+
* deserializeAws_restJson1ListResourcesCommand
|
|
167
|
+
*/
|
|
168
|
+
export declare const de_ListResourcesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListResourcesCommandOutput>;
|
|
160
169
|
/**
|
|
161
170
|
* deserializeAws_restJson1ListSupportedResourceTypesCommand
|
|
162
171
|
*/
|
|
@@ -51,6 +51,10 @@ import {
|
|
|
51
51
|
ListIndexesForMembersCommandInput,
|
|
52
52
|
ListIndexesForMembersCommandOutput,
|
|
53
53
|
} from "./commands/ListIndexesForMembersCommand";
|
|
54
|
+
import {
|
|
55
|
+
ListResourcesCommandInput,
|
|
56
|
+
ListResourcesCommandOutput,
|
|
57
|
+
} from "./commands/ListResourcesCommand";
|
|
54
58
|
import {
|
|
55
59
|
ListSupportedResourceTypesCommandInput,
|
|
56
60
|
ListSupportedResourceTypesCommandOutput,
|
|
@@ -267,6 +271,20 @@ export interface ResourceExplorer2 {
|
|
|
267
271
|
options: __HttpHandlerOptions,
|
|
268
272
|
cb: (err: any, data?: ListIndexesForMembersCommandOutput) => void
|
|
269
273
|
): void;
|
|
274
|
+
listResources(): Promise<ListResourcesCommandOutput>;
|
|
275
|
+
listResources(
|
|
276
|
+
args: ListResourcesCommandInput,
|
|
277
|
+
options?: __HttpHandlerOptions
|
|
278
|
+
): Promise<ListResourcesCommandOutput>;
|
|
279
|
+
listResources(
|
|
280
|
+
args: ListResourcesCommandInput,
|
|
281
|
+
cb: (err: any, data?: ListResourcesCommandOutput) => void
|
|
282
|
+
): void;
|
|
283
|
+
listResources(
|
|
284
|
+
args: ListResourcesCommandInput,
|
|
285
|
+
options: __HttpHandlerOptions,
|
|
286
|
+
cb: (err: any, data?: ListResourcesCommandOutput) => void
|
|
287
|
+
): void;
|
|
270
288
|
listSupportedResourceTypes(): Promise<ListSupportedResourceTypesCommandOutput>;
|
|
271
289
|
listSupportedResourceTypes(
|
|
272
290
|
args: ListSupportedResourceTypesCommandInput,
|
|
@@ -97,6 +97,10 @@ import {
|
|
|
97
97
|
ListIndexesForMembersCommandInput,
|
|
98
98
|
ListIndexesForMembersCommandOutput,
|
|
99
99
|
} from "./commands/ListIndexesForMembersCommand";
|
|
100
|
+
import {
|
|
101
|
+
ListResourcesCommandInput,
|
|
102
|
+
ListResourcesCommandOutput,
|
|
103
|
+
} from "./commands/ListResourcesCommand";
|
|
100
104
|
import {
|
|
101
105
|
ListSupportedResourceTypesCommandInput,
|
|
102
106
|
ListSupportedResourceTypesCommandOutput,
|
|
@@ -150,6 +154,7 @@ export type ServiceInputTypes =
|
|
|
150
154
|
| GetViewCommandInput
|
|
151
155
|
| ListIndexesCommandInput
|
|
152
156
|
| ListIndexesForMembersCommandInput
|
|
157
|
+
| ListResourcesCommandInput
|
|
153
158
|
| ListSupportedResourceTypesCommandInput
|
|
154
159
|
| ListTagsForResourceCommandInput
|
|
155
160
|
| ListViewsCommandInput
|
|
@@ -172,6 +177,7 @@ export type ServiceOutputTypes =
|
|
|
172
177
|
| GetViewCommandOutput
|
|
173
178
|
| ListIndexesCommandOutput
|
|
174
179
|
| ListIndexesForMembersCommandOutput
|
|
180
|
+
| ListResourcesCommandOutput
|
|
175
181
|
| ListSupportedResourceTypesCommandOutput
|
|
176
182
|
| ListTagsForResourceCommandOutput
|
|
177
183
|
| ListViewsCommandOutput
|
|
@@ -37,4 +37,15 @@ declare const AssociateDefaultViewCommand_base: {
|
|
|
37
37
|
>;
|
|
38
38
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
39
|
};
|
|
40
|
-
export declare class AssociateDefaultViewCommand extends AssociateDefaultViewCommand_base {
|
|
40
|
+
export declare class AssociateDefaultViewCommand extends AssociateDefaultViewCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: AssociateDefaultViewInput;
|
|
44
|
+
output: AssociateDefaultViewOutput;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: AssociateDefaultViewCommandInput;
|
|
48
|
+
output: AssociateDefaultViewCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -33,4 +33,15 @@ declare const BatchGetViewCommand_base: {
|
|
|
33
33
|
>;
|
|
34
34
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
35
35
|
};
|
|
36
|
-
export declare class BatchGetViewCommand extends BatchGetViewCommand_base {
|
|
36
|
+
export declare class BatchGetViewCommand extends BatchGetViewCommand_base {
|
|
37
|
+
protected static __types: {
|
|
38
|
+
api: {
|
|
39
|
+
input: BatchGetViewInput;
|
|
40
|
+
output: BatchGetViewOutput;
|
|
41
|
+
};
|
|
42
|
+
sdk: {
|
|
43
|
+
input: BatchGetViewCommandInput;
|
|
44
|
+
output: BatchGetViewCommandOutput;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -33,4 +33,15 @@ declare const CreateIndexCommand_base: {
|
|
|
33
33
|
>;
|
|
34
34
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
35
35
|
};
|
|
36
|
-
export declare class CreateIndexCommand extends CreateIndexCommand_base {
|
|
36
|
+
export declare class CreateIndexCommand extends CreateIndexCommand_base {
|
|
37
|
+
protected static __types: {
|
|
38
|
+
api: {
|
|
39
|
+
input: CreateIndexInput;
|
|
40
|
+
output: CreateIndexOutput;
|
|
41
|
+
};
|
|
42
|
+
sdk: {
|
|
43
|
+
input: CreateIndexCommandInput;
|
|
44
|
+
output: CreateIndexCommandOutput;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
}
|