@aws-sdk/client-elementalinference 3.1054.0 → 3.1056.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 +6 -6
|
@@ -1,8 +1,47 @@
|
|
|
1
|
+
export declare const TranscriptionLanguage: {
|
|
2
|
+
readonly DEU: "deu";
|
|
3
|
+
readonly ENG: "eng";
|
|
4
|
+
readonly ENG_AU: "eng-au";
|
|
5
|
+
readonly ENG_GB: "eng-gb";
|
|
6
|
+
readonly ENG_US: "eng-us";
|
|
7
|
+
readonly FRA: "fra";
|
|
8
|
+
readonly ITA: "ita";
|
|
9
|
+
readonly POR: "por";
|
|
10
|
+
readonly SPA: "spa";
|
|
11
|
+
};
|
|
12
|
+
export type TranscriptionLanguage =
|
|
13
|
+
(typeof TranscriptionLanguage)[keyof typeof TranscriptionLanguage];
|
|
14
|
+
export declare const ProfanityFilterMode: {
|
|
15
|
+
readonly CENSOR: "CENSOR";
|
|
16
|
+
readonly DISABLED: "DISABLED";
|
|
17
|
+
readonly DROP: "DROP";
|
|
18
|
+
};
|
|
19
|
+
export type ProfanityFilterMode =
|
|
20
|
+
(typeof ProfanityFilterMode)[keyof typeof ProfanityFilterMode];
|
|
1
21
|
export declare const OutputStatus: {
|
|
2
22
|
readonly DISABLED: "DISABLED";
|
|
3
23
|
readonly ENABLED: "ENABLED";
|
|
4
24
|
};
|
|
5
25
|
export type OutputStatus = (typeof OutputStatus)[keyof typeof OutputStatus];
|
|
26
|
+
export declare const DictionaryLanguage: {
|
|
27
|
+
readonly DEU: "deu";
|
|
28
|
+
readonly ENG: "eng";
|
|
29
|
+
readonly FRA: "fra";
|
|
30
|
+
readonly ITA: "ita";
|
|
31
|
+
readonly POR: "por";
|
|
32
|
+
readonly SPA: "spa";
|
|
33
|
+
};
|
|
34
|
+
export type DictionaryLanguage =
|
|
35
|
+
(typeof DictionaryLanguage)[keyof typeof DictionaryLanguage];
|
|
36
|
+
export declare const DictionaryStatus: {
|
|
37
|
+
readonly AVAILABLE: "AVAILABLE";
|
|
38
|
+
readonly CREATING: "CREATING";
|
|
39
|
+
readonly DELETED: "DELETED";
|
|
40
|
+
readonly DELETING: "DELETING";
|
|
41
|
+
readonly REFERENCED: "REFERENCED";
|
|
42
|
+
};
|
|
43
|
+
export type DictionaryStatus =
|
|
44
|
+
(typeof DictionaryStatus)[keyof typeof DictionaryStatus];
|
|
6
45
|
export declare const FeedStatus: {
|
|
7
46
|
readonly ACTIVE: "ACTIVE";
|
|
8
47
|
readonly ARCHIVED: "ARCHIVED";
|
|
@@ -1,31 +1,59 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
DictionaryLanguage,
|
|
3
|
+
DictionaryStatus,
|
|
4
|
+
FeedStatus,
|
|
5
|
+
OutputStatus,
|
|
6
|
+
ProfanityFilterMode,
|
|
7
|
+
TranscriptionLanguage,
|
|
8
|
+
} from "./enums";
|
|
9
|
+
export interface AspectRatio {
|
|
10
|
+
width: number | undefined;
|
|
11
|
+
height: number | undefined;
|
|
12
|
+
}
|
|
2
13
|
export interface ClippingConfig {
|
|
3
14
|
callbackMetadata?: string | undefined;
|
|
4
15
|
}
|
|
5
16
|
export interface CroppingConfig {}
|
|
17
|
+
export interface SubtitlingConfig {
|
|
18
|
+
language: TranscriptionLanguage | undefined;
|
|
19
|
+
aspectRatio?: AspectRatio | undefined;
|
|
20
|
+
dictionary?: string | undefined;
|
|
21
|
+
profanityFilter?: ProfanityFilterMode | undefined;
|
|
22
|
+
}
|
|
6
23
|
export type OutputConfig =
|
|
7
24
|
| OutputConfig.ClippingMember
|
|
8
25
|
| OutputConfig.CroppingMember
|
|
26
|
+
| OutputConfig.SubtitlingMember
|
|
9
27
|
| OutputConfig.$UnknownMember;
|
|
10
28
|
export declare namespace OutputConfig {
|
|
11
29
|
interface CroppingMember {
|
|
12
30
|
cropping: CroppingConfig;
|
|
13
31
|
clipping?: never;
|
|
32
|
+
subtitling?: never;
|
|
14
33
|
$unknown?: never;
|
|
15
34
|
}
|
|
16
35
|
interface ClippingMember {
|
|
17
36
|
cropping?: never;
|
|
18
37
|
clipping: ClippingConfig;
|
|
38
|
+
subtitling?: never;
|
|
39
|
+
$unknown?: never;
|
|
40
|
+
}
|
|
41
|
+
interface SubtitlingMember {
|
|
42
|
+
cropping?: never;
|
|
43
|
+
clipping?: never;
|
|
44
|
+
subtitling: SubtitlingConfig;
|
|
19
45
|
$unknown?: never;
|
|
20
46
|
}
|
|
21
47
|
interface $UnknownMember {
|
|
22
48
|
cropping?: never;
|
|
23
49
|
clipping?: never;
|
|
50
|
+
subtitling?: never;
|
|
24
51
|
$unknown: [string, any];
|
|
25
52
|
}
|
|
26
53
|
interface Visitor<T> {
|
|
27
54
|
cropping: (value: CroppingConfig) => T;
|
|
28
55
|
clipping: (value: ClippingConfig) => T;
|
|
56
|
+
subtitling: (value: SubtitlingConfig) => T;
|
|
29
57
|
_: (name: string, value: any) => T;
|
|
30
58
|
}
|
|
31
59
|
}
|
|
@@ -45,6 +73,21 @@ export interface AssociateFeedResponse {
|
|
|
45
73
|
arn: string | undefined;
|
|
46
74
|
id: string | undefined;
|
|
47
75
|
}
|
|
76
|
+
export interface CreateDictionaryRequest {
|
|
77
|
+
name: string | undefined;
|
|
78
|
+
language: DictionaryLanguage | undefined;
|
|
79
|
+
entries?: string | undefined;
|
|
80
|
+
tags?: Record<string, string> | undefined;
|
|
81
|
+
}
|
|
82
|
+
export interface CreateDictionaryResponse {
|
|
83
|
+
name: string | undefined;
|
|
84
|
+
arn: string | undefined;
|
|
85
|
+
id: string | undefined;
|
|
86
|
+
language: DictionaryLanguage | undefined;
|
|
87
|
+
status: DictionaryStatus | undefined;
|
|
88
|
+
references?: string[] | undefined;
|
|
89
|
+
tags?: Record<string, string> | undefined;
|
|
90
|
+
}
|
|
48
91
|
export interface CreateFeedRequest {
|
|
49
92
|
name: string | undefined;
|
|
50
93
|
outputs: CreateOutput[] | undefined;
|
|
@@ -70,6 +113,14 @@ export interface CreateFeedResponse {
|
|
|
70
113
|
association?: FeedAssociation | undefined;
|
|
71
114
|
tags?: Record<string, string> | undefined;
|
|
72
115
|
}
|
|
116
|
+
export interface DeleteDictionaryRequest {
|
|
117
|
+
id: string | undefined;
|
|
118
|
+
}
|
|
119
|
+
export interface DeleteDictionaryResponse {
|
|
120
|
+
arn: string | undefined;
|
|
121
|
+
id: string | undefined;
|
|
122
|
+
status: DictionaryStatus | undefined;
|
|
123
|
+
}
|
|
73
124
|
export interface DeleteFeedRequest {
|
|
74
125
|
id: string | undefined;
|
|
75
126
|
}
|
|
@@ -78,6 +129,54 @@ export interface DeleteFeedResponse {
|
|
|
78
129
|
id: string | undefined;
|
|
79
130
|
status: FeedStatus | undefined;
|
|
80
131
|
}
|
|
132
|
+
export interface ExportDictionaryEntriesRequest {
|
|
133
|
+
id: string | undefined;
|
|
134
|
+
}
|
|
135
|
+
export interface ExportDictionaryEntriesResponse {
|
|
136
|
+
entries?: string | undefined;
|
|
137
|
+
}
|
|
138
|
+
export interface GetDictionaryRequest {
|
|
139
|
+
id: string | undefined;
|
|
140
|
+
}
|
|
141
|
+
export interface GetDictionaryResponse {
|
|
142
|
+
name: string | undefined;
|
|
143
|
+
arn: string | undefined;
|
|
144
|
+
id: string | undefined;
|
|
145
|
+
language: DictionaryLanguage | undefined;
|
|
146
|
+
status: DictionaryStatus | undefined;
|
|
147
|
+
references?: string[] | undefined;
|
|
148
|
+
tags?: Record<string, string> | undefined;
|
|
149
|
+
}
|
|
150
|
+
export interface ListDictionariesRequest {
|
|
151
|
+
maxResults?: number | undefined;
|
|
152
|
+
nextToken?: string | undefined;
|
|
153
|
+
}
|
|
154
|
+
export interface DictionarySummary {
|
|
155
|
+
arn: string | undefined;
|
|
156
|
+
id: string | undefined;
|
|
157
|
+
name: string | undefined;
|
|
158
|
+
language: DictionaryLanguage | undefined;
|
|
159
|
+
status: DictionaryStatus | undefined;
|
|
160
|
+
}
|
|
161
|
+
export interface ListDictionariesResponse {
|
|
162
|
+
dictionaries: DictionarySummary[] | undefined;
|
|
163
|
+
nextToken?: string | undefined;
|
|
164
|
+
}
|
|
165
|
+
export interface UpdateDictionaryRequest {
|
|
166
|
+
id: string | undefined;
|
|
167
|
+
name?: string | undefined;
|
|
168
|
+
language?: DictionaryLanguage | undefined;
|
|
169
|
+
entries?: string | undefined;
|
|
170
|
+
}
|
|
171
|
+
export interface UpdateDictionaryResponse {
|
|
172
|
+
name: string | undefined;
|
|
173
|
+
arn: string | undefined;
|
|
174
|
+
id: string | undefined;
|
|
175
|
+
language: DictionaryLanguage | undefined;
|
|
176
|
+
status: DictionaryStatus | undefined;
|
|
177
|
+
references?: string[] | undefined;
|
|
178
|
+
tags?: Record<string, string> | undefined;
|
|
179
|
+
}
|
|
81
180
|
export interface DisassociateFeedRequest {
|
|
82
181
|
id: string | undefined;
|
|
83
182
|
associatedResourceName?: string | undefined;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListDictionariesCommandInput,
|
|
4
|
+
ListDictionariesCommandOutput,
|
|
5
|
+
} from "../commands/ListDictionariesCommand";
|
|
6
|
+
import { ElementalInferencePaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListDictionaries: (
|
|
8
|
+
config: ElementalInferencePaginationConfiguration,
|
|
9
|
+
input: ListDictionariesCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListDictionariesCommandOutput>;
|
|
@@ -14,39 +14,60 @@ export declare var ServiceQuotaExceededException$: StaticErrorSchema;
|
|
|
14
14
|
export declare var TooManyRequestException$: StaticErrorSchema;
|
|
15
15
|
export declare var ValidationException$: StaticErrorSchema;
|
|
16
16
|
export declare const errorTypeRegistries: TypeRegistry[];
|
|
17
|
+
export declare var AspectRatio$: StaticStructureSchema;
|
|
17
18
|
export declare var AssociateFeedRequest$: StaticStructureSchema;
|
|
18
19
|
export declare var AssociateFeedResponse$: StaticStructureSchema;
|
|
19
20
|
export declare var ClippingConfig$: StaticStructureSchema;
|
|
21
|
+
export declare var CreateDictionaryRequest$: StaticStructureSchema;
|
|
22
|
+
export declare var CreateDictionaryResponse$: StaticStructureSchema;
|
|
20
23
|
export declare var CreateFeedRequest$: StaticStructureSchema;
|
|
21
24
|
export declare var CreateFeedResponse$: StaticStructureSchema;
|
|
22
25
|
export declare var CreateOutput$: StaticStructureSchema;
|
|
23
26
|
export declare var CroppingConfig$: StaticStructureSchema;
|
|
27
|
+
export declare var DeleteDictionaryRequest$: StaticStructureSchema;
|
|
28
|
+
export declare var DeleteDictionaryResponse$: StaticStructureSchema;
|
|
24
29
|
export declare var DeleteFeedRequest$: StaticStructureSchema;
|
|
25
30
|
export declare var DeleteFeedResponse$: StaticStructureSchema;
|
|
31
|
+
export declare var DictionarySummary$: StaticStructureSchema;
|
|
26
32
|
export declare var DisassociateFeedRequest$: StaticStructureSchema;
|
|
27
33
|
export declare var DisassociateFeedResponse$: StaticStructureSchema;
|
|
34
|
+
export declare var ExportDictionaryEntriesRequest$: StaticStructureSchema;
|
|
35
|
+
export declare var ExportDictionaryEntriesResponse$: StaticStructureSchema;
|
|
28
36
|
export declare var FeedAssociation$: StaticStructureSchema;
|
|
29
37
|
export declare var FeedSummary$: StaticStructureSchema;
|
|
38
|
+
export declare var GetDictionaryRequest$: StaticStructureSchema;
|
|
39
|
+
export declare var GetDictionaryResponse$: StaticStructureSchema;
|
|
30
40
|
export declare var GetFeedRequest$: StaticStructureSchema;
|
|
31
41
|
export declare var GetFeedResponse$: StaticStructureSchema;
|
|
32
42
|
export declare var GetOutput$: StaticStructureSchema;
|
|
43
|
+
export declare var ListDictionariesRequest$: StaticStructureSchema;
|
|
44
|
+
export declare var ListDictionariesResponse$: StaticStructureSchema;
|
|
33
45
|
export declare var ListFeedsRequest$: StaticStructureSchema;
|
|
34
46
|
export declare var ListFeedsResponse$: StaticStructureSchema;
|
|
35
47
|
export declare var ListTagsForResourceRequest$: StaticStructureSchema;
|
|
36
48
|
export declare var ListTagsForResourceResponse$: StaticStructureSchema;
|
|
49
|
+
export declare var SubtitlingConfig$: StaticStructureSchema;
|
|
37
50
|
export declare var TagResourceRequest$: StaticStructureSchema;
|
|
38
51
|
export declare var UntagResourceRequest$: StaticStructureSchema;
|
|
52
|
+
export declare var UpdateDictionaryRequest$: StaticStructureSchema;
|
|
53
|
+
export declare var UpdateDictionaryResponse$: StaticStructureSchema;
|
|
39
54
|
export declare var UpdateFeedRequest$: StaticStructureSchema;
|
|
40
55
|
export declare var UpdateFeedResponse$: StaticStructureSchema;
|
|
41
56
|
export declare var UpdateOutput$: StaticStructureSchema;
|
|
42
57
|
export declare var OutputConfig$: StaticUnionSchema;
|
|
43
58
|
export declare var AssociateFeed$: StaticOperationSchema;
|
|
59
|
+
export declare var CreateDictionary$: StaticOperationSchema;
|
|
44
60
|
export declare var CreateFeed$: StaticOperationSchema;
|
|
61
|
+
export declare var DeleteDictionary$: StaticOperationSchema;
|
|
45
62
|
export declare var DeleteFeed$: StaticOperationSchema;
|
|
46
63
|
export declare var DisassociateFeed$: StaticOperationSchema;
|
|
64
|
+
export declare var ExportDictionaryEntries$: StaticOperationSchema;
|
|
65
|
+
export declare var GetDictionary$: StaticOperationSchema;
|
|
47
66
|
export declare var GetFeed$: StaticOperationSchema;
|
|
67
|
+
export declare var ListDictionaries$: StaticOperationSchema;
|
|
48
68
|
export declare var ListFeeds$: StaticOperationSchema;
|
|
49
69
|
export declare var ListTagsForResource$: StaticOperationSchema;
|
|
50
70
|
export declare var TagResource$: StaticOperationSchema;
|
|
51
71
|
export declare var UntagResource$: StaticOperationSchema;
|
|
72
|
+
export declare var UpdateDictionary$: StaticOperationSchema;
|
|
52
73
|
export declare var UpdateFeed$: StaticOperationSchema;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-elementalinference",
|
|
3
3
|
"description": "AWS SDK for JavaScript Elementalinference Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.1056.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-elementalinference",
|
|
@@ -21,12 +21,12 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.974.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
24
|
+
"@aws-sdk/core": "^3.974.15",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.46",
|
|
26
26
|
"@aws-sdk/types": "^3.973.9",
|
|
27
|
-
"@smithy/core": "^3.24.
|
|
28
|
-
"@smithy/fetch-http-handler": "^5.4.
|
|
29
|
-
"@smithy/node-http-handler": "^4.7.
|
|
27
|
+
"@smithy/core": "^3.24.5",
|
|
28
|
+
"@smithy/fetch-http-handler": "^5.4.5",
|
|
29
|
+
"@smithy/node-http-handler": "^4.7.5",
|
|
30
30
|
"@smithy/types": "^4.14.2",
|
|
31
31
|
"tslib": "^2.6.2"
|
|
32
32
|
},
|