@aws-sdk/client-elementalinference 3.1128.0 → 3.1129.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 (32) hide show
  1. package/README.md +21 -0
  2. package/dist-cjs/index.js +83 -3
  3. package/dist-es/ElementalInference.js +6 -0
  4. package/dist-es/commands/DeleteFeedPolicyCommand.js +4 -0
  5. package/dist-es/commands/GetFeedPolicyCommand.js +4 -0
  6. package/dist-es/commands/PutFeedPolicyCommand.js +4 -0
  7. package/dist-es/commands/index.js +3 -0
  8. package/dist-es/models/enums.js +4 -0
  9. package/dist-es/schemas/schemas_0.js +53 -2
  10. package/dist-types/ElementalInference.d.ts +21 -0
  11. package/dist-types/ElementalInferenceClient.d.ts +5 -2
  12. package/dist-types/commands/AssociateFeedCommand.d.ts +3 -0
  13. package/dist-types/commands/CreateFeedCommand.d.ts +6 -0
  14. package/dist-types/commands/DeleteFeedPolicyCommand.d.ts +84 -0
  15. package/dist-types/commands/GetFeedCommand.d.ts +3 -0
  16. package/dist-types/commands/GetFeedPolicyCommand.d.ts +86 -0
  17. package/dist-types/commands/PutFeedPolicyCommand.d.ts +88 -0
  18. package/dist-types/commands/UpdateFeedCommand.d.ts +6 -0
  19. package/dist-types/commands/index.d.ts +3 -0
  20. package/dist-types/models/enums.d.ts +12 -0
  21. package/dist-types/models/models_0.d.ts +79 -2
  22. package/dist-types/schemas/schemas_0.d.ts +9 -0
  23. package/dist-types/ts3.4/ElementalInference.d.ts +51 -0
  24. package/dist-types/ts3.4/ElementalInferenceClient.d.ts +18 -0
  25. package/dist-types/ts3.4/commands/DeleteFeedPolicyCommand.d.ts +38 -0
  26. package/dist-types/ts3.4/commands/GetFeedPolicyCommand.d.ts +38 -0
  27. package/dist-types/ts3.4/commands/PutFeedPolicyCommand.d.ts +38 -0
  28. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  29. package/dist-types/ts3.4/models/enums.d.ts +6 -0
  30. package/dist-types/ts3.4/models/models_0.d.ts +31 -0
  31. package/dist-types/ts3.4/schemas/schemas_0.d.ts +9 -0
  32. package/package.json +3 -3
@@ -47,6 +47,10 @@ import {
47
47
  DeleteDictionaryCommandOutput,
48
48
  } from "./commands/DeleteDictionaryCommand";
49
49
  import { DeleteFeedCommandInput, DeleteFeedCommandOutput } from "./commands/DeleteFeedCommand";
