@aws-sdk/client-supplychain 3.491.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 (79) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +227 -0
  3. package/dist-cjs/SupplyChain.js +15 -0
  4. package/dist-cjs/SupplyChainClient.js +43 -0
  5. package/dist-cjs/commands/CreateBillOfMaterialsImportJobCommand.js +28 -0
  6. package/dist-cjs/commands/GetBillOfMaterialsImportJobCommand.js +28 -0
  7. package/dist-cjs/commands/index.js +5 -0
  8. package/dist-cjs/endpoint/EndpointParameters.js +18 -0
  9. package/dist-cjs/endpoint/endpointResolver.js +12 -0
  10. package/dist-cjs/endpoint/ruleset.js +7 -0
  11. package/dist-cjs/extensionConfiguration.js +2 -0
  12. package/dist-cjs/index.js +11 -0
  13. package/dist-cjs/models/SupplyChainServiceException.js +12 -0
  14. package/dist-cjs/models/index.js +4 -0
  15. package/dist-cjs/models/models_0.js +106 -0
  16. package/dist-cjs/protocols/Aws_restJson1.js +283 -0
  17. package/dist-cjs/runtimeConfig.browser.js +39 -0
  18. package/dist-cjs/runtimeConfig.js +50 -0
  19. package/dist-cjs/runtimeConfig.native.js +15 -0
  20. package/dist-cjs/runtimeConfig.shared.js +24 -0
  21. package/dist-cjs/runtimeExtensions.js +22 -0
  22. package/dist-es/SupplyChain.js +11 -0
  23. package/dist-es/SupplyChainClient.js +39 -0
  24. package/dist-es/commands/CreateBillOfMaterialsImportJobCommand.js +24 -0
  25. package/dist-es/commands/GetBillOfMaterialsImportJobCommand.js +24 -0
  26. package/dist-es/commands/index.js +2 -0
  27. package/dist-es/endpoint/EndpointParameters.js +14 -0
  28. package/dist-es/endpoint/endpointResolver.js +8 -0
  29. package/dist-es/endpoint/ruleset.js +4 -0
  30. package/dist-es/extensionConfiguration.js +1 -0
  31. package/dist-es/index.js +6 -0
  32. package/dist-es/models/SupplyChainServiceException.js +8 -0
  33. package/dist-es/models/index.js +1 -0
  34. package/dist-es/models/models_0.js +96 -0
  35. package/dist-es/protocols/Aws_restJson1.js +276 -0
  36. package/dist-es/runtimeConfig.browser.js +34 -0
  37. package/dist-es/runtimeConfig.js +45 -0
  38. package/dist-es/runtimeConfig.native.js +11 -0
  39. package/dist-es/runtimeConfig.shared.js +20 -0
  40. package/dist-es/runtimeExtensions.js +18 -0
  41. package/dist-types/SupplyChain.d.ts +30 -0
  42. package/dist-types/SupplyChainClient.d.ts +177 -0
  43. package/dist-types/commands/CreateBillOfMaterialsImportJobCommand.d.ts +82 -0
  44. package/dist-types/commands/GetBillOfMaterialsImportJobCommand.d.ts +86 -0
  45. package/dist-types/commands/index.d.ts +2 -0
  46. package/dist-types/endpoint/EndpointParameters.d.ts +40 -0
  47. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  48. package/dist-types/endpoint/ruleset.d.ts +2 -0
  49. package/dist-types/extensionConfiguration.d.ts +8 -0
  50. package/dist-types/index.d.ts +20 -0
  51. package/dist-types/models/SupplyChainServiceException.d.ts +13 -0
  52. package/dist-types/models/index.d.ts +1 -0
  53. package/dist-types/models/models_0.d.ts +195 -0
  54. package/dist-types/protocols/Aws_restJson1.d.ts +20 -0
  55. package/dist-types/runtimeConfig.browser.d.ts +49 -0
  56. package/dist-types/runtimeConfig.d.ts +46 -0
  57. package/dist-types/runtimeConfig.native.d.ts +45 -0
  58. package/dist-types/runtimeConfig.shared.d.ts +19 -0
  59. package/dist-types/runtimeExtensions.d.ts +17 -0
  60. package/dist-types/ts3.4/SupplyChain.d.ts +41 -0
  61. package/dist-types/ts3.4/SupplyChainClient.d.ts +130 -0
  62. package/dist-types/ts3.4/commands/CreateBillOfMaterialsImportJobCommand.d.ts +30 -0
  63. package/dist-types/ts3.4/commands/GetBillOfMaterialsImportJobCommand.d.ts +30 -0
  64. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  65. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
  66. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  67. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  68. package/dist-types/ts3.4/extensionConfiguration.d.ts +7 -0
  69. package/dist-types/ts3.4/index.d.ts +9 -0
  70. package/dist-types/ts3.4/models/SupplyChainServiceException.d.ts +8 -0
  71. package/dist-types/ts3.4/models/index.d.ts +1 -0
  72. package/dist-types/ts3.4/models/models_0.d.ts +84 -0
  73. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +29 -0
  74. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +97 -0
  75. package/dist-types/ts3.4/runtimeConfig.d.ts +97 -0
  76. package/dist-types/ts3.4/runtimeConfig.native.d.ts +88 -0
  77. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +19 -0
  78. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  79. package/package.json +103 -0
