@aws-sdk/client-elementalinference 3.997.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 (119) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +271 -0
  3. package/dist-cjs/auth/httpAuthSchemeProvider.js +46 -0
  4. package/dist-cjs/endpoint/endpointResolver.js +18 -0
  5. package/dist-cjs/endpoint/ruleset.js +7 -0
  6. package/dist-cjs/index.js +362 -0
  7. package/dist-cjs/models/ElementalInferenceServiceException.js +12 -0
  8. package/dist-cjs/models/errors.js +98 -0
  9. package/dist-cjs/runtimeConfig.browser.js +38 -0
  10. package/dist-cjs/runtimeConfig.js +53 -0
  11. package/dist-cjs/runtimeConfig.native.js +15 -0
  12. package/dist-cjs/runtimeConfig.shared.js +43 -0
  13. package/dist-cjs/schemas/schemas_0.js +309 -0
  14. package/dist-es/ElementalInference.js +35 -0
  15. package/dist-es/ElementalInferenceClient.js +50 -0
  16. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  17. package/dist-es/auth/httpAuthSchemeProvider.js +40 -0
  18. package/dist-es/commands/AssociateFeedCommand.js +16 -0
  19. package/dist-es/commands/CreateFeedCommand.js +16 -0
  20. package/dist-es/commands/DeleteFeedCommand.js +16 -0
  21. package/dist-es/commands/DisassociateFeedCommand.js +16 -0
  22. package/dist-es/commands/GetFeedCommand.js +16 -0
  23. package/dist-es/commands/ListFeedsCommand.js +16 -0
  24. package/dist-es/commands/ListTagsForResourceCommand.js +16 -0
  25. package/dist-es/commands/TagResourceCommand.js +16 -0
  26. package/dist-es/commands/UntagResourceCommand.js +16 -0
  27. package/dist-es/commands/UpdateFeedCommand.js +16 -0
  28. package/dist-es/commands/index.js +10 -0
  29. package/dist-es/endpoint/EndpointParameters.js +13 -0
  30. package/dist-es/endpoint/endpointResolver.js +14 -0
  31. package/dist-es/endpoint/ruleset.js +4 -0
  32. package/dist-es/extensionConfiguration.js +1 -0
  33. package/dist-es/index.js +10 -0
  34. package/dist-es/models/ElementalInferenceServiceException.js +8 -0
  35. package/dist-es/models/enums.js +13 -0
  36. package/dist-es/models/errors.js +88 -0
  37. package/dist-es/models/models_0.js +1 -0
  38. package/dist-es/pagination/Interfaces.js +1 -0
  39. package/dist-es/pagination/ListFeedsPaginator.js +4 -0
  40. package/dist-es/pagination/index.js +2 -0
  41. package/dist-es/runtimeConfig.browser.js +33 -0
  42. package/dist-es/runtimeConfig.js +48 -0
  43. package/dist-es/runtimeConfig.native.js +11 -0
  44. package/dist-es/runtimeConfig.shared.js +39 -0
  45. package/dist-es/runtimeExtensions.js +9 -0
  46. package/dist-es/schemas/schemas_0.js +306 -0
  47. package/dist-es/waiters/index.js +1 -0
  48. package/dist-es/waiters/waitForFeedDeleted.js +49 -0
  49. package/dist-types/ElementalInference.d.ts +95 -0
  50. package/dist-types/ElementalInferenceClient.d.ts +197 -0
  51. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  52. package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
  53. package/dist-types/commands/AssociateFeedCommand.d.ts +111 -0
  54. package/dist-types/commands/CreateFeedCommand.d.ts +134 -0
  55. package/dist-types/commands/DeleteFeedCommand.d.ts +94 -0
  56. package/dist-types/commands/DisassociateFeedCommand.d.ts +95 -0
  57. package/dist-types/commands/GetFeedCommand.d.ts +112 -0
  58. package/dist-types/commands/ListFeedsCommand.d.ts +101 -0
  59. package/dist-types/commands/ListTagsForResourceCommand.d.ts +91 -0
  60. package/dist-types/commands/TagResourceCommand.d.ts +93 -0
  61. package/dist-types/commands/UntagResourceCommand.d.ts +93 -0
  62. package/dist-types/commands/UpdateFeedCommand.d.ts +136 -0
  63. package/dist-types/commands/index.d.ts +10 -0
  64. package/dist-types/endpoint/EndpointParameters.d.ts +50 -0
  65. package/dist-types/endpoint/endpointResolver.d.ts +8 -0
  66. package/dist-types/endpoint/ruleset.d.ts +2 -0
  67. package/dist-types/extensionConfiguration.d.ts +9 -0
  68. package/dist-types/index.d.ts +18 -0
  69. package/dist-types/models/ElementalInferenceServiceException.d.ts +14 -0
  70. package/dist-types/models/enums.d.ts +29 -0
  71. package/dist-types/models/errors.d.ts +89 -0
  72. package/dist-types/models/models_0.d.ts +563 -0
  73. package/dist-types/pagination/Interfaces.d.ts +8 -0
  74. package/dist-types/pagination/ListFeedsPaginator.d.ts +7 -0
  75. package/dist-types/pagination/index.d.ts +2 -0
  76. package/dist-types/runtimeConfig.browser.d.ts +55 -0
  77. package/dist-types/runtimeConfig.d.ts +55 -0
  78. package/dist-types/runtimeConfig.native.d.ts +54 -0
  79. package/dist-types/runtimeConfig.shared.d.ts +27 -0
  80. package/dist-types/runtimeExtensions.d.ts +17 -0
  81. package/dist-types/schemas/schemas_0.d.ts +52 -0
  82. package/dist-types/ts3.4/ElementalInference.d.ts +200 -0
  83. package/dist-types/ts3.4/ElementalInferenceClient.d.ts +182 -0
  84. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  85. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +47 -0
  86. package/dist-types/ts3.4/commands/AssociateFeedCommand.d.ts +50 -0
  87. package/dist-types/ts3.4/commands/CreateFeedCommand.d.ts +47 -0
  88. package/dist-types/ts3.4/commands/DeleteFeedCommand.d.ts +47 -0
  89. package/dist-types/ts3.4/commands/DisassociateFeedCommand.d.ts +50 -0
  90. package/dist-types/ts3.4/commands/GetFeedCommand.d.ts +43 -0
  91. package/dist-types/ts3.4/commands/ListFeedsCommand.d.ts +47 -0
  92. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
  93. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +45 -0
  94. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +45 -0
  95. package/dist-types/ts3.4/commands/UpdateFeedCommand.d.ts +47 -0
  96. package/dist-types/ts3.4/commands/index.d.ts +10 -0
  97. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
  98. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  99. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  100. package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  101. package/dist-types/ts3.4/index.d.ts +13 -0
  102. package/dist-types/ts3.4/models/ElementalInferenceServiceException.d.ts +9 -0
  103. package/dist-types/ts3.4/models/enums.d.ts +15 -0
  104. package/dist-types/ts3.4/models/errors.d.ts +52 -0
  105. package/dist-types/ts3.4/models/models_0.d.ts +153 -0
  106. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  107. package/dist-types/ts3.4/pagination/ListFeedsPaginator.d.ts +11 -0
  108. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  109. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +102 -0
  110. package/dist-types/ts3.4/runtimeConfig.d.ts +97 -0
  111. package/dist-types/ts3.4/runtimeConfig.native.d.ts +106 -0
  112. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +32 -0
  113. package/dist-types/ts3.4/runtimeExtensions.d.ts +13 -0
  114. package/dist-types/ts3.4/schemas/schemas_0.d.ts +52 -0
  115. package/dist-types/ts3.4/waiters/index.d.ts +1 -0
  116. package/dist-types/ts3.4/waiters/waitForFeedDeleted.d.ts +11 -0
  117. package/dist-types/waiters/index.d.ts +1 -0
  118. package/dist-types/waiters/waitForFeedDeleted.d.ts +14 -0
  119. package/package.json +101 -0
