@aws-sdk/client-inspector-scan 3.588.0 → 3.592.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 CHANGED
@@ -33,8 +33,7 @@ __export(src_exports, {
33
33
  ThrottlingException: () => ThrottlingException,
34
34
  ValidationException: () => ValidationException,
35
35
  ValidationExceptionReason: () => ValidationExceptionReason,
36
- __Client: () => import_smithy_client.Client,
37
- __MetadataBearer: () => import_types.MetadataBearer
36
+ __Client: () => import_smithy_client.Client
38
37
  });
39
38
  module.exports = __toCommonJS(src_exports);
40
39
 
@@ -188,7 +187,6 @@ var InspectorScanClient = _InspectorScanClient;
188
187
 
189
188
  var import_middleware_serde = require("@smithy/middleware-serde");
190
189
 
191
- var import_types = require("@smithy/types");
192
190
 
193
191
  // src/protocols/Aws_restJson1.ts
194
192
  var import_core2 = require("@aws-sdk/core");
@@ -91,15 +91,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
91
91
  * Enables FIPS compatible endpoints.
92
92
  */
93
93
  useFipsEndpoint?: boolean | __Provider<boolean>;
94
+ /**
95
+ * The AWS region to which this client will send requests
96
+ */
97
+ region?: string | __Provider<string>;
94
98
  /**
95
99
  * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
96
100
  * @internal
97
101
  */
98
102
  defaultUserAgentProvider?: Provider<__UserAgent>;
99
- /**
100
- * The AWS region to which this client will send requests
101
- */
102
- region?: string | __Provider<string>;
103
103
  /**
104
104
  * Default credentials provider; Not available in browser runtime.
105
105
  * @deprecated
@@ -5,7 +5,8 @@ import { ScanSbomRequest, ScanSbomResponse } from "../models/models_0";
5
5
  /**
6
6
  * @public
7
7
  */
8
- export { __MetadataBearer, $Command };
8
+ export type { __MetadataBearer };
9
+ export { $Command };
9
10
  /**
10
11
  * @public
11
12
  *
@@ -6,8 +6,8 @@
6
6
  export * from "./InspectorScanClient";
7
7
  export * from "./InspectorScan";
8
8
  export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
9
- export { RuntimeExtension } from "./runtimeExtensions";
10
- export { InspectorScanExtensionConfiguration } from "./extensionConfiguration";
9
+ export type { RuntimeExtension } from "./runtimeExtensions";
10
+ export type { InspectorScanExtensionConfiguration } from "./extensionConfiguration";
11
11
  export * from "./commands";
12
12
  export * from "./models";
13
13
  export { InspectorScanServiceException } from "./models/InspectorScanServiceException";
@@ -1,5 +1,6 @@
1
1
  import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@smithy/smithy-client";
2
- export { __ServiceException, __ServiceExceptionOptions };
2
+ export type { __ServiceExceptionOptions };
3
+ export { __ServiceException };
3
4
  /**
4
5
  * @public
5
6
  *
@@ -18,8 +18,8 @@ export declare const getRuntimeConfig: (config: InspectorScanClientConfig) => {
18
18
  serviceId: string;
19
19
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
20
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
21
- defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
22
21
  region: string | import("@smithy/types").Provider<any>;
22
+ defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
23
23
  credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
24
24
  maxAttempts: number | import("@smithy/types").Provider<number>;
25
25
  retryMode: string | import("@smithy/types").Provider<string>;
@@ -74,8 +74,8 @@ export interface ClientDefaults
74
74
  serviceId?: string;
75
75
  useDualstackEndpoint?: boolean | __Provider<boolean>;
76
76
  useFipsEndpoint?: boolean | __Provider<boolean>;
77
- defaultUserAgentProvider?: Provider<__UserAgent>;
78
77
  region?: string | __Provider<string>;
78
+ defaultUserAgentProvider?: Provider<__UserAgent>;
79
79
  credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
80
80
  maxAttempts?: number | __Provider<number>;
81
81
  retryMode?: string | __Provider<string>;
@@ -2,7 +2,8 @@ import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { InspectorScanClientResolvedConfig } from "../InspectorScanClient";
4
4
  import { ScanSbomRequest, ScanSbomResponse } from "../models/models_0";
5
- export { __MetadataBearer, $Command };
5
+ export { __MetadataBearer };
6
+ export { $Command };
6
7
  export interface ScanSbomCommandInput extends ScanSbomRequest {}
7
8
  export interface ScanSbomCommandOutput
8
9
  extends ScanSbomResponse,
@@ -2,7 +2,8 @@ import {
2
2
  ServiceException as __ServiceException,
3
3
  ServiceExceptionOptions as __ServiceExceptionOptions,
4
4
  } from "@smithy/smithy-client";
5
- export { __ServiceException, __ServiceExceptionOptions };
5
+ export { __ServiceExceptionOptions };
6
+ export { __ServiceException };
6
7
  export declare class InspectorScanServiceException extends __ServiceException {
7
8
  constructor(options: __ServiceExceptionOptions);
8
9
  }
@@ -20,10 +20,10 @@ export declare const getRuntimeConfig: (config: InspectorScanClientConfig) => {
20
20
  serviceId: string;
21
21
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
22
22
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
23
+ region: string | import("@smithy/types").Provider<any>;
23
24
  defaultUserAgentProvider: import("@smithy/types").Provider<
24
25
  import("@smithy/types").UserAgent
25
26
  >;
26
- region: string | import("@smithy/types").Provider<any>;
27
27
  credentialDefaultProvider: (
28
28
  input: any
29
29
  ) => import("@smithy/types").AwsCredentialIdentityProvider;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-inspector-scan",
3
3
  "description": "AWS SDK for JavaScript Inspector Scan Client for Node.js, Browser and React Native",
4
- "version": "3.588.0",
4
+ "version": "3.592.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-inspector-scan",
@@ -20,10 +20,10 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sso-oidc": "3.588.0",
24
- "@aws-sdk/client-sts": "3.588.0",
25
- "@aws-sdk/core": "3.588.0",
26
- "@aws-sdk/credential-provider-node": "3.588.0",
23
+ "@aws-sdk/client-sso-oidc": "3.592.0",
24
+ "@aws-sdk/client-sts": "3.592.0",
25
+ "@aws-sdk/core": "3.592.0",
26
+ "@aws-sdk/credential-provider-node": "3.592.0",
27
27
  "@aws-sdk/middleware-host-header": "3.577.0",
28
28
  "@aws-sdk/middleware-logger": "3.577.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.577.0",
@@ -34,7 +34,7 @@
34
34
  "@aws-sdk/util-user-agent-browser": "3.577.0",
35
35
  "@aws-sdk/util-user-agent-node": "3.587.0",
36
36
  "@smithy/config-resolver": "^3.0.1",
37
- "@smithy/core": "^2.1.1",
37
+ "@smithy/core": "^2.2.0",
38
38
  "@smithy/fetch-http-handler": "^3.0.1",
39
39
  "@smithy/hash-node": "^3.0.0",
40
40
  "@smithy/invalid-dependency": "^3.0.0",