@aws-sdk/client-controlcatalog 3.927.0 → 3.929.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/dist-cjs/index.js +456 -432
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/ControlCatalogClient.js +2 -0
- package/dist-es/commands/GetControlCommand.js +3 -9
- package/dist-es/commands/ListCommonControlsCommand.js +3 -9
- package/dist-es/commands/ListControlMappingsCommand.js +3 -9
- package/dist-es/commands/ListControlsCommand.js +3 -9
- package/dist-es/commands/ListDomainsCommand.js +3 -9
- package/dist-es/commands/ListObjectivesCommand.js +3 -9
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +440 -0
- package/dist-types/ControlCatalogClient.d.ts +10 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +63 -0
- package/dist-types/ts3.4/ControlCatalogClient.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +68 -0
- package/package.json +5 -5
- package/dist-es/protocols/Aws_restJson1.js +0 -380
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -56
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -77
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const core_1 = require("@aws-sdk/core");
|
|
5
|
+
const protocols_1 = require("@aws-sdk/core/protocols");
|
|
5
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
6
7
|
const url_parser_1 = require("@smithy/url-parser");
|
|
7
8
|
const util_base64_1 = require("@smithy/util-base64");
|
|
@@ -25,6 +26,7 @@ const getRuntimeConfig = (config) => {
|
|
|
25
26
|
},
|
|
26
27
|
],
|
|
27
28
|
logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
|
|
29
|
+
protocol: config?.protocol ?? new protocols_1.AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.controlcatalog" }),
|
|
28
30
|
serviceId: config?.serviceId ?? "ControlCatalog",
|
|
29
31
|
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
|
30
32
|
utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
|
|
@@ -4,6 +4,7 @@ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detec
|
|
|
4
4
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
5
5
|
import { resolveRegionConfig } from "@smithy/config-resolver";
|
|
6
6
|
import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
|
|
7
|
+
import { getSchemaSerdePlugin } from "@smithy/core/schema";
|
|
7
8
|
import { getContentLengthPlugin } from "@smithy/middleware-content-length";
|
|
8
9
|
import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
|
|
9
10
|
import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
|
|
@@ -28,6 +29,7 @@ export class ControlCatalogClient extends __Client {
|
|
|
28
29
|
const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
|
|
29
30
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
30
31
|
this.config = _config_8;
|
|
32
|
+
this.middlewareStack.use(getSchemaSerdePlugin(this.config));
|
|
31
33
|
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
32
34
|
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
33
35
|
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { GetControl } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class GetControlCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("ControlCatalog", "GetControl", {})
|
|
17
13
|
.n("ControlCatalogClient", "GetControlCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_GetControlCommand)
|
|
20
|
-
.de(de_GetControlCommand)
|
|
14
|
+
.sc(GetControl)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { ListCommonControls } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ListCommonControlsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("ControlCatalog", "ListCommonControls", {})
|
|
17
13
|
.n("ControlCatalogClient", "ListCommonControlsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ListCommonControlsCommand)
|
|
20
|
-
.de(de_ListCommonControlsCommand)
|
|
14
|
+
.sc(ListCommonControls)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { ListControlMappings } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ListControlMappingsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("ControlCatalog", "ListControlMappings", {})
|
|
17
13
|
.n("ControlCatalogClient", "ListControlMappingsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ListControlMappingsCommand)
|
|
20
|
-
.de(de_ListControlMappingsCommand)
|
|
14
|
+
.sc(ListControlMappings)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { ListControls } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ListControlsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("ControlCatalog", "ListControls", {})
|
|
17
13
|
.n("ControlCatalogClient", "ListControlsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ListControlsCommand)
|
|
20
|
-
.de(de_ListControlsCommand)
|
|
14
|
+
.sc(ListControls)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { ListDomains } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ListDomainsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("ControlCatalog", "ListDomains", {})
|
|
17
13
|
.n("ControlCatalogClient", "ListDomainsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ListDomainsCommand)
|
|
20
|
-
.de(de_ListDomainsCommand)
|
|
14
|
+
.sc(ListDomains)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { ListObjectives } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ListObjectivesCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("ControlCatalog", "ListObjectives", {})
|
|
17
13
|
.n("ControlCatalogClient", "ListObjectivesCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ListObjectivesCommand)
|
|
20
|
-
.de(de_ListObjectivesCommand)
|
|
14
|
+
.sc(ListObjectives)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
2
3
|
import { NoOpLogger } from "@smithy/smithy-client";
|
|
3
4
|
import { parseUrl } from "@smithy/url-parser";
|
|
4
5
|
import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
@@ -22,6 +23,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
22
23
|
},
|
|
23
24
|
],
|
|
24
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
+
protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.controlcatalog" }),
|
|
25
27
|
serviceId: config?.serviceId ?? "ControlCatalog",
|
|
26
28
|
urlParser: config?.urlParser ?? parseUrl,
|
|
27
29
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
@@ -0,0 +1,440 @@
|
|
|
1
|
+
const _A = "Arn";
|
|
2
|
+
const _ADE = "AccessDeniedException";
|
|
3
|
+
const _ADS = "AssociatedDomainSummary";
|
|
4
|
+
const _AOS = "AssociatedObjectiveSummary";
|
|
5
|
+
const _Al = "Aliases";
|
|
6
|
+
const _B = "Behavior";
|
|
7
|
+
const _C = "Controls";
|
|
8
|
+
const _CA = "ControlArn";
|
|
9
|
+
const _CAo = "ControlArns";
|
|
10
|
+
const _CC = "CommonControls";
|
|
11
|
+
const _CCA = "CommonControlArn";
|
|
12
|
+
const _CCAo = "CommonControlArns";
|
|
13
|
+
const _CCF = "CommonControlFilter";
|
|
14
|
+
const _CCMD = "CommonControlMappingDetails";
|
|
15
|
+
const _CCS = "CommonControlSummary";
|
|
16
|
+
const _CCSL = "CommonControlSummaryList";
|
|
17
|
+
const _CCo = "CommonControl";
|
|
18
|
+
const _CF = "ControlFilter";
|
|
19
|
+
const _CM = "ControlMapping";
|
|
20
|
+
const _CMF = "ControlMappingFilter";
|
|
21
|
+
const _CMo = "ControlMappings";
|
|
22
|
+
const _CP = "ControlParameter";
|
|
23
|
+
const _CPo = "ControlParameters";
|
|
24
|
+
const _CS = "ControlSummary";
|
|
25
|
+
const _CT = "CreateTime";
|
|
26
|
+
const _D = "Description";
|
|
27
|
+
const _DR = "DeployableRegions";
|
|
28
|
+
const _DRF = "DomainResourceFilter";
|
|
29
|
+
const _DRFL = "DomainResourceFilterList";
|
|
30
|
+
const _DS = "DomainSummary";
|
|
31
|
+
const _DSL = "DomainSummaryList";
|
|
32
|
+
const _Do = "Domain";
|
|
33
|
+
const _Dom = "Domains";
|
|
34
|
+
const _F = "Filter";
|
|
35
|
+
const _FMD = "FrameworkMappingDetails";
|
|
36
|
+
const _Fr = "Framework";
|
|
37
|
+
const _GC = "GetControl";
|
|
38
|
+
const _GCR = "GetControlRequest";
|
|
39
|
+
const _GCRe = "GetControlResponse";
|
|
40
|
+
const _GR = "GovernedResources";
|
|
41
|
+
const _I = "Implementations";
|
|
42
|
+
const _ID = "ImplementationDetails";
|
|
43
|
+
const _IF = "ImplementationFilter";
|
|
44
|
+
const _IS = "ImplementationSummary";
|
|
45
|
+
const _ISE = "InternalServerException";
|
|
46
|
+
const _Id = "Identifier";
|
|
47
|
+
const _Ide = "Identifiers";
|
|
48
|
+
const _Im = "Implementation";
|
|
49
|
+
const _It = "Item";
|
|
50
|
+
const _LC = "ListControls";
|
|
51
|
+
const _LCC = "ListCommonControls";
|
|
52
|
+
const _LCCR = "ListCommonControlsRequest";
|
|
53
|
+
const _LCCRi = "ListCommonControlsResponse";
|
|
54
|
+
const _LCM = "ListControlMappings";
|
|
55
|
+
const _LCMR = "ListControlMappingsRequest";
|
|
56
|
+
const _LCMRi = "ListControlMappingsResponse";
|
|
57
|
+
const _LCR = "ListControlsRequest";
|
|
58
|
+
const _LCRi = "ListControlsResponse";
|
|
59
|
+
const _LD = "ListDomains";
|
|
60
|
+
const _LDR = "ListDomainsRequest";
|
|
61
|
+
const _LDRi = "ListDomainsResponse";
|
|
62
|
+
const _LO = "ListObjectives";
|
|
63
|
+
const _LOR = "ListObjectivesRequest";
|
|
64
|
+
const _LORi = "ListObjectivesResponse";
|
|
65
|
+
const _LUT = "LastUpdateTime";
|
|
66
|
+
const _M = "Message";
|
|
67
|
+
const _MR = "MaxResults";
|
|
68
|
+
const _MT = "MappingType";
|
|
69
|
+
const _MTa = "MappingTypes";
|
|
70
|
+
const _Ma = "Mapping";
|
|
71
|
+
const _N = "Name";
|
|
72
|
+
const _NT = "NextToken";
|
|
73
|
+
const _O = "Objectives";
|
|
74
|
+
const _OF = "ObjectiveFilter";
|
|
75
|
+
const _ORF = "ObjectiveResourceFilter";
|
|
76
|
+
const _ORFL = "ObjectiveResourceFilterList";
|
|
77
|
+
const _OS = "ObjectiveSummary";
|
|
78
|
+
const _OSL = "ObjectiveSummaryList";
|
|
79
|
+
const _Ob = "Objective";
|
|
80
|
+
const _P = "Parameters";
|
|
81
|
+
const _RC = "RegionConfiguration";
|
|
82
|
+
const _RNFE = "ResourceNotFoundException";
|
|
83
|
+
const _S = "Severity";
|
|
84
|
+
const _Sc = "Scope";
|
|
85
|
+
const _T = "Type";
|
|
86
|
+
const _TE = "ThrottlingException";
|
|
87
|
+
const _Ty = "Types";
|
|
88
|
+
const _VE = "ValidationException";
|
|
89
|
+
const _c = "client";
|
|
90
|
+
const _e = "error";
|
|
91
|
+
const _h = "http";
|
|
92
|
+
const _hE = "httpError";
|
|
93
|
+
const _hQ = "httpQuery";
|
|
94
|
+
const _mR = "maxResults";
|
|
95
|
+
const _nT = "nextToken";
|
|
96
|
+
const _s = "server";
|
|
97
|
+
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.controlcatalog";
|
|
98
|
+
const n0 = "com.amazonaws.controlcatalog";
|
|
99
|
+
import { TypeRegistry } from "@smithy/core/schema";
|
|
100
|
+
import { ControlCatalogServiceException as __ControlCatalogServiceException } from "../models/ControlCatalogServiceException";
|
|
101
|
+
import { AccessDeniedException as __AccessDeniedException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/index";
|
|
102
|
+
export var AccessDeniedException = [
|
|
103
|
+
-3,
|
|
104
|
+
n0,
|
|
105
|
+
_ADE,
|
|
106
|
+
{
|
|
107
|
+
[_e]: _c,
|
|
108
|
+
[_hE]: 403,
|
|
109
|
+
},
|
|
110
|
+
[_M],
|
|
111
|
+
[0],
|
|
112
|
+
];
|
|
113
|
+
TypeRegistry.for(n0).registerError(AccessDeniedException, __AccessDeniedException);
|
|
114
|
+
export var AssociatedDomainSummary = [3, n0, _ADS, 0, [_A, _N], [0, 0]];
|
|
115
|
+
export var AssociatedObjectiveSummary = [3, n0, _AOS, 0, [_A, _N], [0, 0]];
|
|
116
|
+
export var CommonControlFilter = [3, n0, _CCF, 0, [_O], [() => ObjectiveResourceFilterList]];
|
|
117
|
+
export var CommonControlMappingDetails = [3, n0, _CCMD, 0, [_CCA], [0]];
|
|
118
|
+
export var CommonControlSummary = [
|
|
119
|
+
3,
|
|
120
|
+
n0,
|
|
121
|
+
_CCS,
|
|
122
|
+
0,
|
|
123
|
+
[_A, _N, _D, _Do, _Ob, _CT, _LUT],
|
|
124
|
+
[0, 0, 0, () => AssociatedDomainSummary, () => AssociatedObjectiveSummary, 4, 4],
|
|
125
|
+
];
|
|
126
|
+
export var ControlFilter = [3, n0, _CF, 0, [_I], [() => ImplementationFilter]];
|
|
127
|
+
export var ControlMapping = [3, n0, _CM, 0, [_CA, _MT, _Ma], [0, 0, () => Mapping]];
|
|
128
|
+
export var ControlMappingFilter = [
|
|
129
|
+
3,
|
|
130
|
+
n0,
|
|
131
|
+
_CMF,
|
|
132
|
+
0,
|
|
133
|
+
[_CAo, _CCAo, _MTa],
|
|
134
|
+
[64 | 0, 64 | 0, 64 | 0],
|
|
135
|
+
];
|
|
136
|
+
export var ControlParameter = [3, n0, _CP, 0, [_N], [0]];
|
|
137
|
+
export var ControlSummary = [
|
|
138
|
+
3,
|
|
139
|
+
n0,
|
|
140
|
+
_CS,
|
|
141
|
+
0,
|
|
142
|
+
[_A, _Al, _N, _D, _B, _S, _Im, _CT, _GR],
|
|
143
|
+
[0, 64 | 0, 0, 0, 0, 0, () => ImplementationSummary, 4, 64 | 0],
|
|
144
|
+
];
|
|
145
|
+
export var DomainResourceFilter = [3, n0, _DRF, 0, [_A], [0]];
|
|
146
|
+
export var DomainSummary = [3, n0, _DS, 0, [_A, _N, _D, _CT, _LUT], [0, 0, 0, 4, 4]];
|
|
147
|
+
export var FrameworkMappingDetails = [3, n0, _FMD, 0, [_N, _It], [0, 0]];
|
|
148
|
+
export var GetControlRequest = [3, n0, _GCR, 0, [_CA], [0]];
|
|
149
|
+
export var GetControlResponse = [
|
|
150
|
+
3,
|
|
151
|
+
n0,
|
|
152
|
+
_GCRe,
|
|
153
|
+
0,
|
|
154
|
+
[_A, _Al, _N, _D, _B, _S, _RC, _Im, _P, _CT, _GR],
|
|
155
|
+
[0, 64 | 0, 0, 0, 0, 0, () => RegionConfiguration, () => ImplementationDetails, () => ControlParameters, 4, 64 | 0],
|
|
156
|
+
];
|
|
157
|
+
export var ImplementationDetails = [3, n0, _ID, 0, [_T, _Id], [0, 0]];
|
|
158
|
+
export var ImplementationFilter = [3, n0, _IF, 0, [_Ty, _Ide], [64 | 0, 64 | 0]];
|
|
159
|
+
export var ImplementationSummary = [3, n0, _IS, 0, [_T, _Id], [0, 0]];
|
|
160
|
+
export var InternalServerException = [
|
|
161
|
+
-3,
|
|
162
|
+
n0,
|
|
163
|
+
_ISE,
|
|
164
|
+
{
|
|
165
|
+
[_e]: _s,
|
|
166
|
+
[_hE]: 500,
|
|
167
|
+
},
|
|
168
|
+
[_M],
|
|
169
|
+
[0],
|
|
170
|
+
];
|
|
171
|
+
TypeRegistry.for(n0).registerError(InternalServerException, __InternalServerException);
|
|
172
|
+
export var ListCommonControlsRequest = [
|
|
173
|
+
3,
|
|
174
|
+
n0,
|
|
175
|
+
_LCCR,
|
|
176
|
+
0,
|
|
177
|
+
[_MR, _NT, _CCF],
|
|
178
|
+
[
|
|
179
|
+
[
|
|
180
|
+
1,
|
|
181
|
+
{
|
|
182
|
+
[_hQ]: _mR,
|
|
183
|
+
},
|
|
184
|
+
],
|
|
185
|
+
[
|
|
186
|
+
0,
|
|
187
|
+
{
|
|
188
|
+
[_hQ]: _nT,
|
|
189
|
+
},
|
|
190
|
+
],
|
|
191
|
+
() => CommonControlFilter,
|
|
192
|
+
],
|
|
193
|
+
];
|
|
194
|
+
export var ListCommonControlsResponse = [
|
|
195
|
+
3,
|
|
196
|
+
n0,
|
|
197
|
+
_LCCRi,
|
|
198
|
+
0,
|
|
199
|
+
[_CC, _NT],
|
|
200
|
+
[() => CommonControlSummaryList, 0],
|
|
201
|
+
];
|
|
202
|
+
export var ListControlMappingsRequest = [
|
|
203
|
+
3,
|
|
204
|
+
n0,
|
|
205
|
+
_LCMR,
|
|
206
|
+
0,
|
|
207
|
+
[_NT, _MR, _F],
|
|
208
|
+
[
|
|
209
|
+
[
|
|
210
|
+
0,
|
|
211
|
+
{
|
|
212
|
+
[_hQ]: _nT,
|
|
213
|
+
},
|
|
214
|
+
],
|
|
215
|
+
[
|
|
216
|
+
1,
|
|
217
|
+
{
|
|
218
|
+
[_hQ]: _mR,
|
|
219
|
+
},
|
|
220
|
+
],
|
|
221
|
+
() => ControlMappingFilter,
|
|
222
|
+
],
|
|
223
|
+
];
|
|
224
|
+
export var ListControlMappingsResponse = [
|
|
225
|
+
3,
|
|
226
|
+
n0,
|
|
227
|
+
_LCMRi,
|
|
228
|
+
0,
|
|
229
|
+
[_CMo, _NT],
|
|
230
|
+
[() => ControlMappings, 0],
|
|
231
|
+
];
|
|
232
|
+
export var ListControlsRequest = [
|
|
233
|
+
3,
|
|
234
|
+
n0,
|
|
235
|
+
_LCR,
|
|
236
|
+
0,
|
|
237
|
+
[_NT, _MR, _F],
|
|
238
|
+
[
|
|
239
|
+
[
|
|
240
|
+
0,
|
|
241
|
+
{
|
|
242
|
+
[_hQ]: _nT,
|
|
243
|
+
},
|
|
244
|
+
],
|
|
245
|
+
[
|
|
246
|
+
1,
|
|
247
|
+
{
|
|
248
|
+
[_hQ]: _mR,
|
|
249
|
+
},
|
|
250
|
+
],
|
|
251
|
+
() => ControlFilter,
|
|
252
|
+
],
|
|
253
|
+
];
|
|
254
|
+
export var ListControlsResponse = [3, n0, _LCRi, 0, [_C, _NT], [() => Controls, 0]];
|
|
255
|
+
export var ListDomainsRequest = [
|
|
256
|
+
3,
|
|
257
|
+
n0,
|
|
258
|
+
_LDR,
|
|
259
|
+
0,
|
|
260
|
+
[_MR, _NT],
|
|
261
|
+
[
|
|
262
|
+
[
|
|
263
|
+
1,
|
|
264
|
+
{
|
|
265
|
+
[_hQ]: _mR,
|
|
266
|
+
},
|
|
267
|
+
],
|
|
268
|
+
[
|
|
269
|
+
0,
|
|
270
|
+
{
|
|
271
|
+
[_hQ]: _nT,
|
|
272
|
+
},
|
|
273
|
+
],
|
|
274
|
+
],
|
|
275
|
+
];
|
|
276
|
+
export var ListDomainsResponse = [3, n0, _LDRi, 0, [_Dom, _NT], [() => DomainSummaryList, 0]];
|
|
277
|
+
export var ListObjectivesRequest = [
|
|
278
|
+
3,
|
|
279
|
+
n0,
|
|
280
|
+
_LOR,
|
|
281
|
+
0,
|
|
282
|
+
[_MR, _NT, _OF],
|
|
283
|
+
[
|
|
284
|
+
[
|
|
285
|
+
1,
|
|
286
|
+
{
|
|
287
|
+
[_hQ]: _mR,
|
|
288
|
+
},
|
|
289
|
+
],
|
|
290
|
+
[
|
|
291
|
+
0,
|
|
292
|
+
{
|
|
293
|
+
[_hQ]: _nT,
|
|
294
|
+
},
|
|
295
|
+
],
|
|
296
|
+
() => ObjectiveFilter,
|
|
297
|
+
],
|
|
298
|
+
];
|
|
299
|
+
export var ListObjectivesResponse = [
|
|
300
|
+
3,
|
|
301
|
+
n0,
|
|
302
|
+
_LORi,
|
|
303
|
+
0,
|
|
304
|
+
[_O, _NT],
|
|
305
|
+
[() => ObjectiveSummaryList, 0],
|
|
306
|
+
];
|
|
307
|
+
export var ObjectiveFilter = [3, n0, _OF, 0, [_Dom], [() => DomainResourceFilterList]];
|
|
308
|
+
export var ObjectiveResourceFilter = [3, n0, _ORF, 0, [_A], [0]];
|
|
309
|
+
export var ObjectiveSummary = [
|
|
310
|
+
3,
|
|
311
|
+
n0,
|
|
312
|
+
_OS,
|
|
313
|
+
0,
|
|
314
|
+
[_A, _N, _D, _Do, _CT, _LUT],
|
|
315
|
+
[0, 0, 0, () => AssociatedDomainSummary, 4, 4],
|
|
316
|
+
];
|
|
317
|
+
export var RegionConfiguration = [3, n0, _RC, 0, [_Sc, _DR], [0, 64 | 0]];
|
|
318
|
+
export var ResourceNotFoundException = [
|
|
319
|
+
-3,
|
|
320
|
+
n0,
|
|
321
|
+
_RNFE,
|
|
322
|
+
{
|
|
323
|
+
[_e]: _c,
|
|
324
|
+
[_hE]: 404,
|
|
325
|
+
},
|
|
326
|
+
[_M],
|
|
327
|
+
[0],
|
|
328
|
+
];
|
|
329
|
+
TypeRegistry.for(n0).registerError(ResourceNotFoundException, __ResourceNotFoundException);
|
|
330
|
+
export var ThrottlingException = [
|
|
331
|
+
-3,
|
|
332
|
+
n0,
|
|
333
|
+
_TE,
|
|
334
|
+
{
|
|
335
|
+
[_e]: _c,
|
|
336
|
+
[_hE]: 429,
|
|
337
|
+
},
|
|
338
|
+
[_M],
|
|
339
|
+
[0],
|
|
340
|
+
];
|
|
341
|
+
TypeRegistry.for(n0).registerError(ThrottlingException, __ThrottlingException);
|
|
342
|
+
export var ValidationException = [
|
|
343
|
+
-3,
|
|
344
|
+
n0,
|
|
345
|
+
_VE,
|
|
346
|
+
{
|
|
347
|
+
[_e]: _c,
|
|
348
|
+
[_hE]: 400,
|
|
349
|
+
},
|
|
350
|
+
[_M],
|
|
351
|
+
[0],
|
|
352
|
+
];
|
|
353
|
+
TypeRegistry.for(n0).registerError(ValidationException, __ValidationException);
|
|
354
|
+
export var __Unit = "unit";
|
|
355
|
+
export var ControlCatalogServiceException = [-3, _sm, "ControlCatalogServiceException", 0, [], []];
|
|
356
|
+
TypeRegistry.for(_sm).registerError(ControlCatalogServiceException, __ControlCatalogServiceException);
|
|
357
|
+
export var CommonControlArnFilterList = 64 | 0;
|
|
358
|
+
export var CommonControlSummaryList = [1, n0, _CCSL, 0, () => CommonControlSummary];
|
|
359
|
+
export var ControlAliases = 64 | 0;
|
|
360
|
+
export var ControlArnFilterList = 64 | 0;
|
|
361
|
+
export var ControlMappings = [1, n0, _CMo, 0, () => ControlMapping];
|
|
362
|
+
export var ControlParameters = [1, n0, _CPo, 0, () => ControlParameter];
|
|
363
|
+
export var Controls = [1, n0, _C, 0, () => ControlSummary];
|
|
364
|
+
export var DeployableRegions = 64 | 0;
|
|
365
|
+
export var DomainResourceFilterList = [1, n0, _DRFL, 0, () => DomainResourceFilter];
|
|
366
|
+
export var DomainSummaryList = [1, n0, _DSL, 0, () => DomainSummary];
|
|
367
|
+
export var GovernedResources = 64 | 0;
|
|
368
|
+
export var ImplementationIdentifierFilterList = 64 | 0;
|
|
369
|
+
export var ImplementationTypeFilterList = 64 | 0;
|
|
370
|
+
export var MappingTypeFilterList = 64 | 0;
|
|
371
|
+
export var ObjectiveResourceFilterList = [1, n0, _ORFL, 0, () => ObjectiveResourceFilter];
|
|
372
|
+
export var ObjectiveSummaryList = [1, n0, _OSL, 0, () => ObjectiveSummary];
|
|
373
|
+
export var Mapping = [
|
|
374
|
+
3,
|
|
375
|
+
n0,
|
|
376
|
+
_Ma,
|
|
377
|
+
0,
|
|
378
|
+
[_Fr, _CCo],
|
|
379
|
+
[() => FrameworkMappingDetails, () => CommonControlMappingDetails],
|
|
380
|
+
];
|
|
381
|
+
export var GetControl = [
|
|
382
|
+
9,
|
|
383
|
+
n0,
|
|
384
|
+
_GC,
|
|
385
|
+
{
|
|
386
|
+
[_h]: ["POST", "/get-control", 200],
|
|
387
|
+
},
|
|
388
|
+
() => GetControlRequest,
|
|
389
|
+
() => GetControlResponse,
|
|
390
|
+
];
|
|
391
|
+
export var ListCommonControls = [
|
|
392
|
+
9,
|
|
393
|
+
n0,
|
|
394
|
+
_LCC,
|
|
395
|
+
{
|
|
396
|
+
[_h]: ["POST", "/common-controls", 200],
|
|
397
|
+
},
|
|
398
|
+
() => ListCommonControlsRequest,
|
|
399
|
+
() => ListCommonControlsResponse,
|
|
400
|
+
];
|
|
401
|
+
export var ListControlMappings = [
|
|
402
|
+
9,
|
|
403
|
+
n0,
|
|
404
|
+
_LCM,
|
|
405
|
+
{
|
|
406
|
+
[_h]: ["POST", "/list-control-mappings", 200],
|
|
407
|
+
},
|
|
408
|
+
() => ListControlMappingsRequest,
|
|
409
|
+
() => ListControlMappingsResponse,
|
|
410
|
+
];
|
|
411
|
+
export var ListControls = [
|
|
412
|
+
9,
|
|
413
|
+
n0,
|
|
414
|
+
_LC,
|
|
415
|
+
{
|
|
416
|
+
[_h]: ["POST", "/list-controls", 200],
|
|
417
|
+
},
|
|
418
|
+
() => ListControlsRequest,
|
|
419
|
+
() => ListControlsResponse,
|
|
420
|
+
];
|
|
421
|
+
export var ListDomains = [
|
|
422
|
+
9,
|
|
423
|
+
n0,
|
|
424
|
+
_LD,
|
|
425
|
+
{
|
|
426
|
+
[_h]: ["POST", "/domains", 200],
|
|
427
|
+
},
|
|
428
|
+
() => ListDomainsRequest,
|
|
429
|
+
() => ListDomainsResponse,
|
|
430
|
+
];
|
|
431
|
+
export var ListObjectives = [
|
|
432
|
+
9,
|
|
433
|
+
n0,
|
|
434
|
+
_LO,
|
|
435
|
+
{
|
|
436
|
+
[_h]: ["POST", "/objectives", 200],
|
|
437
|
+
},
|
|
438
|
+
() => ListObjectivesRequest,
|
|
439
|
+
() => ListObjectivesResponse,
|
|
440
|
+
];
|
|
@@ -5,7 +5,7 @@ import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-
|
|
|
5
5
|
import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
6
6
|
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
7
7
|
import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
|
|
8
|
-
import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
8
|
+
import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, ClientProtocol, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, HttpRequest, HttpResponse, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
9
9
|
import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
10
10
|
import { GetControlCommandInput, GetControlCommandOutput } from "./commands/GetControlCommand";
|
|
11
11
|
import { ListCommonControlsCommandInput, ListCommonControlsCommandOutput } from "./commands/ListCommonControlsCommand";
|
|
@@ -147,6 +147,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
|
|
|
147
147
|
* Optional extensions
|
|
148
148
|
*/
|
|
149
149
|
extensions?: RuntimeExtension[];
|
|
150
|
+
/**
|
|
151
|
+
* The protocol controlling the message type (e.g. HTTP) and format (e.g. JSON)
|
|
152
|
+
* may be overridden. A default will always be set by the client.
|
|
153
|
+
* Available options depend on the service's supported protocols and will not be validated by
|
|
154
|
+
* the client.
|
|
155
|
+
* @alpha
|
|
156
|
+
*
|
|
157
|
+
*/
|
|
158
|
+
protocol?: ClientProtocol<HttpRequest, HttpResponse>;
|
|
150
159
|
/**
|
|
151
160
|
* The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
152
161
|
*/
|
|
@@ -29,6 +29,7 @@ export declare const getRuntimeConfig: (config: ControlCatalogClientConfig) => {
|
|
|
29
29
|
profile?: string;
|
|
30
30
|
logger: import("@smithy/types").Logger;
|
|
31
31
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
32
|
+
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
32
33
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
33
34
|
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
34
35
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|