@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,95 @@
1
+ import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator, WaiterConfiguration } from "@smithy/types";
2
+ import type { WaiterResult } from "@smithy/util-waiter";
3
+ import { AssociateFeedCommandInput, AssociateFeedCommandOutput } from "./commands/AssociateFeedCommand";
4
+ import { CreateFeedCommandInput, CreateFeedCommandOutput } from "./commands/CreateFeedCommand";
5
+ import { DeleteFeedCommandInput, DeleteFeedCommandOutput } from "./commands/DeleteFeedCommand";
6
+ import { DisassociateFeedCommandInput, DisassociateFeedCommandOutput } from "./commands/DisassociateFeedCommand";
7
+ import { GetFeedCommandInput, GetFeedCommandOutput } from "./commands/GetFeedCommand";
8
+ import { ListFeedsCommandInput, ListFeedsCommandOutput } from "./commands/ListFeedsCommand";
9
+ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
10
+ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
11
+ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
12
+ import { UpdateFeedCommandInput, UpdateFeedCommandOutput } from "./commands/UpdateFeedCommand";
13
+ import { ElementalInferenceClient } from "./ElementalInferenceClient";
14
+ export interface ElementalInference {
15
+ /**
16
+ * @see {@link AssociateFeedCommand}
17
+ */
18
+ associateFeed(args: AssociateFeedCommandInput, options?: __HttpHandlerOptions): Promise<AssociateFeedCommandOutput>;
19
+ associateFeed(args: AssociateFeedCommandInput, cb: (err: any, data?: AssociateFeedCommandOutput) => void): void;
20
+ associateFeed(args: AssociateFeedCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateFeedCommandOutput) => void): void;
21
+ /**
22
+ * @see {@link CreateFeedCommand}
23
+ */
24
+ createFeed(args: CreateFeedCommandInput, options?: __HttpHandlerOptions): Promise<CreateFeedCommandOutput>;
25
+ createFeed(args: CreateFeedCommandInput, cb: (err: any, data?: CreateFeedCommandOutput) => void): void;
26
+ createFeed(args: CreateFeedCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateFeedCommandOutput) => void): void;
27
+ /**
28
+ * @see {@link DeleteFeedCommand}
29
+ */
30
+ deleteFeed(args: DeleteFeedCommandInput, options?: __HttpHandlerOptions): Promise<DeleteFeedCommandOutput>;
31
+ deleteFeed(args: DeleteFeedCommandInput, cb: (err: any, data?: DeleteFeedCommandOutput) => void): void;
32
+ deleteFeed(args: DeleteFeedCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteFeedCommandOutput) => void): void;
33
+ /**
34
+ * @see {@link DisassociateFeedCommand}
35
+ */
36
+ disassociateFeed(args: DisassociateFeedCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateFeedCommandOutput>;
37
+ disassociateFeed(args: DisassociateFeedCommandInput, cb: (err: any, data?: DisassociateFeedCommandOutput) => void): void;
38
+ disassociateFeed(args: DisassociateFeedCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateFeedCommandOutput) => void): void;
39
+ /**
40
+ * @see {@link GetFeedCommand}
41
+ */
42
+ getFeed(args: GetFeedCommandInput, options?: __HttpHandlerOptions): Promise<GetFeedCommandOutput>;
43
+ getFeed(args: GetFeedCommandInput, cb: (err: any, data?: GetFeedCommandOutput) => void): void;
44
+ getFeed(args: GetFeedCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetFeedCommandOutput) => void): void;
45
+ /**
46
+ * @see {@link ListFeedsCommand}
47
+ */
48
+ listFeeds(): Promise<ListFeedsCommandOutput>;
49
+ listFeeds(args: ListFeedsCommandInput, options?: __HttpHandlerOptions): Promise<ListFeedsCommandOutput>;
50
+ listFeeds(args: ListFeedsCommandInput, cb: (err: any, data?: ListFeedsCommandOutput) => void): void;
51
+ listFeeds(args: ListFeedsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListFeedsCommandOutput) => void): void;
52
+ /**
53
+ * @see {@link ListTagsForResourceCommand}
54
+ */
55
+ listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
56
+ listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
57
+ listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
58
+ /**
59
+ * @see {@link TagResourceCommand}
60
+ */
61
+ tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
62
+ tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
63
+ tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
64
+ /**
65
+ * @see {@link UntagResourceCommand}
66
+ */
67
+ untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
68
+ untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
69
+ untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
70
+ /**
71
+ * @see {@link UpdateFeedCommand}
72
+ */
73
+ updateFeed(args: UpdateFeedCommandInput, options?: __HttpHandlerOptions): Promise<UpdateFeedCommandOutput>;
74
+ updateFeed(args: UpdateFeedCommandInput, cb: (err: any, data?: UpdateFeedCommandOutput) => void): void;
75
+ updateFeed(args: UpdateFeedCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateFeedCommandOutput) => void): void;
76
+ /**
77
+ * @see {@link ListFeedsCommand}
78
+ * @param args - command input.
79
+ * @param paginationConfig - optional pagination config.
80
+ * @returns AsyncIterable of {@link ListFeedsCommandOutput}.
81
+ */
82
+ paginateListFeeds(args?: ListFeedsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListFeedsCommandOutput>;
83
+ /**
84
+ * @see {@link GetFeedCommand}
85
+ * @param args - command input.
86
+ * @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
87
+ */
88
+ waitUntilFeedDeleted(args: GetFeedCommandInput, waiterConfig: number | Omit<WaiterConfiguration<ElementalInference>, "client">): Promise<WaiterResult>;
89
+ }
90
+ /**
91
+ * <p>This is the AWS Elemental Inference REST API Reference. It provides information on the URL, request contents, and response contents of each AWS Elemental Inference REST operation. </p> <p>We assume that you have the IAM permissions that you need to use AWS Elemental Inference via the REST API. We also assume that you are familiar with the features and operations of AWS Elemental Inference as described in <i>AWS Elemental Inference User Guide</i>. </p>
92
+ * @public
93
+ */
94
+ export declare class ElementalInference extends ElementalInferenceClient implements ElementalInference {
95
+ }
@@ -0,0 +1,197 @@
1
+ import { type HostHeaderInputConfig, type HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
2
+ import { type UserAgentInputConfig, type UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
3
+ import { type RegionInputConfig, type RegionResolvedConfig } from "@smithy/config-resolver";
4
+ import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/middleware-endpoint";
5
+ import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry";
6
+ import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
7
+ import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client";
8
+ import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type Decoder as __Decoder, type Encoder as __Encoder, type HashConstructor as __HashConstructor, type HttpHandlerOptions as __HttpHandlerOptions, type Logger as __Logger, type Provider as __Provider, type StreamCollector as __StreamCollector, type UrlParser as __UrlParser, AwsCredentialIdentityProvider, Provider, UserAgent as __UserAgent } from "@smithy/types";
9
+ import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
10
+ import { AssociateFeedCommandInput, AssociateFeedCommandOutput } from "./commands/AssociateFeedCommand";
11
+ import { CreateFeedCommandInput, CreateFeedCommandOutput } from "./commands/CreateFeedCommand";
12
+ import { DeleteFeedCommandInput, DeleteFeedCommandOutput } from "./commands/DeleteFeedCommand";
13
+ import { DisassociateFeedCommandInput, DisassociateFeedCommandOutput } from "./commands/DisassociateFeedCommand";
14
+ import { GetFeedCommandInput, GetFeedCommandOutput } from "./commands/GetFeedCommand";
15
+ import { ListFeedsCommandInput, ListFeedsCommandOutput } from "./commands/ListFeedsCommand";
16
+ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
17
+ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
18
+ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
19
+ import { UpdateFeedCommandInput, UpdateFeedCommandOutput } from "./commands/UpdateFeedCommand";
20
+ import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
21
+ import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions";
22
+ export { __Client };
23
+ /**
24
+ * @public
25
+ */
26
+ export type ServiceInputTypes = AssociateFeedCommandInput | CreateFeedCommandInput | DeleteFeedCommandInput | DisassociateFeedCommandInput | GetFeedCommandInput | ListFeedsCommandInput | ListTagsForResourceCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateFeedCommandInput;
27
+ /**
28
+ * @public
29
+ */
30
+ export type ServiceOutputTypes = AssociateFeedCommandOutput | CreateFeedCommandOutput | DeleteFeedCommandOutput | DisassociateFeedCommandOutput | GetFeedCommandOutput | ListFeedsCommandOutput | ListTagsForResourceCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateFeedCommandOutput;
31
+ /**
32
+ * @public
33
+ */
34
+ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
35
+ /**
36
+ * The HTTP handler to use or its constructor options. Fetch in browser and Https in Nodejs.
37
+ */
38
+ requestHandler?: __HttpHandlerUserInput;
39
+ /**
40
+ * A constructor for a class implementing the {@link @smithy/types#ChecksumConstructor} interface
41
+ * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
42
+ * @internal
43
+ */
44
+ sha256?: __ChecksumConstructor | __HashConstructor;
45
+ /**
46
+ * The function that will be used to convert strings into HTTP endpoints.
47
+ * @internal
48
+ */
49
+ urlParser?: __UrlParser;
50
+ /**
51
+ * A function that can calculate the length of a request body.
52
+ * @internal
53
+ */
54
+ bodyLengthChecker?: __BodyLengthCalculator;
55
+ /**
56
+ * A function that converts a stream into an array of bytes.
57
+ * @internal
58
+ */
59
+ streamCollector?: __StreamCollector;
60
+ /**
61
+ * The function that will be used to convert a base64-encoded string to a byte array.
62
+ * @internal
63
+ */
64
+ base64Decoder?: __Decoder;
65
+ /**
66
+ * The function that will be used to convert binary data to a base64-encoded string.
67
+ * @internal
68
+ */
69
+ base64Encoder?: __Encoder;
70
+ /**
71
+ * The function that will be used to convert a UTF8-encoded string to a byte array.
72
+ * @internal
73
+ */
74
+ utf8Decoder?: __Decoder;
75
+ /**
76
+ * The function that will be used to convert binary data to a UTF-8 encoded string.
77
+ * @internal
78
+ */
79
+ utf8Encoder?: __Encoder;
80
+ /**
81
+ * The runtime environment.
82
+ * @internal
83
+ */
84
+ runtime?: string;
85
+ /**
86
+ * Disable dynamically changing the endpoint of the client based on the hostPrefix
87
+ * trait of an operation.
88
+ */
89
+ disableHostPrefix?: boolean;
90
+ /**
91
+ * Unique service identifier.
92
+ * @internal
93
+ */
94
+ serviceId?: string;
95
+ /**
96
+ * Enables IPv6/IPv4 dualstack endpoint.
97
+ */
98
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
99
+ /**
100
+ * Enables FIPS compatible endpoints.
101
+ */
102
+ useFipsEndpoint?: boolean | __Provider<boolean>;
103
+ /**
104
+ * The AWS region to which this client will send requests
105
+ */
106
+ region?: string | __Provider<string>;
107
+ /**
108
+ * Setting a client profile is similar to setting a value for the
109
+ * AWS_PROFILE environment variable. Setting a profile on a client
110
+ * in code only affects the single client instance, unlike AWS_PROFILE.
111
+ *
112
+ * When set, and only for environments where an AWS configuration
113
+ * file exists, fields configurable by this file will be retrieved
114
+ * from the specified profile within that file.
115
+ * Conflicting code configuration and environment variables will
116
+ * still have higher priority.
117
+ *
118
+ * For client credential resolution that involves checking the AWS
119
+ * configuration file, the client's profile (this value) will be
120
+ * used unless a different profile is set in the credential
121
+ * provider options.
122
+ *
123
+ */
124
+ profile?: string;
125
+ /**
126
+ * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
127
+ * @internal
128
+ */
129
+ defaultUserAgentProvider?: Provider<__UserAgent>;
130
+ /**
131
+ * Default credentials provider; Not available in browser runtime.
132
+ * @deprecated
133
+ * @internal
134
+ */
135
+ credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
136
+ /**
137
+ * Value for how many times a request will be made at most in case of retry.
138
+ */
139
+ maxAttempts?: number | __Provider<number>;
140
+ /**
141
+ * Specifies which retry algorithm to use.
142
+ * @see https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-smithy-util-retry/Enum/RETRY_MODES/
143
+ *
144
+ */
145
+ retryMode?: string | __Provider<string>;
146
+ /**
147
+ * Optional logger for logging debug/info/warn/error.
148
+ */
149
+ logger?: __Logger;
150
+ /**
151
+ * Optional extensions
152
+ */
153
+ extensions?: RuntimeExtension[];
154
+ /**
155
+ * The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
156
+ */
157
+ defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
158
+ }
159
+ /**
160
+ * @public
161
+ */
162
+ export type ElementalInferenceClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & UserAgentInputConfig & RetryInputConfig & RegionInputConfig & HostHeaderInputConfig & EndpointInputConfig<EndpointParameters> & HttpAuthSchemeInputConfig & ClientInputEndpointParameters;
163
+ /**
164
+ * @public
165
+ *
166
+ * The configuration interface of ElementalInferenceClient class constructor that set the region, credentials and other options.
167
+ */
168
+ export interface ElementalInferenceClientConfig extends ElementalInferenceClientConfigType {
169
+ }
170
+ /**
171
+ * @public
172
+ */
173
+ export type ElementalInferenceClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & UserAgentResolvedConfig & RetryResolvedConfig & RegionResolvedConfig & HostHeaderResolvedConfig & EndpointResolvedConfig<EndpointParameters> & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters;
174
+ /**
175
+ * @public
176
+ *
177
+ * The resolved configuration interface of ElementalInferenceClient class. This is resolved and normalized from the {@link ElementalInferenceClientConfig | constructor configuration interface}.
178
+ */
179
+ export interface ElementalInferenceClientResolvedConfig extends ElementalInferenceClientResolvedConfigType {
180
+ }
181
+ /**
182
+ * <p>This is the AWS Elemental Inference REST API Reference. It provides information on the URL, request contents, and response contents of each AWS Elemental Inference REST operation. </p> <p>We assume that you have the IAM permissions that you need to use AWS Elemental Inference via the REST API. We also assume that you are familiar with the features and operations of AWS Elemental Inference as described in <i>AWS Elemental Inference User Guide</i>. </p>
183
+ * @public
184
+ */
185
+ export declare class ElementalInferenceClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, ElementalInferenceClientResolvedConfig> {
186
+ /**
187
+ * The resolved configuration of ElementalInferenceClient class. This is resolved and normalized from the {@link ElementalInferenceClientConfig | constructor configuration interface}.
188
+ */
189
+ readonly config: ElementalInferenceClientResolvedConfig;
190
+ constructor(...[configuration]: __CheckOptionalClientConfig<ElementalInferenceClientConfig>);
191
+ /**
192
+ * Destroy underlying resources, like sockets. It's usually not necessary to do this.
193
+ * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
194
+ * Otherwise, sockets might stay open for quite a long time before the server terminates them.
195
+ */
196
+ destroy(): void;
197
+ }
@@ -0,0 +1,29 @@
1
+ import { type HttpAuthScheme, AwsCredentialIdentity, AwsCredentialIdentityProvider } from "@smithy/types";
2
+ import type { ElementalInferenceHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
3
+ /**
4
+ * @internal
5
+ */
6
+ export interface HttpAuthExtensionConfiguration {
7
+ setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
8
+ httpAuthSchemes(): HttpAuthScheme[];
9
+ setHttpAuthSchemeProvider(httpAuthSchemeProvider: ElementalInferenceHttpAuthSchemeProvider): void;
10
+ httpAuthSchemeProvider(): ElementalInferenceHttpAuthSchemeProvider;
11
+ setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void;
12
+ credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined;
13
+ }
14
+ /**
15
+ * @internal
16
+ */
17
+ export type HttpAuthRuntimeConfig = Partial<{
18
+ httpAuthSchemes: HttpAuthScheme[];
19
+ httpAuthSchemeProvider: ElementalInferenceHttpAuthSchemeProvider;
20
+ credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
21
+ }>;
22
+ /**
23
+ * @internal
24
+ */
25
+ export declare const getHttpAuthExtensionConfiguration: (runtimeConfig: HttpAuthRuntimeConfig) => HttpAuthExtensionConfiguration;
26
+ /**
27
+ * @internal
28
+ */
29
+ export declare const resolveHttpAuthRuntimeConfig: (config: HttpAuthExtensionConfiguration) => HttpAuthRuntimeConfig;
@@ -0,0 +1,75 @@
1
+ import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core";
2
+ import type { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types";
3
+ import { type ElementalInferenceClientResolvedConfig } from "../ElementalInferenceClient";
4
+ /**
5
+ * @internal
6
+ */
7
+ export interface ElementalInferenceHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
8
+ region?: string;
9
+ }
10
+ /**
11
+ * @internal
12
+ */
13
+ export interface ElementalInferenceHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<ElementalInferenceClientResolvedConfig, HandlerExecutionContext, ElementalInferenceHttpAuthSchemeParameters, object> {
14
+ }
15
+ /**
16
+ * @internal
17
+ */
18
+ export declare const defaultElementalInferenceHttpAuthSchemeParametersProvider: (config: ElementalInferenceClientResolvedConfig, context: HandlerExecutionContext, input: object) => Promise<ElementalInferenceHttpAuthSchemeParameters>;
19
+ /**
20
+ * @internal
21
+ */
22
+ export interface ElementalInferenceHttpAuthSchemeProvider extends HttpAuthSchemeProvider<ElementalInferenceHttpAuthSchemeParameters> {
23
+ }
24
+ /**
25
+ * @internal
26
+ */
27
+ export declare const defaultElementalInferenceHttpAuthSchemeProvider: ElementalInferenceHttpAuthSchemeProvider;
28
+ /**
29
+ * @public
30
+ */
31
+ export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
32
+ /**
33
+ * A comma-separated list of case-sensitive auth scheme names.
34
+ * An auth scheme name is a fully qualified auth scheme ID with the namespace prefix trimmed.
35
+ * For example, the auth scheme with ID aws.auth#sigv4 is named sigv4.
36
+ * @public
37
+ */
38
+ authSchemePreference?: string[] | Provider<string[]>;
39
+ /**
40
+ * Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
41
+ * @internal
42
+ */
43
+ httpAuthSchemes?: HttpAuthScheme[];
44
+ /**
45
+ * Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
46
+ * @internal
47
+ */
48
+ httpAuthSchemeProvider?: ElementalInferenceHttpAuthSchemeProvider;
49
+ }
50
+ /**
51
+ * @internal
52
+ */
53
+ export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
54
+ /**
55
+ * A comma-separated list of case-sensitive auth scheme names.
56
+ * An auth scheme name is a fully qualified auth scheme ID with the namespace prefix trimmed.
57
+ * For example, the auth scheme with ID aws.auth#sigv4 is named sigv4.
58
+ * @public
59
+ */
60
+ readonly authSchemePreference: Provider<string[]>;
61
+ /**
62
+ * Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
63
+ * @internal
64
+ */
65
+ readonly httpAuthSchemes: HttpAuthScheme[];
66
+ /**
67
+ * Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
68
+ * @internal
69
+ */
70
+ readonly httpAuthSchemeProvider: ElementalInferenceHttpAuthSchemeProvider;
71
+ }
72
+ /**
73
+ * @internal
74
+ */
75
+ export declare const resolveHttpAuthSchemeConfig: <T>(config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved) => T & HttpAuthSchemeResolvedConfig;
@@ -0,0 +1,111 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { ElementalInferenceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ElementalInferenceClient";
4
+ import type { AssociateFeedRequest, AssociateFeedResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link AssociateFeedCommand}.
14
+ */
15
+ export interface AssociateFeedCommandInput extends AssociateFeedRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link AssociateFeedCommand}.
21
+ */
22
+ export interface AssociateFeedCommandOutput extends AssociateFeedResponse, __MetadataBearer {
23
+ }
24
+ declare const AssociateFeedCommand_base: {
25
+ new (input: AssociateFeedCommandInput): import("@smithy/smithy-client").CommandImpl<AssociateFeedCommandInput, AssociateFeedCommandOutput, ElementalInferenceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: AssociateFeedCommandInput): import("@smithy/smithy-client").CommandImpl<AssociateFeedCommandInput, AssociateFeedCommandOutput, ElementalInferenceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Associates a resource with the feed. The resource provides the input that Elemental Inference needs needs in order to perform an Elemental Inference feature, such as cropping video. You always provide the resource by associating it with a feed. You can associate only one resource with each feed.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { ElementalInferenceClient, AssociateFeedCommand } from "@aws-sdk/client-elementalinference"; // ES Modules import
35
+ * // const { ElementalInferenceClient, AssociateFeedCommand } = require("@aws-sdk/client-elementalinference"); // CommonJS import
36
+ * // import type { ElementalInferenceClientConfig } from "@aws-sdk/client-elementalinference";
37
+ * const config = {}; // type is ElementalInferenceClientConfig
38
+ * const client = new ElementalInferenceClient(config);
39
+ * const input = { // AssociateFeedRequest
40
+ * id: "STRING_VALUE", // required
41
+ * associatedResourceName: "STRING_VALUE", // required
42
+ * outputs: [ // CreateOutputList // required
43
+ * { // CreateOutput
44
+ * name: "STRING_VALUE", // required
45
+ * outputConfig: { // OutputConfig Union: only one key present
46
+ * cropping: {},
47
+ * clipping: { // ClippingConfig
48
+ * callbackMetadata: "STRING_VALUE",
49
+ * },
50
+ * },
51
+ * status: "ENABLED" || "DISABLED", // required
52
+ * description: "STRING_VALUE",
53
+ * },
54
+ * ],
55
+ * dryRun: true || false,
56
+ * };
57
+ * const command = new AssociateFeedCommand(input);
58
+ * const response = await client.send(command);
59
+ * // { // AssociateFeedResponse
60
+ * // arn: "STRING_VALUE", // required
61
+ * // id: "STRING_VALUE", // required
62
+ * // };
63
+ *
64
+ * ```
65
+ *
66
+ * @param AssociateFeedCommandInput - {@link AssociateFeedCommandInput}
67
+ * @returns {@link AssociateFeedCommandOutput}
68
+ * @see {@link AssociateFeedCommandInput} for command's `input` shape.
69
+ * @see {@link AssociateFeedCommandOutput} for command's `response` shape.
70
+ * @see {@link ElementalInferenceClientResolvedConfig | config} for ElementalInferenceClient's `config` shape.
71
+ *
72
+ * @throws {@link AccessDeniedException} (client fault)
73
+ * <p>You do not have sufficient access to perform this action.</p>
74
+ *
75
+ * @throws {@link ConflictException} (client fault)
76
+ * <p>The request could not be completed due to a conflict.</p>
77
+ *
78
+ * @throws {@link InternalServerErrorException} (server fault)
79
+ * <p>An internal server error occurred. This is a temporary condition and the request can be retried. If the problem persists, contact AWS Support.</p>
80
+ *
81
+ * @throws {@link ResourceNotFoundException} (client fault)
82
+ * <p>The resource specified in the action doesn't exist.</p>
83
+ *
84
+ * @throws {@link ServiceQuotaExceededException} (client fault)
85
+ * <p>The request was rejected because it would exceed one or more service quotas for your account. Review your service quotas and either delete unused resources or request a quota increase.</p>
86
+ *
87
+ * @throws {@link TooManyRequestException} (client fault)
88
+ * <p>The request was denied due to request throttling. Too many requests have been made within a given time period. Reduce the frequency of requests and use exponential backoff when retrying.</p>
89
+ *
90
+ * @throws {@link ValidationException} (client fault)
91
+ * <p>The input fails to satisfy the constraints specified by the service. Check the error message for details about which parameter or field is invalid and correct the request before retrying.</p>
92
+ *
93
+ * @throws {@link ElementalInferenceServiceException}
94
+ * <p>Base exception class for all service exceptions from ElementalInference service.</p>
95
+ *
96
+ *
97
+ * @public
98
+ */
99
+ export declare class AssociateFeedCommand extends AssociateFeedCommand_base {
100
+ /** @internal type navigation helper, not in runtime. */
101
+ protected static __types: {
102
+ api: {
103
+ input: AssociateFeedRequest;
104
+ output: AssociateFeedResponse;
105
+ };
106
+ sdk: {
107
+ input: AssociateFeedCommandInput;
108
+ output: AssociateFeedCommandOutput;
109
+ };
110
+ };
111
+ }
@@ -0,0 +1,134 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { ElementalInferenceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ElementalInferenceClient";
4
+ import type { CreateFeedRequest, CreateFeedResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link CreateFeedCommand}.
14
+ */
15
+ export interface CreateFeedCommandInput extends CreateFeedRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateFeedCommand}.
21
+ */
22
+ export interface CreateFeedCommandOutput extends CreateFeedResponse, __MetadataBearer {
23
+ }
24
+ declare const CreateFeedCommand_base: {
25
+ new (input: CreateFeedCommandInput): import("@smithy/smithy-client").CommandImpl<CreateFeedCommandInput, CreateFeedCommandOutput, ElementalInferenceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: CreateFeedCommandInput): import("@smithy/smithy-client").CommandImpl<CreateFeedCommandInput, CreateFeedCommandOutput, ElementalInferenceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Creates a feed. The feed is the target for live streams being sent by the calling application. An example of a calling application is AWS Elemental MediaLive. After you create the feed, you can associate a resource with the feed.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { ElementalInferenceClient, CreateFeedCommand } from "@aws-sdk/client-elementalinference"; // ES Modules import
35
+ * // const { ElementalInferenceClient, CreateFeedCommand } = require("@aws-sdk/client-elementalinference"); // CommonJS import
36
+ * // import type { ElementalInferenceClientConfig } from "@aws-sdk/client-elementalinference";
37
+ * const config = {}; // type is ElementalInferenceClientConfig
38
+ * const client = new ElementalInferenceClient(config);
39
+ * const input = { // CreateFeedRequest
40
+ * name: "STRING_VALUE", // required
41
+ * outputs: [ // CreateOutputList // required
42
+ * { // CreateOutput
43
+ * name: "STRING_VALUE", // required
44
+ * outputConfig: { // OutputConfig Union: only one key present
45
+ * cropping: {},
46
+ * clipping: { // ClippingConfig
47
+ * callbackMetadata: "STRING_VALUE",
48
+ * },
49
+ * },
50
+ * status: "ENABLED" || "DISABLED", // required
51
+ * description: "STRING_VALUE",
52
+ * },
53
+ * ],
54
+ * tags: { // TagMap
55
+ * "<keys>": "STRING_VALUE",
56
+ * },
57
+ * };
58
+ * const command = new CreateFeedCommand(input);
59
+ * const response = await client.send(command);
60
+ * // { // CreateFeedResponse
61
+ * // arn: "STRING_VALUE", // required
62
+ * // name: "STRING_VALUE", // required
63
+ * // id: "STRING_VALUE", // required
64
+ * // dataEndpoints: [ // StringList // required
65
+ * // "STRING_VALUE",
66
+ * // ],
67
+ * // outputs: [ // GetOutputList // required
68
+ * // { // GetOutput
69
+ * // name: "STRING_VALUE", // required
70
+ * // outputConfig: { // OutputConfig Union: only one key present
71
+ * // cropping: {},
72
+ * // clipping: { // ClippingConfig
73
+ * // callbackMetadata: "STRING_VALUE",
74
+ * // },
75
+ * // },
76
+ * // status: "ENABLED" || "DISABLED", // required
77
+ * // description: "STRING_VALUE",
78
+ * // fromAssociation: true || false,
79
+ * // },
80
+ * // ],
81
+ * // status: "CREATING" || "AVAILABLE" || "ACTIVE" || "UPDATING" || "DELETING" || "DELETED" || "ARCHIVED", // required
82
+ * // association: { // FeedAssociation
83
+ * // associatedResourceName: "STRING_VALUE", // required
84
+ * // },
85
+ * // tags: { // TagMap
86
+ * // "<keys>": "STRING_VALUE",
87
+ * // },
88
+ * // };
89
+ *
90
+ * ```
91
+ *
92
+ * @param CreateFeedCommandInput - {@link CreateFeedCommandInput}
93
+ * @returns {@link CreateFeedCommandOutput}
94
+ * @see {@link CreateFeedCommandInput} for command's `input` shape.
95
+ * @see {@link CreateFeedCommandOutput} for command's `response` shape.
96
+ * @see {@link ElementalInferenceClientResolvedConfig | config} for ElementalInferenceClient's `config` shape.
97
+ *
98
+ * @throws {@link AccessDeniedException} (client fault)
99
+ * <p>You do not have sufficient access to perform this action.</p>
100
+ *
101
+ * @throws {@link ConflictException} (client fault)
102
+ * <p>The request could not be completed due to a conflict.</p>
103
+ *
104
+ * @throws {@link InternalServerErrorException} (server fault)
105
+ * <p>An internal server error occurred. This is a temporary condition and the request can be retried. If the problem persists, contact AWS Support.</p>
106
+ *
107
+ * @throws {@link ServiceQuotaExceededException} (client fault)
108
+ * <p>The request was rejected because it would exceed one or more service quotas for your account. Review your service quotas and either delete unused resources or request a quota increase.</p>
109
+ *
110
+ * @throws {@link TooManyRequestException} (client fault)
111
+ * <p>The request was denied due to request throttling. Too many requests have been made within a given time period. Reduce the frequency of requests and use exponential backoff when retrying.</p>
112
+ *
113
+ * @throws {@link ValidationException} (client fault)
114
+ * <p>The input fails to satisfy the constraints specified by the service. Check the error message for details about which parameter or field is invalid and correct the request before retrying.</p>
115
+ *
116
+ * @throws {@link ElementalInferenceServiceException}
117
+ * <p>Base exception class for all service exceptions from ElementalInference service.</p>
118
+ *
119
+ *
120
+ * @public
121
+ */
122
+ export declare class CreateFeedCommand extends CreateFeedCommand_base {
123
+ /** @internal type navigation helper, not in runtime. */
124
+ protected static __types: {
125
+ api: {
126
+ input: CreateFeedRequest;
127
+ output: CreateFeedResponse;
128
+ };
129
+ sdk: {
130
+ input: CreateFeedCommandInput;
131
+ output: CreateFeedCommandOutput;
132
+ };
133
+ };
134
+ }