@aws-sdk/client-guardduty 3.301.0 → 3.303.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.
Files changed (76) hide show
  1. package/README.md +25 -10
  2. package/dist-cjs/GuardDuty.js +30 -0
  3. package/dist-cjs/commands/GetCoverageStatisticsCommand.js +45 -0
  4. package/dist-cjs/commands/ListCoverageCommand.js +45 -0
  5. package/dist-cjs/commands/index.js +2 -0
  6. package/dist-cjs/models/models_0.js +205 -198
  7. package/dist-cjs/pagination/ListCoveragePaginator.js +29 -0
  8. package/dist-cjs/pagination/index.js +1 -0
  9. package/dist-cjs/protocols/Aws_restJson1.js +462 -3
  10. package/dist-es/GuardDuty.js +30 -0
  11. package/dist-es/commands/GetCoverageStatisticsCommand.js +41 -0
  12. package/dist-es/commands/ListCoverageCommand.js +41 -0
  13. package/dist-es/commands/index.js +2 -0
  14. package/dist-es/models/models_0.js +204 -197
  15. package/dist-es/pagination/ListCoveragePaginator.js +25 -0
  16. package/dist-es/pagination/index.js +1 -0
  17. package/dist-es/protocols/Aws_restJson1.js +455 -0
  18. package/dist-types/GuardDuty.d.ts +75 -47
  19. package/dist-types/GuardDutyClient.d.ts +13 -12
  20. package/dist-types/commands/AcceptAdministratorInvitationCommand.d.ts +2 -1
  21. package/dist-types/commands/ArchiveFindingsCommand.d.ts +2 -2
  22. package/dist-types/commands/CreateDetectorCommand.d.ts +7 -1
  23. package/dist-types/commands/CreateMembersCommand.d.ts +3 -3
  24. package/dist-types/commands/CreateThreatIntelSetCommand.d.ts +2 -2
  25. package/dist-types/commands/DeclineInvitationsCommand.d.ts +2 -2
  26. package/dist-types/commands/DeleteInvitationsCommand.d.ts +2 -2
  27. package/dist-types/commands/DeleteMembersCommand.d.ts +5 -4
  28. package/dist-types/commands/DisassociateFromAdministratorAccountCommand.d.ts +3 -2
  29. package/dist-types/commands/DisassociateMembersCommand.d.ts +5 -3
  30. package/dist-types/commands/GetCoverageStatisticsCommand.d.ts +90 -0
  31. package/dist-types/commands/GetMembersCommand.d.ts +2 -2
  32. package/dist-types/commands/GetRemainingFreeTrialDaysCommand.d.ts +2 -1
  33. package/dist-types/commands/InviteMembersCommand.d.ts +2 -2
  34. package/dist-types/commands/ListCoverageCommand.d.ts +93 -0
  35. package/dist-types/commands/ListIPSetsCommand.d.ts +2 -2
  36. package/dist-types/commands/ListMembersCommand.d.ts +2 -1
  37. package/dist-types/commands/ListThreatIntelSetsCommand.d.ts +2 -2
  38. package/dist-types/commands/StartMonitoringMembersCommand.d.ts +1 -2
  39. package/dist-types/commands/StopMonitoringMembersCommand.d.ts +3 -2
  40. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  41. package/dist-types/commands/UpdateDetectorCommand.d.ts +8 -2
  42. package/dist-types/commands/UpdateFilterCommand.d.ts +1 -1
  43. package/dist-types/commands/UpdateFindingsFeedbackCommand.d.ts +1 -1
  44. package/dist-types/commands/UpdateIPSetCommand.d.ts +1 -1
  45. package/dist-types/commands/UpdateMalwareScanSettingsCommand.d.ts +1 -1
  46. package/dist-types/commands/UpdateMemberDetectorsCommand.d.ts +8 -2
  47. package/dist-types/commands/UpdateOrganizationConfigurationCommand.d.ts +10 -4
  48. package/dist-types/commands/UpdatePublishingDestinationCommand.d.ts +1 -1
  49. package/dist-types/commands/UpdateThreatIntelSetCommand.d.ts +1 -2
  50. package/dist-types/commands/index.d.ts +2 -0
  51. package/dist-types/models/models_0.d.ts +1105 -691
  52. package/dist-types/models/models_1.d.ts +472 -0
  53. package/dist-types/pagination/ListCoveragePaginator.d.ts +7 -0
  54. package/dist-types/pagination/index.d.ts +1 -0
  55. package/dist-types/protocols/Aws_restJson1.d.ts +6 -0
  56. package/dist-types/ts3.4/GuardDuty.d.ts +34 -0
  57. package/dist-types/ts3.4/GuardDutyClient.d.ts +12 -0
  58. package/dist-types/ts3.4/commands/GetCoverageStatisticsCommand.d.ts +41 -0
  59. package/dist-types/ts3.4/commands/ListCoverageCommand.d.ts +34 -0
  60. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
  61. package/dist-types/ts3.4/commands/UpdateDetectorCommand.d.ts +1 -1
  62. package/dist-types/ts3.4/commands/UpdateFilterCommand.d.ts +1 -1
  63. package/dist-types/ts3.4/commands/UpdateFindingsFeedbackCommand.d.ts +1 -1
  64. package/dist-types/ts3.4/commands/UpdateIPSetCommand.d.ts +1 -1
  65. package/dist-types/ts3.4/commands/UpdateMalwareScanSettingsCommand.d.ts +1 -1
  66. package/dist-types/ts3.4/commands/UpdateMemberDetectorsCommand.d.ts +1 -1
  67. package/dist-types/ts3.4/commands/UpdateOrganizationConfigurationCommand.d.ts +1 -1
  68. package/dist-types/ts3.4/commands/UpdatePublishingDestinationCommand.d.ts +1 -1
  69. package/dist-types/ts3.4/commands/UpdateThreatIntelSetCommand.d.ts +4 -2
  70. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  71. package/dist-types/ts3.4/models/models_0.d.ts +396 -272
  72. package/dist-types/ts3.4/models/models_1.d.ts +133 -0
  73. package/dist-types/ts3.4/pagination/ListCoveragePaginator.d.ts +11 -0
  74. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  75. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
  76. package/package.json +34 -34
