@aws-sdk/client-guardduty 3.669.0 → 3.670.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/dist-cjs/index.js +1 -0
- package/dist-cjs/runtimeConfig.browser.js +1 -1
- package/dist-cjs/runtimeConfig.js +1 -1
- package/dist-es/protocols/Aws_restJson1.js +1 -0
- package/dist-es/runtimeConfig.browser.js +2 -2
- package/dist-es/runtimeConfig.js +2 -2
- package/dist-types/commands/GetFindingsCommand.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1 -0
- package/package.json +5 -5
package/dist-cjs/index.js
CHANGED
|
@@ -4231,6 +4231,7 @@ var de_NetworkConnectionAction = /* @__PURE__ */ __name((output, context) => {
|
|
|
4231
4231
|
Blocked: [, import_smithy_client.expectBoolean, `blocked`],
|
|
4232
4232
|
ConnectionDirection: [, import_smithy_client.expectString, `connectionDirection`],
|
|
4233
4233
|
LocalIpDetails: [, (_) => de_LocalIpDetails(_, context), `localIpDetails`],
|
|
4234
|
+
LocalNetworkInterface: [, import_smithy_client.expectString, `localNetworkInterface`],
|
|
4234
4235
|
LocalPortDetails: [, (_) => de_LocalPortDetails(_, context), `localPortDetails`],
|
|
4235
4236
|
Protocol: [, import_smithy_client.expectString, `protocol`],
|
|
4236
4237
|
RemoteIpDetails: [, (_) => de_RemoteIpDetails(_, context), `remoteIpDetails`],
|
|
@@ -25,7 +25,7 @@ const getRuntimeConfig = (config) => {
|
|
|
25
25
|
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_browser_1.calculateBodyLength,
|
|
26
26
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
27
27
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
28
|
-
(0, util_user_agent_browser_1.
|
|
28
|
+
(0, util_user_agent_browser_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
29
29
|
maxAttempts: config?.maxAttempts ?? util_retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
30
30
|
region: config?.region ?? (0, invalid_dependency_1.invalidProvider)("Region is missing"),
|
|
31
31
|
requestHandler: fetch_http_handler_1.FetchHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
@@ -31,7 +31,7 @@ const getRuntimeConfig = (config) => {
|
|
|
31
31
|
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
|
|
32
32
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,
|
|
33
33
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
34
|
-
(0, util_user_agent_node_1.
|
|
34
|
+
(0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
35
35
|
maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
36
36
|
region: config?.region ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
37
37
|
requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
@@ -3428,6 +3428,7 @@ const de_NetworkConnectionAction = (output, context) => {
|
|
|
3428
3428
|
Blocked: [, __expectBoolean, `blocked`],
|
|
3429
3429
|
ConnectionDirection: [, __expectString, `connectionDirection`],
|
|
3430
3430
|
LocalIpDetails: [, (_) => de_LocalIpDetails(_, context), `localIpDetails`],
|
|
3431
|
+
LocalNetworkInterface: [, __expectString, `localNetworkInterface`],
|
|
3431
3432
|
LocalPortDetails: [, (_) => de_LocalPortDetails(_, context), `localPortDetails`],
|
|
3432
3433
|
Protocol: [, __expectString, `protocol`],
|
|
3433
3434
|
RemoteIpDetails: [, (_) => de_RemoteIpDetails(_, context), `remoteIpDetails`],
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
2
|
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
3
|
-
import {
|
|
3
|
+
import { createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-browser";
|
|
4
4
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@smithy/config-resolver";
|
|
5
5
|
import { FetchHttpHandler as RequestHandler, streamCollector } from "@smithy/fetch-http-handler";
|
|
6
6
|
import { invalidProvider } from "@smithy/invalid-dependency";
|
|
@@ -21,7 +21,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
21
21
|
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
22
22
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
23
23
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
24
|
-
|
|
24
|
+
createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
25
25
|
maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS,
|
|
26
26
|
region: config?.region ?? invalidProvider("Region is missing"),
|
|
27
27
|
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
2
|
import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core";
|
|
3
3
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
4
|
-
import { NODE_APP_ID_CONFIG_OPTIONS,
|
|
4
|
+
import { NODE_APP_ID_CONFIG_OPTIONS, createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-node";
|
|
5
5
|
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@smithy/config-resolver";
|
|
6
6
|
import { Hash } from "@smithy/hash-node";
|
|
7
7
|
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry";
|
|
@@ -27,7 +27,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
27
27
|
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
28
28
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider,
|
|
29
29
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
30
|
-
|
|
30
|
+
createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
31
31
|
maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
32
32
|
region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
33
33
|
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
@@ -441,6 +441,7 @@ declare const GetFindingsCommand_base: {
|
|
|
441
441
|
* // IpAddressV4: "STRING_VALUE",
|
|
442
442
|
* // IpAddressV6: "STRING_VALUE",
|
|
443
443
|
* // },
|
|
444
|
+
* // LocalNetworkInterface: "STRING_VALUE",
|
|
444
445
|
* // RemoteIpDetails: {
|
|
445
446
|
* // City: {
|
|
446
447
|
* // CityName: "STRING_VALUE",
|
|
@@ -812,6 +812,11 @@ export interface NetworkConnectionAction {
|
|
|
812
812
|
* @public
|
|
813
813
|
*/
|
|
814
814
|
LocalIpDetails?: LocalIpDetails;
|
|
815
|
+
/**
|
|
816
|
+
* <p>The EC2 instance's local elastic network interface utilized for the connection.</p>
|
|
817
|
+
* @public
|
|
818
|
+
*/
|
|
819
|
+
LocalNetworkInterface?: string;
|
|
815
820
|
/**
|
|
816
821
|
* <p>The remote IP information of the connection.</p>
|
|
817
822
|
* @public
|
|
@@ -206,6 +206,7 @@ export interface NetworkConnectionAction {
|
|
|
206
206
|
LocalPortDetails?: LocalPortDetails;
|
|
207
207
|
Protocol?: string;
|
|
208
208
|
LocalIpDetails?: LocalIpDetails;
|
|
209
|
+
LocalNetworkInterface?: string;
|
|
209
210
|
RemoteIpDetails?: RemoteIpDetails;
|
|
210
211
|
RemotePortDetails?: RemotePortDetails;
|
|
211
212
|
}
|
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.
|
|
4
|
+
"version": "3.670.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-guardduty",
|
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.670.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.670.0",
|
|
25
25
|
"@aws-sdk/core": "3.667.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.670.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.667.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.667.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.667.0",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"@aws-sdk/region-config-resolver": "3.667.0",
|
|
32
32
|
"@aws-sdk/types": "3.667.0",
|
|
33
33
|
"@aws-sdk/util-endpoints": "3.667.0",
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.670.0",
|
|
35
35
|
"@aws-sdk/util-user-agent-node": "3.669.0",
|
|
36
36
|
"@smithy/config-resolver": "^3.0.9",
|
|
37
37
|
"@smithy/core": "^2.4.8",
|