@aws-sdk/client-resource-explorer-2 3.682.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.
- package/README.md +17 -1
- package/dist-cjs/index.js +127 -0
- package/dist-es/ResourceExplorer2.js +4 -0
- package/dist-es/commands/GetManagedViewCommand.js +23 -0
- package/dist-es/commands/ListManagedViewsCommand.js +22 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +8 -0
- package/dist-es/pagination/ListManagedViewsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +71 -0
- package/dist-types/ResourceExplorer2.d.ts +15 -0
- package/dist-types/ResourceExplorer2Client.d.ts +4 -2
- package/dist-types/commands/GetManagedViewCommand.d.ts +112 -0
- package/dist-types/commands/ListManagedViewsCommand.d.ts +98 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +145 -2
- package/dist-types/pagination/ListManagedViewsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
- package/dist-types/ts3.4/ResourceExplorer2.d.ts +35 -0
- package/dist-types/ts3.4/ResourceExplorer2Client.d.ts +12 -0
- package/dist-types/ts3.4/commands/GetManagedViewCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListManagedViewsCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +31 -0
- package/dist-types/ts3.4/pagination/ListManagedViewsPaginator.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 +24 -0
- package/package.json +35 -35
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { GetManagedViewInput, GetManagedViewOutput } 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 GetManagedViewCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetManagedViewCommandInput extends GetManagedViewInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetManagedViewCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetManagedViewCommandOutput extends GetManagedViewOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetManagedViewCommand_base: {
|
|
25
|
+
new (input: GetManagedViewCommandInput): import("@smithy/smithy-client").CommandImpl<GetManagedViewCommandInput, GetManagedViewCommandOutput, ResourceExplorer2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: GetManagedViewCommandInput): import("@smithy/smithy-client").CommandImpl<GetManagedViewCommandInput, GetManagedViewCommandOutput, ResourceExplorer2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Retrieves details of the specified <a href="https://docs.aws.amazon.com/resource-explorer/latest/userguide/aws-managed-views.html">Amazon Web Services-managed view</a>. </p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { ResourceExplorer2Client, GetManagedViewCommand } from "@aws-sdk/client-resource-explorer-2"; // ES Modules import
|
|
35
|
+
* // const { ResourceExplorer2Client, GetManagedViewCommand } = require("@aws-sdk/client-resource-explorer-2"); // CommonJS import
|
|
36
|
+
* const client = new ResourceExplorer2Client(config);
|
|
37
|
+
* const input = { // GetManagedViewInput
|
|
38
|
+
* ManagedViewArn: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new GetManagedViewCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // GetManagedViewOutput
|
|
43
|
+
* // ManagedView: { // ManagedView
|
|
44
|
+
* // ManagedViewArn: "STRING_VALUE",
|
|
45
|
+
* // ManagedViewName: "STRING_VALUE",
|
|
46
|
+
* // TrustedService: "STRING_VALUE",
|
|
47
|
+
* // LastUpdatedAt: new Date("TIMESTAMP"),
|
|
48
|
+
* // Owner: "STRING_VALUE",
|
|
49
|
+
* // Scope: "STRING_VALUE",
|
|
50
|
+
* // IncludedProperties: [ // IncludedPropertyList
|
|
51
|
+
* // { // IncludedProperty
|
|
52
|
+
* // Name: "STRING_VALUE", // required
|
|
53
|
+
* // },
|
|
54
|
+
* // ],
|
|
55
|
+
* // Filters: { // SearchFilter
|
|
56
|
+
* // FilterString: "STRING_VALUE", // required
|
|
57
|
+
* // },
|
|
58
|
+
* // ResourcePolicy: "STRING_VALUE",
|
|
59
|
+
* // Version: "STRING_VALUE",
|
|
60
|
+
* // },
|
|
61
|
+
* // };
|
|
62
|
+
*
|
|
63
|
+
* ```
|
|
64
|
+
*
|
|
65
|
+
* @param GetManagedViewCommandInput - {@link GetManagedViewCommandInput}
|
|
66
|
+
* @returns {@link GetManagedViewCommandOutput}
|
|
67
|
+
* @see {@link GetManagedViewCommandInput} for command's `input` shape.
|
|
68
|
+
* @see {@link GetManagedViewCommandOutput} for command's `response` shape.
|
|
69
|
+
* @see {@link ResourceExplorer2ClientResolvedConfig | config} for ResourceExplorer2Client's `config` shape.
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
72
|
+
* <p>The credentials that you used to call this operation don't have the minimum required
|
|
73
|
+
* permissions.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link InternalServerException} (server fault)
|
|
76
|
+
* <p>The request failed because of internal service error. Try your request again
|
|
77
|
+
* later.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
80
|
+
* <p>You specified a resource that doesn't exist. Check the ID or ARN that you used to
|
|
81
|
+
* identity the resource, and try again.</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
84
|
+
* <p>The request failed because you exceeded a rate limit for this operation. For more
|
|
85
|
+
* information, see <a href="https://docs.aws.amazon.com/resource-explorer/latest/userguide/quotas.html">Quotas for
|
|
86
|
+
* Resource Explorer</a>.</p>
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link UnauthorizedException} (client fault)
|
|
89
|
+
* <p>The principal making the request isn't permitted to perform the operation.</p>
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link ValidationException} (client fault)
|
|
92
|
+
* <p>You provided an invalid value for one of the operation's parameters. Check the syntax
|
|
93
|
+
* for the operation, and try again.</p>
|
|
94
|
+
*
|
|
95
|
+
* @throws {@link ResourceExplorer2ServiceException}
|
|
96
|
+
* <p>Base exception class for all service exceptions from ResourceExplorer2 service.</p>
|
|
97
|
+
*
|
|
98
|
+
* @public
|
|
99
|
+
*/
|
|
100
|
+
export declare class GetManagedViewCommand extends GetManagedViewCommand_base {
|
|
101
|
+
/** @internal type navigation helper, not in runtime. */
|
|
102
|
+
protected static __types: {
|
|
103
|
+
api: {
|
|
104
|
+
input: GetManagedViewInput;
|
|
105
|
+
output: GetManagedViewOutput;
|
|
106
|
+
};
|
|
107
|
+
sdk: {
|
|
108
|
+
input: GetManagedViewCommandInput;
|
|
109
|
+
output: GetManagedViewCommandOutput;
|
|
110
|
+
};
|
|
111
|
+
};
|
|
112
|
+
}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { ListManagedViewsInput, ListManagedViewsOutput } 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 ListManagedViewsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListManagedViewsCommandInput extends ListManagedViewsInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListManagedViewsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListManagedViewsCommandOutput extends ListManagedViewsOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListManagedViewsCommand_base: {
|
|
25
|
+
new (input: ListManagedViewsCommandInput): import("@smithy/smithy-client").CommandImpl<ListManagedViewsCommandInput, ListManagedViewsCommandOutput, ResourceExplorer2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [ListManagedViewsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListManagedViewsCommandInput, ListManagedViewsCommandOutput, ResourceExplorer2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Lists the Amazon resource names (ARNs) of the
|
|
31
|
+
* <a href="https://docs.aws.amazon.com/resource-explorer/latest/userguide/aws-managed-views.html">Amazon Web Services-managed views</a> available
|
|
32
|
+
* in the Amazon Web Services Region 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, ListManagedViewsCommand } from "@aws-sdk/client-resource-explorer-2"; // ES Modules import
|
|
37
|
+
* // const { ResourceExplorer2Client, ListManagedViewsCommand } = require("@aws-sdk/client-resource-explorer-2"); // CommonJS import
|
|
38
|
+
* const client = new ResourceExplorer2Client(config);
|
|
39
|
+
* const input = { // ListManagedViewsInput
|
|
40
|
+
* MaxResults: Number("int"),
|
|
41
|
+
* NextToken: "STRING_VALUE",
|
|
42
|
+
* ServicePrincipal: "STRING_VALUE",
|
|
43
|
+
* };
|
|
44
|
+
* const command = new ListManagedViewsCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // { // ListManagedViewsOutput
|
|
47
|
+
* // NextToken: "STRING_VALUE",
|
|
48
|
+
* // ManagedViews: [ // ManagedViewArnList
|
|
49
|
+
* // "STRING_VALUE",
|
|
50
|
+
* // ],
|
|
51
|
+
* // };
|
|
52
|
+
*
|
|
53
|
+
* ```
|
|
54
|
+
*
|
|
55
|
+
* @param ListManagedViewsCommandInput - {@link ListManagedViewsCommandInput}
|
|
56
|
+
* @returns {@link ListManagedViewsCommandOutput}
|
|
57
|
+
* @see {@link ListManagedViewsCommandInput} for command's `input` shape.
|
|
58
|
+
* @see {@link ListManagedViewsCommandOutput} for command's `response` shape.
|
|
59
|
+
* @see {@link ResourceExplorer2ClientResolvedConfig | config} for ResourceExplorer2Client's `config` shape.
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
62
|
+
* <p>The credentials that you used to call this operation don't have the minimum required
|
|
63
|
+
* permissions.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link InternalServerException} (server fault)
|
|
66
|
+
* <p>The request failed because of internal service error. Try your request again
|
|
67
|
+
* later.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
70
|
+
* <p>The request failed because you exceeded a rate limit for this operation. For more
|
|
71
|
+
* information, see <a href="https://docs.aws.amazon.com/resource-explorer/latest/userguide/quotas.html">Quotas for
|
|
72
|
+
* Resource Explorer</a>.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link UnauthorizedException} (client fault)
|
|
75
|
+
* <p>The principal making the request isn't permitted to perform the operation.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link ValidationException} (client fault)
|
|
78
|
+
* <p>You provided an invalid value for one of the operation's parameters. Check the syntax
|
|
79
|
+
* for the operation, and try again.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ResourceExplorer2ServiceException}
|
|
82
|
+
* <p>Base exception class for all service exceptions from ResourceExplorer2 service.</p>
|
|
83
|
+
*
|
|
84
|
+
* @public
|
|
85
|
+
*/
|
|
86
|
+
export declare class ListManagedViewsCommand extends ListManagedViewsCommand_base {
|
|
87
|
+
/** @internal type navigation helper, not in runtime. */
|
|
88
|
+
protected static __types: {
|
|
89
|
+
api: {
|
|
90
|
+
input: ListManagedViewsInput;
|
|
91
|
+
output: ListManagedViewsOutput;
|
|
92
|
+
};
|
|
93
|
+
sdk: {
|
|
94
|
+
input: ListManagedViewsCommandInput;
|
|
95
|
+
output: ListManagedViewsCommandOutput;
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
}
|
|
@@ -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";
|
|
@@ -882,6 +882,87 @@ export interface GetIndexOutput {
|
|
|
882
882
|
*/
|
|
883
883
|
Tags?: Record<string, string>;
|
|
884
884
|
}
|
|
885
|
+
/**
|
|
886
|
+
* @public
|
|
887
|
+
*/
|
|
888
|
+
export interface GetManagedViewInput {
|
|
889
|
+
/**
|
|
890
|
+
* <p>The Amazon resource name (ARN) of the managed view.</p>
|
|
891
|
+
* @public
|
|
892
|
+
*/
|
|
893
|
+
ManagedViewArn: string | undefined;
|
|
894
|
+
}
|
|
895
|
+
/**
|
|
896
|
+
* <p>An Amazon Web Services-managed view is how other Amazon Web Services services can access
|
|
897
|
+
* resource information indexed by Resource Explorer for your Amazon Web Services account or organization
|
|
898
|
+
* with your consent. For more information, see <a href="https://docs.aws.amazon.com/resource-explorer/latest/userguide/aws-managed-views.html">Managed views</a>. </p>
|
|
899
|
+
* @public
|
|
900
|
+
*/
|
|
901
|
+
export interface ManagedView {
|
|
902
|
+
/**
|
|
903
|
+
* <p>The <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon resource name (ARN)</a> of the managed view.</p>
|
|
904
|
+
* @public
|
|
905
|
+
*/
|
|
906
|
+
ManagedViewArn?: string;
|
|
907
|
+
/**
|
|
908
|
+
* <p>The name of the managed view. </p>
|
|
909
|
+
* @public
|
|
910
|
+
*/
|
|
911
|
+
ManagedViewName?: string;
|
|
912
|
+
/**
|
|
913
|
+
* <p>The service principal of the Amazon Web Services service that created and manages the managed view. </p>
|
|
914
|
+
* @public
|
|
915
|
+
*/
|
|
916
|
+
TrustedService?: string;
|
|
917
|
+
/**
|
|
918
|
+
* <p>The date and time when this managed view was last modified.</p>
|
|
919
|
+
* @public
|
|
920
|
+
*/
|
|
921
|
+
LastUpdatedAt?: Date;
|
|
922
|
+
/**
|
|
923
|
+
* <p>The Amazon Web Services account that owns this managed view.</p>
|
|
924
|
+
* @public
|
|
925
|
+
*/
|
|
926
|
+
Owner?: string;
|
|
927
|
+
/**
|
|
928
|
+
* <p>An <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon resource name (ARN)</a> of an Amazon Web Services account or organization that specifies whether this managed view
|
|
929
|
+
* includes resources from only the specified Amazon Web Services account or all accounts in the specified organization. </p>
|
|
930
|
+
* @public
|
|
931
|
+
*/
|
|
932
|
+
Scope?: string;
|
|
933
|
+
/**
|
|
934
|
+
* <p>A structure that contains additional information about the managed view.</p>
|
|
935
|
+
* @public
|
|
936
|
+
*/
|
|
937
|
+
IncludedProperties?: IncludedProperty[];
|
|
938
|
+
/**
|
|
939
|
+
* <p>A search filter defines which resources can be part of a search query result
|
|
940
|
+
* set.</p>
|
|
941
|
+
* @public
|
|
942
|
+
*/
|
|
943
|
+
Filters?: SearchFilter;
|
|
944
|
+
/**
|
|
945
|
+
* <p>The resource policy that defines access to the managed view. To learn more about this policy, review
|
|
946
|
+
* <a href="https://docs.aws.amazon.com/resource-explorer/latest/userguide/aws-managed-views.html">Managed views</a>.</p>
|
|
947
|
+
* @public
|
|
948
|
+
*/
|
|
949
|
+
ResourcePolicy?: string;
|
|
950
|
+
/**
|
|
951
|
+
* <p>The version of the managed view. </p>
|
|
952
|
+
* @public
|
|
953
|
+
*/
|
|
954
|
+
Version?: string;
|
|
955
|
+
}
|
|
956
|
+
/**
|
|
957
|
+
* @public
|
|
958
|
+
*/
|
|
959
|
+
export interface GetManagedViewOutput {
|
|
960
|
+
/**
|
|
961
|
+
* <p>Details about the specified managed view. </p>
|
|
962
|
+
* @public
|
|
963
|
+
*/
|
|
964
|
+
ManagedView?: ManagedView;
|
|
965
|
+
}
|
|
885
966
|
/**
|
|
886
967
|
* @public
|
|
887
968
|
*/
|
|
@@ -979,6 +1060,60 @@ export interface ListIndexesForMembersOutput {
|
|
|
979
1060
|
*/
|
|
980
1061
|
NextToken?: string;
|
|
981
1062
|
}
|
|
1063
|
+
/**
|
|
1064
|
+
* @public
|
|
1065
|
+
*/
|
|
1066
|
+
export interface ListManagedViewsInput {
|
|
1067
|
+
/**
|
|
1068
|
+
* <p>The maximum number of results that you want included on each page of the
|
|
1069
|
+
* response. If you do not include this parameter, it defaults to a value appropriate to the
|
|
1070
|
+
* operation. If additional items exist beyond those included in the current response, the
|
|
1071
|
+
* <code>NextToken</code> response element is present and has a value (is not null). Include that
|
|
1072
|
+
* value as the <code>NextToken</code> request parameter in the next call to the operation to get
|
|
1073
|
+
* the next part of the results.</p>
|
|
1074
|
+
* <note>
|
|
1075
|
+
* <p>An API operation can return fewer results than the maximum even when there are
|
|
1076
|
+
* more results available. You should check <code>NextToken</code> after every operation to ensure
|
|
1077
|
+
* that you receive all of the results.</p>
|
|
1078
|
+
* </note>
|
|
1079
|
+
* @public
|
|
1080
|
+
*/
|
|
1081
|
+
MaxResults?: number;
|
|
1082
|
+
/**
|
|
1083
|
+
* <p>The parameter for receiving additional results if you receive a
|
|
1084
|
+
* <code>NextToken</code> response in a previous request. A <code>NextToken</code> response
|
|
1085
|
+
* indicates that more output is available. Set this parameter to the value of the previous
|
|
1086
|
+
* call's <code>NextToken</code> response to indicate where the output should continue
|
|
1087
|
+
* from. The pagination tokens expire after 24 hours.</p>
|
|
1088
|
+
* @public
|
|
1089
|
+
*/
|
|
1090
|
+
NextToken?: string;
|
|
1091
|
+
/**
|
|
1092
|
+
* <p>Specifies a service principal name. If specified, then the
|
|
1093
|
+
* operation only returns the managed views that are managed by the input service. </p>
|
|
1094
|
+
* @public
|
|
1095
|
+
*/
|
|
1096
|
+
ServicePrincipal?: string;
|
|
1097
|
+
}
|
|
1098
|
+
/**
|
|
1099
|
+
* @public
|
|
1100
|
+
*/
|
|
1101
|
+
export interface ListManagedViewsOutput {
|
|
1102
|
+
/**
|
|
1103
|
+
* <p>If present, indicates that more output is available than is
|
|
1104
|
+
* included in the current response. Use this value in the <code>NextToken</code> request parameter
|
|
1105
|
+
* in a subsequent call to the operation to get the next part of the output. You should repeat this
|
|
1106
|
+
* until the <code>NextToken</code> response element comes back as <code>null</code>.
|
|
1107
|
+
* The pagination tokens expire after 24 hours.</p>
|
|
1108
|
+
* @public
|
|
1109
|
+
*/
|
|
1110
|
+
NextToken?: string;
|
|
1111
|
+
/**
|
|
1112
|
+
* <p>The list of managed views available in the Amazon Web Services Region in which you called this operation. </p>
|
|
1113
|
+
* @public
|
|
1114
|
+
*/
|
|
1115
|
+
ManagedViews?: string[];
|
|
1116
|
+
}
|
|
982
1117
|
/**
|
|
983
1118
|
* @public
|
|
984
1119
|
*/
|
|
@@ -1073,7 +1208,7 @@ export interface Resource {
|
|
|
1073
1208
|
*/
|
|
1074
1209
|
ResourceType?: string;
|
|
1075
1210
|
/**
|
|
1076
|
-
* <p>The Amazon Web
|
|
1211
|
+
* <p>The Amazon Web Services service that owns the resource and is responsible for creating and updating
|
|
1077
1212
|
* it.</p>
|
|
1078
1213
|
* @public
|
|
1079
1214
|
*/
|
|
@@ -1150,7 +1285,7 @@ export interface ListSupportedResourceTypesInput {
|
|
|
1150
1285
|
*/
|
|
1151
1286
|
export interface SupportedResourceType {
|
|
1152
1287
|
/**
|
|
1153
|
-
* <p>The Amazon Web
|
|
1288
|
+
* <p>The Amazon Web Services service that is associated with the resource type. This is the primary
|
|
1154
1289
|
* service that lets you create and interact with resources of this type.</p>
|
|
1155
1290
|
* @public
|
|
1156
1291
|
*/
|
|
@@ -1401,6 +1536,14 @@ export declare const UpdateViewOutputFilterSensitiveLog: (obj: UpdateViewOutput)
|
|
|
1401
1536
|
* @internal
|
|
1402
1537
|
*/
|
|
1403
1538
|
export declare const GetIndexOutputFilterSensitiveLog: (obj: GetIndexOutput) => any;
|
|
1539
|
+
/**
|
|
1540
|
+
* @internal
|
|
1541
|
+
*/
|
|
1542
|
+
export declare const ManagedViewFilterSensitiveLog: (obj: ManagedView) => any;
|
|
1543
|
+
/**
|
|
1544
|
+
* @internal
|
|
1545
|
+
*/
|
|
1546
|
+
export declare const GetManagedViewOutputFilterSensitiveLog: (obj: GetManagedViewOutput) => any;
|
|
1404
1547
|
/**
|
|
1405
1548
|
* @internal
|
|
1406
1549
|
*/
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import { ListManagedViewsCommandInput, ListManagedViewsCommandOutput } from "../commands/ListManagedViewsCommand";
|
|
3
|
+
import { ResourceExplorer2PaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare const paginateListManagedViews: (config: ResourceExplorer2PaginationConfiguration, input: ListManagedViewsCommandInput, ...rest: any[]) => 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";
|
|
@@ -10,9 +10,11 @@ import { DisassociateDefaultViewCommandInput, DisassociateDefaultViewCommandOutp
|
|
|
10
10
|
import { GetAccountLevelServiceConfigurationCommandInput, GetAccountLevelServiceConfigurationCommandOutput } from "../commands/GetAccountLevelServiceConfigurationCommand";
|
|
11
11
|
import { GetDefaultViewCommandInput, GetDefaultViewCommandOutput } from "../commands/GetDefaultViewCommand";
|
|
12
12
|
import { GetIndexCommandInput, GetIndexCommandOutput } from "../commands/GetIndexCommand";
|
|
13
|
+
import { GetManagedViewCommandInput, GetManagedViewCommandOutput } from "../commands/GetManagedViewCommand";
|
|
13
14
|
import { GetViewCommandInput, GetViewCommandOutput } from "../commands/GetViewCommand";
|
|
14
15
|
import { ListIndexesCommandInput, ListIndexesCommandOutput } from "../commands/ListIndexesCommand";
|
|
15
16
|
import { ListIndexesForMembersCommandInput, ListIndexesForMembersCommandOutput } from "../commands/ListIndexesForMembersCommand";
|
|
17
|
+
import { ListManagedViewsCommandInput, ListManagedViewsCommandOutput } from "../commands/ListManagedViewsCommand";
|
|
16
18
|
import { ListResourcesCommandInput, ListResourcesCommandOutput } from "../commands/ListResourcesCommand";
|
|
17
19
|
import { ListSupportedResourceTypesCommandInput, ListSupportedResourceTypesCommandOutput } from "../commands/ListSupportedResourceTypesCommand";
|
|
18
20
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
|
|
@@ -62,6 +64,10 @@ export declare const se_GetDefaultViewCommand: (input: GetDefaultViewCommandInpu
|
|
|
62
64
|
* serializeAws_restJson1GetIndexCommand
|
|
63
65
|
*/
|
|
64
66
|
export declare const se_GetIndexCommand: (input: GetIndexCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
67
|
+
/**
|
|
68
|
+
* serializeAws_restJson1GetManagedViewCommand
|
|
69
|
+
*/
|
|
70
|
+
export declare const se_GetManagedViewCommand: (input: GetManagedViewCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
65
71
|
/**
|
|
66
72
|
* serializeAws_restJson1GetViewCommand
|
|
67
73
|
*/
|
|
@@ -74,6 +80,10 @@ export declare const se_ListIndexesCommand: (input: ListIndexesCommandInput, con
|
|
|
74
80
|
* serializeAws_restJson1ListIndexesForMembersCommand
|
|
75
81
|
*/
|
|
76
82
|
export declare const se_ListIndexesForMembersCommand: (input: ListIndexesForMembersCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
83
|
+
/**
|
|
84
|
+
* serializeAws_restJson1ListManagedViewsCommand
|
|
85
|
+
*/
|
|
86
|
+
export declare const se_ListManagedViewsCommand: (input: ListManagedViewsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
77
87
|
/**
|
|
78
88
|
* serializeAws_restJson1ListResourcesCommand
|
|
79
89
|
*/
|
|
@@ -150,6 +160,10 @@ export declare const de_GetDefaultViewCommand: (output: __HttpResponse, context:
|
|
|
150
160
|
* deserializeAws_restJson1GetIndexCommand
|
|
151
161
|
*/
|
|
152
162
|
export declare const de_GetIndexCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetIndexCommandOutput>;
|
|
163
|
+
/**
|
|
164
|
+
* deserializeAws_restJson1GetManagedViewCommand
|
|
165
|
+
*/
|
|
166
|
+
export declare const de_GetManagedViewCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetManagedViewCommandOutput>;
|
|
153
167
|
/**
|
|
154
168
|
* deserializeAws_restJson1GetViewCommand
|
|
155
169
|
*/
|
|
@@ -162,6 +176,10 @@ export declare const de_ListIndexesCommand: (output: __HttpResponse, context: __
|
|
|
162
176
|
* deserializeAws_restJson1ListIndexesForMembersCommand
|
|
163
177
|
*/
|
|
164
178
|
export declare const de_ListIndexesForMembersCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListIndexesForMembersCommandOutput>;
|
|
179
|
+
/**
|
|
180
|
+
* deserializeAws_restJson1ListManagedViewsCommand
|
|
181
|
+
*/
|
|
182
|
+
export declare const de_ListManagedViewsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListManagedViewsCommandOutput>;
|
|
165
183
|
/**
|
|
166
184
|
* deserializeAws_restJson1ListResourcesCommand
|
|
167
185
|
*/
|
|
@@ -39,6 +39,10 @@ import {
|
|
|
39
39
|
GetIndexCommandInput,
|
|
40
40
|
GetIndexCommandOutput,
|
|
41
41
|
} from "./commands/GetIndexCommand";
|
|
42
|
+
import {
|
|
43
|
+
GetManagedViewCommandInput,
|
|
44
|
+
GetManagedViewCommandOutput,
|
|
45
|
+
} from "./commands/GetManagedViewCommand";
|
|
42
46
|
import {
|
|
43
47
|
GetViewCommandInput,
|
|
44
48
|
GetViewCommandOutput,
|
|
@@ -51,6 +55,10 @@ import {
|
|
|
51
55
|
ListIndexesForMembersCommandInput,
|
|
52
56
|
ListIndexesForMembersCommandOutput,
|
|
53
57
|
} from "./commands/ListIndexesForMembersCommand";
|
|
58
|
+
import {
|
|
59
|
+
ListManagedViewsCommandInput,
|
|
60
|
+
ListManagedViewsCommandOutput,
|
|
61
|
+
} from "./commands/ListManagedViewsCommand";
|
|
54
62
|
import {
|
|
55
63
|
ListResourcesCommandInput,
|
|
56
64
|
ListResourcesCommandOutput,
|
|
@@ -231,6 +239,19 @@ export interface ResourceExplorer2 {
|
|
|
231
239
|
options: __HttpHandlerOptions,
|
|
232
240
|
cb: (err: any, data?: GetIndexCommandOutput) => void
|
|
233
241
|
): void;
|
|
242
|
+
getManagedView(
|
|
243
|
+
args: GetManagedViewCommandInput,
|
|
244
|
+
options?: __HttpHandlerOptions
|
|
245
|
+
): Promise<GetManagedViewCommandOutput>;
|
|
246
|
+
getManagedView(
|
|
247
|
+
args: GetManagedViewCommandInput,
|
|
248
|
+
cb: (err: any, data?: GetManagedViewCommandOutput) => void
|
|
249
|
+
): void;
|
|
250
|
+
getManagedView(
|
|
251
|
+
args: GetManagedViewCommandInput,
|
|
252
|
+
options: __HttpHandlerOptions,
|
|
253
|
+
cb: (err: any, data?: GetManagedViewCommandOutput) => void
|
|
254
|
+
): void;
|
|
234
255
|
getView(
|
|
235
256
|
args: GetViewCommandInput,
|
|
236
257
|
options?: __HttpHandlerOptions
|
|
@@ -271,6 +292,20 @@ export interface ResourceExplorer2 {
|
|
|
271
292
|
options: __HttpHandlerOptions,
|
|
272
293
|
cb: (err: any, data?: ListIndexesForMembersCommandOutput) => void
|
|
273
294
|
): void;
|
|
295
|
+
listManagedViews(): Promise<ListManagedViewsCommandOutput>;
|
|
296
|
+
listManagedViews(
|
|
297
|
+
args: ListManagedViewsCommandInput,
|
|
298
|
+
options?: __HttpHandlerOptions
|
|
299
|
+
): Promise<ListManagedViewsCommandOutput>;
|
|
300
|
+
listManagedViews(
|
|
301
|
+
args: ListManagedViewsCommandInput,
|
|
302
|
+
cb: (err: any, data?: ListManagedViewsCommandOutput) => void
|
|
303
|
+
): void;
|
|
304
|
+
listManagedViews(
|
|
305
|
+
args: ListManagedViewsCommandInput,
|
|
306
|
+
options: __HttpHandlerOptions,
|
|
307
|
+
cb: (err: any, data?: ListManagedViewsCommandOutput) => void
|
|
308
|
+
): void;
|
|
274
309
|
listResources(): Promise<ListResourcesCommandOutput>;
|
|
275
310
|
listResources(
|
|
276
311
|
args: ListResourcesCommandInput,
|
|
@@ -85,6 +85,10 @@ import {
|
|
|
85
85
|
GetIndexCommandInput,
|
|
86
86
|
GetIndexCommandOutput,
|
|
87
87
|
} from "./commands/GetIndexCommand";
|
|
88
|
+
import {
|
|
89
|
+
GetManagedViewCommandInput,
|
|
90
|
+
GetManagedViewCommandOutput,
|
|
91
|
+
} from "./commands/GetManagedViewCommand";
|
|
88
92
|
import {
|
|
89
93
|
GetViewCommandInput,
|
|
90
94
|
GetViewCommandOutput,
|
|
@@ -97,6 +101,10 @@ import {
|
|
|
97
101
|
ListIndexesForMembersCommandInput,
|
|
98
102
|
ListIndexesForMembersCommandOutput,
|
|
99
103
|
} from "./commands/ListIndexesForMembersCommand";
|
|
104
|
+
import {
|
|
105
|
+
ListManagedViewsCommandInput,
|
|
106
|
+
ListManagedViewsCommandOutput,
|
|
107
|
+
} from "./commands/ListManagedViewsCommand";
|
|
100
108
|
import {
|
|
101
109
|
ListResourcesCommandInput,
|
|
102
110
|
ListResourcesCommandOutput,
|
|
@@ -151,9 +159,11 @@ export type ServiceInputTypes =
|
|
|
151
159
|
| GetAccountLevelServiceConfigurationCommandInput
|
|
152
160
|
| GetDefaultViewCommandInput
|
|
153
161
|
| GetIndexCommandInput
|
|
162
|
+
| GetManagedViewCommandInput
|
|
154
163
|
| GetViewCommandInput
|
|
155
164
|
| ListIndexesCommandInput
|
|
156
165
|
| ListIndexesForMembersCommandInput
|
|
166
|
+
| ListManagedViewsCommandInput
|
|
157
167
|
| ListResourcesCommandInput
|
|
158
168
|
| ListSupportedResourceTypesCommandInput
|
|
159
169
|
| ListTagsForResourceCommandInput
|
|
@@ -174,9 +184,11 @@ export type ServiceOutputTypes =
|
|
|
174
184
|
| GetAccountLevelServiceConfigurationCommandOutput
|
|
175
185
|
| GetDefaultViewCommandOutput
|
|
176
186
|
| GetIndexCommandOutput
|
|
187
|
+
| GetManagedViewCommandOutput
|
|
177
188
|
| GetViewCommandOutput
|
|
178
189
|
| ListIndexesCommandOutput
|
|
179
190
|
| ListIndexesForMembersCommandOutput
|
|
191
|
+
| ListManagedViewsCommandOutput
|
|
180
192
|
| ListResourcesCommandOutput
|
|
181
193
|
| ListSupportedResourceTypesCommandOutput
|
|
182
194
|
| ListTagsForResourceCommandOutput
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { GetManagedViewInput, GetManagedViewOutput } from "../models/models_0";
|
|
4
|
+
import {
|
|
5
|
+
ResourceExplorer2ClientResolvedConfig,
|
|
6
|
+
ServiceInputTypes,
|
|
7
|
+
ServiceOutputTypes,
|
|
8
|
+
} from "../ResourceExplorer2Client";
|
|
9
|
+
export { __MetadataBearer };
|
|
10
|
+
export { $Command };
|
|
11
|
+
export interface GetManagedViewCommandInput extends GetManagedViewInput {}
|
|
12
|
+
export interface GetManagedViewCommandOutput
|
|
13
|
+
extends GetManagedViewOutput,
|
|
14
|
+
__MetadataBearer {}
|
|
15
|
+
declare const GetManagedViewCommand_base: {
|
|
16
|
+
new (
|
|
17
|
+
input: GetManagedViewCommandInput
|
|
18
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
19
|
+
GetManagedViewCommandInput,
|
|
20
|
+
GetManagedViewCommandOutput,
|
|
21
|
+
ResourceExplorer2ClientResolvedConfig,
|
|
22
|
+
ServiceInputTypes,
|
|
23
|
+
ServiceOutputTypes
|
|
24
|
+
>;
|
|
25
|
+
new (
|
|
26
|
+
__0_0: GetManagedViewCommandInput
|
|
27
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
28
|
+
GetManagedViewCommandInput,
|
|
29
|
+
GetManagedViewCommandOutput,
|
|
30
|
+
ResourceExplorer2ClientResolvedConfig,
|
|
31
|
+
ServiceInputTypes,
|
|
32
|
+
ServiceOutputTypes
|
|
33
|
+
>;
|
|
34
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
35
|
+
};
|
|
36
|
+
export declare class GetManagedViewCommand extends GetManagedViewCommand_base {
|
|
37
|
+
protected static __types: {
|
|
38
|
+
api: {
|
|
39
|
+
input: GetManagedViewInput;
|
|
40
|
+
output: GetManagedViewOutput;
|
|
41
|
+
};
|
|
42
|
+
sdk: {
|
|
43
|
+
input: GetManagedViewCommandInput;
|
|
44
|
+
output: GetManagedViewCommandOutput;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
}
|