@@ -1 +1,134 @@
1
+ import {
2
+ AutoEnableMembers,
3
+ DataSourceConfigurations,
4
+ DestinationProperties,
5
+ DetectorFeatureConfiguration,
6
+ EbsSnapshotPreservation,
7
+ FeatureStatus,
8
+ Feedback,
9
+ FilterAction,
10
+ FindingCriteria,
11
+ FindingPublishingFrequency,
12
+ OrgFeature,
13
+ OrgFeatureAdditionalConfiguration,
14
+ OrgFeatureStatus,
15
+ ScanResourceCriteria,
16
+ UnprocessedAccount,
17
+ } from "./models_0";
18
+ export interface UntagResourceRequest {
19
+ ResourceArn: string | undefined;
20
+ TagKeys: string[] | undefined;
21
+ }
22
+ export interface UntagResourceResponse {}
23
+ export interface UpdateDetectorRequest {
24
+ DetectorId: string | undefined;
25
+ Enable?: boolean;
26
+ FindingPublishingFrequency?: FindingPublishingFrequency | string;
27
+ DataSources?: DataSourceConfigurations;
28
+ Features?: DetectorFeatureConfiguration[];
29
+ }
30
+ export interface UpdateDetectorResponse {}
31
+ export interface UpdateFilterRequest {
32
+ DetectorId: string | undefined;
33
+ FilterName: string | undefined;
34
+ Description?: string;
35
+ Action?: FilterAction | string;
36
+ Rank?: number;
37
+ FindingCriteria?: FindingCriteria;
38
+ }
39
+ export interface UpdateFilterResponse {
40
+ Name: string | undefined;
41
+ }
42
+ export interface UpdateFindingsFeedbackRequest {
43
+ DetectorId: string | undefined;
44
+ FindingIds: string[] | undefined;
45
+ Feedback: Feedback | string | undefined;
46
+ Comments?: string;
47
+ }
48
+ export interface UpdateFindingsFeedbackResponse {}
49
+ export interface UpdateIPSetRequest {
50
+ DetectorId: string | undefined;
51
+ IpSetId: string | undefined;
52
+ Name?: string;
53
+ Location?: string;
54
+ Activate?: boolean;
55
+ }
56
+ export interface UpdateIPSetResponse {}
57
+ export interface UpdateMalwareScanSettingsRequest {
58
+ DetectorId: string | undefined;
59
+ ScanResourceCriteria?: ScanResourceCriteria;
60
+ EbsSnapshotPreservation?: EbsSnapshotPreservation | string;
61
+ }
62
+ export interface UpdateMalwareScanSettingsResponse {}
63
+ export interface MemberAdditionalConfiguration {
64
+ Name?: OrgFeatureAdditionalConfiguration | string;
65
+ Status?: FeatureStatus | string;
66
+ }
67
+ export interface MemberFeaturesConfiguration {
68
+ Name?: OrgFeature | string;
69
+ Status?: FeatureStatus | string;
70
+ AdditionalConfiguration?: MemberAdditionalConfiguration[];
71
+ }
72
+ export interface UpdateMemberDetectorsRequest {
73
+ DetectorId: string | undefined;
74
+ AccountIds: string[] | undefined;
75
+ DataSources?: DataSourceConfigurations;
76
+ Features?: MemberFeaturesConfiguration[];
77
+ }
78
+ export interface UpdateMemberDetectorsResponse {
79
+ UnprocessedAccounts: UnprocessedAccount[] | undefined;
80
+ }
81
+ export interface OrganizationKubernetesAuditLogsConfiguration {
82
+ AutoEnable: boolean | undefined;
83
+ }
84
+ export interface OrganizationKubernetesConfiguration {
85
+ AuditLogs: OrganizationKubernetesAuditLogsConfiguration | undefined;
86
+ }
87
+ export interface OrganizationEbsVolumes {
88
+ AutoEnable?: boolean;
89
+ }
90
+ export interface OrganizationScanEc2InstanceWithFindings {
91
+ EbsVolumes?: OrganizationEbsVolumes;
92
+ }
93
+ export interface OrganizationMalwareProtectionConfiguration {
94
+ ScanEc2InstanceWithFindings?: OrganizationScanEc2InstanceWithFindings;
95
+ }
96
+ export interface OrganizationS3LogsConfiguration {
97
+ AutoEnable: boolean | undefined;
98
+ }
99
+ export interface OrganizationDataSourceConfigurations {
100
+ S3Logs?: OrganizationS3LogsConfiguration;
101
+ Kubernetes?: OrganizationKubernetesConfiguration;
102
+ MalwareProtection?: OrganizationMalwareProtectionConfiguration;
103
+ }
104
+ export interface OrganizationAdditionalConfiguration {
105
+ Name?: OrgFeatureAdditionalConfiguration | string;
106
+ AutoEnable?: OrgFeatureStatus | string;
107
+ }
108
+ export interface OrganizationFeatureConfiguration {
109
+ Name?: OrgFeature | string;
110
+ AutoEnable?: OrgFeatureStatus | string;
111
+ AdditionalConfiguration?: OrganizationAdditionalConfiguration[];
112
+ }
113
+ export interface UpdateOrganizationConfigurationRequest {
114
+ DetectorId: string | undefined;
115
+ AutoEnable?: boolean;
116
+ DataSources?: OrganizationDataSourceConfigurations;
117
+ Features?: OrganizationFeatureConfiguration[];
118
+ AutoEnableOrganizationMembers?: AutoEnableMembers | string;
119
+ }
120
+ export interface UpdateOrganizationConfigurationResponse {}
121
+ export interface UpdatePublishingDestinationRequest {
122
+ DetectorId: string | undefined;
123
+ DestinationId: string | undefined;
124
+ DestinationProperties?: DestinationProperties;
125
+ }
126
+ export interface UpdatePublishingDestinationResponse {}
127
+ export interface UpdateThreatIntelSetRequest {
128
+ DetectorId: string | undefined;
129
+ ThreatIntelSetId: string | undefined;
130
+ Name?: string;
131
+ Location?: string;
132
+ Activate?: boolean;
133
+ }
1
134
  export interface UpdateThreatIntelSetResponse {}
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import {
3
+ ListCoverageCommandInput,
4
+ ListCoverageCommandOutput,
5
+ } from "../commands/ListCoverageCommand";
6
+ import { GuardDutyPaginationConfiguration } from "./Interfaces";
7
+ export declare function paginateListCoverage(
8
+ config: GuardDutyPaginationConfiguration,
9
+ input: ListCoverageCommandInput,
10
+ ...additionalArguments: any
11
+ ): Paginator<ListCoverageCommandOutput>;
@@ -2,6 +2,7 @@ export * from "./DescribeMalwareScansPaginator";
2
2
  export * from "./DescribeOrganizationConfigurationPaginator";
