@aws-sdk/client-security-ir 3.934.0 → 3.935.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.
@@ -0,0 +1,85 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { ValidationExceptionReason } from "./enums";
3
+ import { ValidationExceptionField } from "./models_0";
4
+ import { SecurityIRServiceException as __BaseException } from "./SecurityIRServiceException";
5
+ export declare class AccessDeniedException extends __BaseException {
6
+ readonly name: "AccessDeniedException";
7
+ readonly $fault: "client";
8
+ constructor(
9
+ opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
10
+ );
11
+ }
12
+ export declare class ConflictException extends __BaseException {
13
+ readonly name: "ConflictException";
14
+ readonly $fault: "client";
15
+ resourceId: string | undefined;
16
+ resourceType: string | undefined;
17
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
18
+ }
19
+ export declare class InternalServerException extends __BaseException {
20
+ readonly name: "InternalServerException";
21
+ readonly $fault: "server";
22
+ $retryable: {};
23
+ retryAfterSeconds?: number | undefined;
24
+ constructor(
25
+ opts: __ExceptionOptionType<InternalServerException, __BaseException>
26
+ );
27
+ }
28
+ export declare class InvalidTokenException extends __BaseException {
29
+ readonly name: "InvalidTokenException";
30
+ readonly $fault: "client";
31
+ $retryable: {};
32
+ constructor(
33
+ opts: __ExceptionOptionType<InvalidTokenException, __BaseException>
34
+ );
35
+ }
36
+ export declare class ResourceNotFoundException extends __BaseException {
37
+ readonly name: "ResourceNotFoundException";
38
+ readonly $fault: "client";
39
+ constructor(
40
+ opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
41
+ );
42
+ }
43
+ export declare class SecurityIncidentResponseNotActiveException extends __BaseException {
44
+ readonly name: "SecurityIncidentResponseNotActiveException";
45
+ readonly $fault: "client";
46
+ constructor(
47
+ opts: __ExceptionOptionType<
48
+ SecurityIncidentResponseNotActiveException,
49
+ __BaseException
50
+ >
51
+ );
52
+ }
53
+ export declare class ServiceQuotaExceededException extends __BaseException {
54
+ readonly name: "ServiceQuotaExceededException";
55
+ readonly $fault: "client";
56
+ resourceId: string | undefined;
57
+ resourceType: string | undefined;
58
+ serviceCode: string | undefined;
59
+ quotaCode: string | undefined;
60
+ constructor(
61
+ opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
62
+ );
63
+ }
64
+ export declare class ThrottlingException extends __BaseException {
65
+ readonly name: "ThrottlingException";
66
+ readonly $fault: "client";
67
+ $retryable: {
68
+ throttling: boolean;
69
+ };
70
+ serviceCode?: string | undefined;
71
+ quotaCode?: string | undefined;
72
+ retryAfterSeconds?: number | undefined;
73
+ constructor(
74
+ opts: __ExceptionOptionType<ThrottlingException, __BaseException>
75
+ );
76
+ }
77
+ export declare class ValidationException extends __BaseException {
78
+ readonly name: "ValidationException";
79
+ readonly $fault: "client";
80
+ reason: ValidationExceptionReason | undefined;
81
+ fieldList?: ValidationExceptionField[] | undefined;
82
+ constructor(
83
+ opts: __ExceptionOptionType<ValidationException, __BaseException>
84
+ );
85
+ }
@@ -1,51 +1,19 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { SecurityIRServiceException as __BaseException } from "./SecurityIRServiceException";
3
- export declare class AccessDeniedException extends __BaseException {
4
- readonly name: "AccessDeniedException";
5
- readonly $fault: "client";
6
- constructor(
7
- opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
8
- );
9
- }
10
- export declare const AwsRegion: {
11
- readonly AF_SOUTH_1: "af-south-1";
12
- readonly AP_EAST_1: "ap-east-1";
13
- readonly AP_EAST_2: "ap-east-2";
14
- readonly AP_NORTHEAST_1: "ap-northeast-1";
15
- readonly AP_NORTHEAST_2: "ap-northeast-2";
16
- readonly AP_NORTHEAST_3: "ap-northeast-3";
17
- readonly AP_SOUTHEAST_1: "ap-southeast-1";
18
- readonly AP_SOUTHEAST_2: "ap-southeast-2";
19
- readonly AP_SOUTHEAST_3: "ap-southeast-3";
20
- readonly AP_SOUTHEAST_4: "ap-southeast-4";
21
- readonly AP_SOUTHEAST_5: "ap-southeast-5";
22
- readonly AP_SOUTHEAST_6: "ap-southeast-6";
23
- readonly AP_SOUTHEAST_7: "ap-southeast-7";
24
- readonly AP_SOUTH_1: "ap-south-1";
25
- readonly AP_SOUTH_2: "ap-south-2";
26
- readonly CA_CENTRAL_1: "ca-central-1";
27
- readonly CA_WEST_1: "ca-west-1";
28
- readonly CN_NORTHWEST_1: "cn-northwest-1";
29
- readonly CN_NORTH_1: "cn-north-1";
30
- readonly EU_CENTRAL_1: "eu-central-1";
31
- readonly EU_CENTRAL_2: "eu-central-2";
32
- readonly EU_NORTH_1: "eu-north-1";
33
- readonly EU_SOUTH_1: "eu-south-1";
34
- readonly EU_SOUTH_2: "eu-south-2";
35
- readonly EU_WEST_1: "eu-west-1";
36
- readonly EU_WEST_2: "eu-west-2";
37
- readonly EU_WEST_3: "eu-west-3";
38
- readonly IL_CENTRAL_1: "il-central-1";
39
- readonly ME_CENTRAL_1: "me-central-1";
40
- readonly ME_SOUTH_1: "me-south-1";
41
- readonly MX_CENTRAL_1: "mx-central-1";
42
- readonly SA_EAST_1: "sa-east-1";
43
- readonly US_EAST_1: "us-east-1";
44
- readonly US_EAST_2: "us-east-2";
45
- readonly US_WEST_1: "us-west-1";
46
- readonly US_WEST_2: "us-west-2";
47
- };
48
- export type AwsRegion = (typeof AwsRegion)[keyof typeof AwsRegion];
1
+ import {
2
+ AwsRegion,
3
+ CaseAttachmentStatus,
4
+ CaseStatus,
5
+ ClosureCode,
6
+ CommunicationType,
7
+ CustomerType,
8
+ EngagementType,
9
+ MembershipAccountRelationshipStatus,
10
+ MembershipAccountRelationshipType,
11
+ MembershipStatus,
12
+ OptInFeatureName,
13
+ PendingAction,
14
+ ResolverType,
15
+ SelfManagedCaseStatus,
16
+ } from "./enums";
49
17
  export interface BatchGetMemberAccountDetailsRequest {
50
18
  membershipId: string | undefined;
51
19
  accountIds: string[] | undefined;
@@ -55,19 +23,6 @@ export interface GetMembershipAccountDetailError {
55
23
  error: string | undefined;
56
24
  message: string | undefined;
57
25
  }
58
- export declare const MembershipAccountRelationshipStatus: {
59
- readonly ASSOCIATED: "Associated";
60
- readonly DISASSOCIATED: "Disassociated";
61
- readonly UNASSOCIATED: "Unassociated";
62
- };
63
- export type MembershipAccountRelationshipStatus =
64
- (typeof MembershipAccountRelationshipStatus)[keyof typeof MembershipAccountRelationshipStatus];
65
- export declare const MembershipAccountRelationshipType: {
66
- readonly ORGANIZATION: "Organization";
67
- readonly UNRELATED: "Unrelated";
68
- };
69
- export type MembershipAccountRelationshipType =
70
- (typeof MembershipAccountRelationshipType)[keyof typeof MembershipAccountRelationshipType];
71
26
  export interface GetMembershipAccountDetailItem {
72
27
  accountId?: string | undefined;
73
28
  relationshipStatus?: MembershipAccountRelationshipStatus | undefined;
@@ -77,92 +32,10 @@ export interface BatchGetMemberAccountDetailsResponse {
77
32
  items?: GetMembershipAccountDetailItem[] | undefined;
78
33
  errors?: GetMembershipAccountDetailError[] | undefined;
79
34
  }
80
- export declare class ConflictException extends __BaseException {
81
- readonly name: "ConflictException";
82
- readonly $fault: "client";
83
- resourceId: string | undefined;
84
- resourceType: string | undefined;
85
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
86
- }
87
- export declare class InternalServerException extends __BaseException {
88
- readonly name: "InternalServerException";
89
- readonly $fault: "server";
90
- $retryable: {};
91
- retryAfterSeconds?: number | undefined;
92
- constructor(
93
- opts: __ExceptionOptionType<InternalServerException, __BaseException>
94
- );
95
- }
96
- export declare class InvalidTokenException extends __BaseException {
97
- readonly name: "InvalidTokenException";
98
- readonly $fault: "client";
99
- $retryable: {};
100
- constructor(
101
- opts: __ExceptionOptionType<InvalidTokenException, __BaseException>
102
- );
103
- }
104
- export declare class ResourceNotFoundException extends __BaseException {
105
- readonly name: "ResourceNotFoundException";
106
- readonly $fault: "client";
107
- constructor(
108
- opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
109
- );
110
- }
111
- export declare class SecurityIncidentResponseNotActiveException extends __BaseException {
112
- readonly name: "SecurityIncidentResponseNotActiveException";
113
- readonly $fault: "client";
114
- constructor(
115
- opts: __ExceptionOptionType<
116
- SecurityIncidentResponseNotActiveException,
117
- __BaseException
118
- >
119
- );
120
- }
121
- export declare class ServiceQuotaExceededException extends __BaseException {
122
- readonly name: "ServiceQuotaExceededException";
123
- readonly $fault: "client";
124
- resourceId: string | undefined;
125
- resourceType: string | undefined;
126
- serviceCode: string | undefined;
127
- quotaCode: string | undefined;
128
- constructor(
129
- opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
130
- );
131
- }
132
- export declare class ThrottlingException extends __BaseException {
133
- readonly name: "ThrottlingException";
134
- readonly $fault: "client";
135
- $retryable: {
136
- throttling: boolean;
137
- };
138
- serviceCode?: string | undefined;
139
- quotaCode?: string | undefined;
140
- retryAfterSeconds?: number | undefined;
141
- constructor(
142
- opts: __ExceptionOptionType<ThrottlingException, __BaseException>
143
- );
144
- }
145
35
  export interface ValidationExceptionField {
146
36
  name: string | undefined;
147
37
  message: string | undefined;
148
38
  }
149
- export declare const ValidationExceptionReason: {
150
- readonly CANNOT_PARSE: "CANNOT_PARSE";
151
- readonly FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED";
152
- readonly OTHER: "OTHER";
153
- readonly UNKNOWN_OPERATION: "UNKNOWN_OPERATION";
154
- };
155
- export type ValidationExceptionReason =
156
- (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
157
- export declare class ValidationException extends __BaseException {
158
- readonly name: "ValidationException";
159
- readonly $fault: "client";
160
- reason: ValidationExceptionReason | undefined;
161
- fieldList?: ValidationExceptionField[] | undefined;
162
- constructor(
163
- opts: __ExceptionOptionType<ValidationException, __BaseException>
164
- );
165
- }
166
39
  export interface CancelMembershipRequest {
167
40
  membershipId: string | undefined;
168
41
  }
@@ -172,34 +45,13 @@ export interface CancelMembershipResponse {
172
45
  export interface CloseCaseRequest {
173
46
  caseId: string | undefined;
174
47
  }
175
- export declare const CaseStatus: {
176
- readonly ACKNOWLEDGED: "Acknowledged";
177
- readonly CLOSED: "Closed";
178
- readonly CONTAINMENT_ERADICATION_AND_RECOVERY: "Containment, Eradication and Recovery";
179
- readonly DETECTION_AND_ANALYSIS: "Detection and Analysis";
180
- readonly POST_INCIDENT_ACTIVITIES: "Post-incident Activities";
181
- readonly READY_TO_CLOSE: "Ready to Close";
182
- readonly SUBMITTED: "Submitted";
183
- };
184
- export type CaseStatus = (typeof CaseStatus)[keyof typeof CaseStatus];
185
48
  export interface CloseCaseResponse {
186
49
  caseStatus?: CaseStatus | undefined;
187
50
  closedDate?: Date | undefined;
188
51
  }
189
- export declare const EngagementType: {
190
- readonly INVESTIGATION: "Investigation";
191
- readonly SECURITY_INCIDENT: "Security Incident";
192
- };
193
- export type EngagementType =
194
- (typeof EngagementType)[keyof typeof EngagementType];
195
52
  export interface ImpactedAwsRegion {
196
53
  region: AwsRegion | undefined;
197
54
  }
198
- export declare const ResolverType: {
199
- readonly AWS: "AWS";
200
- readonly SELF: "Self";
201
- };
202
- export type ResolverType = (typeof ResolverType)[keyof typeof ResolverType];
203
55
  export interface ThreatActorIp {
204
56
  ipAddress: string | undefined;
205
57
  userAgent?: string | undefined;
@@ -237,13 +89,6 @@ export interface CreateCaseCommentResponse {
237
89
  export interface GetCaseRequest {
238
90
  caseId: string | undefined;
239
91
  }
240
- export declare const CaseAttachmentStatus: {
241
- readonly FAILED: "Failed";
242
- readonly PENDING: "Pending";
243
- readonly VERIFIED: "Verified";
244
- };
245
- export type CaseAttachmentStatus =
246
- (typeof CaseAttachmentStatus)[keyof typeof CaseAttachmentStatus];
247
92
  export interface CaseAttachmentAttributes {
248
93
  attachmentId: string | undefined;
249
94
  fileName: string | undefined;
@@ -251,18 +96,6 @@ export interface CaseAttachmentAttributes {
251
96
  creator: string | undefined;
252
97
  createdDate: Date | undefined;
253
98
  }
254
- export declare const ClosureCode: {
255
- readonly DUPLICATE: "Duplicate";
256
- readonly FALSE_POSITIVE: "False Positive";
257
- readonly INVESTIGATION_COMPLETED: "Investigation Completed";
258
- readonly NOT_RESOLVED: "Not Resolved";
259
- };
260
- export type ClosureCode = (typeof ClosureCode)[keyof typeof ClosureCode];
261
- export declare const PendingAction: {
262
- readonly CUSTOMER: "Customer";
263
- readonly NONE: "None";
264
- };
265
- export type PendingAction = (typeof PendingAction)[keyof typeof PendingAction];
266
99
  export interface GetCaseResponse {
267
100
  title?: string | undefined;
268
101
  caseArn?: string | undefined;
@@ -383,14 +216,6 @@ export interface UpdateCaseCommentResponse {
383
216
  commentId: string | undefined;
384
217
  body?: string | undefined;
385
218
  }
386
- export declare const SelfManagedCaseStatus: {
387
- readonly CONTAINMENT_ERADICATION_AND_RECOVERY: "Containment, Eradication and Recovery";
388
- readonly DETECTION_AND_ANALYSIS: "Detection and Analysis";
389
- readonly POST_INCIDENT_ACTIVITIES: "Post-incident Activities";
390
- readonly SUBMITTED: "Submitted";
391
- };
392
- export type SelfManagedCaseStatus =
393
- (typeof SelfManagedCaseStatus)[keyof typeof SelfManagedCaseStatus];
394
219
  export interface UpdateCaseStatusRequest {
395
220
  caseId: string | undefined;
396
221
  caseStatus: SelfManagedCaseStatus | undefined;
@@ -407,37 +232,12 @@ export interface UpdateResolverTypeResponse {
407
232
  caseStatus?: CaseStatus | undefined;
408
233
  resolverType?: ResolverType | undefined;
409
234
  }
410
- export declare const CommunicationType: {
411
- readonly CASE_ACKNOWLEDGED: "Case Acknowledged";
412
- readonly CASE_ATTACHMENT_URL_UPLOADED: "Case Attachment Url Uploaded";
413
- readonly CASE_CLOSED: "Case Closed";
414
- readonly CASE_COMMENT_ADDED: "Case Comment Added";
415
- readonly CASE_COMMENT_UPDATED: "Case Comment Updated";
416
- readonly CASE_CREATED: "Case Created";
417
- readonly CASE_PENDING_CUSTOMER_ACTION_REMINDER: "Case Pending Customer Action Reminder";
418
- readonly CASE_UPDATED: "Case Updated";
419
- readonly CASE_UPDATED_TO_SERVICE_MANAGED: "Case Updated To Service Managed";
420
- readonly CASE_UPDATE_CASE_STATUS: "Case Status Updated";
421
- readonly DEREGISTER_DELEGATED_ADMINISTRATOR: "Deregister Delegated Administrator";
422
- readonly DISABLE_AWS_SERVICE_ACCESS: "Disable AWS Service Access";
423
- readonly MEMBERSHIP_CANCELLED: "Membership Cancelled";
424
- readonly MEMBERSHIP_CREATED: "Membership Created";
425
- readonly MEMBERSHIP_UPDATED: "Membership Updated";
426
- readonly REGISTER_DELEGATED_ADMINISTRATOR: "Register Delegated Administrator";
427
- };
428
- export type CommunicationType =
429
- (typeof CommunicationType)[keyof typeof CommunicationType];
430
235
  export interface IncidentResponder {
431
236
  name: string | undefined;
432
237
  jobTitle: string | undefined;
433
238
  email: string | undefined;
434
239
  communicationPreferences?: CommunicationType[] | undefined;
435
240
  }
436
- export declare const OptInFeatureName: {
437
- readonly TRIAGE: "Triage";
438
- };
439
- export type OptInFeatureName =
440
- (typeof OptInFeatureName)[keyof typeof OptInFeatureName];
441
241
  export interface OptInFeature {
442
242
  featureName: OptInFeatureName | undefined;
443
243
  isEnabled: boolean | undefined;
@@ -453,11 +253,6 @@ export interface CreateMembershipRequest {
453
253
  export interface CreateMembershipResponse {
454
254
  membershipId: string | undefined;
455
255
  }
456
- export declare const CustomerType: {
457
- readonly ORGANIZATION: "Organization";
458
- readonly STANDALONE: "Standalone";
459
- };
460
- export type CustomerType = (typeof CustomerType)[keyof typeof CustomerType];
461
256
  export interface GetMembershipRequest {
462
257
  membershipId: string | undefined;
463
258
  }
@@ -465,13 +260,6 @@ export interface MembershipAccountsConfigurations {
465
260
  coverEntireOrganization?: boolean | undefined;
466
261
  organizationalUnits?: string[] | undefined;
467
262
  }
468
- export declare const MembershipStatus: {
469
- readonly ACTIVE: "Active";
470
- readonly CANCELLED: "Cancelled";
471
- readonly TERMINATED: "Terminated";
472
- };
473
- export type MembershipStatus =
474
- (typeof MembershipStatus)[keyof typeof MembershipStatus];
475
263
  export interface GetMembershipResponse {
476
264
  membershipId: string | undefined;
477
265
  accountId?: string | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-security-ir",
3
3
  "description": "AWS SDK for JavaScript Security Ir Client for Node.js, Browser and React Native",
4
- "version": "3.934.0",
4
+ "version": "3.935.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-security-ir",
@@ -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.934.0",
24
- "@aws-sdk/credential-provider-node": "3.934.0",
23
+ "@aws-sdk/core": "3.935.0",
24
+ "@aws-sdk/credential-provider-node": "3.935.0",
25
25
  "@aws-sdk/middleware-host-header": "3.930.0",
26
26
  "@aws-sdk/middleware-logger": "3.930.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.933.0",
28
- "@aws-sdk/middleware-user-agent": "3.934.0",
28
+ "@aws-sdk/middleware-user-agent": "3.935.0",
29
29
  "@aws-sdk/region-config-resolver": "3.930.0",
30
30
  "@aws-sdk/types": "3.930.0",
31
31
  "@aws-sdk/util-endpoints": "3.930.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.930.0",
33
- "@aws-sdk/util-user-agent-node": "3.934.0",
33
+ "@aws-sdk/util-user-agent-node": "3.935.0",
34
34
  "@smithy/config-resolver": "^4.4.3",
35
- "@smithy/core": "^3.18.2",
35
+ "@smithy/core": "^3.18.5",
36
36
  "@smithy/fetch-http-handler": "^5.3.6",
37
37
  "@smithy/hash-node": "^4.2.5",
38
38
  "@smithy/invalid-dependency": "^4.2.5",
39
39
  "@smithy/middleware-content-length": "^4.2.5",
40
- "@smithy/middleware-endpoint": "^4.3.9",
41
- "@smithy/middleware-retry": "^4.4.9",
42
- "@smithy/middleware-serde": "^4.2.5",
40
+ "@smithy/middleware-endpoint": "^4.3.12",
41
+ "@smithy/middleware-retry": "^4.4.12",
42
+ "@smithy/middleware-serde": "^4.2.6",
43
43
  "@smithy/middleware-stack": "^4.2.5",
44
44
  "@smithy/node-config-provider": "^4.3.5",
45
45
  "@smithy/node-http-handler": "^4.4.5",
46
46
  "@smithy/protocol-http": "^5.3.5",
47
- "@smithy/smithy-client": "^4.9.5",
47
+ "@smithy/smithy-client": "^4.9.8",
48
48
  "@smithy/types": "^4.9.0",
49
49
  "@smithy/url-parser": "^4.2.5",
50
50
  "@smithy/util-base64": "^4.3.0",
51
51
  "@smithy/util-body-length-browser": "^4.2.0",
52
52
  "@smithy/util-body-length-node": "^4.2.1",
53
- "@smithy/util-defaults-mode-browser": "^4.3.8",
54
- "@smithy/util-defaults-mode-node": "^4.2.11",
53
+ "@smithy/util-defaults-mode-browser": "^4.3.11",
54
+ "@smithy/util-defaults-mode-node": "^4.2.14",
55
55
  "@smithy/util-endpoints": "^3.2.5",
56
56
  "@smithy/util-middleware": "^4.2.5",
57
57
  "@smithy/util-retry": "^4.2.5",
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";