@aws-sdk/client-resource-explorer-2 3.686.0 → 3.691.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 +251 -108
  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 +137 -106
  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 +7 -7
@@ -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";