@aws-sdk/client-auditmanager 3.721.0 → 3.723.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 +321 -226
- package/dist-es/AuditManagerClient.js +1 -0
- package/dist-es/models/models_0.js +16 -12
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -7
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +20 -8
- package/package.json +43 -43
|
@@ -14,6 +14,7 @@ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
|
14
14
|
import { resolveRuntimeExtensions } from "./runtimeExtensions";
|
|
15
15
|
export { __Client };
|
|
16
16
|
export class AuditManagerClient extends __Client {
|
|
17
|
+
config;
|
|
17
18
|
constructor(...[configuration]) {
|
|
18
19
|
const _config_0 = __getRuntimeConfig(configuration || {});
|
|
19
20
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
2
|
import { AuditManagerServiceException as __BaseException } from "./AuditManagerServiceException";
|
|
3
3
|
export class AccessDeniedException extends __BaseException {
|
|
4
|
+
name = "AccessDeniedException";
|
|
5
|
+
$fault = "client";
|
|
4
6
|
constructor(opts) {
|
|
5
7
|
super({
|
|
6
8
|
name: "AccessDeniedException",
|
|
7
9
|
$fault: "client",
|
|
8
10
|
...opts,
|
|
9
11
|
});
|
|
10
|
-
this.name = "AccessDeniedException";
|
|
11
|
-
this.$fault = "client";
|
|
12
12
|
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
13
13
|
}
|
|
14
14
|
}
|
|
@@ -79,26 +79,28 @@ export const AssessmentReportStatus = {
|
|
|
79
79
|
IN_PROGRESS: "IN_PROGRESS",
|
|
80
80
|
};
|
|
81
81
|
export class InternalServerException extends __BaseException {
|
|
82
|
+
name = "InternalServerException";
|
|
83
|
+
$fault = "server";
|
|
82
84
|
constructor(opts) {
|
|
83
85
|
super({
|
|
84
86
|
name: "InternalServerException",
|
|
85
87
|
$fault: "server",
|
|
86
88
|
...opts,
|
|
87
89
|
});
|
|
88
|
-
this.name = "InternalServerException";
|
|
89
|
-
this.$fault = "server";
|
|
90
90
|
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
91
91
|
}
|
|
92
92
|
}
|
|
93
93
|
export class ResourceNotFoundException extends __BaseException {
|
|
94
|
+
name = "ResourceNotFoundException";
|
|
95
|
+
$fault = "client";
|
|
96
|
+
resourceId;
|
|
97
|
+
resourceType;
|
|
94
98
|
constructor(opts) {
|
|
95
99
|
super({
|
|
96
100
|
name: "ResourceNotFoundException",
|
|
97
101
|
$fault: "client",
|
|
98
102
|
...opts,
|
|
99
103
|
});
|
|
100
|
-
this.name = "ResourceNotFoundException";
|
|
101
|
-
this.$fault = "client";
|
|
102
104
|
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
103
105
|
this.resourceId = opts.resourceId;
|
|
104
106
|
this.resourceType = opts.resourceType;
|
|
@@ -111,40 +113,42 @@ export const ValidationExceptionReason = {
|
|
|
111
113
|
UNKNOWN_OPERATION: "unknownOperation",
|
|
112
114
|
};
|
|
113
115
|
export class ValidationException extends __BaseException {
|
|
116
|
+
name = "ValidationException";
|
|
117
|
+
$fault = "client";
|
|
118
|
+
reason;
|
|
119
|
+
fields;
|
|
114
120
|
constructor(opts) {
|
|
115
121
|
super({
|
|
116
122
|
name: "ValidationException",
|
|
117
123
|
$fault: "client",
|
|
118
124
|
...opts,
|
|
119
125
|
});
|
|
120
|
-
this.name = "ValidationException";
|
|
121
|
-
this.$fault = "client";
|
|
122
126
|
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
123
127
|
this.reason = opts.reason;
|
|
124
128
|
this.fields = opts.fields;
|
|
125
129
|
}
|
|
126
130
|
}
|
|
127
131
|
export class ThrottlingException extends __BaseException {
|
|
132
|
+
name = "ThrottlingException";
|
|
133
|
+
$fault = "client";
|
|
128
134
|
constructor(opts) {
|
|
129
135
|
super({
|
|
130
136
|
name: "ThrottlingException",
|
|
131
137
|
$fault: "client",
|
|
132
138
|
...opts,
|
|
133
139
|
});
|
|
134
|
-
this.name = "ThrottlingException";
|
|
135
|
-
this.$fault = "client";
|
|
136
140
|
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
137
141
|
}
|
|
138
142
|
}
|
|
139
143
|
export class ServiceQuotaExceededException extends __BaseException {
|
|
144
|
+
name = "ServiceQuotaExceededException";
|
|
145
|
+
$fault = "client";
|
|
140
146
|
constructor(opts) {
|
|
141
147
|
super({
|
|
142
148
|
name: "ServiceQuotaExceededException",
|
|
143
149
|
$fault: "client",
|
|
144
150
|
...opts,
|
|
145
151
|
});
|
|
146
|
-
this.name = "ServiceQuotaExceededException";
|
|
147
|
-
this.$fault = "client";
|
|
148
152
|
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
149
153
|
}
|
|
150
154
|
}
|
|
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: AuditManagerClientConfig) => {
|
|
|
7
7
|
runtime: string;
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
|
-
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
10
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
11
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<any>;
|
|
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: AuditManagerClientConfig) => {
|
|
|
7
7
|
runtime: string;
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
|
-
credentialDefaultProvider: (init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity
|
|
10
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
11
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<string>;
|
|
@@ -22,7 +22,7 @@ export declare const getRuntimeConfig: (config: AuditManagerClientConfig) => {
|
|
|
22
22
|
region: string | import("@smithy/types").Provider<any>;
|
|
23
23
|
profile?: string | undefined;
|
|
24
24
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
25
|
-
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
25
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
26
26
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
27
27
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
28
28
|
logger: import("@smithy/types").Logger;
|
|
@@ -31,7 +31,7 @@ export declare const getRuntimeConfig: (config: AuditManagerClientConfig) => {
|
|
|
31
31
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
32
32
|
userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
|
|
33
33
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
34
|
-
endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined;
|
|
34
|
+
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
35
35
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
36
36
|
logger?: import("@smithy/types").Logger | undefined;
|
|
37
37
|
}) => import("@smithy/types").EndpointV2;
|
|
@@ -6,9 +6,11 @@ export declare const getRuntimeConfig: (config: AuditManagerClientConfig) => {
|
|
|
6
6
|
import("@smithy/smithy-client").ResolvedDefaultsMode
|
|
7
7
|
>;
|
|
8
8
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
9
|
-
credentialDefaultProvider:
|
|
10
|
-
input: any
|
|
11
|
-
|
|
9
|
+
credentialDefaultProvider:
|
|
10
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
11
|
+
| ((
|
|
12
|
+
_: unknown
|
|
13
|
+
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
12
14
|
defaultUserAgentProvider: (
|
|
13
15
|
config?:
|
|
14
16
|
| import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
@@ -6,13 +6,15 @@ export declare const getRuntimeConfig: (config: AuditManagerClientConfig) => {
|
|
|
6
6
|
import("@smithy/smithy-client").ResolvedDefaultsMode
|
|
7
7
|
>;
|
|
8
8
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
9
|
-
credentialDefaultProvider:
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
9
|
+
credentialDefaultProvider:
|
|
10
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
11
|
+
| ((
|
|
12
|
+
init?:
|
|
13
|
+
| import("@aws-sdk/credential-provider-node").DefaultProviderInit
|
|
14
|
+
| undefined
|
|
15
|
+
) => import("@smithy/types").MemoizedProvider<
|
|
16
|
+
import("@smithy/types").AwsCredentialIdentity
|
|
17
|
+
>);
|
|
16
18
|
defaultUserAgentProvider: (
|
|
17
19
|
config?:
|
|
18
20
|
| import("@aws-sdk/util-user-agent-node").PreviouslyResolved
|
|
@@ -28,9 +28,11 @@ export declare const getRuntimeConfig: (config: AuditManagerClientConfig) => {
|
|
|
28
28
|
| import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
29
29
|
| undefined
|
|
30
30
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
31
|
-
credentialDefaultProvider:
|
|
32
|
-
input: any
|
|
33
|
-
|
|
31
|
+
credentialDefaultProvider:
|
|
32
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
33
|
+
| ((
|
|
34
|
+
_: unknown
|
|
35
|
+
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
34
36
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
35
37
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
36
38
|
logger: import("@smithy/types").Logger;
|
|
@@ -50,11 +52,21 @@ export declare const getRuntimeConfig: (config: AuditManagerClientConfig) => {
|
|
|
50
52
|
| import("@smithy/types").RetryStrategyV2
|
|
51
53
|
| undefined;
|
|
52
54
|
endpoint?:
|
|
53
|
-
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
55
|
+
| ((
|
|
56
|
+
| string
|
|
57
|
+
| import("@smithy/types").Endpoint
|
|
58
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
59
|
+
| import("@smithy/types").EndpointV2
|
|
60
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
61
|
+
) &
|
|
62
|
+
(
|
|
63
|
+
| string
|
|
64
|
+
| import("@smithy/types").Provider<string>
|
|
65
|
+
| import("@smithy/types").Endpoint
|
|
66
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
67
|
+
| import("@smithy/types").EndpointV2
|
|
68
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
69
|
+
))
|
|
58
70
|
| undefined;
|
|
59
71
|
endpointProvider: (
|
|
60
72
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-auditmanager",
|
|
3
3
|
"description": "AWS SDK for JavaScript Auditmanager Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.723.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-auditmanager",
|
|
@@ -20,56 +20,56 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
28
|
-
"@aws-sdk/middleware-logger": "3.
|
|
29
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
-
"@smithy/config-resolver": "^
|
|
37
|
-
"@smithy/core": "^
|
|
38
|
-
"@smithy/fetch-http-handler": "^
|
|
39
|
-
"@smithy/hash-node": "^
|
|
40
|
-
"@smithy/invalid-dependency": "^
|
|
41
|
-
"@smithy/middleware-content-length": "^
|
|
42
|
-
"@smithy/middleware-endpoint": "^
|
|
43
|
-
"@smithy/middleware-retry": "^
|
|
44
|
-
"@smithy/middleware-serde": "^
|
|
45
|
-
"@smithy/middleware-stack": "^
|
|
46
|
-
"@smithy/node-config-provider": "^
|
|
47
|
-
"@smithy/node-http-handler": "^
|
|
48
|
-
"@smithy/protocol-http": "^
|
|
49
|
-
"@smithy/smithy-client": "^
|
|
50
|
-
"@smithy/types": "^
|
|
51
|
-
"@smithy/url-parser": "^
|
|
52
|
-
"@smithy/util-base64": "^
|
|
53
|
-
"@smithy/util-body-length-browser": "^
|
|
54
|
-
"@smithy/util-body-length-node": "^
|
|
55
|
-
"@smithy/util-defaults-mode-browser": "^
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^
|
|
57
|
-
"@smithy/util-endpoints": "^
|
|
58
|
-
"@smithy/util-middleware": "^
|
|
59
|
-
"@smithy/util-retry": "^
|
|
60
|
-
"@smithy/util-utf8": "^
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.723.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.723.0",
|
|
25
|
+
"@aws-sdk/core": "3.723.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.723.0",
|
|
27
|
+
"@aws-sdk/middleware-host-header": "3.723.0",
|
|
28
|
+
"@aws-sdk/middleware-logger": "3.723.0",
|
|
29
|
+
"@aws-sdk/middleware-recursion-detection": "3.723.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.723.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.723.0",
|
|
32
|
+
"@aws-sdk/types": "3.723.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.723.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.723.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.723.0",
|
|
36
|
+
"@smithy/config-resolver": "^4.0.0",
|
|
37
|
+
"@smithy/core": "^3.0.0",
|
|
38
|
+
"@smithy/fetch-http-handler": "^5.0.0",
|
|
39
|
+
"@smithy/hash-node": "^4.0.0",
|
|
40
|
+
"@smithy/invalid-dependency": "^4.0.0",
|
|
41
|
+
"@smithy/middleware-content-length": "^4.0.0",
|
|
42
|
+
"@smithy/middleware-endpoint": "^4.0.0",
|
|
43
|
+
"@smithy/middleware-retry": "^4.0.0",
|
|
44
|
+
"@smithy/middleware-serde": "^4.0.0",
|
|
45
|
+
"@smithy/middleware-stack": "^4.0.0",
|
|
46
|
+
"@smithy/node-config-provider": "^4.0.0",
|
|
47
|
+
"@smithy/node-http-handler": "^4.0.0",
|
|
48
|
+
"@smithy/protocol-http": "^5.0.0",
|
|
49
|
+
"@smithy/smithy-client": "^4.0.0",
|
|
50
|
+
"@smithy/types": "^4.0.0",
|
|
51
|
+
"@smithy/url-parser": "^4.0.0",
|
|
52
|
+
"@smithy/util-base64": "^4.0.0",
|
|
53
|
+
"@smithy/util-body-length-browser": "^4.0.0",
|
|
54
|
+
"@smithy/util-body-length-node": "^4.0.0",
|
|
55
|
+
"@smithy/util-defaults-mode-browser": "^4.0.0",
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^4.0.0",
|
|
57
|
+
"@smithy/util-endpoints": "^3.0.0",
|
|
58
|
+
"@smithy/util-middleware": "^4.0.0",
|
|
59
|
+
"@smithy/util-retry": "^4.0.0",
|
|
60
|
+
"@smithy/util-utf8": "^4.0.0",
|
|
61
61
|
"tslib": "^2.6.2"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
|
-
"@tsconfig/
|
|
65
|
-
"@types/node": "^
|
|
64
|
+
"@tsconfig/node18": "18.2.4",
|
|
65
|
+
"@types/node": "^18.19.69",
|
|
66
66
|
"concurrently": "7.0.0",
|
|
67
67
|
"downlevel-dts": "0.10.1",
|
|
68
68
|
"rimraf": "3.0.2",
|
|
69
|
-
"typescript": "~
|
|
69
|
+
"typescript": "~5.2.2"
|
|
70
70
|
},
|
|
71
71
|
"engines": {
|
|
72
|
-
"node": ">=
|
|
72
|
+
"node": ">=18.0.0"
|
|
73
73
|
},
|
|
74
74
|
"typesVersions": {
|
|
75
75
|
"<4.0": {
|