@aws-sdk/client-controlcatalog 3.891.0 → 3.894.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/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-controlcatalog",
3
3
  "description": "AWS SDK for JavaScript Controlcatalog Client for Node.js, Browser and React Native",
4
- "version": "3.891.0",
4
+ "version": "3.894.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
- "build:cjs": "tsc -p tsconfig.cjs.json",
7
+ "build:cjs": "node ../../scripts/compilation/inline client-controlcatalog",
8
8
  "build:es": "tsc -p tsconfig.es.json",
9
9
  "build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build",
10
10
  "build:types": "tsc -p tsconfig.types.json",
@@ -20,38 +20,38 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.890.0",
24
- "@aws-sdk/credential-provider-node": "3.891.0",
25
- "@aws-sdk/middleware-host-header": "3.891.0",
26
- "@aws-sdk/middleware-logger": "3.891.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.891.0",
28
- "@aws-sdk/middleware-user-agent": "3.891.0",
29
- "@aws-sdk/region-config-resolver": "3.890.0",
30
- "@aws-sdk/types": "3.887.0",
31
- "@aws-sdk/util-endpoints": "3.891.0",
32
- "@aws-sdk/util-user-agent-browser": "3.887.0",
33
- "@aws-sdk/util-user-agent-node": "3.891.0",
23
+ "@aws-sdk/core": "3.894.0",
24
+ "@aws-sdk/credential-provider-node": "3.894.0",
25
+ "@aws-sdk/middleware-host-header": "3.893.0",
26
+ "@aws-sdk/middleware-logger": "3.893.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.893.0",
28
+ "@aws-sdk/middleware-user-agent": "3.894.0",
29
+ "@aws-sdk/region-config-resolver": "3.893.0",
30
+ "@aws-sdk/types": "3.893.0",
31
+ "@aws-sdk/util-endpoints": "3.893.0",
32
+ "@aws-sdk/util-user-agent-browser": "3.893.0",
33
+ "@aws-sdk/util-user-agent-node": "3.894.0",
34
34
  "@smithy/config-resolver": "^4.2.2",
35
- "@smithy/core": "^3.11.0",
35
+ "@smithy/core": "^3.11.1",
36
36
  "@smithy/fetch-http-handler": "^5.2.1",
37
37
  "@smithy/hash-node": "^4.1.1",
38
38
  "@smithy/invalid-dependency": "^4.1.1",
39
39
  "@smithy/middleware-content-length": "^4.1.1",
40
- "@smithy/middleware-endpoint": "^4.2.2",
41
- "@smithy/middleware-retry": "^4.2.3",
40
+ "@smithy/middleware-endpoint": "^4.2.3",
41
+ "@smithy/middleware-retry": "^4.2.4",
42
42
  "@smithy/middleware-serde": "^4.1.1",
43
43
  "@smithy/middleware-stack": "^4.1.1",
44
44
  "@smithy/node-config-provider": "^4.2.2",
45
45
  "@smithy/node-http-handler": "^4.2.1",
46
46
  "@smithy/protocol-http": "^5.2.1",
47
- "@smithy/smithy-client": "^4.6.2",
47
+ "@smithy/smithy-client": "^4.6.3",
48
48
  "@smithy/types": "^4.5.0",
49
49
  "@smithy/url-parser": "^4.1.1",
50
50
  "@smithy/util-base64": "^4.1.0",
51
51
  "@smithy/util-body-length-browser": "^4.1.0",
52
52
  "@smithy/util-body-length-node": "^4.1.0",
53
- "@smithy/util-defaults-mode-browser": "^4.1.2",
54
- "@smithy/util-defaults-mode-node": "^4.1.2",
53
+ "@smithy/util-defaults-mode-browser": "^4.1.3",
54
+ "@smithy/util-defaults-mode-node": "^4.1.3",
55
55
  "@smithy/util-endpoints": "^3.1.2",
56
56
  "@smithy/util-middleware": "^4.1.1",
57
57
  "@smithy/util-retry": "^4.1.2",
