@aws-sdk/client-resource-explorer-2 3.686.0 → 3.687.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (29) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/index.js +127 -0
  3. package/dist-es/ResourceExplorer2.js +4 -0
  4. package/dist-es/commands/GetManagedViewCommand.js +23 -0
  5. package/dist-es/commands/ListManagedViewsCommand.js +22 -0
  6. package/dist-es/commands/index.js +2 -0
  7. package/dist-es/models/models_0.js +8 -0
  8. package/dist-es/pagination/ListManagedViewsPaginator.js +4 -0
  9. package/dist-es/pagination/index.js +1 -0
  10. package/dist-es/protocols/Aws_restJson1.js +71 -0
  11. package/dist-types/ResourceExplorer2.d.ts +15 -0
  12. package/dist-types/ResourceExplorer2Client.d.ts +4 -2
  13. package/dist-types/commands/GetManagedViewCommand.d.ts +112 -0
  14. package/dist-types/commands/ListManagedViewsCommand.d.ts +98 -0
  15. package/dist-types/commands/index.d.ts +2 -0
  16. package/dist-types/models/models_0.d.ts +145 -2
  17. package/dist-types/pagination/ListManagedViewsPaginator.d.ts +7 -0
  18. package/dist-types/pagination/index.d.ts +1 -0
  19. package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
  20. package/dist-types/ts3.4/ResourceExplorer2.d.ts +35 -0
  21. package/dist-types/ts3.4/ResourceExplorer2Client.d.ts +12 -0
  22. package/dist-types/ts3.4/commands/GetManagedViewCommand.d.ts +47 -0
  23. package/dist-types/ts3.4/commands/ListManagedViewsCommand.d.ts +50 -0
  24. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  25. package/dist-types/ts3.4/models/models_0.d.ts +31 -0
  26. package/dist-types/ts3.4/pagination/ListManagedViewsPaginator.d.ts +11 -0
  27. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  28. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
  29. package/package.json +6 -6