@@ -0,0 +1,55 @@
1
+ import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
2
+ import type { ElementalInferenceClientConfig } from "./ElementalInferenceClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const getRuntimeConfig: (config: ElementalInferenceClientConfig) => {
7
+ runtime: string;
8
+ defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
+ authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
10
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
11
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit) => import("@aws-sdk/credential-provider-node/dist-types/runtime/memoize-chain").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
12
+ defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
13
+ maxAttempts: number | import("@smithy/types").Provider<number>;
14
+ region: string | import("@smithy/types").Provider<string>;
15
+ requestHandler: RequestHandler | import("@smithy/protocol-http").HttpHandler<any>;
16
+ retryMode: string | import("@smithy/types").Provider<string>;
17
+ sha256: import("@smithy/types").HashConstructor;
18
+ streamCollector: import("@smithy/types").StreamCollector;
19
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
+ useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
21
+ userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
22
+ cacheMiddleware?: boolean | undefined;
23
+ protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
24
+ protocolSettings: {
25
+ defaultNamespace?: string;
26
+ [setting: string]: unknown;
27
+ };
28
+ apiVersion: string;
29
+ urlParser: import("@smithy/types").UrlParser;
30
+ base64Decoder: import("@smithy/types").Decoder;
31
+ base64Encoder: (_input: Uint8Array | string) => string;
32
+ utf8Decoder: import("@smithy/types").Decoder;
33
+ utf8Encoder: (input: Uint8Array | string) => string;
34
+ disableHostPrefix: boolean;
35
+ serviceId: string;
36
+ profile?: string;
37
+ logger: import("@smithy/types").Logger;
38
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
39
+ customUserAgent?: string | import("@smithy/types").UserAgent;
40
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
41
+ 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;
42
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
43
+ logger?: import("@smithy/types").Logger;
44
+ }) => import("@smithy/types").EndpointV2;
45
+ tls?: boolean;
46
+ serviceConfiguredEndpoint?: never;
47
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
48
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").ElementalInferenceHttpAuthSchemeProvider;
49
+ credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider;
50
+ signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise<import("@smithy/types").RequestSigner>);
51
+ signingEscapePath?: boolean;
52
+ systemClockOffset?: number;
53
+ signingRegion?: string;
54
+ signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner;
55
+ };
@@ -0,0 +1,54 @@
1
+ import type { ElementalInferenceClientConfig } from "./ElementalInferenceClient";
2
+ /**
3
+ * @internal
4
+ */
5
+ export declare const getRuntimeConfig: (config: ElementalInferenceClientConfig) => {
6
+ runtime: string;
7
+ sha256: import("@smithy/types").HashConstructor;
8
+ requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
9
+ cacheMiddleware?: boolean;
10
+ protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
11
+ protocolSettings: {
12
+ defaultNamespace?: string;
13
+ [setting: string]: unknown;
14
+ };
15
+ apiVersion: string;
16
+ urlParser: import("@smithy/types").UrlParser;
17
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
18
+ streamCollector: import("@smithy/types").StreamCollector;
19
+ base64Decoder: import("@smithy/types").Decoder;
20
+ base64Encoder: (_input: Uint8Array | string) => string;
21
+ utf8Decoder: import("@smithy/types").Decoder;
22
+ utf8Encoder: (input: Uint8Array | string) => string;
23
+ disableHostPrefix: boolean;
24
+ serviceId: string;
25
+ useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
26
+ useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
27
+ region: string | import("@smithy/types").Provider<any>;
28
+ profile?: string;
29
+ defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
30
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
31
+ maxAttempts: number | import("@smithy/types").Provider<number>;
32
+ retryMode: string | import("@smithy/types").Provider<string>;
33
+ logger: import("@smithy/types").Logger;
34
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
35
+ defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
36
+ customUserAgent?: string | import("@smithy/types").UserAgent;
37
+ userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
38
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
39
+ 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;
40
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
41
+ logger?: import("@smithy/types").Logger;
42
+ }) => import("@smithy/types").EndpointV2;
43
+ tls?: boolean;
44
+ serviceConfiguredEndpoint?: never;
45
+ authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
46
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
47
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").ElementalInferenceHttpAuthSchemeProvider;
48
+ credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider;
49
+ signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise<import("@smithy/types").RequestSigner>);
50
+ signingEscapePath?: boolean;
51
+ systemClockOffset?: number;
52
+ signingRegion?: string;
53
+ signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner;
54
+ };
@@ -0,0 +1,27 @@
1
+ import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
2
+ import type { ElementalInferenceClientConfig } from "./ElementalInferenceClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const getRuntimeConfig: (config: ElementalInferenceClientConfig) => {
7
+ apiVersion: string;
8
+ base64Decoder: import("@smithy/types").Decoder;
9
+ base64Encoder: (_input: Uint8Array | string) => string;
10
+ disableHostPrefix: boolean;
11
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
12
+ logger?: import("@smithy/types").Logger;
13
+ }) => import("@smithy/types").EndpointV2;
14
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
15
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").ElementalInferenceHttpAuthSchemeProvider;
16
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
17
+ logger: import("@smithy/types").Logger;
18
+ protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof AwsRestJsonProtocol;
19
+ protocolSettings: {
20
+ [setting: string]: unknown;
21
+ defaultNamespace?: string;
22
+ };
23
+ serviceId: string;
24
+ urlParser: import("@smithy/types").UrlParser;
25
+ utf8Decoder: import("@smithy/types").Decoder;
26
+ utf8Encoder: (input: Uint8Array | string) => string;
27
+ };
@@ -0,0 +1,17 @@
1
+ import type { ElementalInferenceExtensionConfiguration } from "./extensionConfiguration";
2
+ /**
3
+ * @public
4
+ */
5
+ export interface RuntimeExtension {
6
+ configure(extensionConfiguration: ElementalInferenceExtensionConfiguration): 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,52 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
2
+ import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema, StaticUnionSchema } from "@smithy/types";
3
+ export declare var ElementalInferenceServiceException$: StaticErrorSchema;
4
+ export declare var AccessDeniedException$: StaticErrorSchema;
5
+ export declare var ConflictException$: StaticErrorSchema;
6
+ export declare var InternalServerErrorException$: StaticErrorSchema;
7
+ export declare var ResourceNotFoundException$: StaticErrorSchema;
8
+ export declare var ServiceQuotaExceededException$: StaticErrorSchema;
9
+ export declare var TooManyRequestException$: StaticErrorSchema;
10
+ export declare var ValidationException$: StaticErrorSchema;
11
+ /**
12
+ * TypeRegistry instances containing modeled errors.
13
+ * @internal
14
+ *
15
+ */
16
+ export declare const errorTypeRegistries: TypeRegistry[];
17
+ export declare var AssociateFeedRequest$: StaticStructureSchema;
18
+ export declare var AssociateFeedResponse$: StaticStructureSchema;
19
+ export declare var ClippingConfig$: StaticStructureSchema;
20
+ export declare var CreateFeedRequest$: StaticStructureSchema;
21
+ export declare var CreateFeedResponse$: StaticStructureSchema;
22
+ export declare var CreateOutput$: StaticStructureSchema;
23
+ export declare var CroppingConfig$: StaticStructureSchema;
24
+ export declare var DeleteFeedRequest$: StaticStructureSchema;
25
+ export declare var DeleteFeedResponse$: StaticStructureSchema;
26
+ export declare var DisassociateFeedRequest$: StaticStructureSchema;
27
+ export declare var DisassociateFeedResponse$: StaticStructureSchema;
28
+ export declare var FeedAssociation$: StaticStructureSchema;
29
+ export declare var FeedSummary$: StaticStructureSchema;
30
+ export declare var GetFeedRequest$: StaticStructureSchema;
31
+ export declare var GetFeedResponse$: StaticStructureSchema;
32
+ export declare var GetOutput$: StaticStructureSchema;
33
+ export declare var ListFeedsRequest$: StaticStructureSchema;
34
+ export declare var ListFeedsResponse$: StaticStructureSchema;
35
+ export declare var ListTagsForResourceRequest$: StaticStructureSchema;
36
+ export declare var ListTagsForResourceResponse$: StaticStructureSchema;
37
+ export declare var TagResourceRequest$: StaticStructureSchema;
38
+ export declare var UntagResourceRequest$: StaticStructureSchema;
39
+ export declare var UpdateFeedRequest$: StaticStructureSchema;
40
+ export declare var UpdateFeedResponse$: StaticStructureSchema;
41
+ export declare var UpdateOutput$: StaticStructureSchema;
42
+ export declare var OutputConfig$: StaticUnionSchema;
43
+ export declare var AssociateFeed$: StaticOperationSchema;
44
+ export declare var CreateFeed$: StaticOperationSchema;
45
+ export declare var DeleteFeed$: StaticOperationSchema;
46
+ export declare var DisassociateFeed$: StaticOperationSchema;
47
+ export declare var GetFeed$: StaticOperationSchema;
48
+ export declare var ListFeeds$: StaticOperationSchema;
49
+ export declare var ListTagsForResource$: StaticOperationSchema;
50
+ export declare var TagResource$: StaticOperationSchema;
51
+ export declare var UntagResource$: StaticOperationSchema;
52
+ export declare var UpdateFeed$: StaticOperationSchema;
@@ -0,0 +1,200 @@
1
+ import {
2
+ HttpHandlerOptions as __HttpHandlerOptions,
3
+ PaginationConfiguration,
4
+ Paginator,
5
+ WaiterConfiguration,
6
+ } from "@smithy/types";
7
+ import { WaiterResult } from "@smithy/util-waiter";
8
+ import {
9
+ AssociateFeedCommandInput,
10
+ AssociateFeedCommandOutput,
11
+ } from "./commands/AssociateFeedCommand";
12
+ import {
13
+ CreateFeedCommandInput,
14
+ CreateFeedCommandOutput,
15
+ } from "./commands/CreateFeedCommand";
16
+ import {
17
+ DeleteFeedCommandInput,
18
+ DeleteFeedCommandOutput,
19
+ } from "./commands/DeleteFeedCommand";
20
+ import {
21
+ DisassociateFeedCommandInput,
22
+ DisassociateFeedCommandOutput,
23
+ } from "./commands/DisassociateFeedCommand";
24
+ import {
25
+ GetFeedCommandInput,
26
+ GetFeedCommandOutput,
27
+ } from "./commands/GetFeedCommand";
28
+ import {
29
+ ListFeedsCommandInput,
30
+ ListFeedsCommandOutput,
31
+ } from "./commands/ListFeedsCommand";
32
+ import {
33
+ ListTagsForResourceCommandInput,
34
+ ListTagsForResourceCommandOutput,
35
+ } from "./commands/ListTagsForResourceCommand";
36
+ import {
37
+ TagResourceCommandInput,
38
+ TagResourceCommandOutput,
39
+ } from "./commands/TagResourceCommand";
40
+ import {
41
+ UntagResourceCommandInput,
42
+ UntagResourceCommandOutput,
43
+ } from "./commands/UntagResourceCommand";
44
+ import {
45
+ UpdateFeedCommandInput,
46
+ UpdateFeedCommandOutput,
47
+ } from "./commands/UpdateFeedCommand";
48
+ import { ElementalInferenceClient } from "./ElementalInferenceClient";
49
+ export interface ElementalInference {
50
+ associateFeed(
51
+ args: AssociateFeedCommandInput,
52
+ options?: __HttpHandlerOptions
53
+ ): Promise<AssociateFeedCommandOutput>;
54
+ associateFeed(
55
+ args: AssociateFeedCommandInput,
56
+ cb: (err: any, data?: AssociateFeedCommandOutput) => void
57
+ ): void;
58
+ associateFeed(
59
+ args: AssociateFeedCommandInput,
60
+ options: __HttpHandlerOptions,
61
+ cb: (err: any, data?: AssociateFeedCommandOutput) => void
62
+ ): void;
63
+ createFeed(
64
+ args: CreateFeedCommandInput,
65
+ options?: __HttpHandlerOptions
66
+ ): Promise<CreateFeedCommandOutput>;
67
+ createFeed(
68
+ args: CreateFeedCommandInput,
69
+ cb: (err: any, data?: CreateFeedCommandOutput) => void
70
+ ): void;
71
+ createFeed(
72
+ args: CreateFeedCommandInput,
73
+ options: __HttpHandlerOptions,
74
+ cb: (err: any, data?: CreateFeedCommandOutput) => void
75
+ ): void;
76
+ deleteFeed(
77
+ args: DeleteFeedCommandInput,
78
+ options?: __HttpHandlerOptions
79
+ ): Promise<DeleteFeedCommandOutput>;
80
+ deleteFeed(
81
+ args: DeleteFeedCommandInput,
82
+ cb: (err: any, data?: DeleteFeedCommandOutput) => void
83
+ ): void;
84
+ deleteFeed(
85
+ args: DeleteFeedCommandInput,
86
+ options: __HttpHandlerOptions,
87
+ cb: (err: any, data?: DeleteFeedCommandOutput) => void
88
+ ): void;
89
+ disassociateFeed(
90
+ args: DisassociateFeedCommandInput,
91
+ options?: __HttpHandlerOptions
92
+ ): Promise<DisassociateFeedCommandOutput>;
93
+ disassociateFeed(
94
+ args: DisassociateFeedCommandInput,
95
+ cb: (err: any, data?: DisassociateFeedCommandOutput) => void
96
+ ): void;
97
+ disassociateFeed(
98
+ args: DisassociateFeedCommandInput,
99
+ options: __HttpHandlerOptions,
100
+ cb: (err: any, data?: DisassociateFeedCommandOutput) => void
101
+ ): void;
102
+ getFeed(
103
+ args: GetFeedCommandInput,
104
+ options?: __HttpHandlerOptions
105
+ ): Promise<GetFeedCommandOutput>;
106
+ getFeed(
107
+ args: GetFeedCommandInput,
108
+ cb: (err: any, data?: GetFeedCommandOutput) => void
109
+ ): void;
110
+ getFeed(
111
+ args: GetFeedCommandInput,
112
+ options: __HttpHandlerOptions,
113
+ cb: (err: any, data?: GetFeedCommandOutput) => void
114
+ ): void;
115
+ listFeeds(): Promise<ListFeedsCommandOutput>;
116
+ listFeeds(
117
+ args: ListFeedsCommandInput,
118
+ options?: __HttpHandlerOptions
119
+ ): Promise<ListFeedsCommandOutput>;
120
+ listFeeds(
121
+ args: ListFeedsCommandInput,
122
+ cb: (err: any, data?: ListFeedsCommandOutput) => void
123
+ ): void;
124
+ listFeeds(
125
+ args: ListFeedsCommandInput,
126
+ options: __HttpHandlerOptions,
127
+ cb: (err: any, data?: ListFeedsCommandOutput) => void
128
+ ): void;
129
+ listTagsForResource(
130
+ args: ListTagsForResourceCommandInput,
131
+ options?: __HttpHandlerOptions
132
+ ): Promise<ListTagsForResourceCommandOutput>;
133
+ listTagsForResource(
134
+ args: ListTagsForResourceCommandInput,
135
+ cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
136
+ ): void;
137
+ listTagsForResource(
138
+ args: ListTagsForResourceCommandInput,
139
+ options: __HttpHandlerOptions,
140
+ cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
141
+ ): void;
142
+ tagResource(
143
+ args: TagResourceCommandInput,
144
+ options?: __HttpHandlerOptions
145
+ ): Promise<TagResourceCommandOutput>;
146
+ tagResource(
147
+ args: TagResourceCommandInput,
148
+ cb: (err: any, data?: TagResourceCommandOutput) => void
149
+ ): void;
150
+ tagResource(
151
+ args: TagResourceCommandInput,
152
+ options: __HttpHandlerOptions,
153
+ cb: (err: any, data?: TagResourceCommandOutput) => void
154
+ ): void;
155
+ untagResource(
156
+ args: UntagResourceCommandInput,
157
+ options?: __HttpHandlerOptions
158
+ ): Promise<UntagResourceCommandOutput>;
159
+ untagResource(
160
+ args: UntagResourceCommandInput,
161
+ cb: (err: any, data?: UntagResourceCommandOutput) => void
162
+ ): void;
163
+ untagResource(
164
+ args: UntagResourceCommandInput,
165
+ options: __HttpHandlerOptions,
166
+ cb: (err: any, data?: UntagResourceCommandOutput) => void
167
+ ): void;
168
+ updateFeed(
169
+ args: UpdateFeedCommandInput,
170
+ options?: __HttpHandlerOptions
171
+ ): Promise<UpdateFeedCommandOutput>;
172
+ updateFeed(
173
+ args: UpdateFeedCommandInput,
174
+ cb: (err: any, data?: UpdateFeedCommandOutput) => void
175
+ ): void;
176
+ updateFeed(
177
+ args: UpdateFeedCommandInput,
178
+ options: __HttpHandlerOptions,
179
+ cb: (err: any, data?: UpdateFeedCommandOutput) => void
180
+ ): void;
181
+ paginateListFeeds(
182
+ args?: ListFeedsCommandInput,
183
+ paginationConfig?: Pick<
184
+ PaginationConfiguration,
185
+ Exclude<keyof PaginationConfiguration, "client">
186
+ >
187
+ ): Paginator<ListFeedsCommandOutput>;
188
+ waitUntilFeedDeleted(
189
+ args: GetFeedCommandInput,
190
+ waiterConfig:
191
+ | number
192
+ | Pick<
193
+ WaiterConfiguration<ElementalInference>,
194
+ Exclude<keyof WaiterConfiguration<ElementalInference>, "client">
195
+ >
196
+ ): Promise<WaiterResult>;
197
+ }
198
+ export declare class ElementalInference
199
+ extends ElementalInferenceClient
200
+ implements ElementalInference {}
@@ -0,0 +1,182 @@
1
+ import {
2
+ HostHeaderInputConfig,
3
+ HostHeaderResolvedConfig,
4
+ } from "@aws-sdk/middleware-host-header";
5
+ import {
6
+ UserAgentInputConfig,
7
+ UserAgentResolvedConfig,
8
+ } from "@aws-sdk/middleware-user-agent";
9
+ import {
10
+ RegionInputConfig,
11
+ RegionResolvedConfig,
12
+ } from "@smithy/config-resolver";
13
+ import {
14
+ EndpointInputConfig,
15
+ EndpointResolvedConfig,
16
+ } from "@smithy/middleware-endpoint";
17
+ import {
18
+ RetryInputConfig,
19
+ RetryResolvedConfig,
20
+ } from "@smithy/middleware-retry";
21
+ import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
22
+ import {
23
+ DefaultsMode as __DefaultsMode,
24
+ SmithyConfiguration as __SmithyConfiguration,
25
+ SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
26
+ Client as __Client,
27
+ } from "@smithy/smithy-client";
28
+ import {
29
+ BodyLengthCalculator as __BodyLengthCalculator,
30
+ CheckOptionalClientConfig as __CheckOptionalClientConfig,
31
+ ChecksumConstructor as __ChecksumConstructor,
32
+ Decoder as __Decoder,
33
+ Encoder as __Encoder,
34
+ HashConstructor as __HashConstructor,
35
+ HttpHandlerOptions as __HttpHandlerOptions,
36
+ Logger as __Logger,
37
+ Provider as __Provider,
38
+ StreamCollector as __StreamCollector,
39
+ UrlParser as __UrlParser,
40
+ AwsCredentialIdentityProvider,
41
+ Provider,
42
+ UserAgent as __UserAgent,
43
+ } from "@smithy/types";
44
+ import {
45
+ HttpAuthSchemeInputConfig,
46
+ HttpAuthSchemeResolvedConfig,
47
+ } from "./auth/httpAuthSchemeProvider";
48
+ import {
49
+ AssociateFeedCommandInput,
50
+ AssociateFeedCommandOutput,
51
+ } from "./commands/AssociateFeedCommand";
52
+ import {
53
+ CreateFeedCommandInput,
54
+ CreateFeedCommandOutput,
55
+ } from "./commands/CreateFeedCommand";
56
+ import {
57
+ DeleteFeedCommandInput,
58
+ DeleteFeedCommandOutput,
59
+ } from "./commands/DeleteFeedCommand";
60
+ import {
61
+ DisassociateFeedCommandInput,
62
+ DisassociateFeedCommandOutput,
63
+ } from "./commands/DisassociateFeedCommand";
64
+ import {
65
+ GetFeedCommandInput,
66
+ GetFeedCommandOutput,
67
+ } from "./commands/GetFeedCommand";
68
+ import {
69
+ ListFeedsCommandInput,
70
+ ListFeedsCommandOutput,
71
+ } from "./commands/ListFeedsCommand";
72
+ import {
73
+ ListTagsForResourceCommandInput,
74
+ ListTagsForResourceCommandOutput,
75
+ } from "./commands/ListTagsForResourceCommand";
76
+ import {
77
+ TagResourceCommandInput,
78
+ TagResourceCommandOutput,
79
+ } from "./commands/TagResourceCommand";
80
+ import {
81
+ UntagResourceCommandInput,
82
+ UntagResourceCommandOutput,
83
+ } from "./commands/UntagResourceCommand";
84
+ import {
85
+ UpdateFeedCommandInput,
86
+ UpdateFeedCommandOutput,
87
+ } from "./commands/UpdateFeedCommand";
88
+ import {
89
+ ClientInputEndpointParameters,
90
+ ClientResolvedEndpointParameters,
91
+ EndpointParameters,
92
+ } from "./endpoint/EndpointParameters";
93
+ import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
94
+ export { __Client };
95
+ export type ServiceInputTypes =
96
+ | AssociateFeedCommandInput
97
+ | CreateFeedCommandInput
98
+ | DeleteFeedCommandInput
99
+ | DisassociateFeedCommandInput
100
+ | GetFeedCommandInput
101
+ | ListFeedsCommandInput
102
+ | ListTagsForResourceCommandInput
103
+ | TagResourceCommandInput
104
+ | UntagResourceCommandInput
105
+ | UpdateFeedCommandInput;
106
+ export type ServiceOutputTypes =
107
+ | AssociateFeedCommandOutput
108
+ | CreateFeedCommandOutput
109
+ | DeleteFeedCommandOutput
110
+ | DisassociateFeedCommandOutput
111
+ | GetFeedCommandOutput
112
+ | ListFeedsCommandOutput
113
+ | ListTagsForResourceCommandOutput
114
+ | TagResourceCommandOutput
115
+ | UntagResourceCommandOutput
116
+ | UpdateFeedCommandOutput;
117
+ export interface ClientDefaults
118
+ extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
119
+ requestHandler?: __HttpHandlerUserInput;
120
+ sha256?: __ChecksumConstructor | __HashConstructor;
121
+ urlParser?: __UrlParser;
122
+ bodyLengthChecker?: __BodyLengthCalculator;
123
+ streamCollector?: __StreamCollector;
124
+ base64Decoder?: __Decoder;
125
+ base64Encoder?: __Encoder;
126
+ utf8Decoder?: __Decoder;
127
+ utf8Encoder?: __Encoder;
128
+ runtime?: string;
129
+ disableHostPrefix?: boolean;
130
+ serviceId?: string;
131
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
132
+ useFipsEndpoint?: boolean | __Provider<boolean>;
133
+ region?: string | __Provider<string>;
134
+ profile?: string;
135
+ defaultUserAgentProvider?: Provider<__UserAgent>;
136
+ credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
137
+ maxAttempts?: number | __Provider<number>;
138
+ retryMode?: string | __Provider<string>;
139
+ logger?: __Logger;
140
+ extensions?: RuntimeExtension[];
141
+ defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
142
+ }
143
+ export type ElementalInferenceClientConfigType = Partial<
144
+ __SmithyConfiguration<__HttpHandlerOptions>
145
+ > &
146
+ ClientDefaults &
147
+ UserAgentInputConfig &
148
+ RetryInputConfig &
149
+ RegionInputConfig &
150
+ HostHeaderInputConfig &
151
+ EndpointInputConfig<EndpointParameters> &
152
+ HttpAuthSchemeInputConfig &
153
+ ClientInputEndpointParameters;
154
+ export interface ElementalInferenceClientConfig
155
+ extends ElementalInferenceClientConfigType {}
156
+ export type ElementalInferenceClientResolvedConfigType =
157
+ __SmithyResolvedConfiguration<__HttpHandlerOptions> &
158
+ Required<ClientDefaults> &
159
+ RuntimeExtensionsConfig &
160
+ UserAgentResolvedConfig &
161
+ RetryResolvedConfig &
162
+ RegionResolvedConfig &
163
+ HostHeaderResolvedConfig &
164
+ EndpointResolvedConfig<EndpointParameters> &
165
+ HttpAuthSchemeResolvedConfig &
166
+ ClientResolvedEndpointParameters;
167
+ export interface ElementalInferenceClientResolvedConfig
168
+ extends ElementalInferenceClientResolvedConfigType {}
169
+ export declare class ElementalInferenceClient extends __Client<
170
+ __HttpHandlerOptions,
171
+ ServiceInputTypes,
172
+ ServiceOutputTypes,
173
+ ElementalInferenceClientResolvedConfig
174
+ > {
175
+ readonly config: ElementalInferenceClientResolvedConfig;
176
+ constructor(
177
+ ...[
178
+ configuration,
179
+ ]: __CheckOptionalClientConfig<ElementalInferenceClientConfig>
180
+ );
181
+ destroy(): void;
182
+ }
@@ -0,0 +1,32 @@
1
+ import {
2
+ HttpAuthScheme,
3
+ AwsCredentialIdentity,
4
+ AwsCredentialIdentityProvider,
5
+ } from "@smithy/types";
6
+ import { ElementalInferenceHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
7
+ export interface HttpAuthExtensionConfiguration {
8
+ setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
9
+ httpAuthSchemes(): HttpAuthScheme[];
10
+ setHttpAuthSchemeProvider(
11
+ httpAuthSchemeProvider: ElementalInferenceHttpAuthSchemeProvider
12
+ ): void;
13
+ httpAuthSchemeProvider(): ElementalInferenceHttpAuthSchemeProvider;
14
+ setCredentials(
15
+ credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider
16
+ ): void;
17
+ credentials():
18
+ | AwsCredentialIdentity
19
+ | AwsCredentialIdentityProvider
20
+ | undefined;
21
+ }
22
+ export type HttpAuthRuntimeConfig = Partial<{
23
+ httpAuthSchemes: HttpAuthScheme[];
24
+ httpAuthSchemeProvider: ElementalInferenceHttpAuthSchemeProvider;
25
+ credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
26
+ }>;
27
+ export declare const getHttpAuthExtensionConfiguration: (
28
+ runtimeConfig: HttpAuthRuntimeConfig
29
+ ) => HttpAuthExtensionConfiguration;
30
+ export declare const resolveHttpAuthRuntimeConfig: (
31
+ config: HttpAuthExtensionConfiguration
32
+ ) => HttpAuthRuntimeConfig;
@@ -0,0 +1,47 @@
1
+ import {
2
+ AwsSdkSigV4AuthInputConfig,
3
+ AwsSdkSigV4AuthResolvedConfig,
4
+ AwsSdkSigV4PreviouslyResolved,
5
+ } from "@aws-sdk/core";
6
+ import {
7
+ HandlerExecutionContext,
8
+ HttpAuthScheme,
9
+ HttpAuthSchemeParameters,
10
+ HttpAuthSchemeParametersProvider,
11
+ HttpAuthSchemeProvider,
12
+ Provider,
13
+ } from "@smithy/types";
14
+ import { ElementalInferenceClientResolvedConfig } from "../ElementalInferenceClient";
15
+ export interface ElementalInferenceHttpAuthSchemeParameters
16
+ extends HttpAuthSchemeParameters {
17
+ region?: string;
18
+ }
19
+ export interface ElementalInferenceHttpAuthSchemeParametersProvider
20
+ extends HttpAuthSchemeParametersProvider<
21
+ ElementalInferenceClientResolvedConfig,
22
+ HandlerExecutionContext,
23
+ ElementalInferenceHttpAuthSchemeParameters,
24
+ object
25
+ > {}
26
+ export declare const defaultElementalInferenceHttpAuthSchemeParametersProvider: (
27
+ config: ElementalInferenceClientResolvedConfig,
28
+ context: HandlerExecutionContext,
29
+ input: object
30
+ ) => Promise<ElementalInferenceHttpAuthSchemeParameters>;
31
+ export interface ElementalInferenceHttpAuthSchemeProvider
32
+ extends HttpAuthSchemeProvider<ElementalInferenceHttpAuthSchemeParameters> {}
33
+ export declare const defaultElementalInferenceHttpAuthSchemeProvider: ElementalInferenceHttpAuthSchemeProvider;
34
+ export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
35
+ authSchemePreference?: string[] | Provider<string[]>;
36
+ httpAuthSchemes?: HttpAuthScheme[];
37
+ httpAuthSchemeProvider?: ElementalInferenceHttpAuthSchemeProvider;
38
+ }
39
+ export interface HttpAuthSchemeResolvedConfig
40
+ extends AwsSdkSigV4AuthResolvedConfig {
41
+ readonly authSchemePreference: Provider<string[]>;
42
+ readonly httpAuthSchemes: HttpAuthScheme[];
43
+ readonly httpAuthSchemeProvider: ElementalInferenceHttpAuthSchemeProvider;
44
+ }
45
+ export declare const resolveHttpAuthSchemeConfig: <T>(
46
+ config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved
47
+ ) => T & HttpAuthSchemeResolvedConfig;