@aws-sdk/client-controlcatalog 3.1136.0 → 3.1138.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
CHANGED
|
@@ -69,7 +69,7 @@ const commonParams = {
|
|
|
69
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
70
70
|
};
|
|
71
71
|
|
|
72
|
-
var version = "3.
|
|
72
|
+
var version = "3.1137.0";
|
|
73
73
|
var packageInfo = {
|
|
74
74
|
version: version};
|
|
75
75
|
|
|
@@ -317,10 +317,10 @@ const _nT = "nextToken";
|
|
|
317
317
|
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.controlcatalog";
|
|
318
318
|
const _se = "server";
|
|
319
319
|
const n0 = "com.amazonaws.controlcatalog";
|
|
320
|
-
const _s_registry = TypeRegistry
|
|
320
|
+
const _s_registry = new TypeRegistry(_s);
|
|
321
321
|
var ControlCatalogServiceException$ = [-3, _s, "ControlCatalogServiceException", 0, [], []];
|
|
322
322
|
_s_registry.registerError(ControlCatalogServiceException$, ControlCatalogServiceException);
|
|
323
|
-
const n0_registry = TypeRegistry
|
|
323
|
+
const n0_registry = new TypeRegistry(n0);
|
|
324
324
|
var AccessDeniedException$ = [-3, n0, _ADE,
|
|
325
325
|
{ [_e]: _c, [_hE]: 403 },
|
|
326
326
|
[_M],
|
|
@@ -105,10 +105,10 @@ const n0 = "com.amazonaws.controlcatalog";
|
|
|
105
105
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
106
106
|
import { ControlCatalogServiceException } from "../models/ControlCatalogServiceException";
|
|
107
107
|
import { AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, } from "../models/errors";
|
|
108
|
-
const _s_registry = TypeRegistry
|
|
108
|
+
const _s_registry = new TypeRegistry(_s);
|
|
109
109
|
export var ControlCatalogServiceException$ = [-3, _s, "ControlCatalogServiceException", 0, [], []];
|
|
110
110
|
_s_registry.registerError(ControlCatalogServiceException$, ControlCatalogServiceException);
|
|
111
|
-
const n0_registry = TypeRegistry
|
|
111
|
+
const n0_registry = new TypeRegistry(n0);
|
|
112
112
|
export var AccessDeniedException$ = [-3, n0, _ADE,
|
|
113
113
|
{ [_e]: _c, [_hE]: 403 },
|
|
114
114
|
[_M],
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions, MetricsRecorder as __MetricsRecorder, PaginationConfiguration, Paginator } from "@smithy/types";
|
|
2
2
|
import { type GetControlCommandInput, type GetControlCommandOutput } from "./commands/GetControlCommand";
|
|
3
3
|
import { type ListCommonControlsCommandInput, type ListCommonControlsCommandOutput } from "./commands/ListCommonControlsCommand";
|
|
4
4
|
import { type ListControlMappingsCommandInput, type ListControlMappingsCommandOutput } from "./commands/ListControlMappingsCommand";
|
|
@@ -6,48 +6,54 @@ import { type ListControlsCommandInput, type ListControlsCommandOutput } from ".
|
|
|
6
6
|
import { type ListDomainsCommandInput, type ListDomainsCommandOutput } from "./commands/ListDomainsCommand";
|
|
7
7
|
import { type ListObjectivesCommandInput, type ListObjectivesCommandOutput } from "./commands/ListObjectivesCommand";
|
|
8
8
|
import { ControlCatalogClient } from "./ControlCatalogClient";
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*/
|
|
12
|
+
export interface ControlCatalogRequestOptions extends __HttpHandlerOptions {
|
|
13
|
+
metricsRecorder?: __MetricsRecorder<unknown>;
|
|
14
|
+
}
|
|
9
15
|
export interface ControlCatalog {
|
|
10
16
|
/**
|
|
11
17
|
* @see {@link GetControlCommand}
|
|
12
18
|
*/
|
|
13
|
-
getControl(args: GetControlCommandInput, options?:
|
|
19
|
+
getControl(args: GetControlCommandInput, options?: ControlCatalogRequestOptions): Promise<GetControlCommandOutput>;
|
|
14
20
|
getControl(args: GetControlCommandInput, cb: (err: any, data?: GetControlCommandOutput) => void): void;
|
|
15
|
-
getControl(args: GetControlCommandInput, options:
|
|
21
|
+
getControl(args: GetControlCommandInput, options: ControlCatalogRequestOptions, cb: (err: any, data?: GetControlCommandOutput) => void): void;
|
|
16
22
|
/**
|
|
17
23
|
* @see {@link ListCommonControlsCommand}
|
|
18
24
|
*/
|
|
19
25
|
listCommonControls(): Promise<ListCommonControlsCommandOutput>;
|
|
20
|
-
listCommonControls(args: ListCommonControlsCommandInput, options?:
|
|
26
|
+
listCommonControls(args: ListCommonControlsCommandInput, options?: ControlCatalogRequestOptions): Promise<ListCommonControlsCommandOutput>;
|
|
21
27
|
listCommonControls(args: ListCommonControlsCommandInput, cb: (err: any, data?: ListCommonControlsCommandOutput) => void): void;
|
|
22
|
-
listCommonControls(args: ListCommonControlsCommandInput, options:
|
|
28
|
+
listCommonControls(args: ListCommonControlsCommandInput, options: ControlCatalogRequestOptions, cb: (err: any, data?: ListCommonControlsCommandOutput) => void): void;
|
|
23
29
|
/**
|
|
24
30
|
* @see {@link ListControlMappingsCommand}
|
|
25
31
|
*/
|
|
26
32
|
listControlMappings(): Promise<ListControlMappingsCommandOutput>;
|
|
27
|
-
listControlMappings(args: ListControlMappingsCommandInput, options?:
|
|
33
|
+
listControlMappings(args: ListControlMappingsCommandInput, options?: ControlCatalogRequestOptions): Promise<ListControlMappingsCommandOutput>;
|
|
28
34
|
listControlMappings(args: ListControlMappingsCommandInput, cb: (err: any, data?: ListControlMappingsCommandOutput) => void): void;
|
|
29
|
-
listControlMappings(args: ListControlMappingsCommandInput, options:
|
|
35
|
+
listControlMappings(args: ListControlMappingsCommandInput, options: ControlCatalogRequestOptions, cb: (err: any, data?: ListControlMappingsCommandOutput) => void): void;
|
|
30
36
|
/**
|
|
31
37
|
* @see {@link ListControlsCommand}
|
|
32
38
|
*/
|
|
33
39
|
listControls(): Promise<ListControlsCommandOutput>;
|
|
34
|
-
listControls(args: ListControlsCommandInput, options?:
|
|
40
|
+
listControls(args: ListControlsCommandInput, options?: ControlCatalogRequestOptions): Promise<ListControlsCommandOutput>;
|
|
35
41
|
listControls(args: ListControlsCommandInput, cb: (err: any, data?: ListControlsCommandOutput) => void): void;
|
|
36
|
-
listControls(args: ListControlsCommandInput, options:
|
|
42
|
+
listControls(args: ListControlsCommandInput, options: ControlCatalogRequestOptions, cb: (err: any, data?: ListControlsCommandOutput) => void): void;
|
|
37
43
|
/**
|
|
38
44
|
* @see {@link ListDomainsCommand}
|
|
39
45
|
*/
|
|
40
46
|
listDomains(): Promise<ListDomainsCommandOutput>;
|
|
41
|
-
listDomains(args: ListDomainsCommandInput, options?:
|
|
47
|
+
listDomains(args: ListDomainsCommandInput, options?: ControlCatalogRequestOptions): Promise<ListDomainsCommandOutput>;
|
|
42
48
|
listDomains(args: ListDomainsCommandInput, cb: (err: any, data?: ListDomainsCommandOutput) => void): void;
|
|
43
|
-
listDomains(args: ListDomainsCommandInput, options:
|
|
49
|
+
listDomains(args: ListDomainsCommandInput, options: ControlCatalogRequestOptions, cb: (err: any, data?: ListDomainsCommandOutput) => void): void;
|
|
44
50
|
/**
|
|
45
51
|
* @see {@link ListObjectivesCommand}
|
|
46
52
|
*/
|
|
47
53
|
listObjectives(): Promise<ListObjectivesCommandOutput>;
|
|
48
|
-
listObjectives(args: ListObjectivesCommandInput, options?:
|
|
54
|
+
listObjectives(args: ListObjectivesCommandInput, options?: ControlCatalogRequestOptions): Promise<ListObjectivesCommandOutput>;
|
|
49
55
|
listObjectives(args: ListObjectivesCommandInput, cb: (err: any, data?: ListObjectivesCommandOutput) => void): void;
|
|
50
|
-
listObjectives(args: ListObjectivesCommandInput, options:
|
|
56
|
+
listObjectives(args: ListObjectivesCommandInput, options: ControlCatalogRequestOptions, cb: (err: any, data?: ListObjectivesCommandOutput) => void): void;
|
|
51
57
|
/**
|
|
52
58
|
* @see {@link ListCommonControlsCommand}
|
|
53
59
|
* @param args - command input.
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
MetricsRecorder as __MetricsRecorder,
|
|
3
4
|
PaginationConfiguration,
|
|
4
5
|
Paginator,
|
|
5
6
|
} from "@smithy/types";
|
|
@@ -22,10 +23,13 @@ import {
|
|
|
22
23
|
ListObjectivesCommandOutput,
|
|
23
24
|
} from "./commands/ListObjectivesCommand";
|
|
24
25
|
import { ControlCatalogClient } from "./ControlCatalogClient";
|
|
26
|
+
export interface ControlCatalogRequestOptions extends __HttpHandlerOptions {
|
|
27
|
+
metricsRecorder?: __MetricsRecorder<unknown>;
|
|
28
|
+
}
|
|
25
29
|
export interface ControlCatalog {
|
|
26
30
|
getControl(
|
|
27
31
|
args: GetControlCommandInput,
|
|
28
|
-
options?:
|
|
32
|
+
options?: ControlCatalogRequestOptions,
|
|
29
33
|
): Promise<GetControlCommandOutput>;
|
|
30
34
|
getControl(
|
|
31
35
|
args: GetControlCommandInput,
|
|
@@ -33,13 +37,13 @@ export interface ControlCatalog {
|
|
|
33
37
|
): void;
|
|
34
38
|
getControl(
|
|
35
39
|
args: GetControlCommandInput,
|
|
36
|
-
options:
|
|
40
|
+
options: ControlCatalogRequestOptions,
|
|
37
41
|
cb: (err: any, data?: GetControlCommandOutput) => void,
|
|
38
42
|
): void;
|
|
39
43
|
listCommonControls(): Promise<ListCommonControlsCommandOutput>;
|
|
40
44
|
listCommonControls(
|
|
41
45
|
args: ListCommonControlsCommandInput,
|
|
42
|
-
options?:
|
|
46
|
+
options?: ControlCatalogRequestOptions,
|
|
43
47
|
): Promise<ListCommonControlsCommandOutput>;
|
|
44
48
|
listCommonControls(
|
|
45
49
|
args: ListCommonControlsCommandInput,
|
|
@@ -47,13 +51,13 @@ export interface ControlCatalog {
|
|
|
47
51
|
): void;
|
|
48
52
|
listCommonControls(
|
|
49
53
|
args: ListCommonControlsCommandInput,
|
|
50
|
-
options:
|
|
54
|
+
options: ControlCatalogRequestOptions,
|
|
51
55
|
cb: (err: any, data?: ListCommonControlsCommandOutput) => void,
|
|
52
56
|
): void;
|
|
53
57
|
listControlMappings(): Promise<ListControlMappingsCommandOutput>;
|
|
54
58
|
listControlMappings(
|
|
55
59
|
args: ListControlMappingsCommandInput,
|
|
56
|
-
options?:
|
|
60
|
+
options?: ControlCatalogRequestOptions,
|
|
57
61
|
): Promise<ListControlMappingsCommandOutput>;
|
|
58
62
|
listControlMappings(
|
|
59
63
|
args: ListControlMappingsCommandInput,
|
|
@@ -61,13 +65,13 @@ export interface ControlCatalog {
|
|
|
61
65
|
): void;
|
|
62
66
|
listControlMappings(
|
|
63
67
|
args: ListControlMappingsCommandInput,
|
|
64
|
-
options:
|
|
68
|
+
options: ControlCatalogRequestOptions,
|
|
65
69
|
cb: (err: any, data?: ListControlMappingsCommandOutput) => void,
|
|
66
70
|
): void;
|
|
67
71
|
listControls(): Promise<ListControlsCommandOutput>;
|
|
68
72
|
listControls(
|
|
69
73
|
args: ListControlsCommandInput,
|
|
70
|
-
options?:
|
|
74
|
+
options?: ControlCatalogRequestOptions,
|
|
71
75
|
): Promise<ListControlsCommandOutput>;
|
|
72
76
|
listControls(
|
|
73
77
|
args: ListControlsCommandInput,
|
|
@@ -75,13 +79,13 @@ export interface ControlCatalog {
|
|
|
75
79
|
): void;
|
|
76
80
|
listControls(
|
|
77
81
|
args: ListControlsCommandInput,
|
|
78
|
-
options:
|
|
82
|
+
options: ControlCatalogRequestOptions,
|
|
79
83
|
cb: (err: any, data?: ListControlsCommandOutput) => void,
|
|
80
84
|
): void;
|
|
81
85
|
listDomains(): Promise<ListDomainsCommandOutput>;
|
|
82
86
|
listDomains(
|
|
83
87
|
args: ListDomainsCommandInput,
|
|
84
|
-
options?:
|
|
88
|
+
options?: ControlCatalogRequestOptions,
|
|
85
89
|
): Promise<ListDomainsCommandOutput>;
|
|
86
90
|
listDomains(
|
|
87
91
|
args: ListDomainsCommandInput,
|
|
@@ -89,13 +93,13 @@ export interface ControlCatalog {
|
|
|
89
93
|
): void;
|
|
90
94
|
listDomains(
|
|
91
95
|
args: ListDomainsCommandInput,
|
|
92
|
-
options:
|
|
96
|
+
options: ControlCatalogRequestOptions,
|
|
93
97
|
cb: (err: any, data?: ListDomainsCommandOutput) => void,
|
|
94
98
|
): void;
|
|
95
99
|
listObjectives(): Promise<ListObjectivesCommandOutput>;
|
|
96
100
|
listObjectives(
|
|
97
101
|
args: ListObjectivesCommandInput,
|
|
98
|
-
options?:
|
|
102
|
+
options?: ControlCatalogRequestOptions,
|
|
99
103
|
): Promise<ListObjectivesCommandOutput>;
|
|
100
104
|
listObjectives(
|
|
101
105
|
args: ListObjectivesCommandInput,
|
|
@@ -103,7 +107,7 @@ export interface ControlCatalog {
|
|
|
103
107
|
): void;
|
|
104
108
|
listObjectives(
|
|
105
109
|
args: ListObjectivesCommandInput,
|
|
106
|
-
options:
|
|
110
|
+
options: ControlCatalogRequestOptions,
|
|
107
111
|
cb: (err: any, data?: ListObjectivesCommandOutput) => void,
|
|
108
112
|
): void;
|
|
109
113
|
paginateListCommonControls(
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-controlcatalog",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1138.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Controlcatalog Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-controlcatalog",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -46,13 +46,13 @@
|
|
|
46
46
|
"test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@aws-sdk/core": "^3.978.
|
|
50
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
51
|
-
"@aws-sdk/types": "^3.974.
|
|
52
|
-
"@smithy/core": "^3.
|
|
53
|
-
"@smithy/fetch-http-handler": "^5.
|
|
54
|
-
"@smithy/node-http-handler": "^4.
|
|
55
|
-
"@smithy/types": "^4.
|
|
49
|
+
"@aws-sdk/core": "^3.978.1",
|
|
50
|
+
"@aws-sdk/credential-provider-node": "^3.972.84",
|
|
51
|
+
"@aws-sdk/types": "^3.974.6",
|
|
52
|
+
"@smithy/core": "^3.35.0",
|
|
53
|
+
"@smithy/fetch-http-handler": "^5.8.0",
|
|
54
|
+
"@smithy/node-http-handler": "^4.12.1",
|
|
55
|
+
"@smithy/types": "^4.19.0",
|
|
56
56
|
"tslib": "^2.6.2"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|