@@ -0,0 +1,50 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ ListManagedViewsInput,
5
+ ListManagedViewsOutput,
6
+ } from "../models/models_0";
7
+ import {
8
+ ResourceExplorer2ClientResolvedConfig,
9
+ ServiceInputTypes,
10
+ ServiceOutputTypes,
11
+ } from "../ResourceExplorer2Client";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface ListManagedViewsCommandInput extends ListManagedViewsInput {}
15
+ export interface ListManagedViewsCommandOutput
16
+ extends ListManagedViewsOutput,
17
+ __MetadataBearer {}
18
+ declare const ListManagedViewsCommand_base: {
19
+ new (
20
+ input: ListManagedViewsCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
22
+ ListManagedViewsCommandInput,
23
+ ListManagedViewsCommandOutput,
24
+ ResourceExplorer2ClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
27
+ >;
28
+ new (
29
+ ...[input]: [] | [ListManagedViewsCommandInput]
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ ListManagedViewsCommandInput,
32
+ ListManagedViewsCommandOutput,
33
+ ResourceExplorer2ClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
37
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
38
+ };
39
+ export declare class ListManagedViewsCommand extends ListManagedViewsCommand_base {
40
+ protected static __types: {
41
+ api: {
42
+ input: ListManagedViewsInput;
43
+ output: ListManagedViewsOutput;
44
+ };
45
+ sdk: {
46
+ input: ListManagedViewsCommandInput;
47
+ output: ListManagedViewsCommandOutput;
48
+ };
49
+ };
50
+ }
@@ -8,9 +8,11 @@ export * from "./DisassociateDefaultViewCommand";
8
8
  export * from "./GetAccountLevelServiceConfigurationCommand";
9
9
  export * from "./GetDefaultViewCommand";
10
10
  export * from "./GetIndexCommand";
11
+ export * from "./GetManagedViewCommand";
11
12
  export * from "./GetViewCommand";
12
13
  export * from "./ListIndexesCommand";
13
14
  export * from "./ListIndexesForMembersCommand";
15
+ export * from "./ListManagedViewsCommand";
14
16
  export * from "./ListResourcesCommand";
15
17
  export * from "./ListSupportedResourceTypesCommand";
16
18
  export * from "./ListTagsForResourceCommand";
@@ -222,6 +222,24 @@ export interface GetIndexOutput {
222
222
  LastUpdatedAt?: Date;
223
223
  Tags?: Record<string, string>;
224
224
  }
225
+ export interface GetManagedViewInput {
226
+ ManagedViewArn: string | undefined;
227
+ }
228
+ export interface ManagedView {
229
+ ManagedViewArn?: string;
230
+ ManagedViewName?: string;
231
+ TrustedService?: string;
232
+ LastUpdatedAt?: Date;
233
+ Owner?: string;
234
+ Scope?: string;
235
+ IncludedProperties?: IncludedProperty[];
236
+ Filters?: SearchFilter;
237
+ ResourcePolicy?: string;
238
+ Version?: string;
239
+ }
240
+ export interface GetManagedViewOutput {
241
+ ManagedView?: ManagedView;
242
+ }
225
243
  export interface ListIndexesForMembersInput {
226
244
  AccountIdList: string[] | undefined;
227
245
  MaxResults?: number;
@@ -237,6 +255,15 @@ export interface ListIndexesForMembersOutput {
237
255
  Indexes?: MemberIndex[];
238
256
  NextToken?: string;
239
257
  }
258
+ export interface ListManagedViewsInput {
259
+ MaxResults?: number;
260
+ NextToken?: string;
261
+ ServicePrincipal?: string;
262
+ }
263
+ export interface ListManagedViewsOutput {
264
+ NextToken?: string;
265
+ ManagedViews?: string[];
266
+ }
240
267
  export interface ListResourcesInput {
241
268
  Filters?: SearchFilter;
242
269
  MaxResults?: number;
@@ -332,6 +359,10 @@ export declare const UpdateViewOutputFilterSensitiveLog: (
332
359
  export declare const GetIndexOutputFilterSensitiveLog: (
333
360
  obj: GetIndexOutput
334
361
  ) => any;
362
+ export declare const ManagedViewFilterSensitiveLog: (obj: ManagedView) => any;
363
+ export declare const GetManagedViewOutputFilterSensitiveLog: (
364
+ obj: GetManagedViewOutput
365
+ ) => any;
335
366
  export declare const ListResourcesInputFilterSensitiveLog: (
336
367
  obj: ListResourcesInput
337
368
  ) => any;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListManagedViewsCommandInput,
4
+ ListManagedViewsCommandOutput,
5
+ } from "../commands/ListManagedViewsCommand";
6
+ import { ResourceExplorer2PaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListManagedViews: (
8
+ config: ResourceExplorer2PaginationConfiguration,
9
+ input: ListManagedViewsCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListManagedViewsCommandOutput>;
@@ -1,6 +1,7 @@
1
1
  export * from "./Interfaces";
2
2
  export * from "./ListIndexesForMembersPaginator";
3
3
  export * from "./ListIndexesPaginator";
4
+ export * from "./ListManagedViewsPaginator";
4
5
  export * from "./ListResourcesPaginator";
5
6
  export * from "./ListSupportedResourceTypesPaginator";
6
7
  export * from "./ListViewsPaginator";
@@ -43,6 +43,10 @@ import {
43
43
  GetIndexCommandInput,
44
44
  GetIndexCommandOutput,
45
45
  } from "../commands/GetIndexCommand";
46
+ import {
47
+ GetManagedViewCommandInput,
48
+ GetManagedViewCommandOutput,
49
+ } from "../commands/GetManagedViewCommand";
46
50
  import {
47
51
  GetViewCommandInput,
48
52
  GetViewCommandOutput,
@@ -55,6 +59,10 @@ import {
55
59
  ListIndexesForMembersCommandInput,
56
60
  ListIndexesForMembersCommandOutput,
57
61
  } from "../commands/ListIndexesForMembersCommand";
62
+ import {
63
+ ListManagedViewsCommandInput,
64
+ ListManagedViewsCommandOutput,
65
+ } from "../commands/ListManagedViewsCommand";
58
66
  import {
59
67
  ListResourcesCommandInput,
60
68
  ListResourcesCommandOutput,
@@ -131,6 +139,10 @@ export declare const se_GetIndexCommand: (
131
139
  input: GetIndexCommandInput,
132
140
  context: __SerdeContext
133
141
  ) => Promise<__HttpRequest>;
142
+ export declare const se_GetManagedViewCommand: (
143
+ input: GetManagedViewCommandInput,
144
+ context: __SerdeContext
145
+ ) => Promise<__HttpRequest>;
134
146
  export declare const se_GetViewCommand: (
135
147
  input: GetViewCommandInput,
136
148
  context: __SerdeContext
@@ -143,6 +155,10 @@ export declare const se_ListIndexesForMembersCommand: (
143
155
  input: ListIndexesForMembersCommandInput,
144
156
  context: __SerdeContext
145
157
  ) => Promise<__HttpRequest>;
158
+ export declare const se_ListManagedViewsCommand: (
159
+ input: ListManagedViewsCommandInput,
160
+ context: __SerdeContext
161
+ ) => Promise<__HttpRequest>;
146
162
  export declare const se_ListResourcesCommand: (
147
163
  input: ListResourcesCommandInput,
148
164
  context: __SerdeContext
@@ -219,6 +235,10 @@ export declare const de_GetIndexCommand: (
219
235
  output: __HttpResponse,
220
236
  context: __SerdeContext
221
237
  ) => Promise<GetIndexCommandOutput>;
238
+ export declare const de_GetManagedViewCommand: (
239
+ output: __HttpResponse,
240
+ context: __SerdeContext
241
+ ) => Promise<GetManagedViewCommandOutput>;
222
242
  export declare const de_GetViewCommand: (
223
243
  output: __HttpResponse,
224
244
  context: __SerdeContext
@@ -231,6 +251,10 @@ export declare const de_ListIndexesForMembersCommand: (
231
251
  output: __HttpResponse,
232
252
  context: __SerdeContext
233
253
  ) => Promise<ListIndexesForMembersCommandOutput>;
254
+ export declare const de_ListManagedViewsCommand: (
255
+ output: __HttpResponse,
256
+ context: __SerdeContext
257
+ ) => Promise<ListManagedViewsCommandOutput>;
234
258
  export declare const de_ListResourcesCommand: (
235
259
  output: __HttpResponse,
236
260
  context: __SerdeContext
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-resource-explorer-2",
3
3
  "description": "AWS SDK for JavaScript Resource Explorer 2 Client for Node.js, Browser and React Native",
4
- "version": "3.686.0",
4
+ "version": "3.687.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-resource-explorer-2",
@@ -20,19 +20,19 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.686.0",
24
- "@aws-sdk/client-sts": "3.686.0",
23
+ "@aws-sdk/client-sso-oidc": "3.687.0",
24
+ "@aws-sdk/client-sts": "3.687.0",
25
25
  "@aws-sdk/core": "3.686.0",
26
- "@aws-sdk/credential-provider-node": "3.686.0",
26
+ "@aws-sdk/credential-provider-node": "3.687.0",
27
27
  "@aws-sdk/middleware-host-header": "3.686.0",
28
28
  "@aws-sdk/middleware-logger": "3.686.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.686.0",
30
- "@aws-sdk/middleware-user-agent": "3.686.0",
30
+ "@aws-sdk/middleware-user-agent": "3.687.0",
31
31
  "@aws-sdk/region-config-resolver": "3.686.0",
32
32
  "@aws-sdk/types": "3.686.0",
33
33
  "@aws-sdk/util-endpoints": "3.686.0",
34
34
  "@aws-sdk/util-user-agent-browser": "3.686.0",
35
- "@aws-sdk/util-user-agent-node": "3.686.0",
35
+ "@aws-sdk/util-user-agent-node": "3.687.0",
36
36
  "@smithy/config-resolver": "^3.0.10",
37
37
  "@smithy/core": "^2.5.1",
38
38
  "@smithy/fetch-http-handler": "^4.0.0",