@@ -0,0 +1,49 @@
1
+ import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
2
+ import { SupplyChainClientConfig } from "./SupplyChainClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const getRuntimeConfig: (config: SupplyChainClientConfig) => {
7
+ runtime: string;
8
+ defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
+ credentialDefaultProvider: (input: any) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
11
+ defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
12
+ maxAttempts: number | import("@smithy/types").Provider<number>;
13
+ region: string | import("@smithy/types").Provider<any>;
14
+ requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/types").RequestHandler<import("@smithy/protocol-http").HttpRequest, import("@smithy/protocol-http").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
15
+ updateHttpClientConfig(key: never, value: never): void;
16
+ httpHandlerConfigs(): {};
17
+ }) | RequestHandler;
18
+ retryMode: string | import("@smithy/types").Provider<string>;
19
+ sha256: import("@smithy/types").HashConstructor;
20
+ streamCollector: import("@smithy/types").StreamCollector;
21
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
22
+ useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
23
+ apiVersion: string;
24
+ urlParser: import("@smithy/types").UrlParser;
25
+ base64Decoder: import("@smithy/types").Decoder;
26
+ base64Encoder: import("@smithy/types").Encoder;
27
+ utf8Decoder: import("@smithy/types").Decoder;
28
+ utf8Encoder: import("@smithy/types").Encoder;
29
+ disableHostPrefix: boolean;
30
+ serviceId: string;
31
+ logger: import("@smithy/types").Logger;
32
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
33
+ 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;
34
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
35
+ logger?: import("@smithy/types").Logger | undefined;
36
+ }) => import("@smithy/types").EndpointV2;
37
+ tls?: boolean | undefined;
38
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
39
+ credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").Provider<import("@smithy/types").AwsCredentialIdentity> | undefined;
40
+ signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme | undefined) => Promise<import("@smithy/types").RequestSigner>) | undefined;
41
+ signingEscapePath?: boolean | undefined;
42
+ systemClockOffset?: number | undefined;
43
+ signingRegion?: string | undefined;
44
+ /**
45
+ * @internal
46
+ */
47
+ signerConstructor?: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | undefined;
48
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
49
+ };
@@ -0,0 +1,46 @@
1
+ import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
2
+ import { SupplyChainClientConfig } from "./SupplyChainClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const getRuntimeConfig: (config: SupplyChainClientConfig) => {
7
+ runtime: string;
8
+ defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
+ credentialDefaultProvider: (input: any) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
11
+ defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
12
+ maxAttempts: number | import("@smithy/types").Provider<number>;
13
+ region: string | import("@smithy/types").Provider<string>;
14
+ requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/types").RequestHandler<import("@smithy/protocol-http").HttpRequest, import("@smithy/protocol-http").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
15
+ updateHttpClientConfig(key: never, value: never): void;
16
+ httpHandlerConfigs(): {};
17
+ }) | RequestHandler;
18
+ retryMode: string | import("@smithy/types").Provider<string>;
19
+ sha256: import("@smithy/types").HashConstructor;
20
+ streamCollector: import("@smithy/types").StreamCollector;
21
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
22
+ useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
23
+ apiVersion: string;
24
+ urlParser: import("@smithy/types").UrlParser;
25
+ base64Decoder: import("@smithy/types").Decoder;
26
+ base64Encoder: import("@smithy/types").Encoder;
27
+ utf8Decoder: import("@smithy/types").Decoder;
28
+ utf8Encoder: import("@smithy/types").Encoder;
29
+ disableHostPrefix: boolean;
30
+ serviceId: string;
31
+ logger: import("@smithy/types").Logger;
32
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
33
+ 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;
34
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
35
+ logger?: import("@smithy/types").Logger | undefined;
36
+ }) => import("@smithy/types").EndpointV2;
37
+ tls?: boolean | undefined;
38
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
39
+ credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").Provider<import("@smithy/types").AwsCredentialIdentity> | undefined;
40
+ signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme | undefined) => Promise<import("@smithy/types").RequestSigner>) | undefined;
41
+ signingEscapePath?: boolean | undefined;
42
+ systemClockOffset?: number | undefined;
43
+ signingRegion?: string | undefined;
44
+ signerConstructor?: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | undefined;
45
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
46
+ };
@@ -0,0 +1,45 @@
1
+ import { SupplyChainClientConfig } from "./SupplyChainClient";
2
+ /**
3
+ * @internal
4
+ */
5
+ export declare const getRuntimeConfig: (config: SupplyChainClientConfig) => {
6
+ runtime: string;
7
+ sha256: import("@smithy/types").HashConstructor;
8
+ requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/types").RequestHandler<import("@smithy/protocol-http").HttpRequest, import("@smithy/protocol-http").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
9
+ updateHttpClientConfig(key: never, value: never): void;
10
+ httpHandlerConfigs(): {};
11
+ }) | import("@smithy/fetch-http-handler").FetchHttpHandler;
12
+ apiVersion: string;
13
+ urlParser: import("@smithy/types").UrlParser;
14
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
15
+ streamCollector: import("@smithy/types").StreamCollector;
16
+ base64Decoder: import("@smithy/types").Decoder;
17
+ base64Encoder: import("@smithy/types").Encoder;
18
+ utf8Decoder: import("@smithy/types").Decoder;
19
+ utf8Encoder: import("@smithy/types").Encoder;
20
+ disableHostPrefix: boolean;
21
+ serviceId: string;
22
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
23
+ useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
24
+ region: string | import("@smithy/types").Provider<any>;
25
+ credentialDefaultProvider: (input: any) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
26
+ defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
27
+ maxAttempts: number | import("@smithy/types").Provider<number>;
28
+ retryMode: string | import("@smithy/types").Provider<string>;
29
+ logger: import("@smithy/types").Logger;
30
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
31
+ defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
32
+ 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> | undefined;
33
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
34
+ logger?: import("@smithy/types").Logger | undefined;
35
+ }) => import("@smithy/types").EndpointV2;
36
+ tls?: boolean | undefined;
37
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
38
+ credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").Provider<import("@smithy/types").AwsCredentialIdentity> | undefined;
39
+ signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme | undefined) => Promise<import("@smithy/types").RequestSigner>) | undefined;
40
+ signingEscapePath?: boolean | undefined;
41
+ systemClockOffset?: number | undefined;
42
+ signingRegion?: string | undefined;
43
+ signerConstructor?: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | undefined;
44
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
45
+ };
@@ -0,0 +1,19 @@
1
+ import { SupplyChainClientConfig } from "./SupplyChainClient";
2
+ /**
3
+ * @internal
4
+ */
5
+ export declare const getRuntimeConfig: (config: SupplyChainClientConfig) => {
6
+ apiVersion: string;
7
+ base64Decoder: import("@smithy/types").Decoder;
8
+ base64Encoder: import("@smithy/types").Encoder;
9
+ disableHostPrefix: boolean;
10
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
11
+ logger?: import("@smithy/types").Logger | undefined;
12
+ }) => import("@smithy/types").EndpointV2;
13
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
14
+ logger: import("@smithy/types").Logger;
15
+ serviceId: string;
16
+ urlParser: import("@smithy/types").UrlParser;
17
+ utf8Decoder: import("@smithy/types").Decoder;
18
+ utf8Encoder: import("@smithy/types").Encoder;
19
+ };
@@ -0,0 +1,17 @@
1
+ import { SupplyChainExtensionConfiguration } from "./extensionConfiguration";
2
+ /**
3
+ * @public
4
+ */
5
+ export interface RuntimeExtension {
6
+ configure(extensionConfiguration: SupplyChainExtensionConfiguration): void;
7
+ }
8
+ /**
9
+ * @public
10
+ */
11
+ export interface RuntimeExtensionsConfig {
12
+ extensions: RuntimeExtension[];
13
+ }
14
+ /**
15
+ * @internal
16
+ */
17
+ export declare const resolveRuntimeExtensions: (runtimeConfig: any, extensions: RuntimeExtension[]) => any;
@@ -0,0 +1,41 @@
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
+ import {
3
+ CreateBillOfMaterialsImportJobCommandInput,
4
+ CreateBillOfMaterialsImportJobCommandOutput,
5
+ } from "./commands/CreateBillOfMaterialsImportJobCommand";
6
+ import {
7
+ GetBillOfMaterialsImportJobCommandInput,
8
+ GetBillOfMaterialsImportJobCommandOutput,
9
+ } from "./commands/GetBillOfMaterialsImportJobCommand";
10
+ import { SupplyChainClient } from "./SupplyChainClient";
11
+ export interface SupplyChain {
12
+ createBillOfMaterialsImportJob(
13
+ args: CreateBillOfMaterialsImportJobCommandInput,
14
+ options?: __HttpHandlerOptions
15
+ ): Promise<CreateBillOfMaterialsImportJobCommandOutput>;
16
+ createBillOfMaterialsImportJob(
17
+ args: CreateBillOfMaterialsImportJobCommandInput,
18
+ cb: (err: any, data?: CreateBillOfMaterialsImportJobCommandOutput) => void
19
+ ): void;
20
+ createBillOfMaterialsImportJob(
21
+ args: CreateBillOfMaterialsImportJobCommandInput,
22
+ options: __HttpHandlerOptions,
23
+ cb: (err: any, data?: CreateBillOfMaterialsImportJobCommandOutput) => void
24
+ ): void;
25
+ getBillOfMaterialsImportJob(
26
+ args: GetBillOfMaterialsImportJobCommandInput,
27
+ options?: __HttpHandlerOptions
28
+ ): Promise<GetBillOfMaterialsImportJobCommandOutput>;
29
+ getBillOfMaterialsImportJob(
30
+ args: GetBillOfMaterialsImportJobCommandInput,
31
+ cb: (err: any, data?: GetBillOfMaterialsImportJobCommandOutput) => void
32
+ ): void;
33
+ getBillOfMaterialsImportJob(
34
+ args: GetBillOfMaterialsImportJobCommandInput,
35
+ options: __HttpHandlerOptions,
36
+ cb: (err: any, data?: GetBillOfMaterialsImportJobCommandOutput) => void
37
+ ): void;
38
+ }
39
+ export declare class SupplyChain
40
+ extends SupplyChainClient
41
+ implements SupplyChain {}
@@ -0,0 +1,130 @@
1
+ import {
2
+ HostHeaderInputConfig,
3
+ HostHeaderResolvedConfig,
4
+ } from "@aws-sdk/middleware-host-header";
5
+ import {
6
+ AwsAuthInputConfig,
7
+ AwsAuthResolvedConfig,
8
+ } from "@aws-sdk/middleware-signing";
9
+ import {
10
+ UserAgentInputConfig,
11
+ UserAgentResolvedConfig,
12
+ } from "@aws-sdk/middleware-user-agent";
13
+ import { Credentials as __Credentials } from "@aws-sdk/types";
14
+ import {
15
+ RegionInputConfig,
16
+ RegionResolvedConfig,
17
+ } from "@smithy/config-resolver";
18
+ import {
19
+ EndpointInputConfig,
20
+ EndpointResolvedConfig,
21
+ } from "@smithy/middleware-endpoint";
22
+ import {
23
+ RetryInputConfig,
24
+ RetryResolvedConfig,
25
+ } from "@smithy/middleware-retry";
26
+ import { HttpHandler as __HttpHandler } from "@smithy/protocol-http";
27
+ import {
28
+ Client as __Client,
29
+ DefaultsMode as __DefaultsMode,
30
+ SmithyConfiguration as __SmithyConfiguration,
31
+ SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
32
+ } from "@smithy/smithy-client";
33
+ import {
34
+ BodyLengthCalculator as __BodyLengthCalculator,
35
+ CheckOptionalClientConfig as __CheckOptionalClientConfig,
36
+ ChecksumConstructor as __ChecksumConstructor,
37
+ Decoder as __Decoder,
38
+ Encoder as __Encoder,
39
+ HashConstructor as __HashConstructor,
40
+ HttpHandlerOptions as __HttpHandlerOptions,
41
+ Logger as __Logger,
42
+ Provider as __Provider,
43
+ Provider,
44
+ StreamCollector as __StreamCollector,
45
+ UrlParser as __UrlParser,
46
+ UserAgent as __UserAgent,
47
+ } from "@smithy/types";
48
+ import {
49
+ CreateBillOfMaterialsImportJobCommandInput,
50
+ CreateBillOfMaterialsImportJobCommandOutput,
51
+ } from "./commands/CreateBillOfMaterialsImportJobCommand";
52
+ import {
53
+ GetBillOfMaterialsImportJobCommandInput,
54
+ GetBillOfMaterialsImportJobCommandOutput,
55
+ } from "./commands/GetBillOfMaterialsImportJobCommand";
56
+ import {
57
+ ClientInputEndpointParameters,
58
+ ClientResolvedEndpointParameters,
59
+ EndpointParameters,
60
+ } from "./endpoint/EndpointParameters";
61
+ import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
62
+ export { __Client };
63
+ export type ServiceInputTypes =
64
+ | CreateBillOfMaterialsImportJobCommandInput
65
+ | GetBillOfMaterialsImportJobCommandInput;
66
+ export type ServiceOutputTypes =
67
+ | CreateBillOfMaterialsImportJobCommandOutput
68
+ | GetBillOfMaterialsImportJobCommandOutput;
69
+ export interface ClientDefaults
70
+ extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
71
+ requestHandler?: __HttpHandler;
72
+ sha256?: __ChecksumConstructor | __HashConstructor;
73
+ urlParser?: __UrlParser;
74
+ bodyLengthChecker?: __BodyLengthCalculator;
75
+ streamCollector?: __StreamCollector;
76
+ base64Decoder?: __Decoder;
77
+ base64Encoder?: __Encoder;
78
+ utf8Decoder?: __Decoder;
79
+ utf8Encoder?: __Encoder;
80
+ runtime?: string;
81
+ disableHostPrefix?: boolean;
82
+ serviceId?: string;
83
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
84
+ useFipsEndpoint?: boolean | __Provider<boolean>;
85
+ region?: string | __Provider<string>;
86
+ credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
87
+ defaultUserAgentProvider?: Provider<__UserAgent>;
88
+ maxAttempts?: number | __Provider<number>;
89
+ retryMode?: string | __Provider<string>;
90
+ logger?: __Logger;
91
+ extensions?: RuntimeExtension[];
92
+ defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
93
+ }
94
+ export type SupplyChainClientConfigType = Partial<
95
+ __SmithyConfiguration<__HttpHandlerOptions>
96
+ > &
97
+ ClientDefaults &
98
+ RegionInputConfig &
99
+ EndpointInputConfig<EndpointParameters> &
100
+ RetryInputConfig &
101
+ HostHeaderInputConfig &
102
+ AwsAuthInputConfig &
103
+ UserAgentInputConfig &
104
+ ClientInputEndpointParameters;
105
+ export interface SupplyChainClientConfig extends SupplyChainClientConfigType {}
106
+ export type SupplyChainClientResolvedConfigType =
107
+ __SmithyResolvedConfiguration<__HttpHandlerOptions> &
108
+ Required<ClientDefaults> &
109
+ RuntimeExtensionsConfig &
110
+ RegionResolvedConfig &
111
+ EndpointResolvedConfig<EndpointParameters> &
112
+ RetryResolvedConfig &
113
+ HostHeaderResolvedConfig &
114
+ AwsAuthResolvedConfig &
115
+ UserAgentResolvedConfig &
116
+ ClientResolvedEndpointParameters;
117
+ export interface SupplyChainClientResolvedConfig
118
+ extends SupplyChainClientResolvedConfigType {}
119
+ export declare class SupplyChainClient extends __Client<
120
+ __HttpHandlerOptions,
121
+ ServiceInputTypes,
122
+ ServiceOutputTypes,
123
+ SupplyChainClientResolvedConfig
124
+ > {
125
+ readonly config: SupplyChainClientResolvedConfig;
126
+ constructor(
127
+ ...[configuration]: __CheckOptionalClientConfig<SupplyChainClientConfig>
128
+ );
129
+ destroy(): void;
130
+ }
@@ -0,0 +1,30 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ CreateBillOfMaterialsImportJobRequest,
5
+ CreateBillOfMaterialsImportJobResponse,
6
+ } from "../models/models_0";
7
+ import {
8
+ ServiceInputTypes,
9
+ ServiceOutputTypes,
10
+ SupplyChainClientResolvedConfig,
11
+ } from "../SupplyChainClient";
12
+ export { __MetadataBearer, $Command };
13
+ export interface CreateBillOfMaterialsImportJobCommandInput
14
+ extends CreateBillOfMaterialsImportJobRequest {}
15
+ export interface CreateBillOfMaterialsImportJobCommandOutput
16
+ extends CreateBillOfMaterialsImportJobResponse,
17
+ __MetadataBearer {}
18
+ declare const CreateBillOfMaterialsImportJobCommand_base: {
19
+ new (
20
+ input: CreateBillOfMaterialsImportJobCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
22
+ CreateBillOfMaterialsImportJobCommandInput,
23
+ CreateBillOfMaterialsImportJobCommandOutput,
24
+ SupplyChainClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
27
+ >;
28
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
+ };
30
+ export declare class CreateBillOfMaterialsImportJobCommand extends CreateBillOfMaterialsImportJobCommand_base {}
@@ -0,0 +1,30 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ GetBillOfMaterialsImportJobRequest,
5
+ GetBillOfMaterialsImportJobResponse,
6
+ } from "../models/models_0";
7
+ import {
8
+ ServiceInputTypes,
9
+ ServiceOutputTypes,
10
+ SupplyChainClientResolvedConfig,
11
+ } from "../SupplyChainClient";
12
+ export { __MetadataBearer, $Command };
13
+ export interface GetBillOfMaterialsImportJobCommandInput
14
+ extends GetBillOfMaterialsImportJobRequest {}
15
+ export interface GetBillOfMaterialsImportJobCommandOutput
16
+ extends GetBillOfMaterialsImportJobResponse,
17
+ __MetadataBearer {}
18
+ declare const GetBillOfMaterialsImportJobCommand_base: {
19
+ new (
20
+ input: GetBillOfMaterialsImportJobCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
22
+ GetBillOfMaterialsImportJobCommandInput,
23
+ GetBillOfMaterialsImportJobCommandOutput,
24
+ SupplyChainClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
27
+ >;
28
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
+ };
30
+ export declare class GetBillOfMaterialsImportJobCommand extends GetBillOfMaterialsImportJobCommand_base {}
@@ -0,0 +1,2 @@
1
+ export * from "./CreateBillOfMaterialsImportJobCommand";
2
+ export * from "./GetBillOfMaterialsImportJobCommand";
@@ -0,0 +1,51 @@
1
+ import {
2
+ Endpoint,
3
+ EndpointParameters as __EndpointParameters,
4
+ EndpointV2,
5
+ Provider,
6
+ } from "@smithy/types";
7
+ export interface ClientInputEndpointParameters {
8
+ region?: string | Provider<string>;
9
+ useDualstackEndpoint?: boolean | Provider<boolean>;
10
+ useFipsEndpoint?: boolean | Provider<boolean>;
11
+ endpoint?:
12
+ | string
13
+ | Provider<string>
14
+ | Endpoint
15
+ | Provider<Endpoint>
16
+ | EndpointV2
17
+ | Provider<EndpointV2>;
18
+ }
19
+ export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
20
+ defaultSigningName: string;
21
+ };
22
+ export declare const resolveClientEndpointParameters: <T>(
23
+ options: T & ClientInputEndpointParameters
24
+ ) => T &
25
+ ClientInputEndpointParameters & {
26
+ defaultSigningName: string;
27
+ };
28
+ export declare const commonParams: {
29
+ readonly UseFIPS: {
30
+ readonly type: "builtInParams";
31
+ readonly name: "useFipsEndpoint";
32
+ };
33
+ readonly Endpoint: {
34
+ readonly type: "builtInParams";
35
+ readonly name: "endpoint";
36
+ };
37
+ readonly Region: {
38
+ readonly type: "builtInParams";
39
+ readonly name: "region";
40
+ };
41
+ readonly UseDualStack: {
42
+ readonly type: "builtInParams";
43
+ readonly name: "useDualstackEndpoint";
44
+ };
45
+ };
46
+ export interface EndpointParameters extends __EndpointParameters {
47
+ Region?: string;
48
+ UseDualStack?: boolean;
49
+ UseFIPS?: boolean;
50
+ Endpoint?: string;
51
+ }
@@ -0,0 +1,8 @@
1
+ import { EndpointV2, Logger } from "@smithy/types";
2
+ import { EndpointParameters } from "./EndpointParameters";
3
+ export declare const defaultEndpointResolver: (
4
+ endpointParams: EndpointParameters,
5
+ context?: {
6
+ logger?: Logger;
7
+ }
8
+ ) => EndpointV2;
@@ -0,0 +1,2 @@
1
+ import { RuleSetObject } from "@smithy/types";
2
+ export declare const ruleSet: RuleSetObject;
@@ -0,0 +1,7 @@
1
+ import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
2
+ import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
3
+ import { DefaultExtensionConfiguration } from "@smithy/types";
4
+ export interface SupplyChainExtensionConfiguration
5
+ extends HttpHandlerExtensionConfiguration,
6
+ DefaultExtensionConfiguration,
7
+ AwsRegionExtensionConfiguration {}
@@ -0,0 +1,9 @@
1
+ export * from "./SupplyChainClient";
2
+ export * from "./SupplyChain";
3
+ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
4
+ export { RuntimeExtension } from "./runtimeExtensions";
5
+ export { SupplyChainExtensionConfiguration } from "./extensionConfiguration";
6
+ export * from "./commands";
7
+ export * from "./models";
8
+ import "@aws-sdk/util-endpoints";
9
+ export { SupplyChainServiceException } from "./models/SupplyChainServiceException";
@@ -0,0 +1,8 @@
1
+ import {
2
+ ServiceException as __ServiceException,
3
+ ServiceExceptionOptions as __ServiceExceptionOptions,
4
+ } from "@smithy/smithy-client";
5
+ export { __ServiceException, __ServiceExceptionOptions };
6
+ export declare class SupplyChainServiceException extends __ServiceException {
7
+ constructor(options: __ServiceExceptionOptions);
8
+ }
@@ -0,0 +1 @@
1
+ export * from "./models_0";
@@ -0,0 +1,84 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { SupplyChainServiceException as __BaseException } from "./SupplyChainServiceException";
3
+ export declare class AccessDeniedException extends __BaseException {
4
+ readonly name: "AccessDeniedException";
5
+ readonly $fault: "client";
6
+ constructor(
7
+ opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
8
+ );
9
+ }
10
+ export declare const ConfigurationJobStatus: {
11
+ readonly FAILED: "FAILED";
12
+ readonly IN_PROGRESS: "IN_PROGRESS";
13
+ readonly NEW: "NEW";
14
+ readonly QUEUED: "QUEUED";
15
+ readonly SUCCESS: "SUCCESS";
16
+ };
17
+ export type ConfigurationJobStatus =
18
+ (typeof ConfigurationJobStatus)[keyof typeof ConfigurationJobStatus];
19
+ export interface BillOfMaterialsImportJob {
20
+ instanceId: string | undefined;
21
+ jobId: string | undefined;
22
+ status: ConfigurationJobStatus | undefined;
23
+ s3uri: string | undefined;
24
+ message?: string;
25
+ }
26
+ export declare class ConflictException extends __BaseException {
27
+ readonly name: "ConflictException";
28
+ readonly $fault: "client";
29
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
30
+ }
31
+ export interface CreateBillOfMaterialsImportJobRequest {
32
+ instanceId: string | undefined;
33
+ s3uri: string | undefined;
34
+ clientToken?: string;
35
+ }
36
+ export interface CreateBillOfMaterialsImportJobResponse {
37
+ jobId: string | undefined;
38
+ }
39
+ export declare class InternalServerException extends __BaseException {
40
+ readonly name: "InternalServerException";
41
+ readonly $fault: "server";
42
+ $retryable: {};
43
+ constructor(
44
+ opts: __ExceptionOptionType<InternalServerException, __BaseException>
45
+ );
46
+ }
47
+ export declare class ResourceNotFoundException extends __BaseException {
48
+ readonly name: "ResourceNotFoundException";
49
+ readonly $fault: "client";
50
+ constructor(
51
+ opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
52
+ );
53
+ }
54
+ export declare class ServiceQuotaExceededException extends __BaseException {
55
+ readonly name: "ServiceQuotaExceededException";
56
+ readonly $fault: "client";
57
+ constructor(
58
+ opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
59
+ );
60
+ }
61
+ export declare class ThrottlingException extends __BaseException {
62
+ readonly name: "ThrottlingException";
63
+ readonly $fault: "client";
64
+ $retryable: {
65
+ throttling: boolean;
66
+ };
67
+ constructor(
68
+ opts: __ExceptionOptionType<ThrottlingException, __BaseException>
69
+ );
70
+ }
71
+ export declare class ValidationException extends __BaseException {
72
+ readonly name: "ValidationException";
73
+ readonly $fault: "client";
74
+ constructor(
75
+ opts: __ExceptionOptionType<ValidationException, __BaseException>
76
+ );
77
+ }
78
+ export interface GetBillOfMaterialsImportJobRequest {
79
+ instanceId: string | undefined;
80
+ jobId: string | undefined;
81
+ }
82
+ export interface GetBillOfMaterialsImportJobResponse {
83
+ job: BillOfMaterialsImportJob | undefined;
84
+ }
@@ -0,0 +1,29 @@
1
+ import {
2
+ HttpRequest as __HttpRequest,
3
+ HttpResponse as __HttpResponse,
4
+ } from "@smithy/protocol-http";
5
+ import { SerdeContext as __SerdeContext } from "@smithy/types";
6
+ import {
7
+ CreateBillOfMaterialsImportJobCommandInput,
8
+ CreateBillOfMaterialsImportJobCommandOutput,
9
+ } from "../commands/CreateBillOfMaterialsImportJobCommand";
10
+ import {
11
+ GetBillOfMaterialsImportJobCommandInput,
12
+ GetBillOfMaterialsImportJobCommandOutput,
13
+ } from "../commands/GetBillOfMaterialsImportJobCommand";
14
+ export declare const se_CreateBillOfMaterialsImportJobCommand: (
15
+ input: CreateBillOfMaterialsImportJobCommandInput,
16
+ context: __SerdeContext
17
+ ) => Promise<__HttpRequest>;
18
+ export declare const se_GetBillOfMaterialsImportJobCommand: (
19
+ input: GetBillOfMaterialsImportJobCommandInput,
20
+ context: __SerdeContext
21
+ ) => Promise<__HttpRequest>;
22
+ export declare const de_CreateBillOfMaterialsImportJobCommand: (
23
+ output: __HttpResponse,
24
+ context: __SerdeContext
25
+ ) => Promise<CreateBillOfMaterialsImportJobCommandOutput>;
26
+ export declare const de_GetBillOfMaterialsImportJobCommand: (
27
+ output: __HttpResponse,
28
+ context: __SerdeContext
29
+ ) => Promise<GetBillOfMaterialsImportJobCommandOutput>;