@aws-sdk/client-guardduty 3.928.0 → 3.929.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 (111) hide show
  1. package/dist-cjs/index.js +13415 -5636
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/GuardDutyClient.js +2 -0
  4. package/dist-es/commands/AcceptAdministratorInvitationCommand.js +3 -9
  5. package/dist-es/commands/AcceptInvitationCommand.js +3 -9
  6. package/dist-es/commands/ArchiveFindingsCommand.js +3 -9
  7. package/dist-es/commands/CreateDetectorCommand.js +3 -9
  8. package/dist-es/commands/CreateFilterCommand.js +3 -9
  9. package/dist-es/commands/CreateIPSetCommand.js +3 -9
  10. package/dist-es/commands/CreateMalwareProtectionPlanCommand.js +3 -9
  11. package/dist-es/commands/CreateMembersCommand.js +3 -10
  12. package/dist-es/commands/CreatePublishingDestinationCommand.js +3 -9
  13. package/dist-es/commands/CreateSampleFindingsCommand.js +3 -9
  14. package/dist-es/commands/CreateThreatEntitySetCommand.js +3 -9
  15. package/dist-es/commands/CreateThreatIntelSetCommand.js +3 -9
  16. package/dist-es/commands/CreateTrustedEntitySetCommand.js +3 -9
  17. package/dist-es/commands/DeclineInvitationsCommand.js +3 -9
  18. package/dist-es/commands/DeleteDetectorCommand.js +3 -9
  19. package/dist-es/commands/DeleteFilterCommand.js +3 -9
  20. package/dist-es/commands/DeleteIPSetCommand.js +3 -9
  21. package/dist-es/commands/DeleteInvitationsCommand.js +3 -9
  22. package/dist-es/commands/DeleteMalwareProtectionPlanCommand.js +3 -9
  23. package/dist-es/commands/DeleteMembersCommand.js +3 -9
  24. package/dist-es/commands/DeletePublishingDestinationCommand.js +3 -9
  25. package/dist-es/commands/DeleteThreatEntitySetCommand.js +3 -9
  26. package/dist-es/commands/DeleteThreatIntelSetCommand.js +3 -9
  27. package/dist-es/commands/DeleteTrustedEntitySetCommand.js +3 -9
  28. package/dist-es/commands/DescribeMalwareScansCommand.js +3 -9
  29. package/dist-es/commands/DescribeOrganizationConfigurationCommand.js +3 -9
  30. package/dist-es/commands/DescribePublishingDestinationCommand.js +3 -9
  31. package/dist-es/commands/DisableOrganizationAdminAccountCommand.js +3 -9
  32. package/dist-es/commands/DisassociateFromAdministratorAccountCommand.js +3 -9
  33. package/dist-es/commands/DisassociateFromMasterAccountCommand.js +3 -9
  34. package/dist-es/commands/DisassociateMembersCommand.js +3 -9
  35. package/dist-es/commands/EnableOrganizationAdminAccountCommand.js +3 -9
  36. package/dist-es/commands/GetAdministratorAccountCommand.js +3 -9
  37. package/dist-es/commands/GetCoverageStatisticsCommand.js +3 -9
  38. package/dist-es/commands/GetDetectorCommand.js +3 -9
  39. package/dist-es/commands/GetFilterCommand.js +3 -9
  40. package/dist-es/commands/GetFindingsCommand.js +3 -10
  41. package/dist-es/commands/GetFindingsStatisticsCommand.js +3 -9
  42. package/dist-es/commands/GetIPSetCommand.js +3 -9
  43. package/dist-es/commands/GetInvitationsCountCommand.js +3 -9
  44. package/dist-es/commands/GetMalwareProtectionPlanCommand.js +3 -9
  45. package/dist-es/commands/GetMalwareScanSettingsCommand.js +3 -9
  46. package/dist-es/commands/GetMasterAccountCommand.js +3 -9
  47. package/dist-es/commands/GetMemberDetectorsCommand.js +3 -9
  48. package/dist-es/commands/GetMembersCommand.js +3 -10
  49. package/dist-es/commands/GetOrganizationStatisticsCommand.js +3 -9
  50. package/dist-es/commands/GetRemainingFreeTrialDaysCommand.js +3 -9
  51. package/dist-es/commands/GetThreatEntitySetCommand.js +3 -9
  52. package/dist-es/commands/GetThreatIntelSetCommand.js +3 -9
  53. package/dist-es/commands/GetTrustedEntitySetCommand.js +3 -9
  54. package/dist-es/commands/GetUsageStatisticsCommand.js +3 -9
  55. package/dist-es/commands/InviteMembersCommand.js +3 -9
  56. package/dist-es/commands/ListCoverageCommand.js +3 -9
  57. package/dist-es/commands/ListDetectorsCommand.js +3 -9
  58. package/dist-es/commands/ListFiltersCommand.js +3 -9
  59. package/dist-es/commands/ListFindingsCommand.js +3 -9
  60. package/dist-es/commands/ListIPSetsCommand.js +3 -9
  61. package/dist-es/commands/ListInvitationsCommand.js +3 -9
  62. package/dist-es/commands/ListMalwareProtectionPlansCommand.js +3 -9
  63. package/dist-es/commands/ListMembersCommand.js +3 -10
  64. package/dist-es/commands/ListOrganizationAdminAccountsCommand.js +3 -9
  65. package/dist-es/commands/ListPublishingDestinationsCommand.js +3 -9
  66. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  67. package/dist-es/commands/ListThreatEntitySetsCommand.js +3 -9
  68. package/dist-es/commands/ListThreatIntelSetsCommand.js +3 -9
  69. package/dist-es/commands/ListTrustedEntitySetsCommand.js +3 -9
  70. package/dist-es/commands/StartMalwareScanCommand.js +3 -9
  71. package/dist-es/commands/StartMonitoringMembersCommand.js +3 -9
  72. package/dist-es/commands/StopMonitoringMembersCommand.js +3 -9
  73. package/dist-es/commands/TagResourceCommand.js +3 -9
  74. package/dist-es/commands/UnarchiveFindingsCommand.js +3 -9
  75. package/dist-es/commands/UntagResourceCommand.js +3 -9
  76. package/dist-es/commands/UpdateDetectorCommand.js +3 -9
  77. package/dist-es/commands/UpdateFilterCommand.js +3 -9
  78. package/dist-es/commands/UpdateFindingsFeedbackCommand.js +3 -10
  79. package/dist-es/commands/UpdateIPSetCommand.js +3 -9
  80. package/dist-es/commands/UpdateMalwareProtectionPlanCommand.js +3 -9
  81. package/dist-es/commands/UpdateMalwareScanSettingsCommand.js +3 -9
  82. package/dist-es/commands/UpdateMemberDetectorsCommand.js +3 -9
  83. package/dist-es/commands/UpdateOrganizationConfigurationCommand.js +3 -9
  84. package/dist-es/commands/UpdatePublishingDestinationCommand.js +3 -9
  85. package/dist-es/commands/UpdateThreatEntitySetCommand.js +3 -9
  86. package/dist-es/commands/UpdateThreatIntelSetCommand.js +3 -9
  87. package/dist-es/commands/UpdateTrustedEntitySetCommand.js +3 -9
  88. package/dist-es/models/models_0.js +0 -113
  89. package/dist-es/models/models_1.js +0 -22
  90. package/dist-es/runtimeConfig.shared.js +2 -0
  91. package/dist-es/schemas/schemas_0.js +13208 -0
  92. package/dist-types/GuardDutyClient.d.ts +10 -1
  93. package/dist-types/models/models_0.d.ts +0 -88
  94. package/dist-types/models/models_1.d.ts +0 -20
  95. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  96. package/dist-types/runtimeConfig.d.ts +1 -0
  97. package/dist-types/runtimeConfig.native.d.ts +1 -0
  98. package/dist-types/runtimeConfig.shared.d.ts +2 -5
  99. package/dist-types/schemas/schemas_0.d.ts +599 -0
  100. package/dist-types/ts3.4/GuardDutyClient.d.ts +4 -0
  101. package/dist-types/ts3.4/models/models_0.d.ts +0 -50
  102. package/dist-types/ts3.4/models/models_1.d.ts +0 -13
  103. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  104. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  105. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  106. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  107. package/dist-types/ts3.4/schemas/schemas_0.d.ts +606 -0
  108. package/package.json +2 -3
  109. package/dist-es/protocols/Aws_restJson1.js +0 -4808
  110. package/dist-types/protocols/Aws_restJson1.d.ts +0 -758
  111. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -1013
