cdk-lambda-subminute 2.0.310 → 2.0.311

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.
Files changed (141) hide show
  1. package/.jsii +3 -3
  2. package/lib/cdk-lambda-subminute.js +3 -3
  3. package/node_modules/aws-sdk/CHANGELOG.md +52 -1
  4. package/node_modules/aws-sdk/README.md +1 -3
  5. package/node_modules/aws-sdk/apis/accessanalyzer-2019-11-01.min.json +423 -86
  6. package/node_modules/aws-sdk/apis/accessanalyzer-2019-11-01.paginators.json +12 -0
  7. package/node_modules/aws-sdk/apis/amp-2020-08-01.min.json +320 -3
  8. package/node_modules/aws-sdk/apis/amp-2020-08-01.paginators.json +6 -0
  9. package/node_modules/aws-sdk/apis/amp-2020-08-01.waiters2.json +33 -0
  10. package/node_modules/aws-sdk/apis/appsync-2017-07-25.min.json +141 -6
  11. package/node_modules/aws-sdk/apis/b2bi-2022-06-23.examples.json +714 -0
  12. package/node_modules/aws-sdk/apis/b2bi-2022-06-23.min.json +1095 -0
  13. package/node_modules/aws-sdk/apis/b2bi-2022-06-23.paginators.json +28 -0
  14. package/node_modules/aws-sdk/apis/backup-2018-11-15.min.json +855 -84
  15. package/node_modules/aws-sdk/apis/backup-2018-11-15.paginators.json +18 -0
  16. package/node_modules/aws-sdk/apis/bcm-data-exports-2023-11-26.examples.json +5 -0
  17. package/node_modules/aws-sdk/apis/bcm-data-exports-2023-11-26.min.json +470 -0
  18. package/node_modules/aws-sdk/apis/bcm-data-exports-2023-11-26.paginators.json +22 -0
  19. package/node_modules/aws-sdk/apis/cloudtrail-2013-11-01.min.json +67 -24
  20. package/node_modules/aws-sdk/apis/codestar-connections-2019-12-01.min.json +590 -3
  21. package/node_modules/aws-sdk/apis/codestar-connections-2019-12-01.paginators.json +10 -0
  22. package/node_modules/aws-sdk/apis/compute-optimizer-2019-11-01.min.json +243 -39
  23. package/node_modules/aws-sdk/apis/config-2014-11-12.min.json +204 -169
  24. package/node_modules/aws-sdk/apis/controltower-2018-05-10.min.json +317 -13
  25. package/node_modules/aws-sdk/apis/controltower-2018-05-10.paginators.json +6 -0
  26. package/node_modules/aws-sdk/apis/cost-optimization-hub-2022-07-26.examples.json +5 -0
  27. package/node_modules/aws-sdk/apis/cost-optimization-hub-2022-07-26.min.json +757 -0
  28. package/node_modules/aws-sdk/apis/cost-optimization-hub-2022-07-26.paginators.json +22 -0
  29. package/node_modules/aws-sdk/apis/detective-2018-10-26.min.json +294 -0
  30. package/node_modules/aws-sdk/apis/ecs-2014-11-13.min.json +108 -107
  31. package/node_modules/aws-sdk/apis/eks-2017-11-01.min.json +211 -4
  32. package/node_modules/aws-sdk/apis/eks-2017-11-01.paginators.json +12 -0
  33. package/node_modules/aws-sdk/apis/eks-auth-2023-11-26.examples.json +5 -0
  34. package/node_modules/aws-sdk/apis/eks-auth-2023-11-26.min.json +104 -0
  35. package/node_modules/aws-sdk/apis/eks-auth-2023-11-26.paginators.json +4 -0
  36. package/node_modules/aws-sdk/apis/eks-auth-2023-11-26.waiters2.json +5 -0
  37. package/node_modules/aws-sdk/apis/elasticfilesystem-2015-02-01.min.json +71 -33
  38. package/node_modules/aws-sdk/apis/elasticfilesystem-2015-02-01.paginators.json +18 -3
  39. package/node_modules/aws-sdk/apis/elasticloadbalancingv2-2015-12-01.min.json +403 -75
  40. package/node_modules/aws-sdk/apis/elasticloadbalancingv2-2015-12-01.paginators.json +15 -0
  41. package/node_modules/aws-sdk/apis/fis-2020-12-01.min.json +366 -15
  42. package/node_modules/aws-sdk/apis/fis-2020-12-01.paginators.json +10 -0
  43. package/node_modules/aws-sdk/apis/freetier-2023-09-07.examples.json +5 -0
  44. package/node_modules/aws-sdk/apis/freetier-2023-09-07.min.json +105 -0
  45. package/node_modules/aws-sdk/apis/freetier-2023-09-07.paginators.json +10 -0
  46. package/node_modules/aws-sdk/apis/fsx-2018-03-01.min.json +259 -135
  47. package/node_modules/aws-sdk/apis/guardduty-2017-11-28.min.json +64 -0
  48. package/node_modules/aws-sdk/apis/iotfleetwise-2021-06-17.min.json +159 -33
  49. package/node_modules/aws-sdk/apis/lakeformation-2017-03-31.min.json +126 -35
  50. package/node_modules/aws-sdk/apis/logs-2014-03-28.min.json +310 -36
  51. package/node_modules/aws-sdk/apis/logs-2014-03-28.paginators.json +12 -0
  52. package/node_modules/aws-sdk/apis/managedblockchain-2018-09-24.min.json +58 -50
  53. package/node_modules/aws-sdk/apis/metadata.json +25 -0
  54. package/node_modules/aws-sdk/apis/models.lex.v2-2020-08-07.min.json +633 -331
  55. package/node_modules/aws-sdk/apis/models.lex.v2-2020-08-07.paginators.json +5 -0
  56. package/node_modules/aws-sdk/apis/personalize-2018-05-22.min.json +85 -52
  57. package/node_modules/aws-sdk/apis/personalize-events-2018-03-22.min.json +97 -5
  58. package/node_modules/aws-sdk/apis/personalize-runtime-2018-05-22.min.json +68 -11
  59. package/node_modules/aws-sdk/apis/quicksight-2018-04-01.min.json +398 -268
  60. package/node_modules/aws-sdk/apis/redshift-2012-12-01.min.json +14 -2
  61. package/node_modules/aws-sdk/apis/repostspace-2022-05-13.examples.json +5 -0
  62. package/node_modules/aws-sdk/apis/repostspace-2022-05-13.min.json +447 -0
  63. package/node_modules/aws-sdk/apis/repostspace-2022-05-13.paginators.json +10 -0
  64. package/node_modules/aws-sdk/apis/runtime.lex.v2-2020-08-07.min.json +25 -24
  65. package/node_modules/aws-sdk/apis/s3-2006-03-01.examples.json +142 -142
  66. package/node_modules/aws-sdk/apis/s3-2006-03-01.min.json +45 -0
  67. package/node_modules/aws-sdk/apis/s3control-2018-08-20.min.json +1330 -314
  68. package/node_modules/aws-sdk/apis/s3control-2018-08-20.paginators.json +15 -0
  69. package/node_modules/aws-sdk/apis/secretsmanager-2017-10-17.min.json +111 -50
  70. package/node_modules/aws-sdk/apis/secretsmanager-2017-10-17.paginators.json +5 -0
  71. package/node_modules/aws-sdk/apis/securityhub-2018-10-26.examples.json +526 -10
  72. package/node_modules/aws-sdk/apis/securityhub-2018-10-26.min.json +1057 -352
  73. package/node_modules/aws-sdk/apis/securityhub-2018-10-26.paginators.json +12 -0
  74. package/node_modules/aws-sdk/apis/states-2016-11-23.min.json +85 -0
  75. package/node_modules/aws-sdk/apis/transcribe-2017-10-26.min.json +268 -70
  76. package/node_modules/aws-sdk/apis/transcribe-2017-10-26.paginators.json +5 -0
  77. package/node_modules/aws-sdk/apis/workspaces-2015-04-08.min.json +119 -96
  78. package/node_modules/aws-sdk/apis/workspaces-thin-client-2023-08-22.examples.json +5 -0
  79. package/node_modules/aws-sdk/apis/workspaces-thin-client-2023-08-22.min.json +777 -0
  80. package/node_modules/aws-sdk/apis/workspaces-thin-client-2023-08-22.paginators.json +22 -0
  81. package/node_modules/aws-sdk/clients/accessanalyzer.d.ts +374 -5
  82. package/node_modules/aws-sdk/clients/all.d.ts +7 -0
  83. package/node_modules/aws-sdk/clients/all.js +8 -1
  84. package/node_modules/aws-sdk/clients/amp.d.ts +322 -0
  85. package/node_modules/aws-sdk/clients/appsync.d.ts +169 -0
  86. package/node_modules/aws-sdk/clients/b2bi.d.ts +1388 -0
  87. package/node_modules/aws-sdk/clients/b2bi.js +18 -0
  88. package/node_modules/aws-sdk/clients/backup.d.ts +848 -45
  89. package/node_modules/aws-sdk/clients/bcmdataexports.d.ts +589 -0
  90. package/node_modules/aws-sdk/clients/bcmdataexports.js +18 -0
  91. package/node_modules/aws-sdk/clients/cloudtrail.d.ts +76 -2
  92. package/node_modules/aws-sdk/clients/cloudwatchlogs.d.ts +413 -1
  93. package/node_modules/aws-sdk/clients/codestarconnections.d.ts +727 -0
  94. package/node_modules/aws-sdk/clients/computeoptimizer.d.ts +307 -6
  95. package/node_modules/aws-sdk/clients/configservice.d.ts +60 -11
  96. package/node_modules/aws-sdk/clients/controltower.d.ts +319 -25
  97. package/node_modules/aws-sdk/clients/costoptimizationhub.d.ts +1283 -0
  98. package/node_modules/aws-sdk/clients/costoptimizationhub.js +18 -0
  99. package/node_modules/aws-sdk/clients/detective.d.ts +469 -0
  100. package/node_modules/aws-sdk/clients/ecs.d.ts +10 -5
  101. package/node_modules/aws-sdk/clients/efs.d.ts +75 -33
  102. package/node_modules/aws-sdk/clients/eks.d.ts +237 -15
  103. package/node_modules/aws-sdk/clients/eksauth.d.ts +124 -0
  104. package/node_modules/aws-sdk/clients/eksauth.js +19 -0
  105. package/node_modules/aws-sdk/clients/elbv2.d.ts +433 -4
  106. package/node_modules/aws-sdk/clients/fis.d.ts +383 -3
  107. package/node_modules/aws-sdk/clients/freetier.d.ts +149 -0
  108. package/node_modules/aws-sdk/clients/freetier.js +18 -0
  109. package/node_modules/aws-sdk/clients/fsx.d.ts +194 -21
  110. package/node_modules/aws-sdk/clients/glue.d.ts +3 -3
  111. package/node_modules/aws-sdk/clients/guardduty.d.ts +82 -11
  112. package/node_modules/aws-sdk/clients/iotfleetwise.d.ts +198 -13
  113. package/node_modules/aws-sdk/clients/lakeformation.d.ts +118 -2
  114. package/node_modules/aws-sdk/clients/lexmodelsv2.d.ts +343 -2
  115. package/node_modules/aws-sdk/clients/lexruntimev2.d.ts +14 -9
  116. package/node_modules/aws-sdk/clients/managedblockchain.d.ts +26 -5
  117. package/node_modules/aws-sdk/clients/personalize.d.ts +65 -20
  118. package/node_modules/aws-sdk/clients/personalizeevents.d.ts +102 -12
  119. package/node_modules/aws-sdk/clients/personalizeruntime.d.ts +72 -2
  120. package/node_modules/aws-sdk/clients/quicksight.d.ts +124 -0
  121. package/node_modules/aws-sdk/clients/rds.d.ts +80 -80
  122. package/node_modules/aws-sdk/clients/redshift.d.ts +16 -0
  123. package/node_modules/aws-sdk/clients/repostspace.d.ts +458 -0
  124. package/node_modules/aws-sdk/clients/repostspace.js +18 -0
  125. package/node_modules/aws-sdk/clients/s3.d.ts +2 -2
  126. package/node_modules/aws-sdk/clients/s3control.d.ts +841 -13
  127. package/node_modules/aws-sdk/clients/secretsmanager.d.ts +94 -5
  128. package/node_modules/aws-sdk/clients/securityhub.d.ts +908 -15
  129. package/node_modules/aws-sdk/clients/stepfunctions.d.ts +153 -8
  130. package/node_modules/aws-sdk/clients/transcribeservice.d.ts +312 -46
  131. package/node_modules/aws-sdk/clients/workspaces.d.ts +43 -1
  132. package/node_modules/aws-sdk/clients/workspacesthinclient.d.ts +895 -0
  133. package/node_modules/aws-sdk/clients/workspacesthinclient.js +18 -0
  134. package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +2 -2
  135. package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +321 -55
  136. package/node_modules/aws-sdk/dist/aws-sdk.js +2045 -597
  137. package/node_modules/aws-sdk/dist/aws-sdk.min.js +104 -104
  138. package/node_modules/aws-sdk/lib/config_service_placeholders.d.ts +14 -0
  139. package/node_modules/aws-sdk/lib/core.js +1 -1
  140. package/node_modules/aws-sdk/package.json +1 -1
  141. package/package.json +3 -3
