@aws-sdk/client-elementalinference 3.1054.0 → 3.1055.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/README.md +42 -0
- package/dist-cjs/index.js +123 -0
- package/dist-cjs/schemas/schemas_0.js +144 -14
- package/dist-es/ElementalInference.js +14 -0
- package/dist-es/commands/CreateDictionaryCommand.js +16 -0
- package/dist-es/commands/DeleteDictionaryCommand.js +16 -0
- package/dist-es/commands/ExportDictionaryEntriesCommand.js +16 -0
- package/dist-es/commands/GetDictionaryCommand.js +16 -0
- package/dist-es/commands/ListDictionariesCommand.js +16 -0
- package/dist-es/commands/UpdateDictionaryCommand.js +16 -0
- package/dist-es/commands/index.js +6 -0
- package/dist-es/models/enums.js +31 -0
- package/dist-es/pagination/ListDictionariesPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +142 -13
- package/dist-types/ElementalInference.d.ts +50 -0
- package/dist-types/ElementalInferenceClient.d.ts +8 -2
- package/dist-types/commands/AssociateFeedCommand.d.ts +14 -5
- package/dist-types/commands/CreateDictionaryCommand.d.ts +109 -0
- package/dist-types/commands/CreateFeedCommand.d.ts +23 -5
- package/dist-types/commands/DeleteDictionaryCommand.d.ts +96 -0
- package/dist-types/commands/DeleteFeedCommand.d.ts +4 -4
- package/dist-types/commands/DisassociateFeedCommand.d.ts +4 -4
- package/dist-types/commands/ExportDictionaryEntriesCommand.d.ts +91 -0
- package/dist-types/commands/GetDictionaryCommand.d.ts +101 -0
- package/dist-types/commands/GetFeedCommand.d.ts +11 -2
- package/dist-types/commands/ListDictionariesCommand.d.ts +98 -0
- package/dist-types/commands/ListFeedsCommand.d.ts +3 -3
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -3
- package/dist-types/commands/TagResourceCommand.d.ts +4 -4
- package/dist-types/commands/UntagResourceCommand.d.ts +3 -3
- package/dist-types/commands/UpdateDictionaryCommand.d.ts +107 -0
- package/dist-types/commands/UpdateFeedCommand.d.ts +23 -5
- package/dist-types/commands/index.d.ts +6 -0
- package/dist-types/models/enums.d.ts +63 -0
- package/dist-types/models/errors.d.ts +4 -4
- package/dist-types/models/models_0.d.ts +399 -52
- package/dist-types/pagination/ListDictionariesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +21 -0
- package/dist-types/ts3.4/ElementalInference.d.ts +110 -0
- package/dist-types/ts3.4/ElementalInferenceClient.d.ts +36 -0
- package/dist-types/ts3.4/commands/CreateDictionaryCommand.d.ts +52 -0
- package/dist-types/ts3.4/commands/DeleteDictionaryCommand.d.ts +52 -0
- package/dist-types/ts3.4/commands/ExportDictionaryEntriesCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/GetDictionaryCommand.d.ts +52 -0
- package/dist-types/ts3.4/commands/ListDictionariesCommand.d.ts +52 -0
- package/dist-types/ts3.4/commands/UpdateDictionaryCommand.d.ts +52 -0
- package/dist-types/ts3.4/commands/index.d.ts +6 -0
- package/dist-types/ts3.4/models/enums.d.ts +39 -0
- package/dist-types/ts3.4/models/models_0.d.ts +100 -1
- package/dist-types/ts3.4/pagination/ListDictionariesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +21 -0
- package/package.json +1 -1
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ElementalInferenceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ElementalInferenceClient";
|
|
4
|
+
import type { ListDictionariesRequest, ListDictionariesResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListDictionariesCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListDictionariesCommandInput extends ListDictionariesRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListDictionariesCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListDictionariesCommandOutput extends ListDictionariesResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListDictionariesCommand_base: {
|
|
25
|
+
new (input: ListDictionariesCommandInput): import("@smithy/core/client").CommandImpl<ListDictionariesCommandInput, ListDictionariesCommandOutput, ElementalInferenceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [ListDictionariesCommandInput]): import("@smithy/core/client").CommandImpl<ListDictionariesCommandInput, ListDictionariesCommandOutput, ElementalInferenceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>Lists the dictionaries in your account.</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { ElementalInferenceClient, ListDictionariesCommand } from "@aws-sdk/client-elementalinference"; // ES Modules import
|
|
37
|
+
* // const { ElementalInferenceClient, ListDictionariesCommand } = require("@aws-sdk/client-elementalinference"); // CommonJS import
|
|
38
|
+
* // import type { ElementalInferenceClientConfig } from "@aws-sdk/client-elementalinference";
|
|
39
|
+
* const config = {}; // type is ElementalInferenceClientConfig
|
|
40
|
+
* const client = new ElementalInferenceClient(config);
|
|
41
|
+
* const input = { // ListDictionariesRequest
|
|
42
|
+
* maxResults: Number("int"),
|
|
43
|
+
* nextToken: "STRING_VALUE",
|
|
44
|
+
* };
|
|
45
|
+
* const command = new ListDictionariesCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // { // ListDictionariesResponse
|
|
48
|
+
* // dictionaries: [ // DictionarySummaryList // required
|
|
49
|
+
* // { // DictionarySummary
|
|
50
|
+
* // arn: "STRING_VALUE", // required
|
|
51
|
+
* // id: "STRING_VALUE", // required
|
|
52
|
+
* // name: "STRING_VALUE", // required
|
|
53
|
+
* // language: "eng" || "fra" || "ita" || "deu" || "spa" || "por", // required
|
|
54
|
+
* // status: "CREATING" || "AVAILABLE" || "REFERENCED" || "DELETING" || "DELETED", // required
|
|
55
|
+
* // },
|
|
56
|
+
* // ],
|
|
57
|
+
* // nextToken: "STRING_VALUE",
|
|
58
|
+
* // };
|
|
59
|
+
*
|
|
60
|
+
* ```
|
|
61
|
+
*
|
|
62
|
+
* @param ListDictionariesCommandInput - {@link ListDictionariesCommandInput}
|
|
63
|
+
* @returns {@link ListDictionariesCommandOutput}
|
|
64
|
+
* @see {@link ListDictionariesCommandInput} for command's `input` shape.
|
|
65
|
+
* @see {@link ListDictionariesCommandOutput} for command's `response` shape.
|
|
66
|
+
* @see {@link ElementalInferenceClientResolvedConfig | config} for ElementalInferenceClient's `config` shape.
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
69
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link InternalServerErrorException} (server fault)
|
|
72
|
+
* <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>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link TooManyRequestException} (client fault)
|
|
75
|
+
* <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>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link ValidationException} (client fault)
|
|
78
|
+
* <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>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link ElementalInferenceServiceException}
|
|
81
|
+
* <p>Base exception class for all service exceptions from ElementalInference service.</p>
|
|
82
|
+
*
|
|
83
|
+
*
|
|
84
|
+
* @public
|
|
85
|
+
*/
|
|
86
|
+
export declare class ListDictionariesCommand extends ListDictionariesCommand_base {
|
|
87
|
+
/** @internal type navigation helper, not in runtime. */
|
|
88
|
+
protected static __types: {
|
|
89
|
+
api: {
|
|
90
|
+
input: ListDictionariesRequest;
|
|
91
|
+
output: ListDictionariesResponse;
|
|
92
|
+
};
|
|
93
|
+
sdk: {
|
|
94
|
+
input: ListDictionariesCommandInput;
|
|
95
|
+
output: ListDictionariesCommandOutput;
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
}
|
|
@@ -71,16 +71,16 @@ declare const ListFeedsCommand_base: {
|
|
|
71
71
|
* <p>You do not have sufficient access to perform this action.</p>
|
|
72
72
|
*
|
|
73
73
|
* @throws {@link InternalServerErrorException} (server fault)
|
|
74
|
-
* <p>An internal server error occurred. This is a temporary condition and the request can be retried. If the problem persists, contact AWS Support
|
|
74
|
+
* <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>
|
|
75
75
|
*
|
|
76
76
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
77
77
|
* <p>The resource specified in the action doesn't exist.</p>
|
|
78
78
|
*
|
|
79
79
|
* @throws {@link TooManyRequestException} (client fault)
|
|
80
|
-
* <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
|
|
80
|
+
* <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>
|
|
81
81
|
*
|
|
82
82
|
* @throws {@link ValidationException} (client fault)
|
|
83
|
-
* <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
|
|
83
|
+
* <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>
|
|
84
84
|
*
|
|
85
85
|
* @throws {@link ElementalInferenceServiceException}
|
|
86
86
|
* <p>Base exception class for all service exceptions from ElementalInference service.</p>
|
|
@@ -61,16 +61,16 @@ declare const ListTagsForResourceCommand_base: {
|
|
|
61
61
|
* <p>You do not have sufficient access to perform this action.</p>
|
|
62
62
|
*
|
|
63
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
|
|
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
65
|
*
|
|
66
66
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
67
67
|
* <p>The resource specified in the action doesn't exist.</p>
|
|
68
68
|
*
|
|
69
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
|
|
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
71
|
*
|
|
72
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
|
|
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
74
|
*
|
|
75
75
|
* @throws {@link ElementalInferenceServiceException}
|
|
76
76
|
* <p>Base exception class for all service exceptions from ElementalInference service.</p>
|
|
@@ -29,7 +29,7 @@ declare const TagResourceCommand_base: {
|
|
|
29
29
|
};
|
|
30
30
|
};
|
|
31
31
|
/**
|
|
32
|
-
* <p>Associates the specified tags to the resource identified by the specified resourceArn in the current region. If existing tags on a resource are not specified in the request parameters, they are not changed. When a resource is deleted, the tags associated with that resource are also deleted
|
|
32
|
+
* <p>Associates the specified tags to the resource identified by the specified resourceArn in the current region. If existing tags on a resource are not specified in the request parameters, they are not changed. When a resource is deleted, the tags associated with that resource are also deleted. </p>
|
|
33
33
|
* @example
|
|
34
34
|
* Use a bare-bones client and the command you need to make an API call.
|
|
35
35
|
* ```javascript
|
|
@@ -63,16 +63,16 @@ declare const TagResourceCommand_base: {
|
|
|
63
63
|
* <p>The request could not be completed due to a conflict.</p>
|
|
64
64
|
*
|
|
65
65
|
* @throws {@link InternalServerErrorException} (server fault)
|
|
66
|
-
* <p>An internal server error occurred. This is a temporary condition and the request can be retried. If the problem persists, contact AWS Support
|
|
66
|
+
* <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>
|
|
67
67
|
*
|
|
68
68
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
69
69
|
* <p>The resource specified in the action doesn't exist.</p>
|
|
70
70
|
*
|
|
71
71
|
* @throws {@link TooManyRequestException} (client fault)
|
|
72
|
-
* <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
|
|
72
|
+
* <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>
|
|
73
73
|
*
|
|
74
74
|
* @throws {@link ValidationException} (client fault)
|
|
75
|
-
* <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
|
|
75
|
+
* <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>
|
|
76
76
|
*
|
|
77
77
|
* @throws {@link ElementalInferenceServiceException}
|
|
78
78
|
* <p>Base exception class for all service exceptions from ElementalInference service.</p>
|
|
@@ -63,16 +63,16 @@ declare const UntagResourceCommand_base: {
|
|
|
63
63
|
* <p>The request could not be completed due to a conflict.</p>
|
|
64
64
|
*
|
|
65
65
|
* @throws {@link InternalServerErrorException} (server fault)
|
|
66
|
-
* <p>An internal server error occurred. This is a temporary condition and the request can be retried. If the problem persists, contact AWS Support
|
|
66
|
+
* <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>
|
|
67
67
|
*
|
|
68
68
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
69
69
|
* <p>The resource specified in the action doesn't exist.</p>
|
|
70
70
|
*
|
|
71
71
|
* @throws {@link TooManyRequestException} (client fault)
|
|
72
|
-
* <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
|
|
72
|
+
* <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>
|
|
73
73
|
*
|
|
74
74
|
* @throws {@link ValidationException} (client fault)
|
|
75
|
-
* <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
|
|
75
|
+
* <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>
|
|
76
76
|
*
|
|
77
77
|
* @throws {@link ElementalInferenceServiceException}
|
|
78
78
|
* <p>Base exception class for all service exceptions from ElementalInference service.</p>
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ElementalInferenceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ElementalInferenceClient";
|
|
4
|
+
import type { UpdateDictionaryRequest, UpdateDictionaryResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link UpdateDictionaryCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdateDictionaryCommandInput extends UpdateDictionaryRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdateDictionaryCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateDictionaryCommandOutput extends UpdateDictionaryResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UpdateDictionaryCommand_base: {
|
|
25
|
+
new (input: UpdateDictionaryCommandInput): import("@smithy/core/client").CommandImpl<UpdateDictionaryCommandInput, UpdateDictionaryCommandOutput, ElementalInferenceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: UpdateDictionaryCommandInput): import("@smithy/core/client").CommandImpl<UpdateDictionaryCommandInput, UpdateDictionaryCommandOutput, ElementalInferenceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>Updates the specified dictionary.</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { ElementalInferenceClient, UpdateDictionaryCommand } from "@aws-sdk/client-elementalinference"; // ES Modules import
|
|
37
|
+
* // const { ElementalInferenceClient, UpdateDictionaryCommand } = require("@aws-sdk/client-elementalinference"); // CommonJS import
|
|
38
|
+
* // import type { ElementalInferenceClientConfig } from "@aws-sdk/client-elementalinference";
|
|
39
|
+
* const config = {}; // type is ElementalInferenceClientConfig
|
|
40
|
+
* const client = new ElementalInferenceClient(config);
|
|
41
|
+
* const input = { // UpdateDictionaryRequest
|
|
42
|
+
* id: "STRING_VALUE", // required
|
|
43
|
+
* name: "STRING_VALUE",
|
|
44
|
+
* language: "eng" || "fra" || "ita" || "deu" || "spa" || "por",
|
|
45
|
+
* entries: "STRING_VALUE",
|
|
46
|
+
* };
|
|
47
|
+
* const command = new UpdateDictionaryCommand(input);
|
|
48
|
+
* const response = await client.send(command);
|
|
49
|
+
* // { // UpdateDictionaryResponse
|
|
50
|
+
* // name: "STRING_VALUE", // required
|
|
51
|
+
* // arn: "STRING_VALUE", // required
|
|
52
|
+
* // id: "STRING_VALUE", // required
|
|
53
|
+
* // language: "eng" || "fra" || "ita" || "deu" || "spa" || "por", // required
|
|
54
|
+
* // status: "CREATING" || "AVAILABLE" || "REFERENCED" || "DELETING" || "DELETED", // required
|
|
55
|
+
* // references: [ // FeedReferences
|
|
56
|
+
* // "STRING_VALUE",
|
|
57
|
+
* // ],
|
|
58
|
+
* // tags: { // TagMap
|
|
59
|
+
* // "<keys>": "STRING_VALUE",
|
|
60
|
+
* // },
|
|
61
|
+
* // };
|
|
62
|
+
*
|
|
63
|
+
* ```
|
|
64
|
+
*
|
|
65
|
+
* @param UpdateDictionaryCommandInput - {@link UpdateDictionaryCommandInput}
|
|
66
|
+
* @returns {@link UpdateDictionaryCommandOutput}
|
|
67
|
+
* @see {@link UpdateDictionaryCommandInput} for command's `input` shape.
|
|
68
|
+
* @see {@link UpdateDictionaryCommandOutput} for command's `response` shape.
|
|
69
|
+
* @see {@link ElementalInferenceClientResolvedConfig | config} for ElementalInferenceClient's `config` shape.
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
72
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link ConflictException} (client fault)
|
|
75
|
+
* <p>The request could not be completed due to a conflict.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link InternalServerErrorException} (server fault)
|
|
78
|
+
* <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>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
81
|
+
* <p>The resource specified in the action doesn't exist.</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link TooManyRequestException} (client fault)
|
|
84
|
+
* <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>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link ValidationException} (client fault)
|
|
87
|
+
* <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>
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link ElementalInferenceServiceException}
|
|
90
|
+
* <p>Base exception class for all service exceptions from ElementalInference service.</p>
|
|
91
|
+
*
|
|
92
|
+
*
|
|
93
|
+
* @public
|
|
94
|
+
*/
|
|
95
|
+
export declare class UpdateDictionaryCommand extends UpdateDictionaryCommand_base {
|
|
96
|
+
/** @internal type navigation helper, not in runtime. */
|
|
97
|
+
protected static __types: {
|
|
98
|
+
api: {
|
|
99
|
+
input: UpdateDictionaryRequest;
|
|
100
|
+
output: UpdateDictionaryResponse;
|
|
101
|
+
};
|
|
102
|
+
sdk: {
|
|
103
|
+
input: UpdateDictionaryCommandInput;
|
|
104
|
+
output: UpdateDictionaryCommandOutput;
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
}
|
|
@@ -29,7 +29,7 @@ declare const UpdateFeedCommand_base: {
|
|
|
29
29
|
};
|
|
30
30
|
};
|
|
31
31
|
/**
|
|
32
|
-
* <p>Updates the name and/or outputs in a feed. </p>
|
|
32
|
+
* <p>Updates the name and/or outputs in a feed. </p> <p>UpdateFeed is a PUT operation, which means that the payload that you specify completely overwrites the existing payload. </p> <p>This means that if you want to touch the array of outputs, you must pass in the full new list. So you must omit outputs you want to delete, and include outputs you want to add or modify. </p> <p>If you want to patch the array of outputs to make selective additions, use AssociateFeed. </p>
|
|
33
33
|
* @example
|
|
34
34
|
* Use a bare-bones client and the command you need to make an API call.
|
|
35
35
|
* ```javascript
|
|
@@ -49,6 +49,15 @@ declare const UpdateFeedCommand_base: {
|
|
|
49
49
|
* clipping: { // ClippingConfig
|
|
50
50
|
* callbackMetadata: "STRING_VALUE",
|
|
51
51
|
* },
|
|
52
|
+
* subtitling: { // SubtitlingConfig
|
|
53
|
+
* language: "eng" || "eng-au" || "eng-gb" || "eng-us" || "fra" || "ita" || "deu" || "spa" || "por", // required
|
|
54
|
+
* aspectRatio: { // AspectRatio
|
|
55
|
+
* width: Number("int"), // required
|
|
56
|
+
* height: Number("int"), // required
|
|
57
|
+
* },
|
|
58
|
+
* dictionary: "STRING_VALUE",
|
|
59
|
+
* profanityFilter: "DISABLED" || "CENSOR" || "DROP",
|
|
60
|
+
* },
|
|
52
61
|
* },
|
|
53
62
|
* status: "ENABLED" || "DISABLED", // required
|
|
54
63
|
* description: "STRING_VALUE",
|
|
@@ -73,6 +82,15 @@ declare const UpdateFeedCommand_base: {
|
|
|
73
82
|
* // clipping: { // ClippingConfig
|
|
74
83
|
* // callbackMetadata: "STRING_VALUE",
|
|
75
84
|
* // },
|
|
85
|
+
* // subtitling: { // SubtitlingConfig
|
|
86
|
+
* // language: "eng" || "eng-au" || "eng-gb" || "eng-us" || "fra" || "ita" || "deu" || "spa" || "por", // required
|
|
87
|
+
* // aspectRatio: { // AspectRatio
|
|
88
|
+
* // width: Number("int"), // required
|
|
89
|
+
* // height: Number("int"), // required
|
|
90
|
+
* // },
|
|
91
|
+
* // dictionary: "STRING_VALUE",
|
|
92
|
+
* // profanityFilter: "DISABLED" || "CENSOR" || "DROP",
|
|
93
|
+
* // },
|
|
76
94
|
* // },
|
|
77
95
|
* // status: "ENABLED" || "DISABLED", // required
|
|
78
96
|
* // description: "STRING_VALUE",
|
|
@@ -103,19 +121,19 @@ declare const UpdateFeedCommand_base: {
|
|
|
103
121
|
* <p>The request could not be completed due to a conflict.</p>
|
|
104
122
|
*
|
|
105
123
|
* @throws {@link InternalServerErrorException} (server fault)
|
|
106
|
-
* <p>An internal server error occurred. This is a temporary condition and the request can be retried. If the problem persists, contact AWS Support
|
|
124
|
+
* <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>
|
|
107
125
|
*
|
|
108
126
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
109
127
|
* <p>The resource specified in the action doesn't exist.</p>
|
|
110
128
|
*
|
|
111
129
|
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
112
|
-
* <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
|
|
130
|
+
* <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>
|
|
113
131
|
*
|
|
114
132
|
* @throws {@link TooManyRequestException} (client fault)
|
|
115
|
-
* <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
|
|
133
|
+
* <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>
|
|
116
134
|
*
|
|
117
135
|
* @throws {@link ValidationException} (client fault)
|
|
118
|
-
* <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
|
|
136
|
+
* <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>
|
|
119
137
|
*
|
|
120
138
|
* @throws {@link ElementalInferenceServiceException}
|
|
121
139
|
* <p>Base exception class for all service exceptions from ElementalInference service.</p>
|
|
@@ -1,10 +1,16 @@
|
|
|
1
1
|
export * from "./AssociateFeedCommand";
|
|
2
|
+
export * from "./CreateDictionaryCommand";
|
|
2
3
|
export * from "./CreateFeedCommand";
|
|
4
|
+
export * from "./DeleteDictionaryCommand";
|
|
3
5
|
export * from "./DeleteFeedCommand";
|
|
4
6
|
export * from "./DisassociateFeedCommand";
|
|
7
|
+
export * from "./ExportDictionaryEntriesCommand";
|
|
8
|
+
export * from "./GetDictionaryCommand";
|
|
5
9
|
export * from "./GetFeedCommand";
|
|
10
|
+
export * from "./ListDictionariesCommand";
|
|
6
11
|
export * from "./ListFeedsCommand";
|
|
7
12
|
export * from "./ListTagsForResourceCommand";
|
|
8
13
|
export * from "./TagResourceCommand";
|
|
9
14
|
export * from "./UntagResourceCommand";
|
|
15
|
+
export * from "./UpdateDictionaryCommand";
|
|
10
16
|
export * from "./UpdateFeedCommand";
|
|
@@ -1,3 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
* @enum
|
|
4
|
+
*/
|
|
5
|
+
export declare const TranscriptionLanguage: {
|
|
6
|
+
readonly DEU: "deu";
|
|
7
|
+
readonly ENG: "eng";
|
|
8
|
+
readonly ENG_AU: "eng-au";
|
|
9
|
+
readonly ENG_GB: "eng-gb";
|
|
10
|
+
readonly ENG_US: "eng-us";
|
|
11
|
+
readonly FRA: "fra";
|
|
12
|
+
readonly ITA: "ita";
|
|
13
|
+
readonly POR: "por";
|
|
14
|
+
readonly SPA: "spa";
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*/
|
|
19
|
+
export type TranscriptionLanguage = (typeof TranscriptionLanguage)[keyof typeof TranscriptionLanguage];
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
* @enum
|
|
23
|
+
*/
|
|
24
|
+
export declare const ProfanityFilterMode: {
|
|
25
|
+
readonly CENSOR: "CENSOR";
|
|
26
|
+
readonly DISABLED: "DISABLED";
|
|
27
|
+
readonly DROP: "DROP";
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* @public
|
|
31
|
+
*/
|
|
32
|
+
export type ProfanityFilterMode = (typeof ProfanityFilterMode)[keyof typeof ProfanityFilterMode];
|
|
1
33
|
/**
|
|
2
34
|
* @public
|
|
3
35
|
* @enum
|
|
@@ -10,6 +42,37 @@ export declare const OutputStatus: {
|
|
|
10
42
|
* @public
|
|
11
43
|
*/
|
|
12
44
|
export type OutputStatus = (typeof OutputStatus)[keyof typeof OutputStatus];
|
|
45
|
+
/**
|
|
46
|
+
* @public
|
|
47
|
+
* @enum
|
|
48
|
+
*/
|
|
49
|
+
export declare const DictionaryLanguage: {
|
|
50
|
+
readonly DEU: "deu";
|
|
51
|
+
readonly ENG: "eng";
|
|
52
|
+
readonly FRA: "fra";
|
|
53
|
+
readonly ITA: "ita";
|
|
54
|
+
readonly POR: "por";
|
|
55
|
+
readonly SPA: "spa";
|
|
56
|
+
};
|
|
57
|
+
/**
|
|
58
|
+
* @public
|
|
59
|
+
*/
|
|
60
|
+
export type DictionaryLanguage = (typeof DictionaryLanguage)[keyof typeof DictionaryLanguage];
|
|
61
|
+
/**
|
|
62
|
+
* @public
|
|
63
|
+
* @enum
|
|
64
|
+
*/
|
|
65
|
+
export declare const DictionaryStatus: {
|
|
66
|
+
readonly AVAILABLE: "AVAILABLE";
|
|
67
|
+
readonly CREATING: "CREATING";
|
|
68
|
+
readonly DELETED: "DELETED";
|
|
69
|
+
readonly DELETING: "DELETING";
|
|
70
|
+
readonly REFERENCED: "REFERENCED";
|
|
71
|
+
};
|
|
72
|
+
/**
|
|
73
|
+
* @public
|
|
74
|
+
*/
|
|
75
|
+
export type DictionaryStatus = (typeof DictionaryStatus)[keyof typeof DictionaryStatus];
|
|
13
76
|
/**
|
|
14
77
|
* @public
|
|
15
78
|
* @enum
|
|
@@ -26,7 +26,7 @@ export declare class ConflictException extends __BaseException {
|
|
|
26
26
|
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
27
27
|
}
|
|
28
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
|
|
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
30
|
* @public
|
|
31
31
|
*/
|
|
32
32
|
export declare class InternalServerErrorException extends __BaseException {
|
|
@@ -51,7 +51,7 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
51
51
|
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
52
52
|
}
|
|
53
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
|
|
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
55
|
* @public
|
|
56
56
|
*/
|
|
57
57
|
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
@@ -63,7 +63,7 @@ export declare class ServiceQuotaExceededException extends __BaseException {
|
|
|
63
63
|
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
64
64
|
}
|
|
65
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
|
|
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
67
|
* @public
|
|
68
68
|
*/
|
|
69
69
|
export declare class TooManyRequestException extends __BaseException {
|
|
@@ -76,7 +76,7 @@ export declare class TooManyRequestException extends __BaseException {
|
|
|
76
76
|
constructor(opts: __ExceptionOptionType<TooManyRequestException, __BaseException>);
|
|
77
77
|
}
|
|
78
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
|
|
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
80
|
* @public
|
|
81
81
|
*/
|
|
82
82
|
export declare class ValidationException extends __BaseException {
|