@aws-sdk/client-securityhub 3.208.0 → 3.210.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.
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
4
5
  const url_parser_1 = require("@aws-sdk/url-parser");
5
6
  const util_base64_1 = require("@aws-sdk/util-base64");
6
7
  const endpointResolver_1 = require("./endpoint/endpointResolver");
@@ -10,7 +11,7 @@ const getRuntimeConfig = (config) => ({
10
11
  base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64,
11
12
  disableHostPrefix: config?.disableHostPrefix ?? false,
12
13
  endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,
13
- logger: config?.logger ?? {},
14
+ logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
14
15
  serviceId: config?.serviceId ?? "SecurityHub",
15
16
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
16
17
  });
@@ -1,3 +1,4 @@
1
+ import { NoOpLogger } from "@aws-sdk/smithy-client";
1
2
  import { parseUrl } from "@aws-sdk/url-parser";
2
3
  import { fromBase64, toBase64 } from "@aws-sdk/util-base64";
3
4
  import { defaultEndpointResolver } from "./endpoint/endpointResolver";
@@ -7,7 +8,7 @@ export const getRuntimeConfig = (config) => ({
7
8
  base64Encoder: config?.base64Encoder ?? toBase64,
8
9
  disableHostPrefix: config?.disableHostPrefix ?? false,
9
10
  endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
10
- logger: config?.logger ?? {},
11
+ logger: config?.logger ?? new NoOpLogger(),
11
12
  serviceId: config?.serviceId ?? "SecurityHub",
12
13
  urlParser: config?.urlParser ?? parseUrl,
13
14
  });
@@ -1404,7 +1404,7 @@ export interface AwsBackupBackupPlanLifecycleDetails {
1404
1404
  MoveToColdStorageAfterDays?: number;
1405
1405
  }
1406
1406
  /**
1407
- * <p>An array of <code>CopyAction</code> objects, which contains the details of the copy operation.
1407
+ * <p>An array of <code>CopyAction</code> objects, each of which contains details of the copy operation.
1408
1408
  * </p>
1409
1409
  */