@@ -0,0 +1,18 @@
1
+ require('../lib/node_loader');
2
+ var AWS = require('../lib/core');
3
+ var Service = AWS.Service;
4
+ var apiLoader = AWS.apiLoader;
5
+
6
+ apiLoader.services['costoptimizationhub'] = {};
7
+ AWS.CostOptimizationHub = Service.defineService('costoptimizationhub', ['2022-07-26']);
8
+ Object.defineProperty(apiLoader.services['costoptimizationhub'], '2022-07-26', {
9
+ get: function get() {
10
+ var model = require('../apis/cost-optimization-hub-2022-07-26.min.json');
11
+ model.paginators = require('../apis/cost-optimization-hub-2022-07-26.paginators.json').pagination;
12
+ return model;
13
+ },
14
+ enumerable: true,
15
+ configurable: true
16
+ });
17
+
18
+ module.exports = AWS.CostOptimizationHub;
@@ -95,6 +95,14 @@ declare class Detective extends Service {
95
95
  * Designates the Detective administrator account for the organization in the current Region. If the account does not have Detective enabled, then enables Detective for that account and creates a new behavior graph. Can only be called by the organization management account. If the organization has a delegated administrator account in Organizations, then the Detective administrator account must be either the delegated administrator account or the organization management account. If the organization does not have a delegated administrator account in Organizations, then you can choose any account in the organization. If you choose an account other than the organization management account, Detective calls Organizations to make that account the delegated administrator account for Detective. The organization management account cannot be the delegated administrator account.
96
96
  */
97
97
  enableOrganizationAdminAccount(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
98
+ /**
99
+ * Returns the investigation results of an investigation for a behavior graph.
100
+ */
101
+ getInvestigation(params: Detective.Types.GetInvestigationRequest, callback?: (err: AWSError, data: Detective.Types.GetInvestigationResponse) => void): Request<Detective.Types.GetInvestigationResponse, AWSError>;
102
+ /**
103
+ * Returns the investigation results of an investigation for a behavior graph.
104
+ */
105
+ getInvestigation(callback?: (err: AWSError, data: Detective.Types.GetInvestigationResponse) => void): Request<Detective.Types.GetInvestigationResponse, AWSError>;
98
106
  /**
99
107
  * Returns the membership details for specified member accounts for a behavior graph.
100
108
  */
@@ -119,6 +127,22 @@ declare class Detective extends Service {
119
127
  * Returns the list of behavior graphs that the calling account is an administrator account of. This operation can only be called by an administrator account. Because an account can currently only be the administrator of one behavior graph within a Region, the results always contain a single behavior graph.
120
128
  */
121
129
  listGraphs(callback?: (err: AWSError, data: Detective.Types.ListGraphsResponse) => void): Request<Detective.Types.ListGraphsResponse, AWSError>;
130
+ /**
131
+ * Get the indicators from an investigation
132
+ */
133
+ listIndicators(params: Detective.Types.ListIndicatorsRequest, callback?: (err: AWSError, data: Detective.Types.ListIndicatorsResponse) => void): Request<Detective.Types.ListIndicatorsResponse, AWSError>;
134
+ /**
135
+ * Get the indicators from an investigation
136
+ */
137
+ listIndicators(callback?: (err: AWSError, data: Detective.Types.ListIndicatorsResponse) => void): Request<Detective.Types.ListIndicatorsResponse, AWSError>;
138
+ /**
139
+ * List all Investigations.
140
+ */
141
+ listInvestigations(params: Detective.Types.ListInvestigationsRequest, callback?: (err: AWSError, data: Detective.Types.ListInvestigationsResponse) => void): Request<Detective.Types.ListInvestigationsResponse, AWSError>;
142
+ /**
143
+ * List all Investigations.
144
+ */
145
+ listInvestigations(callback?: (err: AWSError, data: Detective.Types.ListInvestigationsResponse) => void): Request<Detective.Types.ListInvestigationsResponse, AWSError>;
122
146
  /**
123
147
  * Retrieves the list of open and accepted behavior graph invitations for the member account. This operation can only be called by an invited member account. Open invitations are invitations that the member account has not responded to. The results do not include behavior graphs for which the member account declined the invitation. The results also do not include behavior graphs that the member account resigned from or was removed from.
124
148
  */
@@ -159,6 +183,14 @@ declare class Detective extends Service {
159
183
  * Rejects an invitation to contribute the account data to a behavior graph. This operation must be called by an invited member account that has the INVITED status. RejectInvitation cannot be called by an organization account in the organization behavior graph. In the organization behavior graph, organization accounts do not receive an invitation.
160
184
  */
161
185
  rejectInvitation(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
186
+ /**
187
+ * initiate an investigation on an entity in a graph
188
+ */
189
+ startInvestigation(params: Detective.Types.StartInvestigationRequest, callback?: (err: AWSError, data: Detective.Types.StartInvestigationResponse) => void): Request<Detective.Types.StartInvestigationResponse, AWSError>;
190
+ /**
191
+ * initiate an investigation on an entity in a graph
192
+ */
193
+ startInvestigation(callback?: (err: AWSError, data: Detective.Types.StartInvestigationResponse) => void): Request<Detective.Types.StartInvestigationResponse, AWSError>;
162
194
  /**
163
195
  * Sends a request to enable data ingest for a member account that has a status of ACCEPTED_BUT_DISABLED. For valid member accounts, the status is updated as follows. If Detective enabled the member account, then the new status is ENABLED. If Detective cannot enable the member account, the status remains ACCEPTED_BUT_DISABLED.
164
196
  */
@@ -191,6 +223,14 @@ declare class Detective extends Service {
191
223
  * Starts a data source packages for the behavior graph.
192
224
  */
193
225
  updateDatasourcePackages(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
226
+ /**
227
+ * Update the state of an investigation.
228
+ */
229
+ updateInvestigationState(params: Detective.Types.UpdateInvestigationStateRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
230
+ /**
231
+ * Update the state of an investigation.
232
+ */
233
+ updateInvestigationState(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
194
234
  /**
195
235
  * Updates the configuration for the Organizations integration in the current Region. Can only be called by the Detective administrator account for the organization.
196
236
  */
@@ -201,6 +241,9 @@ declare class Detective extends Service {
201
241
  updateOrganizationConfiguration(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
202
242
  }
203
243
  declare namespace Detective {
244
+ export type APIFailureCount = number;
245
+ export type APIName = string;
246
+ export type APISuccessCount = number;
204
247
  export interface AcceptInvitationRequest {
205
248
  /**
206
249
  * The ARN of the behavior graph that the member account is accepting the invitation for. The member account status in the behavior graph must be INVITED.
@@ -236,6 +279,8 @@ declare namespace Detective {
236
279
  DelegationTime?: Timestamp;
237
280
  }
238
281
  export type AdministratorList = Administrator[];
282
+ export type AiPaginationToken = string;
283
+ export type Aso = string;
239
284
  export interface BatchGetGraphMemberDatasourcesRequest {
240
285
  /**
241
286
  * The ARN of the behavior graph.
@@ -340,6 +385,16 @@ declare namespace Detective {
340
385
  */
341
386
  VolumeUsageUpdateTime?: Timestamp;
342
387
  }
388
+ export interface DateFilter {
389
+ /**
390
+ * A timestamp representing the start of the time period from when data is filtered, including the start date.
391
+ */
392
+ StartInclusive: Timestamp;
393
+ /**
394
+ * A timestamp representing the end date of the time period until when data is filtered , including the end date.
395
+ */
396
+ EndInclusive: Timestamp;
397
+ }
343
398
  export interface DeleteGraphRequest {
344
399
  /**
345
400
  * The ARN of the behavior graph to disable.
@@ -392,6 +447,93 @@ declare namespace Detective {
392
447
  */
393
448
  AccountId: AccountId;
394
449
  }
450
+ export type EntityArn = string;
451
+ export type EntityType = "IAM_ROLE"|"IAM_USER"|string;
452
+ export type Field = "SEVERITY"|"STATUS"|"CREATED_TIME"|string;
453
+ export interface FilterCriteria {
454
+ /**
455
+ * Filter the investigation results based on the severity.
456
+ */
457
+ Severity?: StringFilter;
458
+ /**
459
+ * Filter the investigation results based on the status.
460
+ */
461
+ Status?: StringFilter;
462
+ /**
463
+ * Filter the investigation results based on the state.
464
+ */
465
+ State?: StringFilter;
466
+ /**
467
+ * Filter the investigation results based on the Amazon Resource Name (ARN) of the entity.
468
+ */
469
+ EntityArn?: StringFilter;
470
+ /**
471
+ * Filter the investigation results based on when the investigation was created.
472
+ */
473
+ CreatedTime?: DateFilter;
474
+ }
475
+ export interface FlaggedIpAddressDetail {
476
+ /**
477
+ * IP address of the suspicious entity.
478
+ */
479
+ IpAddress?: IpAddress;
480
+ /**
481
+ * Details the reason the IP address was flagged as suspicious.
482
+ */
483
+ Reason?: Reason;
484
+ }
485
+ export interface GetInvestigationRequest {
486
+ /**
487
+ * The ARN of the behavior graph.
488
+ */
489
+ GraphArn: GraphArn;
490
+ /**
491
+ * The investigation ID of the investigation report.
492
+ */
493
+ InvestigationId: InvestigationId;
494
+ }
495
+ export interface GetInvestigationResponse {
496
+ /**
497
+ * The ARN of the behavior graph.
498
+ */
499
+ GraphArn?: GraphArn;
500
+ /**
501
+ * The investigation ID of the investigation report.
502
+ */
503
+ InvestigationId?: InvestigationId;
504
+ /**
505
+ * The unique Amazon Resource Name (ARN) of the IAM user and IAM role.
506
+ */
507
+ EntityArn?: EntityArn;
508
+ /**
509
+ * Type of entity. For example, Amazon Web Services accounts, such as IAM user and role.
510
+ */
511
+ EntityType?: EntityType;
512
+ /**
513
+ * The UTC time stamp of the creation time of the investigation report.
514
+ */
515
+ CreatedTime?: Timestamp;
516
+ /**
517
+ * The start date and time for the scope time set to generate the investigation report.
518
+ */
519
+ ScopeStartTime?: Timestamp;
520
+ /**
521
+ * The data and time when the investigation began. The value is an UTC ISO8601 formatted string. For example, 2021-08-18T16:35:56.284Z.
522
+ */
523
+ ScopeEndTime?: Timestamp;
524
+ /**
525
+ * Status based on the completion status of the investigation.
526
+ */
527
+ Status?: Status;
528
+ /**
529
+ * Severity based on the likelihood and impact of the indicators of compromise discovered in the investigation.
530
+ */
531
+ Severity?: Severity;
532
+ /**
533
+ * The current state of the investigation. An archived investigation indicates you have completed reviewing the investigation.
534
+ */
535
+ State?: State;
536
+ }
395
537
  export interface GetMembersRequest {
396
538
  /**
397
539
  * The ARN of the behavior graph for which to request the member details.
@@ -425,7 +567,111 @@ declare namespace Detective {
425
567
  export type GraphArn = string;
426
568
  export type GraphArnList = GraphArn[];
427
569
  export type GraphList = Graph[];
570
+ export type HourlyTimeDelta = number;
571
+ export type Id = string;
572
+ export interface ImpossibleTravelDetail {
573
+ /**
574
+ * IP address where the resource was first used in the impossible travel
575
+ */
576
+ StartingIpAddress?: IpAddress;
577
+ /**
578
+ * IP address where the resource was last used in the impossible travel.
579
+ */
580
+ EndingIpAddress?: IpAddress;
581
+ /**
582
+ * Location where the resource was first used in the impossible travel
583
+ */
584
+ StartingLocation?: Location;
585
+ /**
586
+ * Location where the resource was last used in the impossible travel.
587
+ */
588
+ EndingLocation?: Location;
589
+ /**
590
+ * Returns the time difference between the first and last timestamp the resource was used.
591
+ */
592
+ HourlyTimeDelta?: HourlyTimeDelta;
593
+ }
594
+ export interface Indicator {
595
+ /**
596
+ * The type of indicator.
597
+ */
598
+ IndicatorType?: IndicatorType;
599
+ /**
600
+ * Details about the indicator of compromise.
601
+ */
602
+ IndicatorDetail?: IndicatorDetail;
603
+ }
604
+ export interface IndicatorDetail {
605
+ /**
606
+ * Details about the indicator of compromise.
607
+ */
608
+ TTPsObservedDetail?: TTPsObservedDetail;
609
+ /**
610
+ * Identifies unusual and impossible user activity for an account.
611
+ */
612
+ ImpossibleTravelDetail?: ImpossibleTravelDetail;
613
+ /**
614
+ * Suspicious IP addresses that are flagged, which indicates critical or severe threats based on threat intelligence by Detective. This indicator is derived from AWS threat intelligence.
615
+ */
616
+ FlaggedIpAddressDetail?: FlaggedIpAddressDetail;
617
+ /**
618
+ * Contains details about the new geographic location.
619
+ */
620
+ NewGeolocationDetail?: NewGeolocationDetail;
621
+ /**
622
+ * Contains details about the new Autonomous System Organization (ASO).
623
+ */
624
+ NewAsoDetail?: NewAsoDetail;
625
+ /**
626
+ * Contains details about the new user agent.
627
+ */
628
+ NewUserAgentDetail?: NewUserAgentDetail;
629
+ /**
630
+ * Contains details about related findings.
631
+ */
632
+ RelatedFindingDetail?: RelatedFindingDetail;
633
+ /**
634
+ * Contains details about related finding groups.
635
+ */
636
+ RelatedFindingGroupDetail?: RelatedFindingGroupDetail;
637
+ }
638
+ export type IndicatorType = "TTP_OBSERVED"|"IMPOSSIBLE_TRAVEL"|"FLAGGED_IP_ADDRESS"|"NEW_GEOLOCATION"|"NEW_ASO"|"NEW_USER_AGENT"|"RELATED_FINDING"|"RELATED_FINDING_GROUP"|string;
639
+ export type Indicators = Indicator[];
640
+ export interface InvestigationDetail {
641
+ /**
642
+ * The investigation ID of the investigation report.
643
+ */
644
+ InvestigationId?: InvestigationId;
645
+ /**
646
+ * Severity based on the likelihood and impact of the indicators of compromise discovered in the investigation.
647
+ */
648
+ Severity?: Severity;
649
+ /**
650
+ * Status based on the completion status of the investigation.
651
+ */
652
+ Status?: Status;
653
+ /**
654
+ * The current state of the investigation. An archived investigation indicates you have completed reviewing the investigation.
655
+ */
656
+ State?: State;
657
+ /**
658
+ * The UTC time stamp of the creation time of the investigation report.
659
+ */
660
+ CreatedTime?: Timestamp;
661
+ /**
662
+ * The unique Amazon Resource Name (ARN) of the IAM user and IAM role.
663
+ */
664
+ EntityArn?: EntityArn;
665
+ /**
666
+ * Type of entity. For example, Amazon Web Services accounts, such as IAM user and role.
667
+ */
668
+ EntityType?: EntityType;
669
+ }
670
+ export type InvestigationDetails = InvestigationDetail[];
671
+ export type InvestigationId = string;
428
672
  export type InvitationType = "INVITATION"|"ORGANIZATION"|string;
673
+ export type IpAddress = string;
674
+ export type IsNewForEntireAccount = boolean;
429
675
  export type LastIngestStateChangeDates = {[key: string]: TimestampForCollection};
430
676
  export interface ListDatasourcePackagesRequest {
431
677
  /**
@@ -471,6 +717,78 @@ declare namespace Detective {
471
717
  */
472
718
  NextToken?: PaginationToken;
473
719
  }
720
+ export interface ListIndicatorsRequest {
721
+ /**
722
+ * The ARN of the behavior graph.
723
+ */
724
+ GraphArn: GraphArn;
725
+ /**
726
+ * The investigation ID of the investigation report.
727
+ */
728
+ InvestigationId: InvestigationId;
729
+ /**
730
+ * See Detective investigations..
731
+ */
732
+ IndicatorType?: IndicatorType;
733
+ /**
734
+ * List if there are more results available. The value of nextToken is a unique pagination token for each page. Repeat the call using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return a Validation Exception error.
735
+ */
736
+ NextToken?: AiPaginationToken;
737
+ /**
738
+ * List the maximum number of indicators in a page.
739
+ */
740
+ MaxResults?: MaxResults;
741
+ }
742
+ export interface ListIndicatorsResponse {
743
+ /**
744
+ * The ARN of the behavior graph.
745
+ */
746
+ GraphArn?: GraphArn;
747
+ /**
748
+ * The investigation ID of the investigation report.
749
+ */
750
+ InvestigationId?: InvestigationId;
751
+ /**
752
+ * List if there are more results available. The value of nextToken is a unique pagination token for each page. Repeat the call using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return a Validation Exception error.
753
+ */
754
+ NextToken?: AiPaginationToken;
755
+ /**
756
+ * Indicators of compromise listed based on severity.
757
+ */
758
+ Indicators?: Indicators;
759
+ }
760
+ export interface ListInvestigationsRequest {
761
+ /**
762
+ * The ARN of the behavior graph.
763
+ */
764
+ GraphArn: GraphArn;
765
+ /**
766
+ * List if there are more results available. The value of nextToken is a unique pagination token for each page. Repeat the call using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return a Validation Exception error.
767
+ */
768
+ NextToken?: AiPaginationToken;
769
+ /**
770
+ * List the maximum number of investigations in a page.
771
+ */
772
+ MaxResults?: MaxResults;
773
+ /**
774
+ * Filter the investigation results based on a criteria.
775
+ */
776
+ FilterCriteria?: FilterCriteria;
777
+ /**
778
+ * Sorts the investigation results based on a criteria.
779
+ */
780
+ SortCriteria?: SortCriteria;
781
+ }
782
+ export interface ListInvestigationsResponse {
783
+ /**
784
+ * Investigations details lists the summary of uncommon behavior or malicious activity which indicates a compromise.
785
+ */
786
+ InvestigationDetails?: InvestigationDetails;
787
+ /**
788
+ * List if there are more results available. The value of nextToken is a unique pagination token for each page. Repeat the call using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error.
789
+ */
790
+ NextToken?: AiPaginationToken;
791
+ }
474
792
  export interface ListInvitationsRequest {
475
793
  /**
476
794
  * For requests to retrieve the next page of results, the pagination token that was returned with the previous page of results. The initial request does not include a pagination token.
@@ -547,6 +865,8 @@ declare namespace Detective {
547
865
  */
548
866
  Tags?: TagMap;
549
867
  }
868
+ export type Location = string;
869
+ export type MaxResults = number;
550
870
  export interface MemberDetail {
551
871
  /**
552
872
  * The Amazon Web Services account identifier for the member account.
@@ -632,14 +952,106 @@ declare namespace Detective {
632
952
  DatasourcePackageIngestHistory?: DatasourcePackageIngestHistory;
633
953
  }
634
954
  export type MembershipDatasourcesList = MembershipDatasources[];
955
+ export interface NewAsoDetail {
956
+ /**
957
+ * Details about the new Autonomous System Organization (ASO).
958
+ */
959
+ Aso?: Aso;
960
+ /**
961
+ * Checks if the ASO is for new for the entire account.
962
+ */
963
+ IsNewForEntireAccount?: IsNewForEntireAccount;
964
+ }
965
+ export interface NewGeolocationDetail {
966
+ /**
967
+ * Location where the resource was accessed.
968
+ */
969
+ Location?: Location;
970
+ /**
971
+ * IP address using which the resource was accessed.
972
+ */
973
+ IpAddress?: IpAddress;
974
+ /**
975
+ * Checks if the gelocation is new for the entire account.
976
+ */
977
+ IsNewForEntireAccount?: IsNewForEntireAccount;
978
+ }
979
+ export interface NewUserAgentDetail {
980
+ /**
981
+ * New user agent which accessed the resource.
982
+ */
983
+ UserAgent?: UserAgent;
984
+ /**
985
+ * Checks if the user agent is new for the entire account.
986
+ */
987
+ IsNewForEntireAccount?: IsNewForEntireAccount;
988
+ }
635
989
  export type PaginationToken = string;
636
990
  export type Percentage = number;
991
+ export type Procedure = string;
992
+ export type Reason = "AWS_THREAT_INTELLIGENCE"|string;
637
993
  export interface RejectInvitationRequest {
638
994
  /**
639
995
  * The ARN of the behavior graph to reject the invitation to. The member account's current member status in the behavior graph must be INVITED.
640
996
  */
641
997
  GraphArn: GraphArn;
642
998
  }
999
+ export interface RelatedFindingDetail {
1000
+ /**
1001
+ * The ARN of the related finding.
1002
+ */
1003
+ Arn?: EntityArn;
1004
+ /**
1005
+ * The type of finding.
1006
+ */
1007
+ Type?: Type;
1008
+ /**
1009
+ * The IP address of the finding.
1010
+ */
1011
+ IpAddress?: IpAddress;
1012
+ }
1013
+ export interface RelatedFindingGroupDetail {
1014
+ /**
1015
+ * The unique identifier for the finding group.
1016
+ */
1017
+ Id?: Id;
1018
+ }
1019
+ export type Severity = "INFORMATIONAL"|"LOW"|"MEDIUM"|"HIGH"|"CRITICAL"|string;
1020
+ export interface SortCriteria {
1021
+ /**
1022
+ * Represents the Field attribute to sort investigations.
1023
+ */
1024
+ Field?: Field;
1025
+ /**
1026
+ * The order by which the sorted findings are displayed.
1027
+ */
1028
+ SortOrder?: SortOrder;
1029
+ }
1030
+ export type SortOrder = "ASC"|"DESC"|string;
1031
+ export interface StartInvestigationRequest {
1032
+ /**
1033
+ * The ARN of the behavior graph.
1034
+ */
1035
+ GraphArn: GraphArn;
1036
+ /**
1037
+ * The unique Amazon Resource Name (ARN) of the IAM user and IAM role.
1038
+ */
1039
+ EntityArn: EntityArn;
1040
+ /**
1041
+ * The data and time when the investigation began. The value is an UTC ISO8601 formatted string. For example, 2021-08-18T16:35:56.284Z.
1042
+ */
1043
+ ScopeStartTime: Timestamp;
1044
+ /**
1045
+ * The data and time when the investigation began. The value is an UTC ISO8601 formatted string. For example, 2021-08-18T16:35:56.284Z.
1046
+ */
1047
+ ScopeEndTime: Timestamp;
1048
+ }
1049
+ export interface StartInvestigationResponse {
1050
+ /**
1051
+ * The investigation ID of the investigation report.
1052
+ */
1053
+ InvestigationId?: InvestigationId;
1054
+ }
643
1055
  export interface StartMonitoringMemberRequest {
644
1056
  /**
645
1057
  * The ARN of the behavior graph.
@@ -650,6 +1062,45 @@ declare namespace Detective {
650
1062
  */
651
1063
  AccountId: AccountId;
652
1064
  }
1065
+ export type State = "ACTIVE"|"ARCHIVED"|string;
1066
+ export type Status = "RUNNING"|"FAILED"|"SUCCESSFUL"|string;
1067
+ export interface StringFilter {
1068
+ /**
1069
+ * The string filter value.
1070
+ */
1071
+ Value: Value;
1072
+ }
1073
+ export interface TTPsObservedDetail {
1074
+ /**
1075
+ * The tactic used, identified by the investigation.
1076
+ */
1077
+ Tactic?: Tactic;
1078
+ /**
1079
+ * The technique used, identified by the investigation.
1080
+ */
1081
+ Technique?: Technique;
1082
+ /**
1083
+ * The procedure used, identified by the investigation.
1084
+ */
1085
+ Procedure?: Procedure;
1086
+ /**
1087
+ * The IP address where the TTP was observed.
1088
+ */
1089
+ IpAddress?: IpAddress;
1090
+ /**
1091
+ * The name of the API where the TTP was observed.
1092
+ */
1093
+ APIName?: APIName;
1094
+ /**
1095
+ * The total number of successful API requests.
1096
+ */
1097
+ APISuccessCount?: APISuccessCount;
1098
+ /**
1099
+ * The total number of failed API requests.
1100
+ */
1101
+ APIFailureCount?: APIFailureCount;
1102
+ }
1103
+ export type Tactic = string;
653
1104
  export type TagKey = string;
654
1105
  export type TagKeyList = TagKey[];
655
1106
  export type TagMap = {[key: string]: TagValue};
@@ -666,6 +1117,7 @@ declare namespace Detective {
666
1117
  export interface TagResourceResponse {
667
1118
  }
668
1119
  export type TagValue = string;
1120
+ export type Technique = string;
669
1121
  export type Timestamp = Date;
670
1122
  export interface TimestampForCollection {
671
1123
  /**
@@ -673,6 +1125,7 @@ declare namespace Detective {
673
1125
  */
674
1126
  Timestamp?: Timestamp;
675
1127
  }
1128
+ export type Type = string;
676
1129
  export interface UnprocessedAccount {
677
1130
  /**
678
1131
  * The Amazon Web Services account identifier of the member account that was not processed.
@@ -718,6 +1171,20 @@ declare namespace Detective {
718
1171
  */
719
1172
  DatasourcePackages: DatasourcePackageList;
720
1173
  }
1174
+ export interface UpdateInvestigationStateRequest {
1175
+ /**
1176
+ * The ARN of the behavior graph.
1177
+ */
1178
+ GraphArn: GraphArn;
1179
+ /**
1180
+ * The investigation ID of the investigation report.
1181
+ */
1182
+ InvestigationId: InvestigationId;
1183
+ /**
1184
+ * The current state of the investigation. An archived investigation indicates you have completed reviewing the investigation.
1185
+ */
1186
+ State: State;
1187
+ }
721
1188
  export interface UpdateOrganizationConfigurationRequest {
722
1189
  /**
723
1190
  * The ARN of the organization behavior graph.
@@ -728,6 +1195,8 @@ declare namespace Detective {
728
1195
  */
729
1196
  AutoEnable?: Boolean;
730
1197
  }
1198
+ export type UserAgent = string;
1199
+ export type Value = string;
731
1200
  export type VolumeUsageByDatasourcePackage = {[key: string]: DatasourcePackageUsageInfo};
732
1201
  /**
733
1202
  * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.