@@ -1,23 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ControlCatalog = void 0;
4
- const smithy_client_1 = require("@smithy/smithy-client");
5
- const GetControlCommand_1 = require("./commands/GetControlCommand");
6
- const ListCommonControlsCommand_1 = require("./commands/ListCommonControlsCommand");
7
- const ListControlMappingsCommand_1 = require("./commands/ListControlMappingsCommand");
8
- const ListControlsCommand_1 = require("./commands/ListControlsCommand");
9
- const ListDomainsCommand_1 = require("./commands/ListDomainsCommand");
10
- const ListObjectivesCommand_1 = require("./commands/ListObjectivesCommand");
11
- const ControlCatalogClient_1 = require("./ControlCatalogClient");
12
- const commands = {
13
- GetControlCommand: GetControlCommand_1.GetControlCommand,
14
- ListCommonControlsCommand: ListCommonControlsCommand_1.ListCommonControlsCommand,
15
- ListControlMappingsCommand: ListControlMappingsCommand_1.ListControlMappingsCommand,
16
- ListControlsCommand: ListControlsCommand_1.ListControlsCommand,
17
- ListDomainsCommand: ListDomainsCommand_1.ListDomainsCommand,
18
- ListObjectivesCommand: ListObjectivesCommand_1.ListObjectivesCommand,
19
- };
20
- class ControlCatalog extends ControlCatalogClient_1.ControlCatalogClient {
21
- }
22
- exports.ControlCatalog = ControlCatalog;
23
- (0, smithy_client_1.createAggregatedClient)(commands, ControlCatalog);
@@ -1,52 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ControlCatalogClient = exports.__Client = void 0;
4
- const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
5
- const middleware_logger_1 = require("@aws-sdk/middleware-logger");
6
- const middleware_recursion_detection_1 = require("@aws-sdk/middleware-recursion-detection");
7
- const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
8
- const config_resolver_1 = require("@smithy/config-resolver");
9
- const core_1 = require("@smithy/core");
10
- const middleware_content_length_1 = require("@smithy/middleware-content-length");
11
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
12
- const middleware_retry_1 = require("@smithy/middleware-retry");
13
- const smithy_client_1 = require("@smithy/smithy-client");
14
- Object.defineProperty(exports, "__Client", { enumerable: true, get: function () { return smithy_client_1.Client; } });
15
- const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
16
- const EndpointParameters_1 = require("./endpoint/EndpointParameters");
17
- const runtimeConfig_1 = require("./runtimeConfig");
18
- const runtimeExtensions_1 = require("./runtimeExtensions");
19
- class ControlCatalogClient extends smithy_client_1.Client {
20
- config;
21
- constructor(...[configuration]) {
22
- const _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration || {});
23
- super(_config_0);
24
- this.initConfig = _config_0;
25
- const _config_1 = (0, EndpointParameters_1.resolveClientEndpointParameters)(_config_0);
26
- const _config_2 = (0, middleware_user_agent_1.resolveUserAgentConfig)(_config_1);
27
- const _config_3 = (0, middleware_retry_1.resolveRetryConfig)(_config_2);
28
- const _config_4 = (0, config_resolver_1.resolveRegionConfig)(_config_3);
29
- const _config_5 = (0, middleware_host_header_1.resolveHostHeaderConfig)(_config_4);
30
- const _config_6 = (0, middleware_endpoint_1.resolveEndpointConfig)(_config_5);
31
- const _config_7 = (0, httpAuthSchemeProvider_1.resolveHttpAuthSchemeConfig)(_config_6);
32
- const _config_8 = (0, runtimeExtensions_1.resolveRuntimeExtensions)(_config_7, configuration?.extensions || []);
33
- this.config = _config_8;
34
- this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
35
- this.middlewareStack.use((0, middleware_retry_1.getRetryPlugin)(this.config));
36
- this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
37
- this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
38
- this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));
39
- this.middlewareStack.use((0, middleware_recursion_detection_1.getRecursionDetectionPlugin)(this.config));
40
- this.middlewareStack.use((0, core_1.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
41
- httpAuthSchemeParametersProvider: httpAuthSchemeProvider_1.defaultControlCatalogHttpAuthSchemeParametersProvider,
42
- identityProviderConfigProvider: async (config) => new core_1.DefaultIdentityProviderConfig({
43
- "aws.auth#sigv4": config.credentials,
44
- }),
45
- }));
46
- this.middlewareStack.use((0, core_1.getHttpSigningPlugin)(this.config));
47
- }
48
- destroy() {
49
- super.destroy();
50
- }
51
- }
52
- exports.ControlCatalogClient = ControlCatalogClient;
@@ -1,43 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.resolveHttpAuthRuntimeConfig = exports.getHttpAuthExtensionConfiguration = void 0;
4
- const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
5
- const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
6
- let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
7
- let _credentials = runtimeConfig.credentials;
8
- return {
9
- setHttpAuthScheme(httpAuthScheme) {
10
- const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
11
- if (index === -1) {
12
- _httpAuthSchemes.push(httpAuthScheme);
13
- }
14
- else {
15
- _httpAuthSchemes.splice(index, 1, httpAuthScheme);
16
- }
17
- },
18
- httpAuthSchemes() {
19
- return _httpAuthSchemes;
20
- },
21
- setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
22
- _httpAuthSchemeProvider = httpAuthSchemeProvider;
23
- },
24
- httpAuthSchemeProvider() {
25
- return _httpAuthSchemeProvider;
26
- },
27
- setCredentials(credentials) {
28
- _credentials = credentials;
29
- },
30
- credentials() {
31
- return _credentials;
32
- },
33
- };
34
- };
35
- exports.getHttpAuthExtensionConfiguration = getHttpAuthExtensionConfiguration;
36
- const resolveHttpAuthRuntimeConfig = (config) => {
37
- return {
38
- httpAuthSchemes: config.httpAuthSchemes(),
39
- httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
40
- credentials: config.credentials(),
41
- };
42
- };
43
- exports.resolveHttpAuthRuntimeConfig = resolveHttpAuthRuntimeConfig;
@@ -1,26 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetControlCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class GetControlCommand extends smithy_client_1.Command
11
- .classBuilder()
12
- .ep(EndpointParameters_1.commonParams)
13
- .m(function (Command, cs, config, o) {
14
- return [
15
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
17
- ];
18
- })
19
- .s("ControlCatalog", "GetControl", {})
20
- .n("ControlCatalogClient", "GetControlCommand")
21
- .f(void 0, void 0)
22
- .ser(Aws_restJson1_1.se_GetControlCommand)
23
- .de(Aws_restJson1_1.de_GetControlCommand)
24
- .build() {
25
- }
26
- exports.GetControlCommand = GetControlCommand;
@@ -1,26 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ListCommonControlsCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class ListCommonControlsCommand extends smithy_client_1.Command
11
- .classBuilder()
12
- .ep(EndpointParameters_1.commonParams)
13
- .m(function (Command, cs, config, o) {
14
- return [
15
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
17
- ];
18
- })
19
- .s("ControlCatalog", "ListCommonControls", {})
20
- .n("ControlCatalogClient", "ListCommonControlsCommand")
21
- .f(void 0, void 0)
22
- .ser(Aws_restJson1_1.se_ListCommonControlsCommand)
23
- .de(Aws_restJson1_1.de_ListCommonControlsCommand)
24
- .build() {
25
- }
26
- exports.ListCommonControlsCommand = ListCommonControlsCommand;
@@ -1,26 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ListControlMappingsCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class ListControlMappingsCommand extends smithy_client_1.Command
11
- .classBuilder()
12
- .ep(EndpointParameters_1.commonParams)
13
- .m(function (Command, cs, config, o) {
14
- return [
15
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
17
- ];
18
- })
19
- .s("ControlCatalog", "ListControlMappings", {})
20
- .n("ControlCatalogClient", "ListControlMappingsCommand")
21
- .f(void 0, void 0)
22
- .ser(Aws_restJson1_1.se_ListControlMappingsCommand)
23
- .de(Aws_restJson1_1.de_ListControlMappingsCommand)
24
- .build() {
25
- }
26
- exports.ListControlMappingsCommand = ListControlMappingsCommand;
@@ -1,26 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ListControlsCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class ListControlsCommand extends smithy_client_1.Command
11
- .classBuilder()
12
- .ep(EndpointParameters_1.commonParams)
13
- .m(function (Command, cs, config, o) {
14
- return [
15
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
17
- ];
18
- })
19
- .s("ControlCatalog", "ListControls", {})
20
- .n("ControlCatalogClient", "ListControlsCommand")
21
- .f(void 0, void 0)
22
- .ser(Aws_restJson1_1.se_ListControlsCommand)
23
- .de(Aws_restJson1_1.de_ListControlsCommand)
24
- .build() {
25
- }
26
- exports.ListControlsCommand = ListControlsCommand;
@@ -1,26 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ListDomainsCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class ListDomainsCommand extends smithy_client_1.Command
11
- .classBuilder()
12
- .ep(EndpointParameters_1.commonParams)
13
- .m(function (Command, cs, config, o) {
14
- return [
15
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
17
- ];
18
- })
19
- .s("ControlCatalog", "ListDomains", {})
20
- .n("ControlCatalogClient", "ListDomainsCommand")
21
- .f(void 0, void 0)
22
- .ser(Aws_restJson1_1.se_ListDomainsCommand)
23
- .de(Aws_restJson1_1.de_ListDomainsCommand)
24
- .build() {
25
- }
26
- exports.ListDomainsCommand = ListDomainsCommand;
@@ -1,26 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ListObjectivesCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class ListObjectivesCommand extends smithy_client_1.Command
11
- .classBuilder()
12
- .ep(EndpointParameters_1.commonParams)
13
- .m(function (Command, cs, config, o) {
14
- return [
15
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
17
- ];
18
- })
19
- .s("ControlCatalog", "ListObjectives", {})
20
- .n("ControlCatalogClient", "ListObjectivesCommand")
21
- .f(void 0, void 0)
22
- .ser(Aws_restJson1_1.se_ListObjectivesCommand)
23
- .de(Aws_restJson1_1.de_ListObjectivesCommand)
24
- .build() {
25
- }
26
- exports.ListObjectivesCommand = ListObjectivesCommand;
@@ -1,9 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./GetControlCommand"), exports);
5
- tslib_1.__exportStar(require("./ListCommonControlsCommand"), exports);
6
- tslib_1.__exportStar(require("./ListControlMappingsCommand"), exports);
7
- tslib_1.__exportStar(require("./ListControlsCommand"), exports);
8
- tslib_1.__exportStar(require("./ListDomainsCommand"), exports);
9
- tslib_1.__exportStar(require("./ListObjectivesCommand"), exports);
@@ -1,17 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.commonParams = exports.resolveClientEndpointParameters = void 0;
4
- const resolveClientEndpointParameters = (options) => {
5
- return Object.assign(options, {
6
- useDualstackEndpoint: options.useDualstackEndpoint ?? false,
7
- useFipsEndpoint: options.useFipsEndpoint ?? false,
8
- defaultSigningName: "controlcatalog",
9
- });
10
- };
11
- exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
12
- exports.commonParams = {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,12 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ControlCatalogServiceException = exports.__ServiceException = void 0;
4
- const smithy_client_1 = require("@smithy/smithy-client");
5
- Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
6
- class ControlCatalogServiceException extends smithy_client_1.ServiceException {
7
- constructor(options) {
8
- super(options);
9
- Object.setPrototypeOf(this, ControlCatalogServiceException.prototype);
10
- }
11
- }
12
- exports.ControlCatalogServiceException = ControlCatalogServiceException;
@@ -1,4 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./models_0"), exports);
@@ -1,112 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Mapping = exports.MappingType = exports.ResourceNotFoundException = exports.ControlSeverity = exports.ControlScope = exports.ControlBehavior = exports.ValidationException = exports.ThrottlingException = exports.InternalServerException = exports.AccessDeniedException = void 0;
4
- const ControlCatalogServiceException_1 = require("./ControlCatalogServiceException");
5
- class AccessDeniedException extends ControlCatalogServiceException_1.ControlCatalogServiceException {
6
- name = "AccessDeniedException";
7
- $fault = "client";
8
- Message;
9
- constructor(opts) {
10
- super({
11
- name: "AccessDeniedException",
12
- $fault: "client",
13
- ...opts,
14
- });
15
- Object.setPrototypeOf(this, AccessDeniedException.prototype);
16
- this.Message = opts.Message;
17
- }
18
- }
19
- exports.AccessDeniedException = AccessDeniedException;
20
- class InternalServerException extends ControlCatalogServiceException_1.ControlCatalogServiceException {
21
- name = "InternalServerException";
22
- $fault = "server";
23
- $retryable = {};
24
- Message;
25
- constructor(opts) {
26
- super({
27
- name: "InternalServerException",
28
- $fault: "server",
29
- ...opts,
30
- });
31
- Object.setPrototypeOf(this, InternalServerException.prototype);
32
- this.Message = opts.Message;
33
- }
34
- }
35
- exports.InternalServerException = InternalServerException;
36
- class ThrottlingException extends ControlCatalogServiceException_1.ControlCatalogServiceException {
37
- name = "ThrottlingException";
38
- $fault = "client";
39
- $retryable = {
40
- throttling: true,
41
- };
42
- Message;
43
- constructor(opts) {
44
- super({
45
- name: "ThrottlingException",
46
- $fault: "client",
47
- ...opts,
48
- });
49
- Object.setPrototypeOf(this, ThrottlingException.prototype);
50
- this.Message = opts.Message;
51
- }
52
- }
53
- exports.ThrottlingException = ThrottlingException;
54
- class ValidationException extends ControlCatalogServiceException_1.ControlCatalogServiceException {
55
- name = "ValidationException";
56
- $fault = "client";
57
- Message;
58
- constructor(opts) {
59
- super({
60
- name: "ValidationException",
61
- $fault: "client",
62
- ...opts,
63
- });
64
- Object.setPrototypeOf(this, ValidationException.prototype);
65
- this.Message = opts.Message;
66
- }
67
- }
68
- exports.ValidationException = ValidationException;
69
- exports.ControlBehavior = {
70
- DETECTIVE: "DETECTIVE",
71
- PREVENTIVE: "PREVENTIVE",
72
- PROACTIVE: "PROACTIVE",
73
- };
74
- exports.ControlScope = {
75
- GLOBAL: "GLOBAL",
76
- REGIONAL: "REGIONAL",
77
- };
78
- exports.ControlSeverity = {
79
- CRITICAL: "CRITICAL",
80
- HIGH: "HIGH",
81
- LOW: "LOW",
82
- MEDIUM: "MEDIUM",
83
- };
84
- class ResourceNotFoundException extends ControlCatalogServiceException_1.ControlCatalogServiceException {
85
- name = "ResourceNotFoundException";
86
- $fault = "client";
87
- Message;
88
- constructor(opts) {
89
- super({
90
- name: "ResourceNotFoundException",
91
- $fault: "client",
92
- ...opts,
93
- });
94
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
95
- this.Message = opts.Message;
96
- }
97
- }
98
- exports.ResourceNotFoundException = ResourceNotFoundException;
99
- exports.MappingType = {
100
- COMMON_CONTROL: "COMMON_CONTROL",
101
- FRAMEWORK: "FRAMEWORK",
102
- };
103
- var Mapping;
104
- (function (Mapping) {
105
- Mapping.visit = (value, visitor) => {
106
- if (value.Framework !== undefined)
107
- return visitor.Framework(value.Framework);
108
- if (value.CommonControl !== undefined)
109
- return visitor.CommonControl(value.CommonControl);
110
- return visitor._(value.$unknown[0], value.$unknown[1]);
111
- };
112
- })(Mapping || (exports.Mapping = Mapping = {}));
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListCommonControls = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListCommonControlsCommand_1 = require("../commands/ListCommonControlsCommand");
6
- const ControlCatalogClient_1 = require("../ControlCatalogClient");
7
- exports.paginateListCommonControls = (0, core_1.createPaginator)(ControlCatalogClient_1.ControlCatalogClient, ListCommonControlsCommand_1.ListCommonControlsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListControlMappings = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListControlMappingsCommand_1 = require("../commands/ListControlMappingsCommand");
6
- const ControlCatalogClient_1 = require("../ControlCatalogClient");
7
- exports.paginateListControlMappings = (0, core_1.createPaginator)(ControlCatalogClient_1.ControlCatalogClient, ListControlMappingsCommand_1.ListControlMappingsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListControls = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListControlsCommand_1 = require("../commands/ListControlsCommand");
6
- const ControlCatalogClient_1 = require("../ControlCatalogClient");
7
- exports.paginateListControls = (0, core_1.createPaginator)(ControlCatalogClient_1.ControlCatalogClient, ListControlsCommand_1.ListControlsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListDomains = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListDomainsCommand_1 = require("../commands/ListDomainsCommand");
6
- const ControlCatalogClient_1 = require("../ControlCatalogClient");
7
- exports.paginateListDomains = (0, core_1.createPaginator)(ControlCatalogClient_1.ControlCatalogClient, ListDomainsCommand_1.ListDomainsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListObjectives = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListObjectivesCommand_1 = require("../commands/ListObjectivesCommand");
6
- const ControlCatalogClient_1 = require("../ControlCatalogClient");
7
- exports.paginateListObjectives = (0, core_1.createPaginator)(ControlCatalogClient_1.ControlCatalogClient, ListObjectivesCommand_1.ListObjectivesCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,9 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./Interfaces"), exports);
5
- tslib_1.__exportStar(require("./ListCommonControlsPaginator"), exports);
6
- tslib_1.__exportStar(require("./ListControlMappingsPaginator"), exports);
7
- tslib_1.__exportStar(require("./ListControlsPaginator"), exports);
8
- tslib_1.__exportStar(require("./ListDomainsPaginator"), exports);
9
- tslib_1.__exportStar(require("./ListObjectivesPaginator"), exports);