@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.
- package/LICENSE +201 -0
- package/README.md +271 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +46 -0
- package/dist-cjs/endpoint/endpointResolver.js +18 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/index.js +362 -0
- package/dist-cjs/models/ElementalInferenceServiceException.js +12 -0
- package/dist-cjs/models/errors.js +98 -0
- package/dist-cjs/runtimeConfig.browser.js +38 -0
- package/dist-cjs/runtimeConfig.js +53 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +43 -0
- package/dist-cjs/schemas/schemas_0.js +309 -0
- package/dist-es/ElementalInference.js +35 -0
- package/dist-es/ElementalInferenceClient.js +50 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +40 -0
- package/dist-es/commands/AssociateFeedCommand.js +16 -0
- package/dist-es/commands/CreateFeedCommand.js +16 -0
- package/dist-es/commands/DeleteFeedCommand.js +16 -0
- package/dist-es/commands/DisassociateFeedCommand.js +16 -0
- package/dist-es/commands/GetFeedCommand.js +16 -0
- package/dist-es/commands/ListFeedsCommand.js +16 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +16 -0
- package/dist-es/commands/TagResourceCommand.js +16 -0
- package/dist-es/commands/UntagResourceCommand.js +16 -0
- package/dist-es/commands/UpdateFeedCommand.js +16 -0
- package/dist-es/commands/index.js +10 -0
- package/dist-es/endpoint/EndpointParameters.js +13 -0
- package/dist-es/endpoint/endpointResolver.js +14 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +10 -0
- package/dist-es/models/ElementalInferenceServiceException.js +8 -0
- package/dist-es/models/enums.js +13 -0
- package/dist-es/models/errors.js +88 -0
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListFeedsPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/runtimeConfig.browser.js +33 -0
- package/dist-es/runtimeConfig.js +48 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +39 -0
- package/dist-es/runtimeExtensions.js +9 -0
- package/dist-es/schemas/schemas_0.js +306 -0
- package/dist-es/waiters/index.js +1 -0
- package/dist-es/waiters/waitForFeedDeleted.js +49 -0
- package/dist-types/ElementalInference.d.ts +95 -0
- package/dist-types/ElementalInferenceClient.d.ts +197 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
- package/dist-types/commands/AssociateFeedCommand.d.ts +111 -0
- package/dist-types/commands/CreateFeedCommand.d.ts +134 -0
- package/dist-types/commands/DeleteFeedCommand.d.ts +94 -0
- package/dist-types/commands/DisassociateFeedCommand.d.ts +95 -0
- package/dist-types/commands/GetFeedCommand.d.ts +112 -0
- package/dist-types/commands/ListFeedsCommand.d.ts +101 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +91 -0
- package/dist-types/commands/TagResourceCommand.d.ts +93 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +93 -0
- package/dist-types/commands/UpdateFeedCommand.d.ts +136 -0
- package/dist-types/commands/index.d.ts +10 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +50 -0
- package/dist-types/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +18 -0
- package/dist-types/models/ElementalInferenceServiceException.d.ts +14 -0
- package/dist-types/models/enums.d.ts +29 -0
- package/dist-types/models/errors.d.ts +89 -0
- package/dist-types/models/models_0.d.ts +563 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListFeedsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/runtimeConfig.browser.d.ts +55 -0
- package/dist-types/runtimeConfig.d.ts +55 -0
- package/dist-types/runtimeConfig.native.d.ts +54 -0
- package/dist-types/runtimeConfig.shared.d.ts +27 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/schemas/schemas_0.d.ts +52 -0
- package/dist-types/ts3.4/ElementalInference.d.ts +200 -0
- package/dist-types/ts3.4/ElementalInferenceClient.d.ts +182 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +47 -0
- package/dist-types/ts3.4/commands/AssociateFeedCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/CreateFeedCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DeleteFeedCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DisassociateFeedCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetFeedCommand.d.ts +43 -0
- package/dist-types/ts3.4/commands/ListFeedsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +45 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +45 -0
- package/dist-types/ts3.4/commands/UpdateFeedCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/index.d.ts +10 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +13 -0
- package/dist-types/ts3.4/models/ElementalInferenceServiceException.d.ts +9 -0
- package/dist-types/ts3.4/models/enums.d.ts +15 -0
- package/dist-types/ts3.4/models/errors.d.ts +52 -0
- package/dist-types/ts3.4/models/models_0.d.ts +153 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListFeedsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +102 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +97 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +106 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +32 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +13 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +52 -0
- package/dist-types/ts3.4/waiters/index.d.ts +1 -0
- package/dist-types/ts3.4/waiters/waitForFeedDeleted.d.ts +11 -0
- package/dist-types/waiters/index.d.ts +1 -0
- package/dist-types/waiters/waitForFeedDeleted.d.ts +14 -0
- package/package.json +101 -0
|
@@ -0,0 +1,93 @@
|
|
|
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 { UntagResourceRequest } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link UntagResourceCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UntagResourceCommandInput extends UntagResourceRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UntagResourceCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UntagResourceCommandOutput extends __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UntagResourceCommand_base: {
|
|
25
|
+
new (input: UntagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, ElementalInferenceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: UntagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, ElementalInferenceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Deletes specified tags from the specified resource in the current region.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { ElementalInferenceClient, UntagResourceCommand } from "@aws-sdk/client-elementalinference"; // ES Modules import
|
|
35
|
+
* // const { ElementalInferenceClient, UntagResourceCommand } = 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 = { // UntagResourceRequest
|
|
40
|
+
* resourceArn: "STRING_VALUE", // required
|
|
41
|
+
* tagKeys: [ // TagKeyList // required
|
|
42
|
+
* "STRING_VALUE",
|
|
43
|
+
* ],
|
|
44
|
+
* };
|
|
45
|
+
* const command = new UntagResourceCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // {};
|
|
48
|
+
*
|
|
49
|
+
* ```
|
|
50
|
+
*
|
|
51
|
+
* @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
|
|
52
|
+
* @returns {@link UntagResourceCommandOutput}
|
|
53
|
+
* @see {@link UntagResourceCommandInput} for command's `input` shape.
|
|
54
|
+
* @see {@link UntagResourceCommandOutput} for command's `response` shape.
|
|
55
|
+
* @see {@link ElementalInferenceClientResolvedConfig | config} for ElementalInferenceClient's `config` shape.
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
58
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link ConflictException} (client fault)
|
|
61
|
+
* <p>The request could not be completed due to a conflict.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link InternalServerErrorException} (server fault)
|
|
64
|
+
* <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>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
67
|
+
* <p>The resource specified in the action doesn't exist.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link TooManyRequestException} (client fault)
|
|
70
|
+
* <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>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ValidationException} (client fault)
|
|
73
|
+
* <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>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ElementalInferenceServiceException}
|
|
76
|
+
* <p>Base exception class for all service exceptions from ElementalInference service.</p>
|
|
77
|
+
*
|
|
78
|
+
*
|
|
79
|
+
* @public
|
|
80
|
+
*/
|
|
81
|
+
export declare class UntagResourceCommand extends UntagResourceCommand_base {
|
|
82
|
+
/** @internal type navigation helper, not in runtime. */
|
|
83
|
+
protected static __types: {
|
|
84
|
+
api: {
|
|
85
|
+
input: UntagResourceRequest;
|
|
86
|
+
output: {};
|
|
87
|
+
};
|
|
88
|
+
sdk: {
|
|
89
|
+
input: UntagResourceCommandInput;
|
|
90
|
+
output: UntagResourceCommandOutput;
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
}
|
|
@@ -0,0 +1,136 @@
|
|
|
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 { UpdateFeedRequest, UpdateFeedResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link UpdateFeedCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdateFeedCommandInput extends UpdateFeedRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdateFeedCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateFeedCommandOutput extends UpdateFeedResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UpdateFeedCommand_base: {
|
|
25
|
+
new (input: UpdateFeedCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateFeedCommandInput, UpdateFeedCommandOutput, ElementalInferenceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: UpdateFeedCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateFeedCommandInput, UpdateFeedCommandOutput, ElementalInferenceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Updates the name and/or outputs in a 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, UpdateFeedCommand } from "@aws-sdk/client-elementalinference"; // ES Modules import
|
|
35
|
+
* // const { ElementalInferenceClient, UpdateFeedCommand } = 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 = { // UpdateFeedRequest
|
|
40
|
+
* name: "STRING_VALUE", // required
|
|
41
|
+
* id: "STRING_VALUE", // required
|
|
42
|
+
* outputs: [ // UpdateOutputList // required
|
|
43
|
+
* { // UpdateOutput
|
|
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
|
+
* fromAssociation: true || false,
|
|
54
|
+
* },
|
|
55
|
+
* ],
|
|
56
|
+
* };
|
|
57
|
+
* const command = new UpdateFeedCommand(input);
|
|
58
|
+
* const response = await client.send(command);
|
|
59
|
+
* // { // UpdateFeedResponse
|
|
60
|
+
* // arn: "STRING_VALUE", // required
|
|
61
|
+
* // name: "STRING_VALUE", // required
|
|
62
|
+
* // id: "STRING_VALUE", // required
|
|
63
|
+
* // dataEndpoints: [ // StringList // required
|
|
64
|
+
* // "STRING_VALUE",
|
|
65
|
+
* // ],
|
|
66
|
+
* // outputs: [ // GetOutputList // required
|
|
67
|
+
* // { // GetOutput
|
|
68
|
+
* // name: "STRING_VALUE", // required
|
|
69
|
+
* // outputConfig: { // OutputConfig Union: only one key present
|
|
70
|
+
* // cropping: {},
|
|
71
|
+
* // clipping: { // ClippingConfig
|
|
72
|
+
* // callbackMetadata: "STRING_VALUE",
|
|
73
|
+
* // },
|
|
74
|
+
* // },
|
|
75
|
+
* // status: "ENABLED" || "DISABLED", // required
|
|
76
|
+
* // description: "STRING_VALUE",
|
|
77
|
+
* // fromAssociation: true || false,
|
|
78
|
+
* // },
|
|
79
|
+
* // ],
|
|
80
|
+
* // status: "CREATING" || "AVAILABLE" || "ACTIVE" || "UPDATING" || "DELETING" || "DELETED" || "ARCHIVED", // required
|
|
81
|
+
* // association: { // FeedAssociation
|
|
82
|
+
* // associatedResourceName: "STRING_VALUE", // required
|
|
83
|
+
* // },
|
|
84
|
+
* // tags: { // TagMap
|
|
85
|
+
* // "<keys>": "STRING_VALUE",
|
|
86
|
+
* // },
|
|
87
|
+
* // };
|
|
88
|
+
*
|
|
89
|
+
* ```
|
|
90
|
+
*
|
|
91
|
+
* @param UpdateFeedCommandInput - {@link UpdateFeedCommandInput}
|
|
92
|
+
* @returns {@link UpdateFeedCommandOutput}
|
|
93
|
+
* @see {@link UpdateFeedCommandInput} for command's `input` shape.
|
|
94
|
+
* @see {@link UpdateFeedCommandOutput} for command's `response` shape.
|
|
95
|
+
* @see {@link ElementalInferenceClientResolvedConfig | config} for ElementalInferenceClient's `config` shape.
|
|
96
|
+
*
|
|
97
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
98
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
99
|
+
*
|
|
100
|
+
* @throws {@link ConflictException} (client fault)
|
|
101
|
+
* <p>The request could not be completed due to a conflict.</p>
|
|
102
|
+
*
|
|
103
|
+
* @throws {@link InternalServerErrorException} (server fault)
|
|
104
|
+
* <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>
|
|
105
|
+
*
|
|
106
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
107
|
+
* <p>The resource specified in the action doesn't exist.</p>
|
|
108
|
+
*
|
|
109
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
110
|
+
* <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>
|
|
111
|
+
*
|
|
112
|
+
* @throws {@link TooManyRequestException} (client fault)
|
|
113
|
+
* <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>
|
|
114
|
+
*
|
|
115
|
+
* @throws {@link ValidationException} (client fault)
|
|
116
|
+
* <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>
|
|
117
|
+
*
|
|
118
|
+
* @throws {@link ElementalInferenceServiceException}
|
|
119
|
+
* <p>Base exception class for all service exceptions from ElementalInference service.</p>
|
|
120
|
+
*
|
|
121
|
+
*
|
|
122
|
+
* @public
|
|
123
|
+
*/
|
|
124
|
+
export declare class UpdateFeedCommand extends UpdateFeedCommand_base {
|
|
125
|
+
/** @internal type navigation helper, not in runtime. */
|
|
126
|
+
protected static __types: {
|
|
127
|
+
api: {
|
|
128
|
+
input: UpdateFeedRequest;
|
|
129
|
+
output: UpdateFeedResponse;
|
|
130
|
+
};
|
|
131
|
+
sdk: {
|
|
132
|
+
input: UpdateFeedCommandInput;
|
|
133
|
+
output: UpdateFeedCommandOutput;
|
|
134
|
+
};
|
|
135
|
+
};
|
|
136
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export * from "./AssociateFeedCommand";
|
|
2
|
+
export * from "./CreateFeedCommand";
|
|
3
|
+
export * from "./DeleteFeedCommand";
|
|
4
|
+
export * from "./DisassociateFeedCommand";
|
|
5
|
+
export * from "./GetFeedCommand";
|
|
6
|
+
export * from "./ListFeedsCommand";
|
|
7
|
+
export * from "./ListTagsForResourceCommand";
|
|
8
|
+
export * from "./TagResourceCommand";
|
|
9
|
+
export * from "./UntagResourceCommand";
|
|
10
|
+
export * from "./UpdateFeedCommand";
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import type { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
export interface ClientInputEndpointParameters {
|
|
6
|
+
region?: string | undefined | Provider<string | undefined>;
|
|
7
|
+
useDualstackEndpoint?: boolean | undefined | Provider<boolean | undefined>;
|
|
8
|
+
useFipsEndpoint?: boolean | undefined | Provider<boolean | undefined>;
|
|
9
|
+
endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* @public
|
|
13
|
+
*/
|
|
14
|
+
export type ClientResolvedEndpointParameters = Omit<ClientInputEndpointParameters, "endpoint"> & {
|
|
15
|
+
defaultSigningName: string;
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* @internal
|
|
19
|
+
*/
|
|
20
|
+
export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientResolvedEndpointParameters;
|
|
21
|
+
/**
|
|
22
|
+
* @internal
|
|
23
|
+
*/
|
|
24
|
+
export declare const commonParams: {
|
|
25
|
+
readonly UseFIPS: {
|
|
26
|
+
readonly type: "builtInParams";
|
|
27
|
+
readonly name: "useFipsEndpoint";
|
|
28
|
+
};
|
|
29
|
+
readonly Endpoint: {
|
|
30
|
+
readonly type: "builtInParams";
|
|
31
|
+
readonly name: "endpoint";
|
|
32
|
+
};
|
|
33
|
+
readonly Region: {
|
|
34
|
+
readonly type: "builtInParams";
|
|
35
|
+
readonly name: "region";
|
|
36
|
+
};
|
|
37
|
+
readonly UseDualStack: {
|
|
38
|
+
readonly type: "builtInParams";
|
|
39
|
+
readonly name: "useDualstackEndpoint";
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
/**
|
|
43
|
+
* @internal
|
|
44
|
+
*/
|
|
45
|
+
export interface EndpointParameters extends __EndpointParameters {
|
|
46
|
+
Region?: string | undefined;
|
|
47
|
+
UseDualStack?: boolean | undefined;
|
|
48
|
+
UseFIPS?: boolean | undefined;
|
|
49
|
+
Endpoint?: string | undefined;
|
|
50
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { EndpointV2, Logger } from "@smithy/types";
|
|
2
|
+
import type { EndpointParameters } from "./EndpointParameters";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const defaultEndpointResolver: (endpointParams: EndpointParameters, context?: {
|
|
7
|
+
logger?: Logger;
|
|
8
|
+
}) => EndpointV2;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
|
|
2
|
+
import type { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
|
|
3
|
+
import type { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
|
+
import type { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
|
|
5
|
+
/**
|
|
6
|
+
* @internal
|
|
7
|
+
*/
|
|
8
|
+
export interface ElementalInferenceExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration, HttpAuthExtensionConfiguration {
|
|
9
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* <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>
|
|
3
|
+
*
|
|
4
|
+
* @packageDocumentation
|
|
5
|
+
*/
|
|
6
|
+
export * from "./ElementalInferenceClient";
|
|
7
|
+
export * from "./ElementalInference";
|
|
8
|
+
export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
9
|
+
export type { RuntimeExtension } from "./runtimeExtensions";
|
|
10
|
+
export type { ElementalInferenceExtensionConfiguration } from "./extensionConfiguration";
|
|
11
|
+
export * from "./commands";
|
|
12
|
+
export * from "./schemas/schemas_0";
|
|
13
|
+
export * from "./pagination";
|
|
14
|
+
export * from "./waiters";
|
|
15
|
+
export * from "./models/enums";
|
|
16
|
+
export * from "./models/errors";
|
|
17
|
+
export * from "./models/models_0";
|
|
18
|
+
export { ElementalInferenceServiceException } from "./models/ElementalInferenceServiceException";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type ServiceExceptionOptions as __ServiceExceptionOptions, ServiceException as __ServiceException } from "@smithy/smithy-client";
|
|
2
|
+
export type { __ServiceExceptionOptions };
|
|
3
|
+
export { __ServiceException };
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*
|
|
7
|
+
* Base exception class for all service exceptions from ElementalInference service.
|
|
8
|
+
*/
|
|
9
|
+
export declare class ElementalInferenceServiceException extends __ServiceException {
|
|
10
|
+
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
constructor(options: __ServiceExceptionOptions);
|
|
14
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
* @enum
|
|
4
|
+
*/
|
|
5
|
+
export declare const OutputStatus: {
|
|
6
|
+
readonly DISABLED: "DISABLED";
|
|
7
|
+
readonly ENABLED: "ENABLED";
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*/
|
|
12
|
+
export type OutputStatus = (typeof OutputStatus)[keyof typeof OutputStatus];
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
* @enum
|
|
16
|
+
*/
|
|
17
|
+
export declare const FeedStatus: {
|
|
18
|
+
readonly ACTIVE: "ACTIVE";
|
|
19
|
+
readonly ARCHIVED: "ARCHIVED";
|
|
20
|
+
readonly AVAILABLE: "AVAILABLE";
|
|
21
|
+
readonly CREATING: "CREATING";
|
|
22
|
+
readonly DELETED: "DELETED";
|
|
23
|
+
readonly DELETING: "DELETING";
|
|
24
|
+
readonly UPDATING: "UPDATING";
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* @public
|
|
28
|
+
*/
|
|
29
|
+
export type FeedStatus = (typeof FeedStatus)[keyof typeof FeedStatus];
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { ElementalInferenceServiceException as __BaseException } from "./ElementalInferenceServiceException";
|
|
3
|
+
/**
|
|
4
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
8
|
+
readonly name: "AccessDeniedException";
|
|
9
|
+
readonly $fault: "client";
|
|
10
|
+
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* <p>The request could not be completed due to a conflict.</p>
|
|
17
|
+
* @public
|
|
18
|
+
*/
|
|
19
|
+
export declare class ConflictException extends __BaseException {
|
|
20
|
+
readonly name: "ConflictException";
|
|
21
|
+
readonly $fault: "client";
|
|
22
|
+
$retryable: {};
|
|
23
|
+
/**
|
|
24
|
+
* @internal
|
|
25
|
+
*/
|
|
26
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* <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>
|
|
30
|
+
* @public
|
|
31
|
+
*/
|
|
32
|
+
export declare class InternalServerErrorException extends __BaseException {
|
|
33
|
+
readonly name: "InternalServerErrorException";
|
|
34
|
+
readonly $fault: "server";
|
|
35
|
+
$retryable: {};
|
|
36
|
+
/**
|
|
37
|
+
* @internal
|
|
38
|
+
*/
|
|
39
|
+
constructor(opts: __ExceptionOptionType<InternalServerErrorException, __BaseException>);
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* <p>The resource specified in the action doesn't exist.</p>
|
|
43
|
+
* @public
|
|
44
|
+
*/
|
|
45
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
46
|
+
readonly name: "ResourceNotFoundException";
|
|
47
|
+
readonly $fault: "client";
|
|
48
|
+
/**
|
|
49
|
+
* @internal
|
|
50
|
+
*/
|
|
51
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* <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>
|
|
55
|
+
* @public
|
|
56
|
+
*/
|
|
57
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
58
|
+
readonly name: "ServiceQuotaExceededException";
|
|
59
|
+
readonly $fault: "client";
|
|
60
|
+
/**
|
|
61
|
+
* @internal
|
|
62
|
+
*/
|
|
63
|
+
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* <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>
|
|
67
|
+
* @public
|
|
68
|
+
*/
|
|
69
|
+
export declare class TooManyRequestException extends __BaseException {
|
|
70
|
+
readonly name: "TooManyRequestException";
|
|
71
|
+
readonly $fault: "client";
|
|
72
|
+
$retryable: {};
|
|
73
|
+
/**
|
|
74
|
+
* @internal
|
|
75
|
+
*/
|
|
76
|
+
constructor(opts: __ExceptionOptionType<TooManyRequestException, __BaseException>);
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* <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>
|
|
80
|
+
* @public
|
|
81
|
+
*/
|
|
82
|
+
export declare class ValidationException extends __BaseException {
|
|
83
|
+
readonly name: "ValidationException";
|
|
84
|
+
readonly $fault: "client";
|
|
85
|
+
/**
|
|
86
|
+
* @internal
|
|
87
|
+
*/
|
|
88
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
89
|
+
}
|