50
+ import {
51
+ DeleteFeedPolicyCommandInput,
52
+ DeleteFeedPolicyCommandOutput,
53
+ } from "./commands/DeleteFeedPolicyCommand";
50
54
  import {
51
55
  DisassociateFeedCommandInput,
52
56
  DisassociateFeedCommandOutput,
@@ -60,6 +64,10 @@ import {
60
64
  GetDictionaryCommandOutput,
61
65
  } from "./commands/GetDictionaryCommand";
62
66
  import { GetFeedCommandInput, GetFeedCommandOutput } from "./commands/GetFeedCommand";
67
+ import {
68
+ GetFeedPolicyCommandInput,
69
+ GetFeedPolicyCommandOutput,
70
+ } from "./commands/GetFeedPolicyCommand";
63
71
  import { GetFixtureCommandInput, GetFixtureCommandOutput } from "./commands/GetFixtureCommand";
64
72
  import {
65
73
  ListDictionariesCommandInput,
@@ -70,6 +78,10 @@ import {
70
78
  ListTagsForResourceCommandInput,
71
79
  ListTagsForResourceCommandOutput,
72
80
  } from "./commands/ListTagsForResourceCommand";
81
+ import {
82
+ PutFeedPolicyCommandInput,
83
+ PutFeedPolicyCommandOutput,
84
+ } from "./commands/PutFeedPolicyCommand";
73
85
  import {
74
86
  SearchFixturesCommandInput,
75
87
  SearchFixturesCommandOutput,
@@ -97,14 +109,17 @@ export type ServiceInputTypes =
97
109
  | CreateFeedCommandInput
98
110
  | DeleteDictionaryCommandInput
99
111
  | DeleteFeedCommandInput
112
+ | DeleteFeedPolicyCommandInput
100
113
  | DisassociateFeedCommandInput
101
114
  | ExportDictionaryEntriesCommandInput
102
115
  | GetDictionaryCommandInput
103
116
  | GetFeedCommandInput
117
+ | GetFeedPolicyCommandInput
104
118
  | GetFixtureCommandInput
105
119
  | ListDictionariesCommandInput
106
120
  | ListFeedsCommandInput
107
121
  | ListTagsForResourceCommandInput
122
+ | PutFeedPolicyCommandInput
108
123
  | SearchFixturesCommandInput
109
124
  | TagResourceCommandInput
110
125
  | UntagResourceCommandInput
@@ -116,14 +131,17 @@ export type ServiceOutputTypes =
116
131
  | CreateFeedCommandOutput
117
132
  | DeleteDictionaryCommandOutput
118
133
  | DeleteFeedCommandOutput
134
+ | DeleteFeedPolicyCommandOutput
119
135
  | DisassociateFeedCommandOutput
120
136
  | ExportDictionaryEntriesCommandOutput
121
137
  | GetDictionaryCommandOutput
122
138
  | GetFeedCommandOutput
139
+ | GetFeedPolicyCommandOutput
123
140
  | GetFixtureCommandOutput
124
141
  | ListDictionariesCommandOutput
125
142
  | ListFeedsCommandOutput
126
143
  | ListTagsForResourceCommandOutput
144
+ | PutFeedPolicyCommandOutput
127
145
  | SearchFixturesCommandOutput
128
146
  | TagResourceCommandOutput
129
147
  | UntagResourceCommandOutput
@@ -0,0 +1,38 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import { DeleteFeedPolicyRequest } from "../models/models_0";
3
+ export { __MetadataBearer };
4
+ export interface DeleteFeedPolicyCommandInput extends DeleteFeedPolicyRequest {}
5
+ export interface DeleteFeedPolicyCommandOutput extends __MetadataBearer {}
6
+ declare const DeleteFeedPolicyCommand_base: {
7
+ new (
8
+ input: DeleteFeedPolicyCommandInput,
9
+ ): import("@smithy/core/client").CommandImpl<
10
+ DeleteFeedPolicyCommandInput,
11
+ DeleteFeedPolicyCommandOutput,
12
+ import("..").ElementalInferenceClientResolvedConfig,
13
+ import("..").ServiceInputTypes,
14
+ import("..").ServiceOutputTypes
15
+ >;
16
+ new (
17
+ input: DeleteFeedPolicyCommandInput,
18
+ ): import("@smithy/core/client").CommandImpl<
19
+ DeleteFeedPolicyCommandInput,
20
+ DeleteFeedPolicyCommandOutput,
21
+ import("..").ElementalInferenceClientResolvedConfig,
22
+ import("..").ServiceInputTypes,
23
+ import("..").ServiceOutputTypes
24
+ >;
25
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
26
+ };
27
+ export declare class DeleteFeedPolicyCommand extends DeleteFeedPolicyCommand_base {
28
+ protected static __types: {
29
+ api: {
30
+ input: DeleteFeedPolicyRequest;
31
+ output: {};
32
+ };
33
+ sdk: {
34
+ input: DeleteFeedPolicyCommandInput;
35
+ output: DeleteFeedPolicyCommandOutput;
36
+ };
37
+ };
38
+ }
@@ -0,0 +1,38 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import { GetFeedPolicyRequest, GetFeedPolicyResponse } from "../models/models_0";
3
+ export { __MetadataBearer };
4
+ export interface GetFeedPolicyCommandInput extends GetFeedPolicyRequest {}
5
+ export interface GetFeedPolicyCommandOutput extends GetFeedPolicyResponse, __MetadataBearer {}
6
+ declare const GetFeedPolicyCommand_base: {
7
+ new (
8
+ input: GetFeedPolicyCommandInput,
9
+ ): import("@smithy/core/client").CommandImpl<
10
+ GetFeedPolicyCommandInput,
11
+ GetFeedPolicyCommandOutput,
12
+ import("..").ElementalInferenceClientResolvedConfig,
13
+ import("..").ServiceInputTypes,
14
+ import("..").ServiceOutputTypes
15
+ >;
16
+ new (
17
+ input: GetFeedPolicyCommandInput,
18
+ ): import("@smithy/core/client").CommandImpl<
19
+ GetFeedPolicyCommandInput,
20
+ GetFeedPolicyCommandOutput,
21
+ import("..").ElementalInferenceClientResolvedConfig,
22
+ import("..").ServiceInputTypes,
23
+ import("..").ServiceOutputTypes
24
+ >;
25
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
26
+ };
27
+ export declare class GetFeedPolicyCommand extends GetFeedPolicyCommand_base {
28
+ protected static __types: {
29
+ api: {
30
+ input: GetFeedPolicyRequest;
31
+ output: GetFeedPolicyResponse;
32
+ };
33
+ sdk: {
34
+ input: GetFeedPolicyCommandInput;
35
+ output: GetFeedPolicyCommandOutput;
36
+ };
37
+ };
38
+ }
@@ -0,0 +1,38 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import { PutFeedPolicyRequest, PutFeedPolicyResponse } from "../models/models_0";
3
+ export { __MetadataBearer };
4
+ export interface PutFeedPolicyCommandInput extends PutFeedPolicyRequest {}
5
+ export interface PutFeedPolicyCommandOutput extends PutFeedPolicyResponse, __MetadataBearer {}
6
+ declare const PutFeedPolicyCommand_base: {
7
+ new (
8
+ input: PutFeedPolicyCommandInput,
9
+ ): import("@smithy/core/client").CommandImpl<
10
+ PutFeedPolicyCommandInput,
11
+ PutFeedPolicyCommandOutput,
12
+ import("..").ElementalInferenceClientResolvedConfig,
13
+ import("..").ServiceInputTypes,
14
+ import("..").ServiceOutputTypes
15
+ >;
16
+ new (
17
+ input: PutFeedPolicyCommandInput,
18
+ ): import("@smithy/core/client").CommandImpl<
19
+ PutFeedPolicyCommandInput,
20
+ PutFeedPolicyCommandOutput,
21
+ import("..").ElementalInferenceClientResolvedConfig,
22
+ import("..").ServiceInputTypes,
23
+ import("..").ServiceOutputTypes
24
+ >;
25
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
26
+ };
27
+ export declare class PutFeedPolicyCommand extends PutFeedPolicyCommand_base {
28
+ protected static __types: {
29
+ api: {
30
+ input: PutFeedPolicyRequest;
31
+ output: {};
32
+ };
33
+ sdk: {
34
+ input: PutFeedPolicyCommandInput;
35
+ output: PutFeedPolicyCommandOutput;
36
+ };
37
+ };
38
+ }
@@ -3,14 +3,17 @@ export * from "./CreateDictionaryCommand";
3
3
  export * from "./CreateFeedCommand";
4
4
  export * from "./DeleteDictionaryCommand";
5
5
  export * from "./DeleteFeedCommand";
6
+ export * from "./DeleteFeedPolicyCommand";
6
7
  export * from "./DisassociateFeedCommand";
7
8
  export * from "./ExportDictionaryEntriesCommand";
8
9
  export * from "./GetDictionaryCommand";
9
10
  export * from "./GetFeedCommand";
11
+ export * from "./GetFeedPolicyCommand";
10
12
  export * from "./GetFixtureCommand";
11
13
  export * from "./ListDictionariesCommand";
12
14
  export * from "./ListFeedsCommand";
13
15
  export * from "./ListTagsForResourceCommand";
16
+ export * from "./PutFeedPolicyCommand";
14
17
  export * from "./SearchFixturesCommand";
15
18
  export * from "./TagResourceCommand";
16
19
  export * from "./UntagResourceCommand";
@@ -1,3 +1,9 @@
1
+ export declare const SummaryGenerationMode: {
2
+ readonly DISABLED: "DISABLED";
3
+ readonly ENABLED: "ENABLED";
4
+ };
5
+ export type SummaryGenerationMode =
6
+ (typeof SummaryGenerationMode)[keyof typeof SummaryGenerationMode];
1
7
  export declare const TranscriptionLanguage: {
2
8
  readonly DEU: "deu";
3
9
  readonly ENG: "eng";
@@ -6,6 +6,7 @@ import {
6
6
  FilterName,
7
7
  OutputStatus,
8
8
  ProfanityFilterMode,
9
+ SummaryGenerationMode,
9
10
  TranscriptionLanguage,
10
11
  } from "./enums";
11
12
  export interface AspectRatio {
@@ -19,6 +20,9 @@ export interface ClippingConfig {
19
20
  callbackMetadata?: string | undefined;
20
21
  dataSourceConfiguration?: DataSourceConfiguration | undefined;
21
22
  }
23
+ export interface ContextualMetadataConfig {
24
+ summaryGeneration?: SummaryGenerationMode | undefined;
25
+ }
22
26
  export interface TemplateGroup {
23
27
  name: string | undefined;
24
28
  templateUris: string[] | undefined;
@@ -34,6 +38,7 @@ export interface SubtitlingConfig {
34
38
  }
35
39
  export type OutputConfig =
36
40
  | OutputConfig.ClippingMember
41
+ | OutputConfig.ContextualMetadataMember
37
42
  | OutputConfig.CroppingMember
38
43
  | OutputConfig.SubtitlingMember
39
44
  | OutputConfig.$UnknownMember;
@@ -42,30 +47,42 @@ export declare namespace OutputConfig {
42
47
  cropping: CroppingConfig;
43
48
  clipping?: never;
44
49
  subtitling?: never;
50
+ contextualMetadata?: never;
45
51
  $unknown?: never;
46
52
  }
47
53
  interface ClippingMember {
48
54
  cropping?: never;
49
55
  clipping: ClippingConfig;
50
56
  subtitling?: never;
57
+ contextualMetadata?: never;
51
58
  $unknown?: never;
52
59
  }
53
60
  interface SubtitlingMember {
54
61
  cropping?: never;
55
62
  clipping?: never;
56
63
  subtitling: SubtitlingConfig;
64
+ contextualMetadata?: never;
65
+ $unknown?: never;
66
+ }
67
+ interface ContextualMetadataMember {
68
+ cropping?: never;
69
+ clipping?: never;
70
+ subtitling?: never;
71
+ contextualMetadata: ContextualMetadataConfig;
57
72
  $unknown?: never;
58
73
  }
59
74
  interface $UnknownMember {
60
75
  cropping?: never;
61
76
  clipping?: never;
62
77
  subtitling?: never;
78
+ contextualMetadata?: never;
63
79
  $unknown: [string, any];
64
80
  }
65
81
  interface Visitor<T> {
66
82
  cropping: (value: CroppingConfig) => T;
67
83
  clipping: (value: ClippingConfig) => T;
68
84
  subtitling: (value: SubtitlingConfig) => T;
85
+ contextualMetadata: (value: ContextualMetadataConfig) => T;
69
86
  _: (name: string, value: any) => T;
70
87
  }
71
88
  }
@@ -147,6 +164,9 @@ export interface DeleteFeedResponse {
147
164
  id: string | undefined;
148
165
  status: FeedStatus | undefined;
149
166
  }
167
+ export interface DeleteFeedPolicyRequest {
168
+ id: string | undefined;
169
+ }
150
170
  export interface ExportDictionaryEntriesRequest {
151
171
  id: string | undefined;
152
172
  }
@@ -218,6 +238,12 @@ export interface GetFeedResponse {
218
238
  association?: FeedAssociation | undefined;
219
239
  tags?: Record<string, string> | undefined;
220
240
  }
241
+ export interface GetFeedPolicyRequest {
242
+ id: string | undefined;
243
+ }
244
+ export interface GetFeedPolicyResponse {
245
+ policy: string | undefined;
246
+ }
221
247
  export interface ListFeedsRequest {
222
248
  maxResults?: number | undefined;
223
249
  nextToken?: string | undefined;
@@ -233,6 +259,11 @@ export interface ListFeedsResponse {
233
259
  feeds: FeedSummary[] | undefined;
234
260
  nextToken?: string | undefined;
235
261
  }
262
+ export interface PutFeedPolicyRequest {
263
+ id: string | undefined;
264
+ policy: string | undefined;
265
+ }
266
+ export interface PutFeedPolicyResponse {}
236
267
  export interface UpdateOutput {
237
268
  name: string | undefined;
238
269
  outputConfig: OutputConfig | undefined;
@@ -21,6 +21,7 @@ export declare var AssociateFeedRequest$: StaticStructureSchema;
21
21
  export declare var AssociateFeedResponse$: StaticStructureSchema;
22
22
  export declare var ClippingConfig$: StaticStructureSchema;
23
23
  export declare var Competitor$: StaticStructureSchema;
24
+ export declare var ContextualMetadataConfig$: StaticStructureSchema;
24
25
  export declare var CreateDictionaryRequest$: StaticStructureSchema;
25
26
  export declare var CreateDictionaryResponse$: StaticStructureSchema;
26
27
  export declare var CreateFeedRequest$: StaticStructureSchema;
@@ -30,6 +31,7 @@ export declare var CroppingConfig$: StaticStructureSchema;
30
31
  export declare var DataSourceConfiguration$: StaticStructureSchema;
31
32
  export declare var DeleteDictionaryRequest$: StaticStructureSchema;
32
33
  export declare var DeleteDictionaryResponse$: StaticStructureSchema;
34
+ export declare var DeleteFeedPolicyRequest$: StaticStructureSchema;
33
35
  export declare var DeleteFeedRequest$: StaticStructureSchema;
34
36
  export declare var DeleteFeedResponse$: StaticStructureSchema;
35
37
  export declare var DictionarySummary$: StaticStructureSchema;
@@ -42,6 +44,8 @@ export declare var FeedSummary$: StaticStructureSchema;
42
44
  export declare var FixtureSummary$: StaticStructureSchema;
43
45
  export declare var GetDictionaryRequest$: StaticStructureSchema;
44
46
  export declare var GetDictionaryResponse$: StaticStructureSchema;
47
+ export declare var GetFeedPolicyRequest$: StaticStructureSchema;
48
+ export declare var GetFeedPolicyResponse$: StaticStructureSchema;
45
49
  export declare var GetFeedRequest$: StaticStructureSchema;
46
50
  export declare var GetFeedResponse$: StaticStructureSchema;
47
51
  export declare var GetFixtureRequest$: StaticStructureSchema;
@@ -53,6 +57,8 @@ export declare var ListFeedsRequest$: StaticStructureSchema;
53
57
  export declare var ListFeedsResponse$: StaticStructureSchema;
54
58
  export declare var ListTagsForResourceRequest$: StaticStructureSchema;
55
59
  export declare var ListTagsForResourceResponse$: StaticStructureSchema;
60
+ export declare var PutFeedPolicyRequest$: StaticStructureSchema;
61
+ export declare var PutFeedPolicyResponse$: StaticStructureSchema;
56
62
  export declare var SearchFilter$: StaticStructureSchema;
57
63
  export declare var SearchFixturesRequest$: StaticStructureSchema;
58
64
  export declare var SearchFixturesResponse$: StaticStructureSchema;
@@ -71,14 +77,17 @@ export declare var CreateDictionary$: StaticOperationSchema;
71
77
  export declare var CreateFeed$: StaticOperationSchema;
72
78
  export declare var DeleteDictionary$: StaticOperationSchema;
73
79
  export declare var DeleteFeed$: StaticOperationSchema;
80
+ export declare var DeleteFeedPolicy$: StaticOperationSchema;
74
81
  export declare var DisassociateFeed$: StaticOperationSchema;
75
82
  export declare var ExportDictionaryEntries$: StaticOperationSchema;
76
83
  export declare var GetDictionary$: StaticOperationSchema;
77
84
  export declare var GetFeed$: StaticOperationSchema;
85
+ export declare var GetFeedPolicy$: StaticOperationSchema;
78
86
  export declare var GetFixture$: StaticOperationSchema;
79
87
  export declare var ListDictionaries$: StaticOperationSchema;
80
88
  export declare var ListFeeds$: StaticOperationSchema;
81
89
  export declare var ListTagsForResource$: StaticOperationSchema;
90
+ export declare var PutFeedPolicy$: StaticOperationSchema;
82
91
  export declare var SearchFixtures$: StaticOperationSchema;
83
92
  export declare var TagResource$: StaticOperationSchema;
84
93
  export declare var UntagResource$: StaticOperationSchema;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-elementalinference",
3
- "version": "3.1128.0",
3
+ "version": "3.1129.0",
4
4
  "description": "AWS SDK for JavaScript Elementalinference Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-elementalinference",
6
6
  "license": "Apache-2.0",
@@ -46,8 +46,8 @@
46
46
  "test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
47
47
  },
48
48
  "dependencies": {
49
- "@aws-sdk/core": "^3.977.9",
50
- "@aws-sdk/credential-provider-node": "^3.972.82",
49
+ "@aws-sdk/core": "^3.978.0",
50
+ "@aws-sdk/credential-provider-node": "^3.972.83",
51
51
  "@aws-sdk/types": "^3.974.5",
52
52
  "@smithy/core": "^3.33.3",
53
53
  "@smithy/fetch-http-handler": "^5.7.2",