@aws-sdk/client-securityhub 3.212.0 → 3.215.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.
@@ -7194,6 +7194,9 @@ const serializeAws_restJson1AwsLambdaFunctionDeadLetterConfig = (input, context)
7194
7194
  };
7195
7195
  const serializeAws_restJson1AwsLambdaFunctionDetails = (input, context) => {
7196
7196
  return {
7197
+ ...(input.Architectures != null && {
7198
+ Architectures: serializeAws_restJson1NonEmptyStringList(input.Architectures, context),
7199
+ }),
7197
7200
  ...(input.Code != null && { Code: serializeAws_restJson1AwsLambdaFunctionCode(input.Code, context) }),
7198
7201
  ...(input.CodeSha256 != null && { CodeSha256: input.CodeSha256 }),
7199
7202
  ...(input.DeadLetterConfig != null && {
@@ -7209,6 +7212,7 @@ const serializeAws_restJson1AwsLambdaFunctionDetails = (input, context) => {
7209
7212
  ...(input.Layers != null && { Layers: serializeAws_restJson1AwsLambdaFunctionLayerList(input.Layers, context) }),
7210
7213
  ...(input.MasterArn != null && { MasterArn: input.MasterArn }),
7211
7214
  ...(input.MemorySize != null && { MemorySize: input.MemorySize }),
7215
+ ...(input.PackageType != null && { PackageType: input.PackageType }),
7212
7216
  ...(input.RevisionId != null && { RevisionId: input.RevisionId }),
7213
7217
  ...(input.Role != null && { Role: input.Role }),
7214
7218
  ...(input.Runtime != null && { Runtime: input.Runtime }),
@@ -10412,6 +10416,8 @@ const serializeAws_restJson1SoftwarePackage = (input, context) => {
10412
10416
  ...(input.PackageManager != null && { PackageManager: input.PackageManager }),
10413
10417
  ...(input.Release != null && { Release: input.Release }),
10414
10418
  ...(input.Remediation != null && { Remediation: input.Remediation }),
10419
+ ...(input.SourceLayerArn != null && { SourceLayerArn: input.SourceLayerArn }),
10420
+ ...(input.SourceLayerHash != null && { SourceLayerHash: input.SourceLayerHash }),
10415
10421
  ...(input.Version != null && { Version: input.Version }),
10416
10422
  };
10417
10423
  };
@@ -14338,6 +14344,9 @@ const deserializeAws_restJson1AwsLambdaFunctionDeadLetterConfig = (output, conte
14338
14344
  };
14339
14345
  const deserializeAws_restJson1AwsLambdaFunctionDetails = (output, context) => {
14340
14346
  return {
14347
+ Architectures: output.Architectures != null
14348
+ ? deserializeAws_restJson1NonEmptyStringList(output.Architectures, context)
14349
+ : undefined,
14341
14350
  Code: output.Code != null ? deserializeAws_restJson1AwsLambdaFunctionCode(output.Code, context) : undefined,
14342
14351
  CodeSha256: (0, smithy_client_1.expectString)(output.CodeSha256),
14343
14352
  DeadLetterConfig: output.DeadLetterConfig != null
@@ -14353,6 +14362,7 @@ const deserializeAws_restJson1AwsLambdaFunctionDetails = (output, context) => {
14353
14362
  Layers: output.Layers != null ? deserializeAws_restJson1AwsLambdaFunctionLayerList(output.Layers, context) : undefined,
14354
14363
  MasterArn: (0, smithy_client_1.expectString)(output.MasterArn),
14355
14364
  MemorySize: (0, smithy_client_1.expectInt32)(output.MemorySize),
14365
+ PackageType: (0, smithy_client_1.expectString)(output.PackageType),
14356
14366
  RevisionId: (0, smithy_client_1.expectString)(output.RevisionId),
14357
14367
  Role: (0, smithy_client_1.expectString)(output.Role),
14358
14368
  Runtime: (0, smithy_client_1.expectString)(output.Runtime),
@@ -17957,6 +17967,8 @@ const deserializeAws_restJson1SoftwarePackage = (output, context) => {
17957
17967
  PackageManager: (0, smithy_client_1.expectString)(output.PackageManager),
17958
17968
  Release: (0, smithy_client_1.expectString)(output.Release),
17959
17969
  Remediation: (0, smithy_client_1.expectString)(output.Remediation),
17970
+ SourceLayerArn: (0, smithy_client_1.expectString)(output.SourceLayerArn),
17971
+ SourceLayerHash: (0, smithy_client_1.expectString)(output.SourceLayerHash),
17960
17972
  Version: (0, smithy_client_1.expectString)(output.Version),
17961
17973
  };
17962
17974
  };
@@ -7077,6 +7077,9 @@ const serializeAws_restJson1AwsLambdaFunctionDeadLetterConfig = (input, context)
7077
7077
  };
7078
7078
  const serializeAws_restJson1AwsLambdaFunctionDetails = (input, context) => {
7079
7079
  return {
7080
+ ...(input.Architectures != null && {
7081
+ Architectures: serializeAws_restJson1NonEmptyStringList(input.Architectures, context),
7082
+ }),
7080
7083
  ...(input.Code != null && { Code: serializeAws_restJson1AwsLambdaFunctionCode(input.Code, context) }),
7081
7084
  ...(input.CodeSha256 != null && { CodeSha256: input.CodeSha256 }),
7082
7085
  ...(input.DeadLetterConfig != null && {
@@ -7092,6 +7095,7 @@ const serializeAws_restJson1AwsLambdaFunctionDetails = (input, context) => {
7092
7095
  ...(input.Layers != null && { Layers: serializeAws_restJson1AwsLambdaFunctionLayerList(input.Layers, context) }),
7093
7096
  ...(input.MasterArn != null && { MasterArn: input.MasterArn }),
7094
7097
  ...(input.MemorySize != null && { MemorySize: input.MemorySize }),
7098
+ ...(input.PackageType != null && { PackageType: input.PackageType }),
7095
7099
  ...(input.RevisionId != null && { RevisionId: input.RevisionId }),
7096
7100
  ...(input.Role != null && { Role: input.Role }),
7097
7101
  ...(input.Runtime != null && { Runtime: input.Runtime }),
@@ -10295,6 +10299,8 @@ const serializeAws_restJson1SoftwarePackage = (input, context) => {
10295
10299
  ...(input.PackageManager != null && { PackageManager: input.PackageManager }),
10296
10300
  ...(input.Release != null && { Release: input.Release }),
10297
10301
  ...(input.Remediation != null && { Remediation: input.Remediation }),
10302
+ ...(input.SourceLayerArn != null && { SourceLayerArn: input.SourceLayerArn }),
10303
+ ...(input.SourceLayerHash != null && { SourceLayerHash: input.SourceLayerHash }),
10298
10304
  ...(input.Version != null && { Version: input.Version }),
10299
10305
  };
10300
10306
  };
@@ -14221,6 +14227,9 @@ const deserializeAws_restJson1AwsLambdaFunctionDeadLetterConfig = (output, conte
14221
14227
  };
14222
14228
  const deserializeAws_restJson1AwsLambdaFunctionDetails = (output, context) => {
14223
14229
  return {
14230
+ Architectures: output.Architectures != null
14231
+ ? deserializeAws_restJson1NonEmptyStringList(output.Architectures, context)
14232
+ : undefined,
14224
14233
  Code: output.Code != null ? deserializeAws_restJson1AwsLambdaFunctionCode(output.Code, context) : undefined,
14225
14234
  CodeSha256: __expectString(output.CodeSha256),
14226
14235
  DeadLetterConfig: output.DeadLetterConfig != null
@@ -14236,6 +14245,7 @@ const deserializeAws_restJson1AwsLambdaFunctionDetails = (output, context) => {
14236
14245
  Layers: output.Layers != null ? deserializeAws_restJson1AwsLambdaFunctionLayerList(output.Layers, context) : undefined,
14237
14246
  MasterArn: __expectString(output.MasterArn),
14238
14247
  MemorySize: __expectInt32(output.MemorySize),
14248
+ PackageType: __expectString(output.PackageType),
14239
14249
  RevisionId: __expectString(output.RevisionId),
14240
14250
  Role: __expectString(output.Role),
14241
14251
  Runtime: __expectString(output.Runtime),
@@ -17840,6 +17850,8 @@ const deserializeAws_restJson1SoftwarePackage = (output, context) => {
17840
17850
  PackageManager: __expectString(output.PackageManager),
17841
17851
  Release: __expectString(output.Release),
17842
17852
  Remediation: __expectString(output.Remediation),
17853
+ SourceLayerArn: __expectString(output.SourceLayerArn),
17854
+ SourceLayerHash: __expectString(output.SourceLayerHash),
17843
17855
  Version: __expectString(output.Version),
17844
17856
  };
17845
17857
  };
@@ -8271,7 +8271,7 @@ export interface AwsLambdaFunctionVpcConfig {
8271
8271
  VpcId?: string;
8272
8272
  }
8273
8273
  /**
8274
- * <p>Details about a function's configuration.</p>
8274
+ * <p>Details about an Lambda function's configuration.</p>
8275
8275
  */
8276
8276
  export interface AwsLambdaFunctionDetails {
8277
8277
  /**
@@ -8349,6 +8349,16 @@ export interface AwsLambdaFunctionDetails {
8349
8349
  * <p>The version of the Lambda function.</p>
8350
8350
  */
8351
8351
  Version?: string;
8352
+ /**
8353
+ * <p>The instruction set architecture that the function uses. Valid values are <code>x86_64</code> or
8354
+ * <code>arm64</code>.</p>
8355
+ */
8356
+ Architectures?: string[];
8357
+ /**
8358
+ * <p>The type of deployment package that's used to deploy the function code to Lambda. Set to <code>Image</code> for a container image and <code>Zip</code> for a .zip file archive.
8359
+ * </p>
8360
+ */
8361
+ PackageType?: string;
8352
8362
  }
8353
8363
  /**
8354
8364
  * <p>Details about a Lambda layer version.</p>
@@ -5377,6 +5377,16 @@ export interface SoftwarePackage {
5377
5377
  * </p>
5378
5378
  */
5379
5379
  Remediation?: string;
5380
+ /**
5381
+ * <p>The source layer hash of the vulnerable package.
5382
+ * </p>
5383
+ */
5384
+ SourceLayerHash?: string;
5385
+ /**
5386
+ * <p>The Amazon Resource Name (ARN) of the source layer.
5387
+ * </p>
5388
+ */
5389
+ SourceLayerArn?: string;
5380
5390
  }
5381
5391
  /**
5382
5392
  * <p>A vulnerability associated with a finding.</p>
@@ -32,7 +32,7 @@ export declare const getRuntimeConfig: (config: SecurityHubClientConfig) => {
32
32
  }) => import("@aws-sdk/types").EndpointV2;
33
33
  tls?: boolean | undefined;
34
34
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
35
- credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
35
+ credentials?: import("@aws-sdk/types").AwsCredentialIdentity | import("@aws-sdk/types").Provider<import("@aws-sdk/types").AwsCredentialIdentity> | undefined;
36
36
  signer?: import("@aws-sdk/types").RequestSigner | ((authScheme?: import("@aws-sdk/types").AuthScheme | undefined) => Promise<import("@aws-sdk/types").RequestSigner>) | undefined;
37
37
  signingEscapePath?: boolean | undefined;
38
38
  systemClockOffset?: number | undefined;
@@ -32,7 +32,7 @@ export declare const getRuntimeConfig: (config: SecurityHubClientConfig) => {
32
32
  }) => import("@aws-sdk/types").EndpointV2;
33
33
  tls?: boolean | undefined;
34
34
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
35
- credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
35
+ credentials?: import("@aws-sdk/types").AwsCredentialIdentity | import("@aws-sdk/types").Provider<import("@aws-sdk/types").AwsCredentialIdentity> | undefined;
36
36
  signer?: import("@aws-sdk/types").RequestSigner | ((authScheme?: import("@aws-sdk/types").AuthScheme | undefined) => Promise<import("@aws-sdk/types").RequestSigner>) | undefined;
37
37
  signingEscapePath?: boolean | undefined;
38
38
  systemClockOffset?: number | undefined;
@@ -31,7 +31,7 @@ export declare const getRuntimeConfig: (config: SecurityHubClientConfig) => {
31
31
  }) => import("@aws-sdk/types").EndpointV2;
32
32
  tls?: boolean | undefined;
33
33
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
34
- credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
34
+ credentials?: import("@aws-sdk/types").AwsCredentialIdentity | import("@aws-sdk/types").Provider<import("@aws-sdk/types").AwsCredentialIdentity> | undefined;
35
35
  signer?: import("@aws-sdk/types").RequestSigner | ((authScheme?: import("@aws-sdk/types").AuthScheme | undefined) => Promise<import("@aws-sdk/types").RequestSigner>) | undefined;
36
36
  signingEscapePath?: boolean | undefined;
37
37
  systemClockOffset?: number | undefined;
@@ -1856,6 +1856,8 @@ export interface AwsLambdaFunctionDetails {
1856
1856
  TracingConfig?: AwsLambdaFunctionTracingConfig;
1857
1857
  VpcConfig?: AwsLambdaFunctionVpcConfig;
1858
1858
  Version?: string;
1859
+ Architectures?: string[];
1860
+ PackageType?: string;
1859
1861
  }
1860
1862
  export interface AwsLambdaLayerVersionDetails {
1861
1863
  Version?: number;
@@ -1334,6 +1334,8 @@ export interface SoftwarePackage {
1334
1334
  FilePath?: string;
1335
1335
  FixedInVersion?: string;
1336
1336
  Remediation?: string;
1337
+ SourceLayerHash?: string;
1338
+ SourceLayerArn?: string;
1337
1339
  }
1338
1340
  export interface Vulnerability {
1339
1341
  Id: string | undefined;
@@ -64,8 +64,10 @@ export declare const getRuntimeConfig: (config: SecurityHubClientConfig) => {
64
64
  tls?: boolean | undefined;
65
65
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
66
66
  credentials?:
67
- | import("@aws-sdk/types").Credentials
68
- | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>
67
+ | import("@aws-sdk/types").AwsCredentialIdentity
68
+ | import("@aws-sdk/types").Provider<
69
+ import("@aws-sdk/types").AwsCredentialIdentity
70
+ >
69
71
  | undefined;
70
72
  signer?:
71
73
  | import("@aws-sdk/types").RequestSigner
@@ -64,8 +64,10 @@ export declare const getRuntimeConfig: (config: SecurityHubClientConfig) => {
64
64
  tls?: boolean | undefined;
65
65
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
66
66
  credentials?:
67
- | import("@aws-sdk/types").Credentials
68
- | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>
67
+ | import("@aws-sdk/types").AwsCredentialIdentity
68
+ | import("@aws-sdk/types").Provider<
69
+ import("@aws-sdk/types").AwsCredentialIdentity
70
+ >
69
71
  | undefined;
70
72
  signer?:
71
73
  | import("@aws-sdk/types").RequestSigner
@@ -53,8 +53,10 @@ export declare const getRuntimeConfig: (config: SecurityHubClientConfig) => {
53
53
  tls?: boolean | undefined;
54
54
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
55
55
  credentials?:
56
- | import("@aws-sdk/types").Credentials
57
- | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>
56
+ | import("@aws-sdk/types").AwsCredentialIdentity
57
+ | import("@aws-sdk/types").Provider<
58
+ import("@aws-sdk/types").AwsCredentialIdentity
59
+ >
58
60
  | undefined;
59
61
  signer?:
60
62
  | import("@aws-sdk/types").RequestSigner
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.212.0",
4
+ "version": "3.215.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,36 +19,36 @@
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.212.0",
23
- "@aws-sdk/config-resolver": "3.212.0",
24
- "@aws-sdk/credential-provider-node": "3.212.0",
25
- "@aws-sdk/fetch-http-handler": "3.212.0",
26
- "@aws-sdk/hash-node": "3.212.0",
27
- "@aws-sdk/invalid-dependency": "3.212.0",
28
- "@aws-sdk/middleware-content-length": "3.212.0",
29
- "@aws-sdk/middleware-endpoint": "3.212.0",
30
- "@aws-sdk/middleware-host-header": "3.212.0",
31
- "@aws-sdk/middleware-logger": "3.212.0",
32
- "@aws-sdk/middleware-recursion-detection": "3.212.0",
33
- "@aws-sdk/middleware-retry": "3.212.0",
34
- "@aws-sdk/middleware-serde": "3.212.0",
35
- "@aws-sdk/middleware-signing": "3.212.0",
36
- "@aws-sdk/middleware-stack": "3.212.0",
37
- "@aws-sdk/middleware-user-agent": "3.212.0",
38
- "@aws-sdk/node-config-provider": "3.212.0",
39
- "@aws-sdk/node-http-handler": "3.212.0",
40
- "@aws-sdk/protocol-http": "3.212.0",
41
- "@aws-sdk/smithy-client": "3.212.0",
42
- "@aws-sdk/types": "3.212.0",
43
- "@aws-sdk/url-parser": "3.212.0",
22
+ "@aws-sdk/client-sts": "3.215.0",
23
+ "@aws-sdk/config-resolver": "3.215.0",
24
+ "@aws-sdk/credential-provider-node": "3.215.0",
25
+ "@aws-sdk/fetch-http-handler": "3.215.0",
26
+ "@aws-sdk/hash-node": "3.215.0",
27
+ "@aws-sdk/invalid-dependency": "3.215.0",
28
+ "@aws-sdk/middleware-content-length": "3.215.0",
29
+ "@aws-sdk/middleware-endpoint": "3.215.0",
30
+ "@aws-sdk/middleware-host-header": "3.215.0",
31
+ "@aws-sdk/middleware-logger": "3.215.0",
32
+ "@aws-sdk/middleware-recursion-detection": "3.215.0",
33
+ "@aws-sdk/middleware-retry": "3.215.0",
34
+ "@aws-sdk/middleware-serde": "3.215.0",
35
+ "@aws-sdk/middleware-signing": "3.215.0",
36
+ "@aws-sdk/middleware-stack": "3.215.0",
37
+ "@aws-sdk/middleware-user-agent": "3.215.0",
38
+ "@aws-sdk/node-config-provider": "3.215.0",
39
+ "@aws-sdk/node-http-handler": "3.215.0",
40
+ "@aws-sdk/protocol-http": "3.215.0",
41
+ "@aws-sdk/smithy-client": "3.215.0",
42
+ "@aws-sdk/types": "3.215.0",
43
+ "@aws-sdk/url-parser": "3.215.0",
44
44
  "@aws-sdk/util-base64": "3.208.0",
45
45
  "@aws-sdk/util-body-length-browser": "3.188.0",
46
46
  "@aws-sdk/util-body-length-node": "3.208.0",
47
- "@aws-sdk/util-defaults-mode-browser": "3.212.0",
48
- "@aws-sdk/util-defaults-mode-node": "3.212.0",
49
- "@aws-sdk/util-endpoints": "3.212.0",
50
- "@aws-sdk/util-user-agent-browser": "3.212.0",
51
- "@aws-sdk/util-user-agent-node": "3.212.0",
47
+ "@aws-sdk/util-defaults-mode-browser": "3.215.0",
48
+ "@aws-sdk/util-defaults-mode-node": "3.215.0",
49
+ "@aws-sdk/util-endpoints": "3.215.0",
50
+ "@aws-sdk/util-user-agent-browser": "3.215.0",
51
+ "@aws-sdk/util-user-agent-node": "3.215.0",
52
52
  "@aws-sdk/util-utf8-browser": "3.188.0",
53
53
  "@aws-sdk/util-utf8-node": "3.208.0",
54
54
  "tslib": "^2.3.1"