@aws-sdk/client-guardduty 3.1148.0 → 3.1150.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 +7 -1
- package/dist-es/models/GuardDutyServiceException.js +1 -0
- package/dist-es/models/errors.js +5 -0
- package/dist-types/models/GuardDutyServiceException.d.ts +1 -0
- package/dist-types/models/errors.d.ts +5 -0
- package/dist-types/ts3.4/models/GuardDutyServiceException.d.ts +1 -0
- package/dist-types/ts3.4/models/errors.d.ts +5 -0
- package/package.json +4 -4
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.1149.0";
|
|
73
73
|
var packageInfo = {
|
|
74
74
|
version: version};
|
|
75
75
|
|
|
@@ -135,6 +135,7 @@ const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
|
135
135
|
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
136
136
|
|
|
137
137
|
class GuardDutyServiceException extends ServiceException {
|
|
138
|
+
static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.guardduty#GuardDutyServiceException";
|
|
138
139
|
constructor(options) {
|
|
139
140
|
super(options);
|
|
140
141
|
Object.setPrototypeOf(this, GuardDutyServiceException.prototype);
|
|
@@ -142,6 +143,7 @@ class GuardDutyServiceException extends ServiceException {
|
|
|
142
143
|
}
|
|
143
144
|
|
|
144
145
|
class BadRequestException extends GuardDutyServiceException {
|
|
146
|
+
static shapeId = "com.amazonaws.guardduty#BadRequestException";
|
|
145
147
|
name = "BadRequestException";
|
|
146
148
|
$fault = "client";
|
|
147
149
|
Message;
|
|
@@ -158,6 +160,7 @@ class BadRequestException extends GuardDutyServiceException {
|
|
|
158
160
|
}
|
|
159
161
|
}
|
|
160
162
|
class InternalServerErrorException extends GuardDutyServiceException {
|
|
163
|
+
static shapeId = "com.amazonaws.guardduty#InternalServerErrorException";
|
|
161
164
|
name = "InternalServerErrorException";
|
|
162
165
|
$fault = "server";
|
|
163
166
|
Message;
|
|
@@ -174,6 +177,7 @@ class InternalServerErrorException extends GuardDutyServiceException {
|
|
|
174
177
|
}
|
|
175
178
|
}
|
|
176
179
|
class AccessDeniedException extends GuardDutyServiceException {
|
|
180
|
+
static shapeId = "com.amazonaws.guardduty#AccessDeniedException";
|
|
177
181
|
name = "AccessDeniedException";
|
|
178
182
|
$fault = "client";
|
|
179
183
|
Message;
|
|
@@ -190,6 +194,7 @@ class AccessDeniedException extends GuardDutyServiceException {
|
|
|
190
194
|
}
|
|
191
195
|
}
|
|
192
196
|
class ConflictException extends GuardDutyServiceException {
|
|
197
|
+
static shapeId = "com.amazonaws.guardduty#ConflictException";
|
|
193
198
|
name = "ConflictException";
|
|
194
199
|
$fault = "client";
|
|
195
200
|
Message;
|
|
@@ -206,6 +211,7 @@ class ConflictException extends GuardDutyServiceException {
|
|
|
206
211
|
}
|
|
207
212
|
}
|
|
208
213
|
class ResourceNotFoundException extends GuardDutyServiceException {
|
|
214
|
+
static shapeId = "com.amazonaws.guardduty#ResourceNotFoundException";
|
|
209
215
|
name = "ResourceNotFoundException";
|
|
210
216
|
$fault = "client";
|
|
211
217
|
Message;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ServiceException as __ServiceException, } from "@smithy/core/client";
|
|
2
2
|
export { __ServiceException };
|
|
3
3
|
export class GuardDutyServiceException extends __ServiceException {
|
|
4
|
+
static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.guardduty#GuardDutyServiceException";
|
|
4
5
|
constructor(options) {
|
|
5
6
|
super(options);
|
|
6
7
|
Object.setPrototypeOf(this, GuardDutyServiceException.prototype);
|
package/dist-es/models/errors.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { GuardDutyServiceException as __BaseException } from "./GuardDutyServiceException";
|
|
2
2
|
export class BadRequestException extends __BaseException {
|
|
3
|
+
static shapeId = "com.amazonaws.guardduty#BadRequestException";
|
|
3
4
|
name = "BadRequestException";
|
|
4
5
|
$fault = "client";
|
|
5
6
|
Message;
|
|
@@ -16,6 +17,7 @@ export class BadRequestException extends __BaseException {
|
|
|
16
17
|
}
|
|
17
18
|
}
|
|
18
19
|
export class InternalServerErrorException extends __BaseException {
|
|
20
|
+
static shapeId = "com.amazonaws.guardduty#InternalServerErrorException";
|
|
19
21
|
name = "InternalServerErrorException";
|
|
20
22
|
$fault = "server";
|
|
21
23
|
Message;
|
|
@@ -32,6 +34,7 @@ export class InternalServerErrorException extends __BaseException {
|
|
|
32
34
|
}
|
|
33
35
|
}
|
|
34
36
|
export class AccessDeniedException extends __BaseException {
|
|
37
|
+
static shapeId = "com.amazonaws.guardduty#AccessDeniedException";
|
|
35
38
|
name = "AccessDeniedException";
|
|
36
39
|
$fault = "client";
|
|
37
40
|
Message;
|
|
@@ -48,6 +51,7 @@ export class AccessDeniedException extends __BaseException {
|
|
|
48
51
|
}
|
|
49
52
|
}
|
|
50
53
|
export class ConflictException extends __BaseException {
|
|
54
|
+
static shapeId = "com.amazonaws.guardduty#ConflictException";
|
|
51
55
|
name = "ConflictException";
|
|
52
56
|
$fault = "client";
|
|
53
57
|
Message;
|
|
@@ -64,6 +68,7 @@ export class ConflictException extends __BaseException {
|
|
|
64
68
|
}
|
|
65
69
|
}
|
|
66
70
|
export class ResourceNotFoundException extends __BaseException {
|
|
71
|
+
static shapeId = "com.amazonaws.guardduty#ResourceNotFoundException";
|
|
67
72
|
name = "ResourceNotFoundException";
|
|
68
73
|
$fault = "client";
|
|
69
74
|
Message;
|
|
@@ -5,6 +5,7 @@ import { GuardDutyServiceException as __BaseException } from "./GuardDutyService
|
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
7
|
export declare class BadRequestException extends __BaseException {
|
|
8
|
+
static readonly shapeId: string;
|
|
8
9
|
readonly name: "BadRequestException";
|
|
9
10
|
readonly $fault: "client";
|
|
10
11
|
/**
|
|
@@ -27,6 +28,7 @@ export declare class BadRequestException extends __BaseException {
|
|
|
27
28
|
* @public
|
|
28
29
|
*/
|
|
29
30
|
export declare class InternalServerErrorException extends __BaseException {
|
|
31
|
+
static readonly shapeId: string;
|
|
30
32
|
readonly name: "InternalServerErrorException";
|
|
31
33
|
readonly $fault: "server";
|
|
32
34
|
/**
|
|
@@ -49,6 +51,7 @@ export declare class InternalServerErrorException extends __BaseException {
|
|
|
49
51
|
* @public
|
|
50
52
|
*/
|
|
51
53
|
export declare class AccessDeniedException extends __BaseException {
|
|
54
|
+
static readonly shapeId: string;
|
|
52
55
|
readonly name: "AccessDeniedException";
|
|
53
56
|
readonly $fault: "client";
|
|
54
57
|
/**
|
|
@@ -71,6 +74,7 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
71
74
|
* @public
|
|
72
75
|
*/
|
|
73
76
|
export declare class ConflictException extends __BaseException {
|
|
77
|
+
static readonly shapeId: string;
|
|
74
78
|
readonly name: "ConflictException";
|
|
75
79
|
readonly $fault: "client";
|
|
76
80
|
/**
|
|
@@ -93,6 +97,7 @@ export declare class ConflictException extends __BaseException {
|
|
|
93
97
|
* @public
|
|
94
98
|
*/
|
|
95
99
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
100
|
+
static readonly shapeId: string;
|
|
96
101
|
readonly name: "ResourceNotFoundException";
|
|
97
102
|
readonly $fault: "client";
|
|
98
103
|
/**
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
|
|
2
2
|
import { GuardDutyServiceException as __BaseException } from "./GuardDutyServiceException";
|
|
3
3
|
export declare class BadRequestException extends __BaseException {
|
|
4
|
+
static readonly shapeId: string;
|
|
4
5
|
readonly name: "BadRequestException";
|
|
5
6
|
readonly $fault: "client";
|
|
6
7
|
Message?: string | undefined;
|
|
@@ -8,6 +9,7 @@ export declare class BadRequestException extends __BaseException {
|
|
|
8
9
|
constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
|
|
9
10
|
}
|
|
10
11
|
export declare class InternalServerErrorException extends __BaseException {
|
|
12
|
+
static readonly shapeId: string;
|
|
11
13
|
readonly name: "InternalServerErrorException";
|
|
12
14
|
readonly $fault: "server";
|
|
13
15
|
Message?: string | undefined;
|
|
@@ -15,6 +17,7 @@ export declare class InternalServerErrorException extends __BaseException {
|
|
|
15
17
|
constructor(opts: __ExceptionOptionType<InternalServerErrorException, __BaseException>);
|
|
16
18
|
}
|
|
17
19
|
export declare class AccessDeniedException extends __BaseException {
|
|
20
|
+
static readonly shapeId: string;
|
|
18
21
|
readonly name: "AccessDeniedException";
|
|
19
22
|
readonly $fault: "client";
|
|
20
23
|
Message?: string | undefined;
|
|
@@ -22,6 +25,7 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
22
25
|
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
23
26
|
}
|
|
24
27
|
export declare class ConflictException extends __BaseException {
|
|
28
|
+
static readonly shapeId: string;
|
|
25
29
|
readonly name: "ConflictException";
|
|
26
30
|
readonly $fault: "client";
|
|
27
31
|
Message?: string | undefined;
|
|
@@ -29,6 +33,7 @@ export declare class ConflictException extends __BaseException {
|
|
|
29
33
|
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
30
34
|
}
|
|
31
35
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
36
|
+
static readonly shapeId: string;
|
|
32
37
|
readonly name: "ResourceNotFoundException";
|
|
33
38
|
readonly $fault: "client";
|
|
34
39
|
Message?: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-guardduty",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1150.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Guardduty Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-guardduty",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -46,10 +46,10 @@
|
|
|
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.
|
|
49
|
+
"@aws-sdk/core": "^3.978.3",
|
|
50
|
+
"@aws-sdk/credential-provider-node": "^3.972.86",
|
|
51
51
|
"@aws-sdk/types": "^3.974.6",
|
|
52
|
-
"@smithy/core": "^3.35.
|
|
52
|
+
"@smithy/core": "^3.35.2",
|
|
53
53
|
"@smithy/fetch-http-handler": "^5.8.0",
|
|
54
54
|
"@smithy/node-http-handler": "^4.12.1",
|
|
55
55
|
"@smithy/types": "^4.19.0",
|