1410
1410
  export interface AwsBackupBackupPlanRuleCopyActionsDetails {
@@ -1414,7 +1414,10 @@ export interface AwsBackupBackupPlanRuleCopyActionsDetails {
1414
1414
  */
1415
1415
  DestinationBackupVaultArn?: string;
1416
1416
  /**
1417
- * <p>Defines when a protected resource is transitioned to cold storage and when it expires. Backup transitions and expires backups automatically according to the lifecycle that you define. If you do not specify a lifecycle, Backup applies the lifecycle policy of the source backup to the destination backup.</p>
1417
+ * <p>Defines when a protected resource is transitioned to cold storage and when it expires.
1418
+ * Backup transitions and expires backups automatically according to the
1419
+ * lifecycle that you define. If you do not specify a lifecycle, Backup applies
1420
+ * the lifecycle policy of the source backup to the destination backup.</p>
1418
1421
  * <p>Backups transitioned to cold storage must be stored in cold storage for a minimum of 90 days.</p>
1419
1422
  */
1420
1423
  Lifecycle?: AwsBackupBackupPlanLifecycleDetails;
@@ -1425,7 +1428,7 @@ export interface AwsBackupBackupPlanRuleCopyActionsDetails {
1425
1428
  */
1426
1429
  export interface AwsBackupBackupPlanRuleDetails {
1427
1430
  /**
1428
- * <p>The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the Amazon Web Services account used to create them and the Amazon Web Services Region where they are created. They consist of letters, numbers, and hyphens.
1431
+ * <p>The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the Amazon Web Services account used to create them and the Amazon Web Services Region where they are created. They consist of letters, numbers, and hyphens.
1429
1432
  * </p>
1430
1433
  */
1431
1434
  TargetBackupVault?: string;
@@ -1440,8 +1443,7 @@ export interface AwsBackupBackupPlanRuleDetails {
1440
1443
  */
1441
1444
  ScheduleExpression?: string;
1442
1445
  /**
1443
- * <p>A display name for a backup rule. Must contain 1 to 50 alphanumeric or '-_.' characters.
1444
- * </p>
1446
+ * <p>A display name for a backup rule. Must contain 1 to 50 alphanumeric or '-_.' characters. </p>
1445
1447
  */
1446
1448
  RuleName?: string;
1447
1449
  /**
@@ -1460,8 +1462,8 @@ export interface AwsBackupBackupPlanRuleDetails {
1460
1462
  */
1461
1463
  CompletionWindowMinutes?: number;
1462
1464
  /**
1463
- * <p>An array of <code>CopyAction</code> objects, which contains the details of the copy operation.
1464
- * </p>
1465
+ * <p>An array of <code>CopyAction</code> objects, each of which contains details of the
1466
+ * copy operation. </p>
1465
1467
  */
1466
1468
  CopyActions?: AwsBackupBackupPlanRuleCopyActionsDetails[];
1467
1469
  /**
@@ -6968,8 +6968,8 @@ export interface CreateFindingAggregatorRequest {
6968
6968
  */
6969
6969
  RegionLinkingMode: string | undefined;
6970
6970
  /**
6971
- * <p>If <code>RegionLinkingMode</code> is <code>ALL_REGIONS_EXCEPT_SPECIFIED</code>, then this is a comma-separated list of Regions that do not aggregate findings to the aggregation Region.</p>
6972
- * <p>If <code>RegionLinkingMode</code> is <code>SPECIFIED_REGIONS</code>, then this is a comma-separated list of Regions that do aggregate findings to the aggregation Region.
6971
+ * <p>If <code>RegionLinkingMode</code> is <code>ALL_REGIONS_EXCEPT_SPECIFIED</code>, then this is a space-separated list of Regions that do not aggregate findings to the aggregation Region.</p>
6972
+ * <p>If <code>RegionLinkingMode</code> is <code>SPECIFIED_REGIONS</code>, then this is a space-separated list of Regions that do aggregate findings to the aggregation Region.
6973
6973
  * </p>
6974
6974
  */
6975
6975
  Regions?: string[];
@@ -214,8 +214,8 @@ export interface UpdateFindingAggregatorRequest {
214
214
  */
215
215
  RegionLinkingMode: string | undefined;
216
216
  /**
217
- * <p>If <code>RegionLinkingMode</code> is <code>ALL_REGIONS_EXCEPT_SPECIFIED</code>, then this is a comma-separated list of Regions that do not aggregate findings to the aggregation Region.</p>
218
- * <p>If <code>RegionLinkingMode</code> is <code>SPECIFIED_REGIONS</code>, then this is a comma-separated list of Regions that do aggregate findings to the aggregation Region.</p>
217
+ * <p>If <code>RegionLinkingMode</code> is <code>ALL_REGIONS_EXCEPT_SPECIFIED</code>, then this is a space-separated list of Regions that do not aggregate findings to the aggregation Region.</p>
218
+ * <p>If <code>RegionLinkingMode</code> is <code>SPECIFIED_REGIONS</code>, then this is a space-separated list of Regions that do aggregate findings to the aggregation Region.</p>
219
219
  */
220
220
  Regions?: string[];
221
221
  }
@@ -1,4 +1,3 @@
1
- import { Logger as __Logger } from "@aws-sdk/types";
2
1
  import { SecurityHubClientConfig } from "./SecurityHubClient";
3
2
  /**
4
3
  * @internal
@@ -9,9 +8,9 @@ export declare const getRuntimeConfig: (config: SecurityHubClientConfig) => {
9
8
  base64Encoder: import("@aws-sdk/types").Encoder;
10
9
  disableHostPrefix: boolean;
11
10
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
12
- logger?: __Logger | undefined;
11
+ logger?: import("@aws-sdk/types").Logger | undefined;
13
12
  }) => import("@aws-sdk/types").EndpointV2;
14
- logger: __Logger;
13
+ logger: import("@aws-sdk/types").Logger;
15
14
  serviceId: string;
16
15
  urlParser: import("@aws-sdk/types").UrlParser;
17
16
  };
@@ -1,4 +1,3 @@
1
- import { Logger as __Logger } from "@aws-sdk/types";
2
1
  import { SecurityHubClientConfig } from "./SecurityHubClient";
3
2
  export declare const getRuntimeConfig: (config: SecurityHubClientConfig) => {
4
3
  apiVersion: string;
@@ -8,10 +7,10 @@ export declare const getRuntimeConfig: (config: SecurityHubClientConfig) => {
8
7
  endpointProvider: (
9
8
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
10
9
  context?: {
11
- logger?: __Logger | undefined;
10
+ logger?: import("@aws-sdk/types").Logger | undefined;
12
11
  }
13
12
  ) => import("@aws-sdk/types").EndpointV2;
14
- logger: __Logger;
13
+ logger: import("@aws-sdk/types").Logger;
15
14
  serviceId: string;
16
15
  urlParser: import("@aws-sdk/types").UrlParser;
17
16
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-securityhub",
3
3
  "description": "AWS SDK for JavaScript Securityhub Client for Node.js, Browser and React Native",
4
- "version": "3.208.0",
4
+ "version": "3.210.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",
@@ -19,9 +19,9 @@
19
19
  "dependencies": {
20
20
  "@aws-crypto/sha256-browser": "2.0.0",
21
21
  "@aws-crypto/sha256-js": "2.0.0",
22
- "@aws-sdk/client-sts": "3.208.0",
23
- "@aws-sdk/config-resolver": "3.208.0",
24
- "@aws-sdk/credential-provider-node": "3.208.0",
22
+ "@aws-sdk/client-sts": "3.210.0",
23
+ "@aws-sdk/config-resolver": "3.209.0",
24
+ "@aws-sdk/credential-provider-node": "3.210.0",
25
25
  "@aws-sdk/fetch-http-handler": "3.208.0",
26
26
  "@aws-sdk/hash-node": "3.208.0",
27
27
  "@aws-sdk/invalid-dependency": "3.208.0",
@@ -30,27 +30,25 @@
30
30
  "@aws-sdk/middleware-host-header": "3.208.0",
31
31
  "@aws-sdk/middleware-logger": "3.208.0",
32
32
  "@aws-sdk/middleware-recursion-detection": "3.208.0",
33
- "@aws-sdk/middleware-retry": "3.208.0",
33
+ "@aws-sdk/middleware-retry": "3.209.0",
34
34
  "@aws-sdk/middleware-serde": "3.208.0",
35
35
  "@aws-sdk/middleware-signing": "3.208.0",
36
36
  "@aws-sdk/middleware-stack": "3.208.0",
37
37
  "@aws-sdk/middleware-user-agent": "3.208.0",
38
- "@aws-sdk/node-config-provider": "3.208.0",
38
+ "@aws-sdk/node-config-provider": "3.209.0",
39
39
  "@aws-sdk/node-http-handler": "3.208.0",
40
40
  "@aws-sdk/protocol-http": "3.208.0",
41
- "@aws-sdk/smithy-client": "3.208.0",
41
+ "@aws-sdk/smithy-client": "3.209.0",
42
42
  "@aws-sdk/types": "3.208.0",
43
43
  "@aws-sdk/url-parser": "3.208.0",
44
44
  "@aws-sdk/util-base64": "3.208.0",
45
- "@aws-sdk/util-base64-browser": "3.208.0",
46
- "@aws-sdk/util-base64-node": "3.208.0",
47
45
  "@aws-sdk/util-body-length-browser": "3.188.0",
48
46
  "@aws-sdk/util-body-length-node": "3.208.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.208.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.208.0",
51
- "@aws-sdk/util-endpoints": "3.208.0",
47
+ "@aws-sdk/util-defaults-mode-browser": "3.209.0",
48
+ "@aws-sdk/util-defaults-mode-node": "3.209.0",
49
+ "@aws-sdk/util-endpoints": "3.210.0",
52
50
  "@aws-sdk/util-user-agent-browser": "3.208.0",
53
- "@aws-sdk/util-user-agent-node": "3.208.0",
51
+ "@aws-sdk/util-user-agent-node": "3.209.0",
54
52
  "@aws-sdk/util-utf8-browser": "3.188.0",
55
53
  "@aws-sdk/util-utf8-node": "3.208.0",
56
54
  "tslib": "^2.3.1"