@aws-sdk/client-controlcatalog 3.826.0 → 3.828.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 (38) hide show
  1. package/README.md +9 -28
  2. package/dist-cjs/ControlCatalog.js +2 -0
  3. package/dist-cjs/commands/ListControlMappingsCommand.js +26 -0
  4. package/dist-cjs/commands/index.js +1 -0
  5. package/dist-cjs/models/models_0.js +15 -1
  6. package/dist-cjs/pagination/ListControlMappingsPaginator.js +7 -0
  7. package/dist-cjs/pagination/index.js +1 -0
  8. package/dist-cjs/protocols/Aws_restJson1.js +45 -2
  9. package/dist-es/ControlCatalog.js +2 -0
  10. package/dist-es/commands/ListControlMappingsCommand.js +22 -0
  11. package/dist-es/commands/index.js +1 -0
  12. package/dist-es/models/models_0.js +14 -0
  13. package/dist-es/pagination/ListControlMappingsPaginator.js +4 -0
  14. package/dist-es/pagination/index.js +1 -0
  15. package/dist-es/protocols/Aws_restJson1.js +42 -1
  16. package/dist-types/ControlCatalog.d.ts +9 -28
  17. package/dist-types/ControlCatalogClient.d.ts +4 -30
  18. package/dist-types/commands/GetControlCommand.d.ts +7 -2
  19. package/dist-types/commands/ListCommonControlsCommand.d.ts +1 -4
  20. package/dist-types/commands/ListControlMappingsCommand.d.ts +111 -0
  21. package/dist-types/commands/ListControlsCommand.d.ts +17 -1
  22. package/dist-types/commands/ListDomainsCommand.d.ts +1 -1
  23. package/dist-types/commands/ListObjectivesCommand.d.ts +1 -3
  24. package/dist-types/commands/index.d.ts +1 -0
  25. package/dist-types/index.d.ts +1 -28
  26. package/dist-types/models/models_0.d.ts +223 -132
  27. package/dist-types/pagination/ListControlMappingsPaginator.d.ts +7 -0
  28. package/dist-types/pagination/index.d.ts +1 -0
  29. package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
  30. package/dist-types/ts3.4/ControlCatalog.d.ts +18 -0
  31. package/dist-types/ts3.4/ControlCatalogClient.d.ts +6 -0
  32. package/dist-types/ts3.4/commands/ListControlMappingsCommand.d.ts +51 -0
  33. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  34. package/dist-types/ts3.4/models/models_0.d.ts +70 -0
  35. package/dist-types/ts3.4/pagination/ListControlMappingsPaginator.d.ts +11 -0
  36. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  37. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
  38. package/package.json +5 -5