@@ -5,7 +5,7 @@ import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-
5
5
  import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
6
6
  import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
7
7
  import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
8
- import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
8
+ import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, ClientProtocol, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, HttpRequest, HttpResponse, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
9
9
  import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
10
10
  import { AcceptAdministratorInvitationCommandInput, AcceptAdministratorInvitationCommandOutput } from "./commands/AcceptAdministratorInvitationCommand";
11
11
  import { AcceptInvitationCommandInput, AcceptInvitationCommandOutput } from "./commands/AcceptInvitationCommand";
@@ -225,6 +225,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
225
225
  * Optional extensions
226
226
  */
227
227
  extensions?: RuntimeExtension[];
228
+ /**
229
+ * The protocol controlling the message type (e.g. HTTP) and format (e.g. JSON)
230
+ * may be overridden. A default will always be set by the client.
231
+ * Available options depend on the service's supported protocols and will not be validated by
232
+ * the client.
233
+ * @alpha
234
+ *
235
+ */
236
+ protocol?: ClientProtocol<HttpRequest, HttpResponse>;
228
237
  /**
229
238
  * The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
230
239
  */
@@ -7310,91 +7310,3 @@ export interface FindingStatistics {
7310
7310
  */
7311
7311
  GroupedBySeverity?: SeverityStatistics[] | undefined;
7312
7312
  }