3
3
  export * from "./GetUsageStatisticsPaginator";
4
4
  export * from "./Interfaces";
5
+ export * from "./ListCoveragePaginator";
5
6
  export * from "./ListDetectorsPaginator";
6
7
  export * from "./ListFiltersPaginator";
7
8
  export * from "./ListFindingsPaginator";
@@ -111,6 +111,10 @@ import {
111
111
  GetAdministratorAccountCommandInput,
112
112
  GetAdministratorAccountCommandOutput,
113
113
  } from "../commands/GetAdministratorAccountCommand";
114
+ import {
115
+ GetCoverageStatisticsCommandInput,
116
+ GetCoverageStatisticsCommandOutput,
117
+ } from "../commands/GetCoverageStatisticsCommand";
114
118
  import {
115
119
  GetDetectorCommandInput,
116
120
  GetDetectorCommandOutput,
@@ -167,6 +171,10 @@ import {
167
171
  InviteMembersCommandInput,
168
172
  InviteMembersCommandOutput,
169
173
  } from "../commands/InviteMembersCommand";
174
+ import {
175
+ ListCoverageCommandInput,
176
+ ListCoverageCommandOutput,
177
+ } from "../commands/ListCoverageCommand";
170
178
  import {
171
179
  ListDetectorsCommandInput,
172
180
  ListDetectorsCommandOutput,
@@ -371,6 +379,10 @@ export declare const serializeAws_restJson1GetAdministratorAccountCommand: (
371
379
  input: GetAdministratorAccountCommandInput,
372
380
  context: __SerdeContext
373
381
  ) => Promise<__HttpRequest>;
382
+ export declare const serializeAws_restJson1GetCoverageStatisticsCommand: (
383
+ input: GetCoverageStatisticsCommandInput,
384
+ context: __SerdeContext
385
+ ) => Promise<__HttpRequest>;
374
386
  export declare const serializeAws_restJson1GetDetectorCommand: (
375
387
  input: GetDetectorCommandInput,
376
388
  context: __SerdeContext
@@ -427,6 +439,10 @@ export declare const serializeAws_restJson1InviteMembersCommand: (
427
439
  input: InviteMembersCommandInput,
428
440
  context: __SerdeContext
429
441
  ) => Promise<__HttpRequest>;
442
+ export declare const serializeAws_restJson1ListCoverageCommand: (
443
+ input: ListCoverageCommandInput,
444
+ context: __SerdeContext
445
+ ) => Promise<__HttpRequest>;
430
446
  export declare const serializeAws_restJson1ListDetectorsCommand: (
431
447
  input: ListDetectorsCommandInput,
432
448
  context: __SerdeContext
@@ -631,6 +647,10 @@ export declare const deserializeAws_restJson1GetAdministratorAccountCommand: (
631
647
  output: __HttpResponse,
632
648
  context: __SerdeContext
633
649
  ) => Promise<GetAdministratorAccountCommandOutput>;
650
+ export declare const deserializeAws_restJson1GetCoverageStatisticsCommand: (
651
+ output: __HttpResponse,
652
+ context: __SerdeContext
653
+ ) => Promise<GetCoverageStatisticsCommandOutput>;
634
654
  export declare const deserializeAws_restJson1GetDetectorCommand: (
635
655
  output: __HttpResponse,
636
656
  context: __SerdeContext
@@ -687,6 +707,10 @@ export declare const deserializeAws_restJson1InviteMembersCommand: (
687
707
  output: __HttpResponse,
688
708
  context: __SerdeContext
689
709
  ) => Promise<InviteMembersCommandOutput>;
710
+ export declare const deserializeAws_restJson1ListCoverageCommand: (
711
+ output: __HttpResponse,
712
+ context: __SerdeContext
713
+ ) => Promise<ListCoverageCommandOutput>;
690
714
  export declare const deserializeAws_restJson1ListDetectorsCommand: (
691
715
  output: __HttpResponse,
692
716
  context: __SerdeContext
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-guardduty",
3
3
  "description": "AWS SDK for JavaScript Guardduty Client for Node.js, Browser and React Native",
4
- "version": "3.301.0",
4
+ "version": "3.303.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,43 +21,43 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.301.0",
25
- "@aws-sdk/config-resolver": "3.300.0",
26
- "@aws-sdk/credential-provider-node": "3.301.0",
27
- "@aws-sdk/fetch-http-handler": "3.296.0",
28
- "@aws-sdk/hash-node": "3.296.0",
29
- "@aws-sdk/invalid-dependency": "3.296.0",
30
- "@aws-sdk/middleware-content-length": "3.296.0",
31
- "@aws-sdk/middleware-endpoint": "3.299.0",
32
- "@aws-sdk/middleware-host-header": "3.296.0",
33
- "@aws-sdk/middleware-logger": "3.296.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.300.0",
36
- "@aws-sdk/middleware-serde": "3.296.0",
37
- "@aws-sdk/middleware-signing": "3.299.0",
38
- "@aws-sdk/middleware-stack": "3.296.0",
39
- "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.300.0",
41
- "@aws-sdk/node-http-handler": "3.296.0",
42
- "@aws-sdk/protocol-http": "3.296.0",
43
- "@aws-sdk/smithy-client": "3.296.0",
44
- "@aws-sdk/types": "3.296.0",
45
- "@aws-sdk/url-parser": "3.296.0",
46
- "@aws-sdk/util-base64": "3.295.0",
47
- "@aws-sdk/util-body-length-browser": "3.295.0",
48
- "@aws-sdk/util-body-length-node": "3.295.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
- "@aws-sdk/util-endpoints": "3.296.0",
52
- "@aws-sdk/util-retry": "3.296.0",
53
- "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.300.0",
55
- "@aws-sdk/util-utf8": "3.295.0",
24
+ "@aws-sdk/client-sts": "3.303.0",
25
+ "@aws-sdk/config-resolver": "3.303.0",
26
+ "@aws-sdk/credential-provider-node": "3.303.0",
27
+ "@aws-sdk/fetch-http-handler": "3.303.0",
28
+ "@aws-sdk/hash-node": "3.303.0",
29
+ "@aws-sdk/invalid-dependency": "3.303.0",
30
+ "@aws-sdk/middleware-content-length": "3.303.0",
31
+ "@aws-sdk/middleware-endpoint": "3.303.0",
32
+ "@aws-sdk/middleware-host-header": "3.303.0",
33
+ "@aws-sdk/middleware-logger": "3.303.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.303.0",
35
+ "@aws-sdk/middleware-retry": "3.303.0",
36
+ "@aws-sdk/middleware-serde": "3.303.0",
37
+ "@aws-sdk/middleware-signing": "3.303.0",
38
+ "@aws-sdk/middleware-stack": "3.303.0",
39
+ "@aws-sdk/middleware-user-agent": "3.303.0",
40
+ "@aws-sdk/node-config-provider": "3.303.0",
41
+ "@aws-sdk/node-http-handler": "3.303.0",
42
+ "@aws-sdk/protocol-http": "3.303.0",
43
+ "@aws-sdk/smithy-client": "3.303.0",
44
+ "@aws-sdk/types": "3.303.0",
45
+ "@aws-sdk/url-parser": "3.303.0",
46
+ "@aws-sdk/util-base64": "3.303.0",
47
+ "@aws-sdk/util-body-length-browser": "3.303.0",
48
+ "@aws-sdk/util-body-length-node": "3.303.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.303.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.303.0",
51
+ "@aws-sdk/util-endpoints": "3.303.0",
52
+ "@aws-sdk/util-retry": "3.303.0",
53
+ "@aws-sdk/util-user-agent-browser": "3.303.0",
54
+ "@aws-sdk/util-user-agent-node": "3.303.0",
55
+ "@aws-sdk/util-utf8": "3.303.0",
56
56
  "tslib": "^2.5.0",
57
57
  "uuid": "^8.3.2"
58
58
  },
59
59
  "devDependencies": {
60
- "@aws-sdk/service-client-documentation-generator": "3.295.0",
60
+ "@aws-sdk/service-client-documentation-generator": "3.303.0",
61
61
  "@tsconfig/node14": "1.0.3",
62
62
  "@types/node": "^14.14.31",
63
63
  "@types/uuid": "^8.3.0",