@@ -0,0 +1,111 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ControlCatalogClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ControlCatalogClient";
4
+ import { ListControlMappingsRequest, ListControlMappingsResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListControlMappingsCommand}.
14
+ */
15
+ export interface ListControlMappingsCommandInput extends ListControlMappingsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListControlMappingsCommand}.
21
+ */
22
+ export interface ListControlMappingsCommandOutput extends ListControlMappingsResponse, __MetadataBearer {
23
+ }
24
+ declare const ListControlMappingsCommand_base: {
25
+ new (input: ListControlMappingsCommandInput): import("@smithy/smithy-client").CommandImpl<ListControlMappingsCommandInput, ListControlMappingsCommandOutput, ControlCatalogClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [ListControlMappingsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListControlMappingsCommandInput, ListControlMappingsCommandOutput, ControlCatalogClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Returns a paginated list of control mappings from the Control Catalog. Control mappings show relationships between controls and other entities, such as common controls or compliance frameworks.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { ControlCatalogClient, ListControlMappingsCommand } from "@aws-sdk/client-controlcatalog"; // ES Modules import
35
+ * // const { ControlCatalogClient, ListControlMappingsCommand } = require("@aws-sdk/client-controlcatalog"); // CommonJS import
36
+ * const client = new ControlCatalogClient(config);
37
+ * const input = { // ListControlMappingsRequest
38
+ * NextToken: "STRING_VALUE",
39
+ * MaxResults: Number("int"),
40
+ * Filter: { // ControlMappingFilter
41
+ * ControlArns: [ // ControlArnFilterList
42
+ * "STRING_VALUE",
43
+ * ],
44
+ * CommonControlArns: [ // CommonControlArnFilterList
45
+ * "STRING_VALUE",
46
+ * ],
47
+ * MappingTypes: [ // MappingTypeFilterList
48
+ * "FRAMEWORK" || "COMMON_CONTROL",
49
+ * ],
50
+ * },
51
+ * };
52
+ * const command = new ListControlMappingsCommand(input);
53
+ * const response = await client.send(command);
54
+ * // { // ListControlMappingsResponse
55
+ * // ControlMappings: [ // ControlMappings // required
56
+ * // { // ControlMapping
57
+ * // ControlArn: "STRING_VALUE", // required
58
+ * // MappingType: "FRAMEWORK" || "COMMON_CONTROL", // required
59
+ * // Mapping: { // Mapping Union: only one key present
60
+ * // Framework: { // FrameworkMappingDetails
61
+ * // Name: "STRING_VALUE", // required
62
+ * // Item: "STRING_VALUE", // required
63
+ * // },
64
+ * // CommonControl: { // CommonControlMappingDetails
65
+ * // CommonControlArn: "STRING_VALUE", // required
66
+ * // },
67
+ * // },
68
+ * // },
69
+ * // ],
70
+ * // NextToken: "STRING_VALUE",
71
+ * // };
72
+ *
73
+ * ```
74
+ *
75
+ * @param ListControlMappingsCommandInput - {@link ListControlMappingsCommandInput}
76
+ * @returns {@link ListControlMappingsCommandOutput}
77
+ * @see {@link ListControlMappingsCommandInput} for command's `input` shape.
78
+ * @see {@link ListControlMappingsCommandOutput} for command's `response` shape.
79
+ * @see {@link ControlCatalogClientResolvedConfig | config} for ControlCatalogClient's `config` shape.
80
+ *
81
+ * @throws {@link AccessDeniedException} (client fault)
82
+ * <p>You do not have sufficient access to perform this action.</p>
83
+ *
84
+ * @throws {@link InternalServerException} (server fault)
85
+ * <p>An internal service error occurred during the processing of your request. Try again later.</p>
86
+ *
87
+ * @throws {@link ThrottlingException} (client fault)
88
+ * <p>The request was denied due to request throttling.</p>
89
+ *
90
+ * @throws {@link ValidationException} (client fault)
91
+ * <p>The request has invalid or missing parameters.</p>
92
+ *
93
+ * @throws {@link ControlCatalogServiceException}
94
+ * <p>Base exception class for all service exceptions from ControlCatalog service.</p>
95
+ *
96
+ *
97
+ * @public
98
+ */
99
+ export declare class ListControlMappingsCommand extends ListControlMappingsCommand_base {
100
+ /** @internal type navigation helper, not in runtime. */
101
+ protected static __types: {
102
+ api: {
103
+ input: ListControlMappingsRequest;
104
+ output: ListControlMappingsResponse;
105
+ };
106
+ sdk: {
107
+ input: ListControlMappingsCommandInput;
108
+ output: ListControlMappingsCommandOutput;
109
+ };
110
+ };
111
+ }
@@ -27,7 +27,7 @@ declare const ListControlsCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Returns a paginated list of all available controls in the Amazon Web Services Control Catalog library. Allows you to discover available controls. The list of controls is given as structures of type <i>controlSummary</i>. The ARN is returned in the global <i>controlcatalog</i> format, as shown in the examples.</p>
30
+ * <p>Returns a paginated list of all available controls in the Control Catalog library. Allows you to discover available controls. The list of controls is given as structures of type <i>controlSummary</i>. The ARN is returned in the global <i>controlcatalog</i> format, as shown in the examples.</p>
31
31
  * @example
32
32
  * Use a bare-bones client and the command you need to make an API call.
33
33
  * ```javascript
@@ -37,6 +37,16 @@ declare const ListControlsCommand_base: {
37
37
  * const input = { // ListControlsRequest
38
38
  * NextToken: "STRING_VALUE",
39
39
  * MaxResults: Number("int"),
40
+ * Filter: { // ControlFilter
41
+ * Implementations: { // ImplementationFilter
42
+ * Types: [ // ImplementationTypeFilterList
43
+ * "STRING_VALUE",
44
+ * ],
45
+ * Identifiers: [ // ImplementationIdentifierFilterList
46
+ * "STRING_VALUE",
47
+ * ],
48
+ * },
49
+ * },
40
50
  * };
41
51
  * const command = new ListControlsCommand(input);
42
52
  * const response = await client.send(command);
@@ -44,6 +54,9 @@ declare const ListControlsCommand_base: {
44
54
  * // Controls: [ // Controls // required
45
55
  * // { // ControlSummary
46
56
  * // Arn: "STRING_VALUE", // required
57
+ * // Aliases: [ // ControlAliases
58
+ * // "STRING_VALUE",
59
+ * // ],
47
60
  * // Name: "STRING_VALUE", // required
48
61
  * // Description: "STRING_VALUE", // required
49
62
  * // Behavior: "PREVENTIVE" || "PROACTIVE" || "DETECTIVE",
@@ -53,6 +66,9 @@ declare const ListControlsCommand_base: {
53
66
  * // Identifier: "STRING_VALUE",
54
67
  * // },
55
68
  * // CreateTime: new Date("TIMESTAMP"),
69
+ * // GovernedResources: [ // GovernedResources
70
+ * // "STRING_VALUE",
71
+ * // ],
56
72
  * // },
57
73
  * // ],
58
74
  * // NextToken: "STRING_VALUE",
@@ -27,7 +27,7 @@ declare const ListDomainsCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Returns a paginated list of domains from the Amazon Web Services Control Catalog.</p>
30
+ * <p>Returns a paginated list of domains from the Control Catalog.</p>
31
31
  * @example
32
32
  * Use a bare-bones client and the command you need to make an API call.
33
33
  * ```javascript
@@ -27,9 +27,7 @@ declare const ListObjectivesCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Returns a paginated list of objectives from the Amazon Web Services Control Catalog.</p>
31
- * <p>You can apply an optional filter to see the objectives that belong to a specific domain.
32
- * If you don’t provide a filter, the operation returns all objectives. </p>
30
+ * <p>Returns a paginated list of objectives from the Control Catalog.</p> <p>You can apply an optional filter to see the objectives that belong to a specific domain. If you don’t provide a filter, the operation returns all objectives. </p>
33
31
  * @example
34
32
  * Use a bare-bones client and the command you need to make an API call.
35
33
  * ```javascript
@@ -1,5 +1,6 @@
1
1
  export * from "./GetControlCommand";
2
2
  export * from "./ListCommonControlsCommand";
3
+ export * from "./ListControlMappingsCommand";
3
4
  export * from "./ListControlsCommand";
4
5
  export * from "./ListDomainsCommand";
5
6
  export * from "./ListObjectivesCommand";
@@ -1,32 +1,5 @@
1
1
  /**
2
- * <p>Welcome to the Amazon Web Services Control Catalog API reference. This guide is for
3
- * developers who need detailed information about how to programmatically identify and filter
4
- * the common controls and related metadata that are available to Amazon Web Services customers. This API reference provides
5
- * descriptions, syntax, and usage examples for each of the actions and data types that are
6
- * supported by Amazon Web Services Control Catalog. </p>
7
- * <p>Use the following links to get started with the Amazon Web Services Control Catalog API:</p>
8
- * <ul>
9
- * <li>
10
- * <p>
11
- * <a href="https://docs.aws.amazon.com/controlcatalog/latest/APIReference/API_Operations.html">Actions</a>: An
12
- * alphabetical list of all Control Catalog API operations.</p>
13
- * </li>
14
- * <li>
15
- * <p>
16
- * <a href="https://docs.aws.amazon.com/controlcatalog/latest/APIReference/API_Types.html">Data types</a>: An
17
- * alphabetical list of all Control Catalog data types.</p>
18
- * </li>
19
- * <li>
20
- * <p>
21
- * <a href="https://docs.aws.amazon.com/controlcatalog/latest/APIReference/CommonParameters.html">Common
22
- * parameters</a>: Parameters that all operations can use.</p>
23
- * </li>
24
- * <li>
25
- * <p>
26
- * <a href="https://docs.aws.amazon.com/controlcatalog/latest/APIReference/CommonErrors.html">Common errors</a>:
27
- * Client and server errors that all operations can return.</p>
28
- * </li>
29
- * </ul>
2
+ * <p>Welcome to the Control Catalog API reference. This guide is for developers who need detailed information about how to programmatically identify and filter the common controls and related metadata that are available to Amazon Web Services customers. This API reference provides descriptions, syntax, and usage examples for each of the actions and data types that are supported by Control Catalog. </p> <p>Use the following links to get started with the Control Catalog API:</p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/controlcatalog/latest/APIReference/API_Operations.html">Actions</a>: An alphabetical list of all Control Catalog API operations.</p> </li> <li> <p> <a href="https://docs.aws.amazon.com/controlcatalog/latest/APIReference/API_Types.html">Data types</a>: An alphabetical list of all Control Catalog data types.</p> </li> <li> <p> <a href="https://docs.aws.amazon.com/controlcatalog/latest/APIReference/CommonParameters.html">Common parameters</a>: Parameters that all operations can use.</p> </li> <li> <p> <a href="https://docs.aws.amazon.com/controlcatalog/latest/APIReference/CommonErrors.html">Common errors</a>: Client and server errors that all operations can return.</p> </li> </ul>
30
3
  *
31
4
  * @packageDocumentation
32
5
  */