@aws-sdk/client-controlcatalog 3.826.0 → 3.830.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 +9 -28
- package/dist-cjs/ControlCatalog.js +2 -0
- package/dist-cjs/commands/ListControlMappingsCommand.js +26 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/models/models_0.js +15 -1
- package/dist-cjs/pagination/ListControlMappingsPaginator.js +7 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +45 -2
- package/dist-es/ControlCatalog.js +2 -0
- package/dist-es/commands/ListControlMappingsCommand.js +22 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +14 -0
- package/dist-es/pagination/ListControlMappingsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +42 -1
- package/dist-types/ControlCatalog.d.ts +9 -28
- package/dist-types/ControlCatalogClient.d.ts +4 -30
- package/dist-types/commands/GetControlCommand.d.ts +7 -2
- package/dist-types/commands/ListCommonControlsCommand.d.ts +1 -4
- package/dist-types/commands/ListControlMappingsCommand.d.ts +111 -0
- package/dist-types/commands/ListControlsCommand.d.ts +17 -1
- package/dist-types/commands/ListDomainsCommand.d.ts +1 -1
- package/dist-types/commands/ListObjectivesCommand.d.ts +1 -3
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +7 -7
- package/dist-types/index.d.ts +1 -28
- package/dist-types/models/models_0.d.ts +223 -132
- package/dist-types/pagination/ListControlMappingsPaginator.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/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/ControlCatalog.d.ts +18 -0
- package/dist-types/ts3.4/ControlCatalogClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/ListControlMappingsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +7 -7
- package/dist-types/ts3.4/models/models_0.d.ts +70 -0
- package/dist-types/ts3.4/pagination/ListControlMappingsPaginator.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/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -2
- 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
|
|
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
|
|
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
|
|
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
|
|
@@ -3,9 +3,9 @@ import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provi
|
|
|
3
3
|
* @public
|
|
4
4
|
*/
|
|
5
5
|
export interface ClientInputEndpointParameters {
|
|
6
|
-
region?: string | Provider<string>;
|
|
7
|
-
useDualstackEndpoint?: boolean | Provider<boolean>;
|
|
8
|
-
useFipsEndpoint?: boolean | Provider<boolean>;
|
|
6
|
+
region?: string | undefined | Provider<string | undefined>;
|
|
7
|
+
useDualstackEndpoint?: boolean | undefined | Provider<boolean | undefined>;
|
|
8
|
+
useFipsEndpoint?: boolean | undefined | Provider<boolean | undefined>;
|
|
9
9
|
endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
|
|
10
10
|
}
|
|
11
11
|
export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
|
|
@@ -31,8 +31,8 @@ export declare const commonParams: {
|
|
|
31
31
|
};
|
|
32
32
|
};
|
|
33
33
|
export interface EndpointParameters extends __EndpointParameters {
|
|
34
|
-
Region?: string;
|
|
35
|
-
UseDualStack?: boolean;
|
|
36
|
-
UseFIPS?: boolean;
|
|
37
|
-
Endpoint?: string;
|
|
34
|
+
Region?: string | undefined;
|
|
35
|
+
UseDualStack?: boolean | undefined;
|
|
36
|
+
UseFIPS?: boolean | undefined;
|
|
37
|
+
Endpoint?: string | undefined;
|
|
38
38
|
}
|
package/dist-types/index.d.ts
CHANGED
|
@@ -1,32 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* <p>Welcome to the Amazon Web Services Control Catalog API
|
|
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
|
*/
|