@aws-sdk/client-guardduty 3.46.0 → 3.48.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/CHANGELOG.md +38 -0
- package/README.md +4 -4
- package/dist-cjs/endpoints.js +0 -24
- package/dist-cjs/models/models_0.js +11 -17
- package/dist-cjs/protocols/Aws_restJson1.js +9 -0
- package/dist-cjs/runtimeConfig.browser.js +7 -2
- package/dist-cjs/runtimeConfig.js +10 -2
- package/dist-es/endpoints.js +0 -24
- package/dist-es/models/models_0.js +4 -8
- package/dist-es/protocols/Aws_restJson1.js +9 -0
- package/dist-es/runtimeConfig.browser.js +12 -3
- package/dist-es/runtimeConfig.js +13 -4
- package/dist-types/GuardDuty.d.ts +14 -14
- package/dist-types/GuardDutyClient.d.ts +9 -5
- package/dist-types/commands/CreateIPSetCommand.d.ts +1 -1
- package/dist-types/commands/CreateMembersCommand.d.ts +1 -1
- package/dist-types/commands/DeclineInvitationsCommand.d.ts +1 -1
- package/dist-types/commands/DeleteInvitationsCommand.d.ts +1 -1
- package/dist-types/commands/DisableOrganizationAdminAccountCommand.d.ts +1 -1
- package/dist-types/commands/EnableOrganizationAdminAccountCommand.d.ts +1 -1
- package/dist-types/commands/InviteMembersCommand.d.ts +2 -2
- package/dist-types/commands/ListInvitationsCommand.d.ts +1 -1
- package/dist-types/commands/ListPublishingDestinationsCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +66 -45
- package/dist-types/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/runtimeConfig.d.ts +4 -3
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/GuardDutyClient.d.ts +3 -1
- package/dist-types/ts3.4/models/models_0.d.ts +13 -8
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +35 -35
|
@@ -4,7 +4,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
|
|
|
4
4
|
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
|
-
import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
7
|
+
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
8
|
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { AcceptInvitationCommandInput, AcceptInvitationCommandOutput } from "./commands/AcceptInvitationCommand";
|
|
10
10
|
import { ArchiveFindingsCommandInput, ArchiveFindingsCommandOutput } from "./commands/ArchiveFindingsCommand";
|
|
@@ -166,6 +166,10 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
166
166
|
* @internal
|
|
167
167
|
*/
|
|
168
168
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
169
|
+
/**
|
|
170
|
+
* The {@link DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
171
|
+
*/
|
|
172
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
169
173
|
}
|
|
170
174
|
declare type GuardDutyClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
171
175
|
/**
|
|
@@ -181,17 +185,17 @@ export interface GuardDutyClientResolvedConfig extends GuardDutyClientResolvedCo
|
|
|
181
185
|
}
|
|
182
186
|
/**
|
|
183
187
|
* <p>Amazon GuardDuty is a continuous security monitoring service that analyzes and processes
|
|
184
|
-
* the following data sources: VPC Flow Logs,
|
|
188
|
+
* the following data sources: VPC Flow Logs, Amazon Web Services CloudTrail event logs, and DNS logs. It uses
|
|
185
189
|
* threat intelligence feeds (such as lists of malicious IPs and domains) and machine learning to
|
|
186
|
-
* identify unexpected, potentially unauthorized, and malicious activity within your
|
|
190
|
+
* identify unexpected, potentially unauthorized, and malicious activity within your Amazon Web Services
|
|
187
191
|
* environment. This can include issues like escalations of privileges, uses of exposed
|
|
188
192
|
* credentials, or communication with malicious IPs, URLs, or domains. For example, GuardDuty can
|
|
189
193
|
* detect compromised EC2 instances that serve malware or mine bitcoin. </p>
|
|
190
|
-
* <p>GuardDuty also monitors
|
|
194
|
+
* <p>GuardDuty also monitors Amazon Web Services account access behavior for signs of compromise. Some examples
|
|
191
195
|
* of this are unauthorized infrastructure deployments such as EC2 instances deployed in a Region
|
|
192
196
|
* that has never been used, or unusual API calls like a password policy change to reduce
|
|
193
197
|
* password strength. </p>
|
|
194
|
-
* <p>GuardDuty informs you of the status of your
|
|
198
|
+
* <p>GuardDuty informs you of the status of your Amazon Web Services environment by producing security findings
|
|
195
199
|
* that you can view in the GuardDuty console or through Amazon CloudWatch events. For more
|
|
196
200
|
* information, see the <i>
|
|
197
201
|
* <a href="https://docs.aws.amazon.com/guardduty/latest/ug/what-is-guardduty.html">Amazon
|
|
@@ -8,7 +8,7 @@ export interface CreateIPSetCommandOutput extends CreateIPSetResponse, __Metadat
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* <p>Creates a new IPSet, which is called a trusted IP list in the console user interface. An
|
|
11
|
-
* IPSet is a list of IP addresses that are trusted for secure communication with
|
|
11
|
+
* IPSet is a list of IP addresses that are trusted for secure communication with Amazon Web Services
|
|
12
12
|
* infrastructure and applications. GuardDuty doesn't generate findings for IP addresses that are
|
|
13
13
|
* included in IPSets. Only users from the administrator account can use this operation.</p>
|
|
14
14
|
* @example
|
|
@@ -7,7 +7,7 @@ export interface CreateMembersCommandInput extends CreateMembersRequest {
|
|
|
7
7
|
export interface CreateMembersCommandOutput extends CreateMembersResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Creates member accounts of the current
|
|
10
|
+
* <p>Creates member accounts of the current Amazon Web Services account by specifying a list of Amazon Web Services account
|
|
11
11
|
* IDs. This step is a prerequisite for managing the associated member accounts either by
|
|
12
12
|
* invitation or through an organization.</p>
|
|
13
13
|
* <p>When using <code>Create Members</code> as an organizations delegated administrator this
|
|
@@ -7,7 +7,7 @@ export interface DeclineInvitationsCommandInput extends DeclineInvitationsReques
|
|
|
7
7
|
export interface DeclineInvitationsCommandOutput extends DeclineInvitationsResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Declines invitations sent to the current member account by
|
|
10
|
+
* <p>Declines invitations sent to the current member account by Amazon Web Services accounts specified by their
|
|
11
11
|
* account IDs.</p>
|
|
12
12
|
* @example
|
|
13
13
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -7,7 +7,7 @@ export interface DeleteInvitationsCommandInput extends DeleteInvitationsRequest
|
|
|
7
7
|
export interface DeleteInvitationsCommandOutput extends DeleteInvitationsResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Deletes invitations sent to the current member account by
|
|
10
|
+
* <p>Deletes invitations sent to the current member account by Amazon Web Services accounts specified by their
|
|
11
11
|
* account IDs.</p>
|
|
12
12
|
* @example
|
|
13
13
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -7,7 +7,7 @@ export interface DisableOrganizationAdminAccountCommandInput extends DisableOrga
|
|
|
7
7
|
export interface DisableOrganizationAdminAccountCommandOutput extends DisableOrganizationAdminAccountResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Disables an
|
|
10
|
+
* <p>Disables an Amazon Web Services account within the Organization as the GuardDuty delegated
|
|
11
11
|
* administrator.</p>
|
|
12
12
|
* @example
|
|
13
13
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -7,7 +7,7 @@ export interface EnableOrganizationAdminAccountCommandInput extends EnableOrgani
|
|
|
7
7
|
export interface EnableOrganizationAdminAccountCommandOutput extends EnableOrganizationAdminAccountResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Enables an
|
|
10
|
+
* <p>Enables an Amazon Web Services account within the organization as the GuardDuty delegated
|
|
11
11
|
* administrator.</p>
|
|
12
12
|
* @example
|
|
13
13
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -7,8 +7,8 @@ export interface InviteMembersCommandInput extends InviteMembersRequest {
|
|
|
7
7
|
export interface InviteMembersCommandOutput extends InviteMembersResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Invites other
|
|
11
|
-
* CreateMembers) to enable GuardDuty, and allow the current
|
|
10
|
+
* <p>Invites other Amazon Web Services accounts (created as members of the current Amazon Web Services account by
|
|
11
|
+
* CreateMembers) to enable GuardDuty, and allow the current Amazon Web Services account to view and manage these
|
|
12
12
|
* accounts' findings on their behalf as the GuardDuty administrator account.</p>
|
|
13
13
|
* @example
|
|
14
14
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -7,7 +7,7 @@ export interface ListInvitationsCommandInput extends ListInvitationsRequest {
|
|
|
7
7
|
export interface ListInvitationsCommandOutput extends ListInvitationsResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Lists all GuardDuty membership invitations that were sent to the current
|
|
10
|
+
* <p>Lists all GuardDuty membership invitations that were sent to the current Amazon Web Services
|
|
11
11
|
* account.</p>
|
|
12
12
|
* @example
|
|
13
13
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -8,7 +8,7 @@ export interface ListPublishingDestinationsCommandOutput extends ListPublishingD
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* <p>Returns a list of publishing destinations associated with the specified
|
|
11
|
-
* <code>
|
|
11
|
+
* <code>detectorId</code>.</p>
|
|
12
12
|
* @example
|
|
13
13
|
* Use a bare-bones client and the command you need to make an API call.
|
|
14
14
|
* ```javascript
|
|
@@ -42,12 +42,6 @@ export interface BadRequestException extends __SmithyException, $MetadataBearer
|
|
|
42
42
|
*/
|
|
43
43
|
Type?: string;
|
|
44
44
|
}
|
|
45
|
-
export declare namespace BadRequestException {
|
|
46
|
-
/**
|
|
47
|
-
* @internal
|
|
48
|
-
*/
|
|
49
|
-
const filterSensitiveLog: (obj: BadRequestException) => any;
|
|
50
|
-
}
|
|
51
45
|
/**
|
|
52
46
|
* <p>An internal server error exception object.</p>
|
|
53
47
|
*/
|
|
@@ -63,12 +57,6 @@ export interface InternalServerErrorException extends __SmithyException, $Metada
|
|
|
63
57
|
*/
|
|
64
58
|
Type?: string;
|
|
65
59
|
}
|
|
66
|
-
export declare namespace InternalServerErrorException {
|
|
67
|
-
/**
|
|
68
|
-
* @internal
|
|
69
|
-
*/
|
|
70
|
-
const filterSensitiveLog: (obj: InternalServerErrorException) => any;
|
|
71
|
-
}
|
|
72
60
|
/**
|
|
73
61
|
* <p>Contains information on the current access control policies for the bucket.</p>
|
|
74
62
|
*/
|
|
@@ -185,7 +173,7 @@ export declare namespace AccountLevelPermissions {
|
|
|
185
173
|
*/
|
|
186
174
|
export interface DomainDetails {
|
|
187
175
|
/**
|
|
188
|
-
* <p>The domain information for the
|
|
176
|
+
* <p>The domain information for the Amazon Web Services API call.</p>
|
|
189
177
|
*/
|
|
190
178
|
Domain?: string;
|
|
191
179
|
}
|
|
@@ -195,6 +183,25 @@ export declare namespace DomainDetails {
|
|
|
195
183
|
*/
|
|
196
184
|
const filterSensitiveLog: (obj: DomainDetails) => any;
|
|
197
185
|
}
|
|
186
|
+
/**
|
|
187
|
+
* <p>Contains details about the remote Amazon Web Services account that made the API call.</p>
|
|
188
|
+
*/
|
|
189
|
+
export interface RemoteAccountDetails {
|
|
190
|
+
/**
|
|
191
|
+
* <p>The Amazon Web Services account ID of the remote API caller.</p>
|
|
192
|
+
*/
|
|
193
|
+
AccountId?: string;
|
|
194
|
+
/**
|
|
195
|
+
* <p>Details on whether the Amazon Web Services account of the remote API caller is related to your GuardDuty environment. If this value is <code>True</code> the API caller is affiliated to your account in some way. If it is <code>False</code> the API caller is from outside your environment.</p>
|
|
196
|
+
*/
|
|
197
|
+
Affiliated?: boolean;
|
|
198
|
+
}
|
|
199
|
+
export declare namespace RemoteAccountDetails {
|
|
200
|
+
/**
|
|
201
|
+
* @internal
|
|
202
|
+
*/
|
|
203
|
+
const filterSensitiveLog: (obj: RemoteAccountDetails) => any;
|
|
204
|
+
}
|
|
198
205
|
/**
|
|
199
206
|
* <p>Contains information about the city associated with the IP address.</p>
|
|
200
207
|
*/
|
|
@@ -312,29 +319,33 @@ export declare namespace RemoteIpDetails {
|
|
|
312
319
|
*/
|
|
313
320
|
export interface AwsApiCallAction {
|
|
314
321
|
/**
|
|
315
|
-
* <p>The
|
|
322
|
+
* <p>The Amazon Web Services API name.</p>
|
|
316
323
|
*/
|
|
317
324
|
Api?: string;
|
|
318
325
|
/**
|
|
319
|
-
* <p>The
|
|
326
|
+
* <p>The Amazon Web Services API caller type.</p>
|
|
320
327
|
*/
|
|
321
328
|
CallerType?: string;
|
|
322
329
|
/**
|
|
323
|
-
* <p>The domain information for the
|
|
330
|
+
* <p>The domain information for the Amazon Web Services API call.</p>
|
|
324
331
|
*/
|
|
325
332
|
DomainDetails?: DomainDetails;
|
|
326
333
|
/**
|
|
327
|
-
* <p>The error code of the failed
|
|
334
|
+
* <p>The error code of the failed Amazon Web Services API action.</p>
|
|
328
335
|
*/
|
|
329
336
|
ErrorCode?: string;
|
|
330
337
|
/**
|
|
331
|
-
* <p>The remote IP information of the connection that initiated the
|
|
338
|
+
* <p>The remote IP information of the connection that initiated the Amazon Web Services API call.</p>
|
|
332
339
|
*/
|
|
333
340
|
RemoteIpDetails?: RemoteIpDetails;
|
|
334
341
|
/**
|
|
335
|
-
* <p>The
|
|
342
|
+
* <p>The Amazon Web Services service name whose API was invoked.</p>
|
|
336
343
|
*/
|
|
337
344
|
ServiceName?: string;
|
|
345
|
+
/**
|
|
346
|
+
* <p>The details of the Amazon Web Services account that made the API call. This field appears if the call was made from outside your account.</p>
|
|
347
|
+
*/
|
|
348
|
+
RemoteAccountDetails?: RemoteAccountDetails;
|
|
338
349
|
}
|
|
339
350
|
export declare namespace AwsApiCallAction {
|
|
340
351
|
/**
|
|
@@ -532,7 +543,7 @@ export declare enum AdminStatus {
|
|
|
532
543
|
*/
|
|
533
544
|
export interface AdminAccount {
|
|
534
545
|
/**
|
|
535
|
-
* <p>The
|
|
546
|
+
* <p>The Amazon Web Services account ID for the account.</p>
|
|
536
547
|
*/
|
|
537
548
|
AdminAccountId?: string;
|
|
538
549
|
/**
|
|
@@ -985,6 +996,21 @@ export interface CreateFilterRequest {
|
|
|
985
996
|
* <p>service.additionalInfo.threatListName</p>
|
|
986
997
|
* </li>
|
|
987
998
|
* <li>
|
|
999
|
+
* <p>resource.s3BucketDetails.publicAccess.effectivePermissions</p>
|
|
1000
|
+
* </li>
|
|
1001
|
+
* <li>
|
|
1002
|
+
* <p>resource.s3BucketDetails.name</p>
|
|
1003
|
+
* </li>
|
|
1004
|
+
* <li>
|
|
1005
|
+
* <p>resource.s3BucketDetails.tags.key</p>
|
|
1006
|
+
* </li>
|
|
1007
|
+
* <li>
|
|
1008
|
+
* <p>resource.s3BucketDetails.tags.value</p>
|
|
1009
|
+
* </li>
|
|
1010
|
+
* <li>
|
|
1011
|
+
* <p>resource.s3BucketDetails.type</p>
|
|
1012
|
+
* </li>
|
|
1013
|
+
* <li>
|
|
988
1014
|
* <p>service.archived</p>
|
|
989
1015
|
* <p>When this attribute is set to TRUE, only archived findings are listed. When it's set
|
|
990
1016
|
* to FALSE, only unarchived findings are listed. When this attribute is not set, all
|
|
@@ -1060,8 +1086,7 @@ export interface CreateIPSetRequest {
|
|
|
1060
1086
|
*/
|
|
1061
1087
|
Format: IpSetFormat | string | undefined;
|
|
1062
1088
|
/**
|
|
1063
|
-
* <p>The URI of the file that contains the IPSet.
|
|
1064
|
-
* https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key.</p>
|
|
1089
|
+
* <p>The URI of the file that contains the IPSet. </p>
|
|
1065
1090
|
*/
|
|
1066
1091
|
Location: string | undefined;
|
|
1067
1092
|
/**
|
|
@@ -1121,7 +1146,7 @@ export declare namespace CreateMembersRequest {
|
|
|
1121
1146
|
*/
|
|
1122
1147
|
export interface UnprocessedAccount {
|
|
1123
1148
|
/**
|
|
1124
|
-
* <p>The
|
|
1149
|
+
* <p>The Amazon Web Services account ID.</p>
|
|
1125
1150
|
*/
|
|
1126
1151
|
AccountId: string | undefined;
|
|
1127
1152
|
/**
|
|
@@ -1155,6 +1180,9 @@ export declare namespace CreateMembersResponse {
|
|
|
1155
1180
|
export interface DestinationProperties {
|
|
1156
1181
|
/**
|
|
1157
1182
|
* <p>The ARN of the resource to publish to.</p>
|
|
1183
|
+
* <p>To specify an S3 bucket folder use the following format:
|
|
1184
|
+
* <code>arn:aws:s3:::DOC-EXAMPLE-BUCKET/myFolder/</code>
|
|
1185
|
+
* </p>
|
|
1158
1186
|
*/
|
|
1159
1187
|
DestinationArn?: string;
|
|
1160
1188
|
/**
|
|
@@ -1257,8 +1285,7 @@ export interface CreateThreatIntelSetRequest {
|
|
|
1257
1285
|
*/
|
|
1258
1286
|
Format: ThreatIntelSetFormat | string | undefined;
|
|
1259
1287
|
/**
|
|
1260
|
-
* <p>The URI of the file that contains the ThreatIntelSet.
|
|
1261
|
-
* https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key.</p>
|
|
1288
|
+
* <p>The URI of the file that contains the ThreatIntelSet. </p>
|
|
1262
1289
|
*/
|
|
1263
1290
|
Location: string | undefined;
|
|
1264
1291
|
/**
|
|
@@ -1378,7 +1405,7 @@ export declare namespace DataSourceConfigurationsResult {
|
|
|
1378
1405
|
}
|
|
1379
1406
|
export interface DeclineInvitationsRequest {
|
|
1380
1407
|
/**
|
|
1381
|
-
* <p>A list of account IDs of the
|
|
1408
|
+
* <p>A list of account IDs of the Amazon Web Services accounts that sent invitations to the current member
|
|
1382
1409
|
* account that you want to decline invitations from.</p>
|
|
1383
1410
|
*/
|
|
1384
1411
|
AccountIds: string[] | undefined;
|
|
@@ -1470,7 +1497,7 @@ export declare namespace DeleteFilterResponse {
|
|
|
1470
1497
|
}
|
|
1471
1498
|
export interface DeleteInvitationsRequest {
|
|
1472
1499
|
/**
|
|
1473
|
-
* <p>A list of account IDs of the
|
|
1500
|
+
* <p>A list of account IDs of the Amazon Web Services accounts that sent invitations to the current member
|
|
1474
1501
|
* account that you want to delete invitations from.</p>
|
|
1475
1502
|
*/
|
|
1476
1503
|
AccountIds: string[] | undefined;
|
|
@@ -1749,7 +1776,7 @@ export declare enum DetectorStatus {
|
|
|
1749
1776
|
}
|
|
1750
1777
|
export interface DisableOrganizationAdminAccountRequest {
|
|
1751
1778
|
/**
|
|
1752
|
-
* <p>The
|
|
1779
|
+
* <p>The Amazon Web Services Account ID for the organizations account to be disabled as a GuardDuty delegated
|
|
1753
1780
|
* administrator.</p>
|
|
1754
1781
|
*/
|
|
1755
1782
|
AdminAccountId: string | undefined;
|
|
@@ -1821,7 +1848,7 @@ export declare namespace DisassociateMembersResponse {
|
|
|
1821
1848
|
}
|
|
1822
1849
|
export interface EnableOrganizationAdminAccountRequest {
|
|
1823
1850
|
/**
|
|
1824
|
-
* <p>The
|
|
1851
|
+
* <p>The Amazon Web Services Account ID for the organization account to be enabled as a GuardDuty delegated
|
|
1825
1852
|
* administrator.</p>
|
|
1826
1853
|
*/
|
|
1827
1854
|
AdminAccountId: string | undefined;
|
|
@@ -2059,7 +2086,7 @@ export interface InstanceDetails {
|
|
|
2059
2086
|
*/
|
|
2060
2087
|
InstanceType?: string;
|
|
2061
2088
|
/**
|
|
2062
|
-
* <p>The Amazon Resource Name (ARN) of the
|
|
2089
|
+
* <p>The Amazon Resource Name (ARN) of the Amazon Web Services Outpost. Only applicable to Amazon Web Services Outposts
|
|
2063
2090
|
* instances.</p>
|
|
2064
2091
|
*/
|
|
2065
2092
|
OutpostArn?: string;
|
|
@@ -2191,7 +2218,7 @@ export declare namespace S3BucketDetail {
|
|
|
2191
2218
|
const filterSensitiveLog: (obj: S3BucketDetail) => any;
|
|
2192
2219
|
}
|
|
2193
2220
|
/**
|
|
2194
|
-
* <p>Contains information about the
|
|
2221
|
+
* <p>Contains information about the Amazon Web Services resource associated with the activity that prompted
|
|
2195
2222
|
* GuardDuty to generate a finding.</p>
|
|
2196
2223
|
*/
|
|
2197
2224
|
export interface Resource {
|
|
@@ -2210,7 +2237,7 @@ export interface Resource {
|
|
|
2210
2237
|
*/
|
|
2211
2238
|
InstanceDetails?: InstanceDetails;
|
|
2212
2239
|
/**
|
|
2213
|
-
* <p>The type of
|
|
2240
|
+
* <p>The type of Amazon Web Services resource.</p>
|
|
2214
2241
|
*/
|
|
2215
2242
|
ResourceType?: string;
|
|
2216
2243
|
}
|
|
@@ -2259,7 +2286,7 @@ export interface Service {
|
|
|
2259
2286
|
*/
|
|
2260
2287
|
ResourceRole?: string;
|
|
2261
2288
|
/**
|
|
2262
|
-
* <p>The name of the
|
|
2289
|
+
* <p>The name of the Amazon Web Services service (GuardDuty) that generated a finding.</p>
|
|
2263
2290
|
*/
|
|
2264
2291
|
ServiceName?: string;
|
|
2265
2292
|
/**
|
|
@@ -2311,7 +2338,7 @@ export interface Finding {
|
|
|
2311
2338
|
*/
|
|
2312
2339
|
Region: string | undefined;
|
|
2313
2340
|
/**
|
|
2314
|
-
* <p>Contains information about the
|
|
2341
|
+
* <p>Contains information about the Amazon Web Services resource associated with the activity that prompted
|
|
2315
2342
|
* GuardDuty to generate a finding.</p>
|
|
2316
2343
|
*/
|
|
2317
2344
|
Resource: Resource | undefined;
|
|
@@ -2611,8 +2638,7 @@ export interface GetIPSetResponse {
|
|
|
2611
2638
|
*/
|
|
2612
2639
|
Format: IpSetFormat | string | undefined;
|
|
2613
2640
|
/**
|
|
2614
|
-
* <p>The URI of the file that contains the IPSet
|
|
2615
|
-
* https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key.</p>
|
|
2641
|
+
* <p>The URI of the file that contains the IPSet.</p>
|
|
2616
2642
|
*/
|
|
2617
2643
|
Location: string | undefined;
|
|
2618
2644
|
/**
|
|
@@ -2844,8 +2870,7 @@ export interface GetThreatIntelSetResponse {
|
|
|
2844
2870
|
*/
|
|
2845
2871
|
Format: ThreatIntelSetFormat | string | undefined;
|
|
2846
2872
|
/**
|
|
2847
|
-
* <p>The URI of the file that contains the ThreatIntelSet.
|
|
2848
|
-
* https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key.</p>
|
|
2873
|
+
* <p>The URI of the file that contains the ThreatIntelSet. </p>
|
|
2849
2874
|
*/
|
|
2850
2875
|
Location: string | undefined;
|
|
2851
2876
|
/**
|
|
@@ -2990,11 +3015,11 @@ export declare namespace UsageDataSourceResult {
|
|
|
2990
3015
|
const filterSensitiveLog: (obj: UsageDataSourceResult) => any;
|
|
2991
3016
|
}
|
|
2992
3017
|
/**
|
|
2993
|
-
* <p>Contains information on the sum of usage based on an
|
|
3018
|
+
* <p>Contains information on the sum of usage based on an Amazon Web Services resource.</p>
|
|
2994
3019
|
*/
|
|
2995
3020
|
export interface UsageResourceResult {
|
|
2996
3021
|
/**
|
|
2997
|
-
* <p>The
|
|
3022
|
+
* <p>The Amazon Web Services resource that generated usage.</p>
|
|
2998
3023
|
*/
|
|
2999
3024
|
Resource?: string;
|
|
3000
3025
|
/**
|
|
@@ -3294,9 +3319,6 @@ export interface ListFindingsRequest {
|
|
|
3294
3319
|
* <p>service.action.networkConnectionAction.protocol</p>
|
|
3295
3320
|
* </li>
|
|
3296
3321
|
* <li>
|
|
3297
|
-
* <p>service.action.networkConnectionAction.remoteIpDetails.city.cityName</p>
|
|
3298
|
-
* </li>
|
|
3299
|
-
* <li>
|
|
3300
3322
|
* <p>service.action.networkConnectionAction.remoteIpDetails.country.countryName</p>
|
|
3301
3323
|
* </li>
|
|
3302
3324
|
* <li>
|
|
@@ -3934,8 +3956,7 @@ export interface UpdateIPSetRequest {
|
|
|
3934
3956
|
*/
|
|
3935
3957
|
Name?: string;
|
|
3936
3958
|
/**
|
|
3937
|
-
* <p>The updated URI of the file that contains the IPSet.
|
|
3938
|
-
* https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key.</p>
|
|
3959
|
+
* <p>The updated URI of the file that contains the IPSet. </p>
|
|
3939
3960
|
*/
|
|
3940
3961
|
Location?: string;
|
|
3941
3962
|
/**
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
2
|
import { GuardDutyClientConfig } from "./GuardDutyClient";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: GuardDutyClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
8
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
11
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
@@ -12,7 +13,7 @@ export declare const getRuntimeConfig: (config: GuardDutyClientConfig) => {
|
|
|
12
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
13
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
14
15
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
15
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
16
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
16
17
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
17
18
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
18
19
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
|
|
2
2
|
import { GuardDutyClientConfig } from "./GuardDutyClient";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: GuardDutyClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
8
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
11
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
11
|
-
credentialDefaultProvider: import("@aws-sdk/
|
|
12
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
12
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
13
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
14
15
|
region: string | import("@aws-sdk/types").Provider<string>;
|
|
15
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
16
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
16
17
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
17
18
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
18
19
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -25,6 +25,7 @@ export declare const getRuntimeConfig: (config: GuardDutyClientConfig) => {
|
|
|
25
25
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
26
26
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
27
27
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
28
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
28
29
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
29
30
|
tls?: boolean | undefined;
|
|
30
31
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
@@ -4,7 +4,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
|
|
|
4
4
|
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
|
-
import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
7
|
+
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
8
|
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { AcceptInvitationCommandInput, AcceptInvitationCommandOutput } from "./commands/AcceptInvitationCommand";
|
|
10
10
|
import { ArchiveFindingsCommandInput, ArchiveFindingsCommandOutput } from "./commands/ArchiveFindingsCommand";
|
|
@@ -109,6 +109,8 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
109
109
|
regionInfoProvider?: RegionInfoProvider;
|
|
110
110
|
|
|
111
111
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
112
|
+
|
|
113
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
112
114
|
}
|
|
113
115
|
declare type GuardDutyClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
114
116
|
|
|
@@ -26,10 +26,6 @@ export interface BadRequestException extends __SmithyException, $MetadataBearer
|
|
|
26
26
|
|
|
27
27
|
Type?: string;
|
|
28
28
|
}
|
|
29
|
-
export declare namespace BadRequestException {
|
|
30
|
-
|
|
31
|
-
const filterSensitiveLog: (obj: BadRequestException) => any;
|
|
32
|
-
}
|
|
33
29
|
|
|
34
30
|
export interface InternalServerErrorException extends __SmithyException, $MetadataBearer {
|
|
35
31
|
name: "InternalServerErrorException";
|
|
@@ -39,10 +35,6 @@ export interface InternalServerErrorException extends __SmithyException, $Metada
|
|
|
39
35
|
|
|
40
36
|
Type?: string;
|
|
41
37
|
}
|
|
42
|
-
export declare namespace InternalServerErrorException {
|
|
43
|
-
|
|
44
|
-
const filterSensitiveLog: (obj: InternalServerErrorException) => any;
|
|
45
|
-
}
|
|
46
38
|
|
|
47
39
|
export interface AccessControlList {
|
|
48
40
|
|
|
@@ -114,6 +106,17 @@ export declare namespace DomainDetails {
|
|
|
114
106
|
const filterSensitiveLog: (obj: DomainDetails) => any;
|
|
115
107
|
}
|
|
116
108
|
|
|
109
|
+
export interface RemoteAccountDetails {
|
|
110
|
+
|
|
111
|
+
AccountId?: string;
|
|
112
|
+
|
|
113
|
+
Affiliated?: boolean;
|
|
114
|
+
}
|
|
115
|
+
export declare namespace RemoteAccountDetails {
|
|
116
|
+
|
|
117
|
+
const filterSensitiveLog: (obj: RemoteAccountDetails) => any;
|
|
118
|
+
}
|
|
119
|
+
|
|
117
120
|
export interface City {
|
|
118
121
|
|
|
119
122
|
CityName?: string;
|
|
@@ -190,6 +193,8 @@ export interface AwsApiCallAction {
|
|
|
190
193
|
RemoteIpDetails?: RemoteIpDetails;
|
|
191
194
|
|
|
192
195
|
ServiceName?: string;
|
|
196
|
+
|
|
197
|
+
RemoteAccountDetails?: RemoteAccountDetails;
|
|
193
198
|
}
|
|
194
199
|
export declare namespace AwsApiCallAction {
|
|
195
200
|
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
2
|
import { GuardDutyClientConfig } from "./GuardDutyClient";
|
|
3
3
|
|
|
4
4
|
export declare const getRuntimeConfig: (config: GuardDutyClientConfig) => {
|
|
5
5
|
runtime: string;
|
|
6
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
6
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
7
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
8
9
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
@@ -10,7 +11,7 @@ export declare const getRuntimeConfig: (config: GuardDutyClientConfig) => {
|
|
|
10
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
11
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
12
13
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
13
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
14
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
14
15
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
15
16
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
16
17
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
|
|
2
2
|
import { GuardDutyClientConfig } from "./GuardDutyClient";
|
|
3
3
|
|
|
4
4
|
export declare const getRuntimeConfig: (config: GuardDutyClientConfig) => {
|
|
5
5
|
runtime: string;
|
|
6
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
6
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
7
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
8
9
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
9
|
-
credentialDefaultProvider: import("@aws-sdk/
|
|
10
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
10
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
11
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
12
13
|
region: string | import("@aws-sdk/types").Provider<string>;
|
|
13
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
14
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
14
15
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
15
16
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
16
17
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -23,6 +23,7 @@ export declare const getRuntimeConfig: (config: GuardDutyClientConfig) => {
|
|
|
23
23
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
24
24
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
25
25
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
26
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
26
27
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
27
28
|
tls?: boolean | undefined;
|
|
28
29
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|