7313
- /**
7314
- * @internal
7315
- */
7316
- export declare const AccountDetailFilterSensitiveLog: (obj: AccountDetail) => any;
7317
- /**
7318
- * @internal
7319
- */
7320
- export declare const RemoteIpDetailsFilterSensitiveLog: (obj: RemoteIpDetails) => any;
7321
- /**
7322
- * @internal
7323
- */
7324
- export declare const AwsApiCallActionFilterSensitiveLog: (obj: AwsApiCallAction) => any;
7325
- /**
7326
- * @internal
7327
- */
7328
- export declare const KubernetesApiCallActionFilterSensitiveLog: (obj: KubernetesApiCallAction) => any;
7329
- /**
7330
- * @internal
7331
- */
7332
- export declare const LocalIpDetailsFilterSensitiveLog: (obj: LocalIpDetails) => any;
7333
- /**
7334
- * @internal
7335
- */
7336
- export declare const NetworkConnectionActionFilterSensitiveLog: (obj: NetworkConnectionAction) => any;
7337
- /**
7338
- * @internal
7339
- */
7340
- export declare const PortProbeDetailFilterSensitiveLog: (obj: PortProbeDetail) => any;
7341
- /**
7342
- * @internal
7343
- */
7344
- export declare const PortProbeActionFilterSensitiveLog: (obj: PortProbeAction) => any;
7345
- /**
7346
- * @internal
7347
- */
7348
- export declare const RdsLoginAttemptActionFilterSensitiveLog: (obj: RdsLoginAttemptAction) => any;
7349
- /**
7350
- * @internal
7351
- */
7352
- export declare const ActionFilterSensitiveLog: (obj: Action) => any;
7353
- /**
7354
- * @internal
7355
- */
7356
- export declare const CreateMembersRequestFilterSensitiveLog: (obj: CreateMembersRequest) => any;
7357
- /**
7358
- * @internal
7359
- */
7360
- export declare const PrivateIpAddressDetailsFilterSensitiveLog: (obj: PrivateIpAddressDetails) => any;
7361
- /**
7362
- * @internal
7363
- */
7364
- export declare const Ec2NetworkInterfaceFilterSensitiveLog: (obj: Ec2NetworkInterface) => any;
7365
- /**
7366
- * @internal
7367
- */
7368
- export declare const ResourceDataFilterSensitiveLog: (obj: ResourceData) => any;
7369
- /**
7370
- * @internal
7371
- */
7372
- export declare const ResourceV2FilterSensitiveLog: (obj: ResourceV2) => any;
7373
- /**
7374
- * @internal
7375
- */
7376
- export declare const SequenceFilterSensitiveLog: (obj: Sequence) => any;
7377
- /**
7378
- * @internal
7379
- */
7380
- export declare const DetectionFilterSensitiveLog: (obj: Detection) => any;
7381
- /**
7382
- * @internal
7383
- */
7384
- export declare const NetworkInterfaceFilterSensitiveLog: (obj: NetworkInterface) => any;
7385
- /**
7386
- * @internal
7387
- */
7388
- export declare const InstanceDetailsFilterSensitiveLog: (obj: InstanceDetails) => any;
7389
- /**
7390
- * @internal
7391
- */
7392
- export declare const ResourceFilterSensitiveLog: (obj: Resource) => any;
7393
- /**
7394
- * @internal
7395
- */
7396
- export declare const ServiceFilterSensitiveLog: (obj: Service) => any;
7397
- /**
7398
- * @internal
7399
- */
7400
- export declare const FindingFilterSensitiveLog: (obj: Finding) => any;
@@ -3150,23 +3150,3 @@ export interface UpdateTrustedEntitySetRequest {
3150
3150
  */
3151
3151
  export interface UpdateTrustedEntitySetResponse {
3152
3152
  }
3153
- /**
3154
- * @internal
3155
- */
3156
- export declare const GetFindingsResponseFilterSensitiveLog: (obj: GetFindingsResponse) => any;
3157
- /**
3158
- * @internal
3159
- */
3160
- export declare const MemberFilterSensitiveLog: (obj: Member) => any;
3161
- /**
3162
- * @internal
3163
- */
3164
- export declare const GetMembersResponseFilterSensitiveLog: (obj: GetMembersResponse) => any;
3165
- /**
3166
- * @internal
3167
- */
3168
- export declare const ListMembersResponseFilterSensitiveLog: (obj: ListMembersResponse) => any;
3169
- /**
3170
- * @internal
3171
- */
3172
- export declare const UpdateFindingsFeedbackRequestFilterSensitiveLog: (obj: UpdateFindingsFeedbackRequest) => any;
@@ -29,6 +29,7 @@ export declare const getRuntimeConfig: (config: GuardDutyClientConfig) => {
29
29
  profile?: string;
30
30
  logger: import("@smithy/types").Logger;
31
31
  extensions: import("./runtimeExtensions").RuntimeExtension[];
32
+ protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
32
33
  customUserAgent?: string | import("@smithy/types").UserAgent;
33
34
  userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
34
35
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
@@ -31,6 +31,7 @@ export declare const getRuntimeConfig: (config: GuardDutyClientConfig) => {
31
31
  profile?: string;
32
32
  logger: import("@smithy/types").Logger;
33
33
  extensions: import("./runtimeExtensions").RuntimeExtension[];
34
+ protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
34
35
  customUserAgent?: string | import("@smithy/types").UserAgent;
35
36
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
36
37
  endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
@@ -27,6 +27,7 @@ export declare const getRuntimeConfig: (config: GuardDutyClientConfig) => {
27
27
  retryMode: string | import("@smithy/types").Provider<string>;
28
28
  logger: import("@smithy/types").Logger;
29
29
  extensions: import("./runtimeExtensions").RuntimeExtension[];
30
+ protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
30
31
  defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
31
32
  customUserAgent?: string | import("@smithy/types").UserAgent;
32
33
  userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
@@ -8,16 +8,13 @@ export declare const getRuntimeConfig: (config: GuardDutyClientConfig) => {
8
8
  base64Encoder: (_input: Uint8Array | string) => string;
9
9
  disableHostPrefix: boolean;
10
10
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
11
- logger
12
- /**
13
- * @internal
14
- */
15
- ?: import("@smithy/types").Logger;
11
+ logger?: import("@smithy/types").Logger;
16
12
  }) => import("@smithy/types").EndpointV2;
17
13
  extensions: import("./runtimeExtensions").RuntimeExtension[];
18
14
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").GuardDutyHttpAuthSchemeProvider;
19
15
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
20
16
  logger: import("@smithy/types").Logger;
17
+ protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
21
18
  serviceId: string;
22
19
  urlParser: import("@smithy/types").UrlParser;
23
20
  utf8Decoder: import("@smithy/types").Decoder;