@aws-sdk/client-guardduty 3.592.0 → 3.595.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/README.md +40 -0
- package/dist-cjs/index.js +429 -25
- package/dist-es/GuardDuty.js +10 -0
- package/dist-es/commands/CreateMalwareProtectionPlanCommand.js +24 -0
- package/dist-es/commands/DeleteMalwareProtectionPlanCommand.js +24 -0
- package/dist-es/commands/GetMalwareProtectionPlanCommand.js +24 -0
- package/dist-es/commands/ListMalwareProtectionPlansCommand.js +24 -0
- package/dist-es/commands/UpdateMalwareProtectionPlanCommand.js +24 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/models_0.js +23 -23
- package/dist-es/models/models_1.js +23 -0
- package/dist-es/protocols/Aws_restJson1.js +282 -1
- package/dist-types/GuardDuty.d.ts +36 -0
- package/dist-types/GuardDutyClient.d.ts +7 -2
- package/dist-types/commands/CreateMalwareProtectionPlanCommand.d.ts +91 -0
- package/dist-types/commands/DeleteMalwareProtectionPlanCommand.d.ts +72 -0
- package/dist-types/commands/GetFindingsCommand.d.ts +23 -0
- package/dist-types/commands/GetMalwareProtectionPlanCommand.d.ts +98 -0
- package/dist-types/commands/GetUsageStatisticsCommand.d.ts +1 -1
- package/dist-types/commands/InviteMembersCommand.d.ts +1 -1
- package/dist-types/commands/ListCoverageCommand.d.ts +1 -1
- package/dist-types/commands/ListMalwareProtectionPlansCommand.d.ts +75 -0
- package/dist-types/commands/UpdateMalwareProtectionPlanCommand.d.ts +83 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/models_0.d.ts +331 -376
- package/dist-types/models/models_1.d.ts +469 -1
- package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
- package/dist-types/ts3.4/GuardDuty.d.ts +86 -0
- package/dist-types/ts3.4/GuardDutyClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/CreateMalwareProtectionPlanCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/DeleteMalwareProtectionPlanCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/GetMalwareProtectionPlanCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/GetUsageStatisticsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/InviteMembersCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListCoverageCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListMalwareProtectionPlansCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/UpdateMalwareProtectionPlanCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +86 -100
- package/dist-types/ts3.4/models/models_1.d.ts +127 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
- package/package.json +1 -1
|
@@ -2565,6 +2565,114 @@ export interface CreateIPSetResponse {
|
|
|
2565
2565
|
*/
|
|
2566
2566
|
IpSetId: string | undefined;
|
|
2567
2567
|
}
|
|
2568
|
+
/**
|
|
2569
|
+
* @public
|
|
2570
|
+
* @enum
|
|
2571
|
+
*/
|
|
2572
|
+
export declare const MalwareProtectionPlanTaggingActionStatus: {
|
|
2573
|
+
readonly DISABLED: "DISABLED";
|
|
2574
|
+
readonly ENABLED: "ENABLED";
|
|
2575
|
+
};
|
|
2576
|
+
/**
|
|
2577
|
+
* @public
|
|
2578
|
+
*/
|
|
2579
|
+
export type MalwareProtectionPlanTaggingActionStatus = (typeof MalwareProtectionPlanTaggingActionStatus)[keyof typeof MalwareProtectionPlanTaggingActionStatus];
|
|
2580
|
+
/**
|
|
2581
|
+
* <p>Information about adding tags to the scanned S3 object after the scan result.</p>
|
|
2582
|
+
* @public
|
|
2583
|
+
*/
|
|
2584
|
+
export interface MalwareProtectionPlanTaggingAction {
|
|
2585
|
+
/**
|
|
2586
|
+
* <p>Indicates whether or not the tags will added.</p>
|
|
2587
|
+
* @public
|
|
2588
|
+
*/
|
|
2589
|
+
Status?: MalwareProtectionPlanTaggingActionStatus;
|
|
2590
|
+
}
|
|
2591
|
+
/**
|
|
2592
|
+
* <p>Information about whether the tags will be added to the S3 object after scanning.</p>
|
|
2593
|
+
* @public
|
|
2594
|
+
*/
|
|
2595
|
+
export interface MalwareProtectionPlanActions {
|
|
2596
|
+
/**
|
|
2597
|
+
* <p>Indicates whether the scanned S3 object will have tags about the scan result.</p>
|
|
2598
|
+
* @public
|
|
2599
|
+
*/
|
|
2600
|
+
Tagging?: MalwareProtectionPlanTaggingAction;
|
|
2601
|
+
}
|
|
2602
|
+
/**
|
|
2603
|
+
* <p>Information about the protected S3 bucket resource.</p>
|
|
2604
|
+
* @public
|
|
2605
|
+
*/
|
|
2606
|
+
export interface CreateS3BucketResource {
|
|
2607
|
+
/**
|
|
2608
|
+
* <p>Name of the S3 bucket.</p>
|
|
2609
|
+
* @public
|
|
2610
|
+
*/
|
|
2611
|
+
BucketName?: string;
|
|
2612
|
+
/**
|
|
2613
|
+
* <p>Information about the specified object prefixes. The S3 object will be scanned only
|
|
2614
|
+
* if it belongs to any of the specified object prefixes.</p>
|
|
2615
|
+
* @public
|
|
2616
|
+
*/
|
|
2617
|
+
ObjectPrefixes?: string[];
|
|
2618
|
+
}
|
|
2619
|
+
/**
|
|
2620
|
+
* <p>Information about the protected resource that
|
|
2621
|
+
* is associated with the created Malware Protection plan.
|
|
2622
|
+
* Presently, <code>S3Bucket</code> is the only supported
|
|
2623
|
+
* protected resource.</p>
|
|
2624
|
+
* @public
|
|
2625
|
+
*/
|
|
2626
|
+
export interface CreateProtectedResource {
|
|
2627
|
+
/**
|
|
2628
|
+
* <p>Information about the protected S3 bucket resource.</p>
|
|
2629
|
+
* @public
|
|
2630
|
+
*/
|
|
2631
|
+
S3Bucket?: CreateS3BucketResource;
|
|
2632
|
+
}
|
|
2633
|
+
/**
|
|
2634
|
+
* @public
|
|
2635
|
+
*/
|
|
2636
|
+
export interface CreateMalwareProtectionPlanRequest {
|
|
2637
|
+
/**
|
|
2638
|
+
* <p>The idempotency token for the create request.</p>
|
|
2639
|
+
* @public
|
|
2640
|
+
*/
|
|
2641
|
+
ClientToken?: string;
|
|
2642
|
+
/**
|
|
2643
|
+
* <p>IAM role with permissions required to scan and add tags to the associated
|
|
2644
|
+
* protected resource.</p>
|
|
2645
|
+
* @public
|
|
2646
|
+
*/
|
|
2647
|
+
Role: string | undefined;
|
|
2648
|
+
/**
|
|
2649
|
+
* <p>Information about the protected resource that is associated with the created
|
|
2650
|
+
* Malware Protection plan. Presently, <code>S3Bucket</code> is the only supported
|
|
2651
|
+
* protected resource.</p>
|
|
2652
|
+
* @public
|
|
2653
|
+
*/
|
|
2654
|
+
ProtectedResource: CreateProtectedResource | undefined;
|
|
2655
|
+
/**
|
|
2656
|
+
* <p>Information about whether the tags will be added to the S3 object after scanning.</p>
|
|
2657
|
+
* @public
|
|
2658
|
+
*/
|
|
2659
|
+
Actions?: MalwareProtectionPlanActions;
|
|
2660
|
+
/**
|
|
2661
|
+
* <p>Tags added to the Malware Protection plan resource. </p>
|
|
2662
|
+
* @public
|
|
2663
|
+
*/
|
|
2664
|
+
Tags?: Record<string, string>;
|
|
2665
|
+
}
|
|
2666
|
+
/**
|
|
2667
|
+
* @public
|
|
2668
|
+
*/
|
|
2669
|
+
export interface CreateMalwareProtectionPlanResponse {
|
|
2670
|
+
/**
|
|
2671
|
+
* <p>A unique identifier associated with the Malware Protection plan resource.</p>
|
|
2672
|
+
* @public
|
|
2673
|
+
*/
|
|
2674
|
+
MalwareProtectionPlanId?: string;
|
|
2675
|
+
}
|
|
2568
2676
|
/**
|
|
2569
2677
|
* @public
|
|
2570
2678
|
*/
|
|
@@ -3011,6 +3119,38 @@ export interface DeleteIPSetRequest {
|
|
|
3011
3119
|
*/
|
|
3012
3120
|
export interface DeleteIPSetResponse {
|
|
3013
3121
|
}
|
|
3122
|
+
/**
|
|
3123
|
+
* @public
|
|
3124
|
+
*/
|
|
3125
|
+
export interface DeleteMalwareProtectionPlanRequest {
|
|
3126
|
+
/**
|
|
3127
|
+
* <p>A unique identifier associated with Malware Protection plan resource.</p>
|
|
3128
|
+
* @public
|
|
3129
|
+
*/
|
|
3130
|
+
MalwareProtectionPlanId: string | undefined;
|
|
3131
|
+
}
|
|
3132
|
+
/**
|
|
3133
|
+
* <p>The requested resource can't be found.</p>
|
|
3134
|
+
* @public
|
|
3135
|
+
*/
|
|
3136
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
3137
|
+
readonly name: "ResourceNotFoundException";
|
|
3138
|
+
readonly $fault: "client";
|
|
3139
|
+
/**
|
|
3140
|
+
* <p>The error message.</p>
|
|
3141
|
+
* @public
|
|
3142
|
+
*/
|
|
3143
|
+
Message?: string;
|
|
3144
|
+
/**
|
|
3145
|
+
* <p>The error type.</p>
|
|
3146
|
+
* @public
|
|
3147
|
+
*/
|
|
3148
|
+
Type?: string;
|
|
3149
|
+
/**
|
|
3150
|
+
* @internal
|
|
3151
|
+
*/
|
|
3152
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
3153
|
+
}
|
|
3014
3154
|
/**
|
|
3015
3155
|
* @public
|
|
3016
3156
|
*/
|
|
@@ -3198,7 +3338,7 @@ export interface DescribeMalwareScansRequest {
|
|
|
3198
3338
|
*/
|
|
3199
3339
|
export interface VolumeDetail {
|
|
3200
3340
|
/**
|
|
3201
|
-
* <p>EBS volume
|
|
3341
|
+
* <p>EBS volume ARN information.</p>
|
|
3202
3342
|
* @public
|
|
3203
3343
|
*/
|
|
3204
3344
|
VolumeArn?: string;
|
|
@@ -3223,12 +3363,12 @@ export interface VolumeDetail {
|
|
|
3223
3363
|
*/
|
|
3224
3364
|
EncryptionType?: string;
|
|
3225
3365
|
/**
|
|
3226
|
-
* <p>Snapshot
|
|
3366
|
+
* <p>Snapshot ARN of the EBS volume.</p>
|
|
3227
3367
|
* @public
|
|
3228
3368
|
*/
|
|
3229
3369
|
SnapshotArn?: string;
|
|
3230
3370
|
/**
|
|
3231
|
-
* <p>KMS key
|
|
3371
|
+
* <p>KMS key ARN used to encrypt the EBS volume.</p>
|
|
3232
3372
|
* @public
|
|
3233
3373
|
*/
|
|
3234
3374
|
KmsKeyArn?: string;
|
|
@@ -3239,7 +3379,7 @@ export interface VolumeDetail {
|
|
|
3239
3379
|
*/
|
|
3240
3380
|
export interface ResourceDetails {
|
|
3241
3381
|
/**
|
|
3242
|
-
* <p>
|
|
3382
|
+
* <p>Instance ARN that was scanned in the scan entry.</p>
|
|
3243
3383
|
* @public
|
|
3244
3384
|
*/
|
|
3245
3385
|
InstanceArn?: string;
|
|
@@ -4070,7 +4210,7 @@ export interface ScanFilePath {
|
|
|
4070
4210
|
*/
|
|
4071
4211
|
FilePath?: string;
|
|
4072
4212
|
/**
|
|
4073
|
-
* <p>EBS volume
|
|
4213
|
+
* <p>EBS volume ARN details of the infected file.</p>
|
|
4074
4214
|
* @public
|
|
4075
4215
|
*/
|
|
4076
4216
|
VolumeArn?: string;
|
|
@@ -4969,6 +5109,38 @@ export interface PublicAccess {
|
|
|
4969
5109
|
*/
|
|
4970
5110
|
EffectivePermission?: string;
|
|
4971
5111
|
}
|
|
5112
|
+
/**
|
|
5113
|
+
* <p>Information about the S3 object that was scanned</p>
|
|
5114
|
+
* @public
|
|
5115
|
+
*/
|
|
5116
|
+
export interface S3ObjectDetail {
|
|
5117
|
+
/**
|
|
5118
|
+
* <p>Amazon Resource Name (ARN) of the S3 object.</p>
|
|
5119
|
+
* @public
|
|
5120
|
+
*/
|
|
5121
|
+
ObjectArn?: string;
|
|
5122
|
+
/**
|
|
5123
|
+
* <p>Key of the S3 object.</p>
|
|
5124
|
+
* @public
|
|
5125
|
+
*/
|
|
5126
|
+
Key?: string;
|
|
5127
|
+
/**
|
|
5128
|
+
* <p>The entity tag is a hash of the S3 object. The ETag reflects changes only to the contents of
|
|
5129
|
+
* an object, and not its metadata.</p>
|
|
5130
|
+
* @public
|
|
5131
|
+
*/
|
|
5132
|
+
ETag?: string;
|
|
5133
|
+
/**
|
|
5134
|
+
* <p>Hash of the threat detected in this finding.</p>
|
|
5135
|
+
* @public
|
|
5136
|
+
*/
|
|
5137
|
+
Hash?: string;
|
|
5138
|
+
/**
|
|
5139
|
+
* <p>Version ID of the object.</p>
|
|
5140
|
+
* @public
|
|
5141
|
+
*/
|
|
5142
|
+
VersionId?: string;
|
|
5143
|
+
}
|
|
4972
5144
|
/**
|
|
4973
5145
|
* <p>Contains information on the S3 bucket.</p>
|
|
4974
5146
|
* @public
|
|
@@ -5014,6 +5186,11 @@ export interface S3BucketDetail {
|
|
|
5014
5186
|
* @public
|
|
5015
5187
|
*/
|
|
5016
5188
|
PublicAccess?: PublicAccess;
|
|
5189
|
+
/**
|
|
5190
|
+
* <p>Information about the S3 object that was scanned.</p>
|
|
5191
|
+
* @public
|
|
5192
|
+
*/
|
|
5193
|
+
S3ObjectDetails?: S3ObjectDetail[];
|
|
5017
5194
|
}
|
|
5018
5195
|
/**
|
|
5019
5196
|
* <p>Contains information about the Amazon Web Services resource associated with the activity that prompted
|
|
@@ -5102,6 +5279,58 @@ export interface ServiceAdditionalInfo {
|
|
|
5102
5279
|
*/
|
|
5103
5280
|
Type?: string;
|
|
5104
5281
|
}
|
|
5282
|
+
/**
|
|
5283
|
+
* <p>Information about the nested item path and hash of the protected
|
|
5284
|
+
* resource.</p>
|
|
5285
|
+
* @public
|
|
5286
|
+
*/
|
|
5287
|
+
export interface ItemPath {
|
|
5288
|
+
/**
|
|
5289
|
+
* <p>The nested item path where the infected file was found.</p>
|
|
5290
|
+
* @public
|
|
5291
|
+
*/
|
|
5292
|
+
NestedItemPath?: string;
|
|
5293
|
+
/**
|
|
5294
|
+
* <p>The hash value of the infected resource.</p>
|
|
5295
|
+
* @public
|
|
5296
|
+
*/
|
|
5297
|
+
Hash?: string;
|
|
5298
|
+
}
|
|
5299
|
+
/**
|
|
5300
|
+
* <p>Information about the detected threats associated with the
|
|
5301
|
+
* generated finding.</p>
|
|
5302
|
+
* @public
|
|
5303
|
+
*/
|
|
5304
|
+
export interface Threat {
|
|
5305
|
+
/**
|
|
5306
|
+
* <p>Name of the detected threat that caused GuardDuty to generate this finding.</p>
|
|
5307
|
+
* @public
|
|
5308
|
+
*/
|
|
5309
|
+
Name?: string;
|
|
5310
|
+
/**
|
|
5311
|
+
* <p>Source of the threat that generated this finding.</p>
|
|
5312
|
+
* @public
|
|
5313
|
+
*/
|
|
5314
|
+
Source?: string;
|
|
5315
|
+
/**
|
|
5316
|
+
* <p>Information about the nested item path and
|
|
5317
|
+
* hash of the protected resource.</p>
|
|
5318
|
+
* @public
|
|
5319
|
+
*/
|
|
5320
|
+
ItemPaths?: ItemPath[];
|
|
5321
|
+
}
|
|
5322
|
+
/**
|
|
5323
|
+
* <p>Information about the malware scan that generated a GuardDuty finding.</p>
|
|
5324
|
+
* @public
|
|
5325
|
+
*/
|
|
5326
|
+
export interface MalwareScanDetails {
|
|
5327
|
+
/**
|
|
5328
|
+
* <p>Information about the detected threats associated with the
|
|
5329
|
+
* generated GuardDuty finding.</p>
|
|
5330
|
+
* @public
|
|
5331
|
+
*/
|
|
5332
|
+
Threats?: Threat[];
|
|
5333
|
+
}
|
|
5105
5334
|
/**
|
|
5106
5335
|
* <p>Information about the runtime process details.</p>
|
|
5107
5336
|
* @public
|
|
@@ -5464,6 +5693,11 @@ export interface Service {
|
|
|
5464
5693
|
* @public
|
|
5465
5694
|
*/
|
|
5466
5695
|
Detection?: Detection;
|
|
5696
|
+
/**
|
|
5697
|
+
* <p>Returns details from the malware scan that generated a GuardDuty finding.</p>
|
|
5698
|
+
* @public
|
|
5699
|
+
*/
|
|
5700
|
+
MalwareScanDetails?: MalwareScanDetails;
|
|
5467
5701
|
}
|
|
5468
5702
|
/**
|
|
5469
5703
|
* <p>Contains information about the finding that is generated when abnormal or suspicious
|
|
@@ -5868,6 +6102,98 @@ export interface GetIPSetResponse {
|
|
|
5868
6102
|
*/
|
|
5869
6103
|
Tags?: Record<string, string>;
|
|
5870
6104
|
}
|
|
6105
|
+
/**
|
|
6106
|
+
* @public
|
|
6107
|
+
*/
|
|
6108
|
+
export interface GetMalwareProtectionPlanRequest {
|
|
6109
|
+
/**
|
|
6110
|
+
* <p>A unique identifier associated with Malware Protection plan resource.</p>
|
|
6111
|
+
* @public
|
|
6112
|
+
*/
|
|
6113
|
+
MalwareProtectionPlanId: string | undefined;
|
|
6114
|
+
}
|
|
6115
|
+
/**
|
|
6116
|
+
* @public
|
|
6117
|
+
* @enum
|
|
6118
|
+
*/
|
|
6119
|
+
export declare const MalwareProtectionPlanStatus: {
|
|
6120
|
+
readonly ACTIVE: "ACTIVE";
|
|
6121
|
+
readonly ERROR: "ERROR";
|
|
6122
|
+
readonly WARNING: "WARNING";
|
|
6123
|
+
};
|
|
6124
|
+
/**
|
|
6125
|
+
* @public
|
|
6126
|
+
*/
|
|
6127
|
+
export type MalwareProtectionPlanStatus = (typeof MalwareProtectionPlanStatus)[keyof typeof MalwareProtectionPlanStatus];
|
|
6128
|
+
/**
|
|
6129
|
+
* <p>Information about the issue code and message associated to the status of
|
|
6130
|
+
* your Malware Protection plan.</p>
|
|
6131
|
+
* @public
|
|
6132
|
+
*/
|
|
6133
|
+
export interface MalwareProtectionPlanStatusReason {
|
|
6134
|
+
/**
|
|
6135
|
+
* <p>Issue code.</p>
|
|
6136
|
+
* @public
|
|
6137
|
+
*/
|
|
6138
|
+
Code?: string;
|
|
6139
|
+
/**
|
|
6140
|
+
* <p>Issue message that specifies the reason. For information
|
|
6141
|
+
* about potential troubleshooting steps, see
|
|
6142
|
+
* <a href="https://docs.aws.amazon.com/guardduty/latest/ug/troubleshoot-s3-malware-protection-status-errors.html">Troubleshooting Malware Protection for S3 status issues</a> in the
|
|
6143
|
+
* <i>GuardDuty User Guide</i>.</p>
|
|
6144
|
+
* @public
|
|
6145
|
+
*/
|
|
6146
|
+
Message?: string;
|
|
6147
|
+
}
|
|
6148
|
+
/**
|
|
6149
|
+
* @public
|
|
6150
|
+
*/
|
|
6151
|
+
export interface GetMalwareProtectionPlanResponse {
|
|
6152
|
+
/**
|
|
6153
|
+
* <p>Amazon Resource Name (ARN) of the protected resource.</p>
|
|
6154
|
+
* @public
|
|
6155
|
+
*/
|
|
6156
|
+
Arn?: string;
|
|
6157
|
+
/**
|
|
6158
|
+
* <p>IAM role that includes the permissions required to scan and
|
|
6159
|
+
* add tags to the associated protected resource.</p>
|
|
6160
|
+
* @public
|
|
6161
|
+
*/
|
|
6162
|
+
Role?: string;
|
|
6163
|
+
/**
|
|
6164
|
+
* <p>Information about the protected resource that is associated with the created
|
|
6165
|
+
* Malware Protection plan. Presently, <code>S3Bucket</code> is the only supported
|
|
6166
|
+
* protected resource.</p>
|
|
6167
|
+
* @public
|
|
6168
|
+
*/
|
|
6169
|
+
ProtectedResource?: CreateProtectedResource;
|
|
6170
|
+
/**
|
|
6171
|
+
* <p>Information about whether the tags will be added to the S3 object after scanning.</p>
|
|
6172
|
+
* @public
|
|
6173
|
+
*/
|
|
6174
|
+
Actions?: MalwareProtectionPlanActions;
|
|
6175
|
+
/**
|
|
6176
|
+
* <p>The timestamp when the Malware Protection plan resource was created.</p>
|
|
6177
|
+
* @public
|
|
6178
|
+
*/
|
|
6179
|
+
CreatedAt?: Date;
|
|
6180
|
+
/**
|
|
6181
|
+
* <p>Malware Protection plan status.</p>
|
|
6182
|
+
* @public
|
|
6183
|
+
*/
|
|
6184
|
+
Status?: MalwareProtectionPlanStatus;
|
|
6185
|
+
/**
|
|
6186
|
+
* <p>Information about the issue code and message associated to the status of
|
|
6187
|
+
* your Malware Protection plan.</p>
|
|
6188
|
+
* @public
|
|
6189
|
+
*/
|
|
6190
|
+
StatusReasons?: MalwareProtectionPlanStatusReason[];
|
|
6191
|
+
/**
|
|
6192
|
+
* <p>Tags added to the Malware Protection plan resource.</p>
|
|
6193
|
+
* @public
|
|
6194
|
+
*/
|
|
6195
|
+
Tags?: Record<string, string>;
|
|
6196
|
+
}
|
|
5871
6197
|
/**
|
|
5872
6198
|
* @public
|
|
5873
6199
|
*/
|
|
@@ -6389,377 +6715,6 @@ export interface GetThreatIntelSetResponse {
|
|
|
6389
6715
|
*/
|
|
6390
6716
|
Tags?: Record<string, string>;
|
|
6391
6717
|
}
|
|
6392
|
-
/**
|
|
6393
|
-
* @public
|
|
6394
|
-
* @enum
|
|
6395
|
-
*/
|
|
6396
|
-
export declare const UsageFeature: {
|
|
6397
|
-
readonly CLOUD_TRAIL: "CLOUD_TRAIL";
|
|
6398
|
-
readonly DNS_LOGS: "DNS_LOGS";
|
|
6399
|
-
readonly EBS_MALWARE_PROTECTION: "EBS_MALWARE_PROTECTION";
|
|
6400
|
-
readonly EC2_RUNTIME_MONITORING: "EC2_RUNTIME_MONITORING";
|
|
6401
|
-
readonly EKS_AUDIT_LOGS: "EKS_AUDIT_LOGS";
|
|
6402
|
-
readonly EKS_RUNTIME_MONITORING: "EKS_RUNTIME_MONITORING";
|
|
6403
|
-
readonly FARGATE_RUNTIME_MONITORING: "FARGATE_RUNTIME_MONITORING";
|
|
6404
|
-
readonly FLOW_LOGS: "FLOW_LOGS";
|
|
6405
|
-
readonly LAMBDA_NETWORK_LOGS: "LAMBDA_NETWORK_LOGS";
|
|
6406
|
-
readonly RDS_DBI_PROTECTION_PROVISIONED: "RDS_DBI_PROTECTION_PROVISIONED";
|
|
6407
|
-
readonly RDS_DBI_PROTECTION_SERVERLESS: "RDS_DBI_PROTECTION_SERVERLESS";
|
|
6408
|
-
readonly RDS_LOGIN_EVENTS: "RDS_LOGIN_EVENTS";
|
|
6409
|
-
readonly S3_DATA_EVENTS: "S3_DATA_EVENTS";
|
|
6410
|
-
};
|
|
6411
|
-
/**
|
|
6412
|
-
* @public
|
|
6413
|
-
*/
|
|
6414
|
-
export type UsageFeature = (typeof UsageFeature)[keyof typeof UsageFeature];
|
|
6415
|
-
/**
|
|
6416
|
-
* <p>Contains information about the criteria used to query usage statistics.</p>
|
|
6417
|
-
* @public
|
|
6418
|
-
*/
|
|
6419
|
-
export interface UsageCriteria {
|
|
6420
|
-
/**
|
|
6421
|
-
* <p>The account IDs to aggregate usage statistics from.</p>
|
|
6422
|
-
* @public
|
|
6423
|
-
*/
|
|
6424
|
-
AccountIds?: string[];
|
|
6425
|
-
/**
|
|
6426
|
-
* @deprecated
|
|
6427
|
-
*
|
|
6428
|
-
* <p>The data sources to aggregate usage statistics from.</p>
|
|
6429
|
-
* @public
|
|
6430
|
-
*/
|
|
6431
|
-
DataSources?: DataSource[];
|
|
6432
|
-
/**
|
|
6433
|
-
* <p>The resources to aggregate usage statistics from. Only accepts exact resource
|
|
6434
|
-
* names.</p>
|
|
6435
|
-
* @public
|
|
6436
|
-
*/
|
|
6437
|
-
Resources?: string[];
|
|
6438
|
-
/**
|
|
6439
|
-
* <p>The features to aggregate usage statistics from.</p>
|
|
6440
|
-
* @public
|
|
6441
|
-
*/
|
|
6442
|
-
Features?: UsageFeature[];
|
|
6443
|
-
}
|
|
6444
|
-
/**
|
|
6445
|
-
* @public
|
|
6446
|
-
* @enum
|
|
6447
|
-
*/
|
|
6448
|
-
export declare const UsageStatisticType: {
|
|
6449
|
-
readonly SUM_BY_ACCOUNT: "SUM_BY_ACCOUNT";
|
|
6450
|
-
readonly SUM_BY_DATA_SOURCE: "SUM_BY_DATA_SOURCE";
|
|
6451
|
-
readonly SUM_BY_FEATURES: "SUM_BY_FEATURES";
|
|
6452
|
-
readonly SUM_BY_RESOURCE: "SUM_BY_RESOURCE";
|
|
6453
|
-
readonly TOP_ACCOUNTS_BY_FEATURE: "TOP_ACCOUNTS_BY_FEATURE";
|
|
6454
|
-
readonly TOP_RESOURCES: "TOP_RESOURCES";
|
|
6455
|
-
};
|
|
6456
|
-
/**
|
|
6457
|
-
* @public
|
|
6458
|
-
*/
|
|
6459
|
-
export type UsageStatisticType = (typeof UsageStatisticType)[keyof typeof UsageStatisticType];
|
|
6460
|
-
/**
|
|
6461
|
-
* @public
|
|
6462
|
-
*/
|
|
6463
|
-
export interface GetUsageStatisticsRequest {
|
|
6464
|
-
/**
|
|
6465
|
-
* <p>The ID of the detector that specifies the GuardDuty service whose usage statistics you
|
|
6466
|
-
* want to retrieve.</p>
|
|
6467
|
-
* @public
|
|
6468
|
-
*/
|
|
6469
|
-
DetectorId: string | undefined;
|
|
6470
|
-
/**
|
|
6471
|
-
* <p>The type of usage statistics to retrieve.</p>
|
|
6472
|
-
* @public
|
|
6473
|
-
*/
|
|
6474
|
-
UsageStatisticType: UsageStatisticType | undefined;
|
|
6475
|
-
/**
|
|
6476
|
-
* <p>Represents the criteria used for querying usage.</p>
|
|
6477
|
-
* @public
|
|
6478
|
-
*/
|
|
6479
|
-
UsageCriteria: UsageCriteria | undefined;
|
|
6480
|
-
/**
|
|
6481
|
-
* <p>The currency unit you would like to view your usage statistics in. Current valid values
|
|
6482
|
-
* are USD.</p>
|
|
6483
|
-
* @public
|
|
6484
|
-
*/
|
|
6485
|
-
Unit?: string;
|
|
6486
|
-
/**
|
|
6487
|
-
* <p>The maximum number of results to return in the response.</p>
|
|
6488
|
-
* @public
|
|
6489
|
-
*/
|
|
6490
|
-
MaxResults?: number;
|
|
6491
|
-
/**
|
|
6492
|
-
* <p>A token to use for paginating results that are returned in the response. Set the value of
|
|
6493
|
-
* this parameter to null for the first request to a list action. For subsequent calls, use the
|
|
6494
|
-
* NextToken value returned from the previous request to continue listing results after the first
|
|
6495
|
-
* page.</p>
|
|
6496
|
-
* @public
|
|
6497
|
-
*/
|
|
6498
|
-
NextToken?: string;
|
|
6499
|
-
}
|
|
6500
|
-
/**
|
|
6501
|
-
* <p>Contains the total usage with the corresponding currency unit for that value.</p>
|
|
6502
|
-
* @public
|
|
6503
|
-
*/
|
|
6504
|
-
export interface Total {
|
|
6505
|
-
/**
|
|
6506
|
-
* <p>The total usage.</p>
|
|
6507
|
-
* @public
|
|
6508
|
-
*/
|
|
6509
|
-
Amount?: string;
|
|
6510
|
-
/**
|
|
6511
|
-
* <p>The currency unit that the amount is given in.</p>
|
|
6512
|
-
* @public
|
|
6513
|
-
*/
|
|
6514
|
-
Unit?: string;
|
|
6515
|
-
}
|
|
6516
|
-
/**
|
|
6517
|
-
* <p>Contains information on the total of usage based on account IDs.</p>
|
|
6518
|
-
* @public
|
|
6519
|
-
*/
|
|
6520
|
-
export interface UsageAccountResult {
|
|
6521
|
-
/**
|
|
6522
|
-
* <p>The Account ID that generated usage.</p>
|
|
6523
|
-
* @public
|
|
6524
|
-
*/
|
|
6525
|
-
AccountId?: string;
|
|
6526
|
-
/**
|
|
6527
|
-
* <p>Represents the total of usage for the Account ID.</p>
|
|
6528
|
-
* @public
|
|
6529
|
-
*/
|
|
6530
|
-
Total?: Total;
|
|
6531
|
-
}
|
|
6532
|
-
/**
|
|
6533
|
-
* <p>Contains information on the result of usage based on data source type.</p>
|
|
6534
|
-
* @public
|
|
6535
|
-
*/
|
|
6536
|
-
export interface UsageDataSourceResult {
|
|
6537
|
-
/**
|
|
6538
|
-
* <p>The data source type that generated usage.</p>
|
|
6539
|
-
* @public
|
|
6540
|
-
*/
|
|
6541
|
-
DataSource?: DataSource;
|
|
6542
|
-
/**
|
|
6543
|
-
* <p>Represents the total of usage for the specified data source.</p>
|
|
6544
|
-
* @public
|
|
6545
|
-
*/
|
|
6546
|
-
Total?: Total;
|
|
6547
|
-
}
|
|
6548
|
-
/**
|
|
6549
|
-
* <p>Contains information about the result of the total usage based on the feature.</p>
|
|
6550
|
-
* @public
|
|
6551
|
-
*/
|
|
6552
|
-
export interface UsageFeatureResult {
|
|
6553
|
-
/**
|
|
6554
|
-
* <p>The feature that generated the usage cost.</p>
|
|
6555
|
-
* @public
|
|
6556
|
-
*/
|
|
6557
|
-
Feature?: UsageFeature;
|
|
6558
|
-
/**
|
|
6559
|
-
* <p>Contains the total usage with the corresponding currency unit for that value.</p>
|
|
6560
|
-
* @public
|
|
6561
|
-
*/
|
|
6562
|
-
Total?: Total;
|
|
6563
|
-
}
|
|
6564
|
-
/**
|
|
6565
|
-
* <p>Contains information on the sum of usage based on an Amazon Web Services resource.</p>
|
|
6566
|
-
* @public
|
|
6567
|
-
*/
|
|
6568
|
-
export interface UsageResourceResult {
|
|
6569
|
-
/**
|
|
6570
|
-
* <p>The Amazon Web Services resource that generated usage.</p>
|
|
6571
|
-
* @public
|
|
6572
|
-
*/
|
|
6573
|
-
Resource?: string;
|
|
6574
|
-
/**
|
|
6575
|
-
* <p>Represents the sum total of usage for the specified resource type.</p>
|
|
6576
|
-
* @public
|
|
6577
|
-
*/
|
|
6578
|
-
Total?: Total;
|
|
6579
|
-
}
|
|
6580
|
-
/**
|
|
6581
|
-
* <p>Contains information on the total of usage based on the topmost 50
|
|
6582
|
-
* account IDs.</p>
|
|
6583
|
-
* @public
|
|
6584
|
-
*/
|
|
6585
|
-
export interface UsageTopAccountResult {
|
|
6586
|
-
/**
|
|
6587
|
-
* <p>The unique account ID.</p>
|
|
6588
|
-
* @public
|
|
6589
|
-
*/
|
|
6590
|
-
AccountId?: string;
|
|
6591
|
-
/**
|
|
6592
|
-
* <p>Contains the total usage with the corresponding currency unit for that value.</p>
|
|
6593
|
-
* @public
|
|
6594
|
-
*/
|
|
6595
|
-
Total?: Total;
|
|
6596
|
-
}
|
|
6597
|
-
/**
|
|
6598
|
-
* <p>Information about the usage statistics, calculated
|
|
6599
|
-
* by top accounts by feature.</p>
|
|
6600
|
-
* @public
|
|
6601
|
-
*/
|
|
6602
|
-
export interface UsageTopAccountsResult {
|
|
6603
|
-
/**
|
|
6604
|
-
* <p>Features by which you can generate the usage statistics.</p>
|
|
6605
|
-
* <p>
|
|
6606
|
-
* <code>RDS_LOGIN_EVENTS</code> is currently not supported
|
|
6607
|
-
* with <code>topAccountsByFeature</code>.</p>
|
|
6608
|
-
* @public
|
|
6609
|
-
*/
|
|
6610
|
-
Feature?: UsageFeature;
|
|
6611
|
-
/**
|
|
6612
|
-
* <p>The accounts that contributed to the total usage cost.</p>
|
|
6613
|
-
* @public
|
|
6614
|
-
*/
|
|
6615
|
-
Accounts?: UsageTopAccountResult[];
|
|
6616
|
-
}
|
|
6617
|
-
/**
|
|
6618
|
-
* <p>Contains the result of GuardDuty usage. If a UsageStatisticType is provided the result for
|
|
6619
|
-
* other types will be null. </p>
|
|
6620
|
-
* @public
|
|
6621
|
-
*/
|
|
6622
|
-
export interface UsageStatistics {
|
|
6623
|
-
/**
|
|
6624
|
-
* <p>The usage statistic sum organized by account ID.</p>
|
|
6625
|
-
* @public
|
|
6626
|
-
*/
|
|
6627
|
-
SumByAccount?: UsageAccountResult[];
|
|
6628
|
-
/**
|
|
6629
|
-
* <p>Lists the top 50 accounts by feature that have generated the most
|
|
6630
|
-
* GuardDuty usage, in the order from most to least expensive.</p>
|
|
6631
|
-
* <p>Currently, this doesn't support <code>RDS_LOGIN_EVENTS</code>.</p>
|
|
6632
|
-
* @public
|
|
6633
|
-
*/
|
|
6634
|
-
TopAccountsByFeature?: UsageTopAccountsResult[];
|
|
6635
|
-
/**
|
|
6636
|
-
* <p>The usage statistic sum organized by on data source.</p>
|
|
6637
|
-
* @public
|
|
6638
|
-
*/
|
|
6639
|
-
SumByDataSource?: UsageDataSourceResult[];
|
|
6640
|
-
/**
|
|
6641
|
-
* <p>The usage statistic sum organized by resource.</p>
|
|
6642
|
-
* @public
|
|
6643
|
-
*/
|
|
6644
|
-
SumByResource?: UsageResourceResult[];
|
|
6645
|
-
/**
|
|
6646
|
-
* <p>Lists the top 50 resources that have generated the most GuardDuty usage, in order from
|
|
6647
|
-
* most to least expensive.</p>
|
|
6648
|
-
* @public
|
|
6649
|
-
*/
|
|
6650
|
-
TopResources?: UsageResourceResult[];
|
|
6651
|
-
/**
|
|
6652
|
-
* <p>The usage statistic sum organized by feature.</p>
|
|
6653
|
-
* @public
|
|
6654
|
-
*/
|
|
6655
|
-
SumByFeature?: UsageFeatureResult[];
|
|
6656
|
-
}
|
|
6657
|
-
/**
|
|
6658
|
-
* @public
|
|
6659
|
-
*/
|
|
6660
|
-
export interface GetUsageStatisticsResponse {
|
|
6661
|
-
/**
|
|
6662
|
-
* <p>The usage statistics object. If a UsageStatisticType was provided, the objects
|
|
6663
|
-
* representing other types will be null.</p>
|
|
6664
|
-
* @public
|
|
6665
|
-
*/
|
|
6666
|
-
UsageStatistics?: UsageStatistics;
|
|
6667
|
-
/**
|
|
6668
|
-
* <p>The pagination parameter to be used on the next list operation to retrieve more
|
|
6669
|
-
* items.</p>
|
|
6670
|
-
* @public
|
|
6671
|
-
*/
|
|
6672
|
-
NextToken?: string;
|
|
6673
|
-
}
|
|
6674
|
-
/**
|
|
6675
|
-
* @public
|
|
6676
|
-
*/
|
|
6677
|
-
export interface InviteMembersRequest {
|
|
6678
|
-
/**
|
|
6679
|
-
* <p>The unique ID of the detector of the GuardDuty account that you want to invite members
|
|
6680
|
-
* with.</p>
|
|
6681
|
-
* @public
|
|
6682
|
-
*/
|
|
6683
|
-
DetectorId: string | undefined;
|
|
6684
|
-
/**
|
|
6685
|
-
* <p>A list of account IDs of the accounts that you want to invite to GuardDuty as
|
|
6686
|
-
* members.</p>
|
|
6687
|
-
* @public
|
|
6688
|
-
*/
|
|
6689
|
-
AccountIds: string[] | undefined;
|
|
6690
|
-
/**
|
|
6691
|
-
* <p>A Boolean value that specifies whether you want to disable email notification to the
|
|
6692
|
-
* accounts that you are inviting to GuardDuty as members.</p>
|
|
6693
|
-
* @public
|
|
6694
|
-
*/
|
|
6695
|
-
DisableEmailNotification?: boolean;
|
|
6696
|
-
/**
|
|
6697
|
-
* <p>The invitation message that you want to send to the accounts that you're inviting to
|
|
6698
|
-
* GuardDuty as members.</p>
|
|
6699
|
-
* @public
|
|
6700
|
-
*/
|
|
6701
|
-
Message?: string;
|
|
6702
|
-
}
|
|
6703
|
-
/**
|
|
6704
|
-
* @public
|
|
6705
|
-
*/
|
|
6706
|
-
export interface InviteMembersResponse {
|
|
6707
|
-
/**
|
|
6708
|
-
* <p>A list of objects that contain the unprocessed account and a result string that explains
|
|
6709
|
-
* why it was unprocessed.</p>
|
|
6710
|
-
* @public
|
|
6711
|
-
*/
|
|
6712
|
-
UnprocessedAccounts: UnprocessedAccount[] | undefined;
|
|
6713
|
-
}
|
|
6714
|
-
/**
|
|
6715
|
-
* @public
|
|
6716
|
-
*/
|
|
6717
|
-
export interface ListCoverageRequest {
|
|
6718
|
-
/**
|
|
6719
|
-
* <p>The unique ID of the detector whose coverage details you want to retrieve.</p>
|
|
6720
|
-
* @public
|
|
6721
|
-
*/
|
|
6722
|
-
DetectorId: string | undefined;
|
|
6723
|
-
/**
|
|
6724
|
-
* <p>A token to use for paginating results that are returned in the response. Set the value of
|
|
6725
|
-
* this parameter to null for the first request to a list action. For subsequent calls, use the
|
|
6726
|
-
* NextToken value returned from the previous request to continue listing results after the first
|
|
6727
|
-
* page.</p>
|
|
6728
|
-
* @public
|
|
6729
|
-
*/
|
|
6730
|
-
NextToken?: string;
|
|
6731
|
-
/**
|
|
6732
|
-
* <p>The maximum number of results to return in the response.</p>
|
|
6733
|
-
* @public
|
|
6734
|
-
*/
|
|
6735
|
-
MaxResults?: number;
|
|
6736
|
-
/**
|
|
6737
|
-
* <p>Represents the criteria used to filter the coverage details.</p>
|
|
6738
|
-
* @public
|
|
6739
|
-
*/
|
|
6740
|
-
FilterCriteria?: CoverageFilterCriteria;
|
|
6741
|
-
/**
|
|
6742
|
-
* <p>Represents the criteria used to sort the coverage details.</p>
|
|
6743
|
-
* @public
|
|
6744
|
-
*/
|
|
6745
|
-
SortCriteria?: CoverageSortCriteria;
|
|
6746
|
-
}
|
|
6747
|
-
/**
|
|
6748
|
-
* @public
|
|
6749
|
-
*/
|
|
6750
|
-
export interface ListCoverageResponse {
|
|
6751
|
-
/**
|
|
6752
|
-
* <p>A list of resources and their attributes providing cluster details.</p>
|
|
6753
|
-
* @public
|
|
6754
|
-
*/
|
|
6755
|
-
Resources: CoverageResource[] | undefined;
|
|
6756
|
-
/**
|
|
6757
|
-
* <p>The pagination parameter to be used on the next list operation to retrieve more
|
|
6758
|
-
* items.</p>
|
|
6759
|
-
* @public
|
|
6760
|
-
*/
|
|
6761
|
-
NextToken?: string;
|
|
6762
|
-
}
|
|
6763
6718
|
/**
|
|
6764
6719
|
* @internal
|
|
6765
6720
|
*/
|