@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.
Files changed (55) hide show
  1. package/README.md +42 -0
  2. package/dist-cjs/index.js +123 -0
  3. package/dist-cjs/schemas/schemas_0.js +144 -14
  4. package/dist-es/ElementalInference.js +14 -0
  5. package/dist-es/commands/CreateDictionaryCommand.js +16 -0
  6. package/dist-es/commands/DeleteDictionaryCommand.js +16 -0
  7. package/dist-es/commands/ExportDictionaryEntriesCommand.js +16 -0
  8. package/dist-es/commands/GetDictionaryCommand.js +16 -0
  9. package/dist-es/commands/ListDictionariesCommand.js +16 -0
  10. package/dist-es/commands/UpdateDictionaryCommand.js +16 -0
  11. package/dist-es/commands/index.js +6 -0
  12. package/dist-es/models/enums.js +31 -0
  13. package/dist-es/pagination/ListDictionariesPaginator.js +4 -0
  14. package/dist-es/pagination/index.js +1 -0
  15. package/dist-es/schemas/schemas_0.js +142 -13
  16. package/dist-types/ElementalInference.d.ts +50 -0
  17. package/dist-types/ElementalInferenceClient.d.ts +8 -2
  18. package/dist-types/commands/AssociateFeedCommand.d.ts +14 -5
  19. package/dist-types/commands/CreateDictionaryCommand.d.ts +109 -0
  20. package/dist-types/commands/CreateFeedCommand.d.ts +23 -5
  21. package/dist-types/commands/DeleteDictionaryCommand.d.ts +96 -0
  22. package/dist-types/commands/DeleteFeedCommand.d.ts +4 -4
  23. package/dist-types/commands/DisassociateFeedCommand.d.ts +4 -4
  24. package/dist-types/commands/ExportDictionaryEntriesCommand.d.ts +91 -0
  25. package/dist-types/commands/GetDictionaryCommand.d.ts +101 -0
  26. package/dist-types/commands/GetFeedCommand.d.ts +11 -2
  27. package/dist-types/commands/ListDictionariesCommand.d.ts +98 -0
  28. package/dist-types/commands/ListFeedsCommand.d.ts +3 -3
  29. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -3
  30. package/dist-types/commands/TagResourceCommand.d.ts +4 -4
  31. package/dist-types/commands/UntagResourceCommand.d.ts +3 -3
  32. package/dist-types/commands/UpdateDictionaryCommand.d.ts +107 -0
  33. package/dist-types/commands/UpdateFeedCommand.d.ts +23 -5
  34. package/dist-types/commands/index.d.ts +6 -0
  35. package/dist-types/models/enums.d.ts +63 -0
  36. package/dist-types/models/errors.d.ts +4 -4
  37. package/dist-types/models/models_0.d.ts +399 -52
  38. package/dist-types/pagination/ListDictionariesPaginator.d.ts +7 -0
  39. package/dist-types/pagination/index.d.ts +1 -0
  40. package/dist-types/schemas/schemas_0.d.ts +21 -0
  41. package/dist-types/ts3.4/ElementalInference.d.ts +110 -0
  42. package/dist-types/ts3.4/ElementalInferenceClient.d.ts +36 -0
  43. package/dist-types/ts3.4/commands/CreateDictionaryCommand.d.ts +52 -0
  44. package/dist-types/ts3.4/commands/DeleteDictionaryCommand.d.ts +52 -0
  45. package/dist-types/ts3.4/commands/ExportDictionaryEntriesCommand.d.ts +53 -0
  46. package/dist-types/ts3.4/commands/GetDictionaryCommand.d.ts +52 -0
  47. package/dist-types/ts3.4/commands/ListDictionariesCommand.d.ts +52 -0
  48. package/dist-types/ts3.4/commands/UpdateDictionaryCommand.d.ts +52 -0
  49. package/dist-types/ts3.4/commands/index.d.ts +6 -0
  50. package/dist-types/ts3.4/models/enums.d.ts +39 -0
  51. package/dist-types/ts3.4/models/models_0.d.ts +100 -1
  52. package/dist-types/ts3.4/pagination/ListDictionariesPaginator.d.ts +11 -0
  53. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  54. package/dist-types/ts3.4/schemas/schemas_0.d.ts +21 -0
  55. package/package.json +6 -6
@@ -29,7 +29,7 @@ declare const AssociateFeedCommand_base: {
29
29
  };
30
30
  };
31
31
  /**
32
- * <p>Associates a resource with the feed. The resource provides the input that Elemental Inference needs needs in order to perform an Elemental Inference feature, such as cropping video. You always provide the resource by associating it with a feed. You can associate only one resource with each feed.</p>
32
+ * <p>Associates a resource with the feed. The resource provides the input that Elemental Inference needs in order to perform an Elemental Inference feature, such as cropping video. You always provide the resource by associating it with a feed. You can associate only one resource with each feed. With an association, a specific source media is claiming ownership of the feed. </p> <p>AssociateFeed is a PATCH operation, which means that you can include only parameters that you want to change. Parameters that you don't include will not be affected by the operation. </p> <p>Specifically:</p> <ul> <li> <p>You can add more outputs to the existing outputs. New outputs will be appended.</p> </li> <li> <p>You can't modify an existing output (for example to change its name). Instead, use UpdateFeed. </p> </li> <li> <p>You can't delete an existing output. Instead, use UpdateFeed.</p> </li> </ul> <p>Also note that you can't change the feed name with AssociateFeed. Instead, use UpdateFeed. </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 AssociateFeedCommand_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",
@@ -78,19 +87,19 @@ declare const AssociateFeedCommand_base: {
78
87
  * <p>The request could not be completed due to a conflict.</p>
79
88
  *
80
89
  * @throws {@link InternalServerErrorException} (server fault)
81
- * <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>
90
+ * <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>
82
91
  *
83
92
  * @throws {@link ResourceNotFoundException} (client fault)
84
93
  * <p>The resource specified in the action doesn't exist.</p>
85
94
  *
86
95
  * @throws {@link ServiceQuotaExceededException} (client fault)
87
- * <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>
96
+ * <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>
88
97
  *
89
98
  * @throws {@link TooManyRequestException} (client fault)
90
- * <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>
99
+ * <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>
91
100
  *
92
101
  * @throws {@link ValidationException} (client fault)
93
- * <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>
102
+ * <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>
94
103
  *
95
104
  * @throws {@link ElementalInferenceServiceException}
96
105
  * <p>Base exception class for all service exceptions from ElementalInference service.</p>
@@ -0,0 +1,109 @@
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 { CreateDictionaryRequest, CreateDictionaryResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link CreateDictionaryCommand}.
14
+ */
15
+ export interface CreateDictionaryCommandInput extends CreateDictionaryRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateDictionaryCommand}.
21
+ */
22
+ export interface CreateDictionaryCommandOutput extends CreateDictionaryResponse, __MetadataBearer {
23
+ }
24
+ declare const CreateDictionaryCommand_base: {
25
+ new (input: CreateDictionaryCommandInput): import("@smithy/core/client").CommandImpl<CreateDictionaryCommandInput, CreateDictionaryCommandOutput, ElementalInferenceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: CreateDictionaryCommandInput): import("@smithy/core/client").CommandImpl<CreateDictionaryCommandInput, CreateDictionaryCommandOutput, ElementalInferenceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
30
+ };
31
+ /**
32
+ * <p>Creates a custom dictionary for improving transcription accuracy. A dictionary contains custom words and phrases that the ASR engine might not recognize, such as brand names, technical terms, or proper nouns. You can reference a dictionary when configuring a smart subtitles output. </p>
33
+ * @example
34
+ * Use a bare-bones client and the command you need to make an API call.
35
+ * ```javascript
36
+ * import { ElementalInferenceClient, CreateDictionaryCommand } from "@aws-sdk/client-elementalinference"; // ES Modules import
37
+ * // const { ElementalInferenceClient, CreateDictionaryCommand } = 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 = { // CreateDictionaryRequest
42
+ * name: "STRING_VALUE", // required
43
+ * language: "eng" || "fra" || "ita" || "deu" || "spa" || "por", // required
44
+ * entries: "STRING_VALUE",
45
+ * tags: { // TagMap
46
+ * "<keys>": "STRING_VALUE",
47
+ * },
48
+ * };
49
+ * const command = new CreateDictionaryCommand(input);
50
+ * const response = await client.send(command);
51
+ * // { // CreateDictionaryResponse
52
+ * // name: "STRING_VALUE", // required
53
+ * // arn: "STRING_VALUE", // required
54
+ * // id: "STRING_VALUE", // required
55
+ * // language: "eng" || "fra" || "ita" || "deu" || "spa" || "por", // required
56
+ * // status: "CREATING" || "AVAILABLE" || "REFERENCED" || "DELETING" || "DELETED", // required
57
+ * // references: [ // FeedReferences
58
+ * // "STRING_VALUE",
59
+ * // ],
60
+ * // tags: { // TagMap
61
+ * // "<keys>": "STRING_VALUE",
62
+ * // },
63
+ * // };
64
+ *
65
+ * ```
66
+ *
67
+ * @param CreateDictionaryCommandInput - {@link CreateDictionaryCommandInput}
68
+ * @returns {@link CreateDictionaryCommandOutput}
69
+ * @see {@link CreateDictionaryCommandInput} for command's `input` shape.
70
+ * @see {@link CreateDictionaryCommandOutput} for command's `response` shape.
71
+ * @see {@link ElementalInferenceClientResolvedConfig | config} for ElementalInferenceClient's `config` shape.
72
+ *
73
+ * @throws {@link AccessDeniedException} (client fault)
74
+ * <p>You do not have sufficient access to perform this action.</p>
75
+ *
76
+ * @throws {@link ConflictException} (client fault)
77
+ * <p>The request could not be completed due to a conflict.</p>
78
+ *
79
+ * @throws {@link InternalServerErrorException} (server fault)
80
+ * <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>
81
+ *
82
+ * @throws {@link ServiceQuotaExceededException} (client fault)
83
+ * <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>
84
+ *
85
+ * @throws {@link TooManyRequestException} (client fault)
86
+ * <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>
87
+ *
88
+ * @throws {@link ValidationException} (client fault)
89
+ * <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>
90
+ *
91
+ * @throws {@link ElementalInferenceServiceException}
92
+ * <p>Base exception class for all service exceptions from ElementalInference service.</p>
93
+ *
94
+ *
95
+ * @public
96
+ */
97
+ export declare class CreateDictionaryCommand extends CreateDictionaryCommand_base {
98
+ /** @internal type navigation helper, not in runtime. */
99
+ protected static __types: {
100
+ api: {
101
+ input: CreateDictionaryRequest;
102
+ output: CreateDictionaryResponse;
103
+ };
104
+ sdk: {
105
+ input: CreateDictionaryCommandInput;
106
+ output: CreateDictionaryCommandOutput;
107
+ };
108
+ };
109
+ }
@@ -29,7 +29,7 @@ declare const CreateFeedCommand_base: {
29
29
  };
30
30
  };
31
31
  /**
32
- * <p>Creates a feed. The feed is the target for live streams being sent by the calling application. An example of a calling application is AWS Elemental MediaLive. After you create the feed, you can associate a resource with the feed.</p>
32
+ * <p>Creates a feed. The feed is the target for the live media stream that is being sent by the calling application. An example of a calling application is AWS Elemental MediaLive. </p> <p>The key contents of the feed is an array of outputs. Each output represents an Elemental Inference feature. After you create the feed, you must associate a resource with the feed. At that point, you will have a useable feed: resource - feed - output or outputs. </p>
33
33
  * @example
34
34
  * Use a bare-bones client and the command you need to make an API call.
35
35
  * ```javascript
@@ -48,6 +48,15 @@ declare const CreateFeedCommand_base: {
48
48
  * clipping: { // ClippingConfig
49
49
  * callbackMetadata: "STRING_VALUE",
50
50
  * },
51
+ * subtitling: { // SubtitlingConfig
52
+ * language: "eng" || "eng-au" || "eng-gb" || "eng-us" || "fra" || "ita" || "deu" || "spa" || "por", // required
53
+ * aspectRatio: { // AspectRatio
54
+ * width: Number("int"), // required
55
+ * height: Number("int"), // required
56
+ * },
57
+ * dictionary: "STRING_VALUE",
58
+ * profanityFilter: "DISABLED" || "CENSOR" || "DROP",
59
+ * },
51
60
  * },
52
61
  * status: "ENABLED" || "DISABLED", // required
53
62
  * description: "STRING_VALUE",
@@ -74,6 +83,15 @@ declare const CreateFeedCommand_base: {
74
83
  * // clipping: { // ClippingConfig
75
84
  * // callbackMetadata: "STRING_VALUE",
76
85
  * // },
86
+ * // subtitling: { // SubtitlingConfig
87
+ * // language: "eng" || "eng-au" || "eng-gb" || "eng-us" || "fra" || "ita" || "deu" || "spa" || "por", // required
88
+ * // aspectRatio: { // AspectRatio
89
+ * // width: Number("int"), // required
90
+ * // height: Number("int"), // required
91
+ * // },
92
+ * // dictionary: "STRING_VALUE",
93
+ * // profanityFilter: "DISABLED" || "CENSOR" || "DROP",
94
+ * // },
77
95
  * // },
78
96
  * // status: "ENABLED" || "DISABLED", // required
79
97
  * // description: "STRING_VALUE",
@@ -104,16 +122,16 @@ declare const CreateFeedCommand_base: {
104
122
  * <p>The request could not be completed due to a conflict.</p>
105
123
  *
106
124
  * @throws {@link InternalServerErrorException} (server fault)
107
- * <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>
125
+ * <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>
108
126
  *
109
127
  * @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>
128
+ * <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
129
  *
112
130
  * @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>
131
+ * <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
132
  *
115
133
  * @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>
134
+ * <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
135
  *
118
136
  * @throws {@link ElementalInferenceServiceException}
119
137
  * <p>Base exception class for all service exceptions from ElementalInference service.</p>
@@ -0,0 +1,96 @@
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 { DeleteDictionaryRequest, DeleteDictionaryResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DeleteDictionaryCommand}.
14
+ */
15
+ export interface DeleteDictionaryCommandInput extends DeleteDictionaryRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteDictionaryCommand}.
21
+ */
22
+ export interface DeleteDictionaryCommandOutput extends DeleteDictionaryResponse, __MetadataBearer {
23
+ }
24
+ declare const DeleteDictionaryCommand_base: {
25
+ new (input: DeleteDictionaryCommandInput): import("@smithy/core/client").CommandImpl<DeleteDictionaryCommandInput, DeleteDictionaryCommandOutput, ElementalInferenceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: DeleteDictionaryCommandInput): import("@smithy/core/client").CommandImpl<DeleteDictionaryCommandInput, DeleteDictionaryCommandOutput, ElementalInferenceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
30
+ };
31
+ /**
32
+ * <p>Deletes the specified dictionary. You cannot delete a dictionary that is referenced by a feed. You must first remove the dictionary reference from the feed's subtitling configuration. </p>
33
+ * @example
34
+ * Use a bare-bones client and the command you need to make an API call.
35
+ * ```javascript
36
+ * import { ElementalInferenceClient, DeleteDictionaryCommand } from "@aws-sdk/client-elementalinference"; // ES Modules import
37
+ * // const { ElementalInferenceClient, DeleteDictionaryCommand } = 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 = { // DeleteDictionaryRequest
42
+ * id: "STRING_VALUE", // required
43
+ * };
44
+ * const command = new DeleteDictionaryCommand(input);
45
+ * const response = await client.send(command);
46
+ * // { // DeleteDictionaryResponse
47
+ * // arn: "STRING_VALUE", // required
48
+ * // id: "STRING_VALUE", // required
49
+ * // status: "CREATING" || "AVAILABLE" || "REFERENCED" || "DELETING" || "DELETED", // required
50
+ * // };
51
+ *
52
+ * ```
53
+ *
54
+ * @param DeleteDictionaryCommandInput - {@link DeleteDictionaryCommandInput}
55
+ * @returns {@link DeleteDictionaryCommandOutput}
56
+ * @see {@link DeleteDictionaryCommandInput} for command's `input` shape.
57
+ * @see {@link DeleteDictionaryCommandOutput} for command's `response` shape.
58
+ * @see {@link ElementalInferenceClientResolvedConfig | config} for ElementalInferenceClient's `config` shape.
59
+ *
60
+ * @throws {@link AccessDeniedException} (client fault)
61
+ * <p>You do not have sufficient access to perform this action.</p>
62
+ *
63
+ * @throws {@link ConflictException} (client fault)
64
+ * <p>The request could not be completed due to a conflict.</p>
65
+ *
66
+ * @throws {@link InternalServerErrorException} (server fault)
67
+ * <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>
68
+ *
69
+ * @throws {@link ResourceNotFoundException} (client fault)
70
+ * <p>The resource specified in the action doesn't exist.</p>
71
+ *
72
+ * @throws {@link TooManyRequestException} (client fault)
73
+ * <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>
74
+ *
75
+ * @throws {@link ValidationException} (client fault)
76
+ * <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>
77
+ *
78
+ * @throws {@link ElementalInferenceServiceException}
79
+ * <p>Base exception class for all service exceptions from ElementalInference service.</p>
80
+ *
81
+ *
82
+ * @public
83
+ */
84
+ export declare class DeleteDictionaryCommand extends DeleteDictionaryCommand_base {
85
+ /** @internal type navigation helper, not in runtime. */
86
+ protected static __types: {
87
+ api: {
88
+ input: DeleteDictionaryRequest;
89
+ output: DeleteDictionaryResponse;
90
+ };
91
+ sdk: {
92
+ input: DeleteDictionaryCommandInput;
93
+ output: DeleteDictionaryCommandOutput;
94
+ };
95
+ };
96
+ }
@@ -29,7 +29,7 @@ declare const DeleteFeedCommand_base: {
29
29
  };
30
30
  };
31
31
  /**
32
- * <p>Deletes the specified feed. The feed can be deleted at any time.</p>
32
+ * <p>Deletes the specified feed. You can delete the feed at any time. Elemental Inference doesn't block you from deleting a feed when the calling application is calling PutMedia or GetMetadata on that feed, although both these calls will start to fail. For more information about managing inactive feeds, see the Elemental Inference User Guide. </p>
33
33
  * @example
34
34
  * Use a bare-bones client and the command you need to make an API call.
35
35
  * ```javascript
@@ -64,16 +64,16 @@ declare const DeleteFeedCommand_base: {
64
64
  * <p>The request could not be completed due to a conflict.</p>
65
65
  *
66
66
  * @throws {@link InternalServerErrorException} (server fault)
67
- * <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
+ * <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>
68
68
  *
69
69
  * @throws {@link ResourceNotFoundException} (client fault)
70
70
  * <p>The resource specified in the action doesn't exist.</p>
71
71
  *
72
72
  * @throws {@link TooManyRequestException} (client fault)
73
- * <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
+ * <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>
74
74
  *
75
75
  * @throws {@link ValidationException} (client fault)
76
- * <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
+ * <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>
77
77
  *
78
78
  * @throws {@link ElementalInferenceServiceException}
79
79
  * <p>Base exception class for all service exceptions from ElementalInference service.</p>
@@ -29,7 +29,7 @@ declare const DisassociateFeedCommand_base: {
29
29
  };
30
30
  };
31
31
  /**
32
- * <p>Releases the resource (for example, an MediaLive channel) that is associated with this feed. The outputs in the feed become disabled.</p>
32
+ * <p>Releases the resource (the source media) that is associated with this feed. The outputs in the feed become DISABLED. </p>
33
33
  * @example
34
34
  * Use a bare-bones client and the command you need to make an API call.
35
35
  * ```javascript
@@ -65,16 +65,16 @@ declare const DisassociateFeedCommand_base: {
65
65
  * <p>The request could not be completed due to a conflict.</p>
66
66
  *
67
67
  * @throws {@link InternalServerErrorException} (server fault)
68
- * <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>
68
+ * <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>
69
69
  *
70
70
  * @throws {@link ResourceNotFoundException} (client fault)
71
71
  * <p>The resource specified in the action doesn't exist.</p>
72
72
  *
73
73
  * @throws {@link TooManyRequestException} (client fault)
74
- * <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>
74
+ * <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>
75
75
  *
76
76
  * @throws {@link ValidationException} (client fault)
77
- * <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>
77
+ * <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>
78
78
  *
79
79
  * @throws {@link ElementalInferenceServiceException}
80
80
  * <p>Base exception class for all service exceptions from ElementalInference service.</p>
@@ -0,0 +1,91 @@
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 { ExportDictionaryEntriesRequest, ExportDictionaryEntriesResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ExportDictionaryEntriesCommand}.
14
+ */
15
+ export interface ExportDictionaryEntriesCommandInput extends ExportDictionaryEntriesRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ExportDictionaryEntriesCommand}.
21
+ */
22
+ export interface ExportDictionaryEntriesCommandOutput extends ExportDictionaryEntriesResponse, __MetadataBearer {
23
+ }
24
+ declare const ExportDictionaryEntriesCommand_base: {
25
+ new (input: ExportDictionaryEntriesCommandInput): import("@smithy/core/client").CommandImpl<ExportDictionaryEntriesCommandInput, ExportDictionaryEntriesCommandOutput, ElementalInferenceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: ExportDictionaryEntriesCommandInput): import("@smithy/core/client").CommandImpl<ExportDictionaryEntriesCommandInput, ExportDictionaryEntriesCommandOutput, ElementalInferenceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
30
+ };
31
+ /**
32
+ * <p>Exports the entries from 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, ExportDictionaryEntriesCommand } from "@aws-sdk/client-elementalinference"; // ES Modules import
37
+ * // const { ElementalInferenceClient, ExportDictionaryEntriesCommand } = 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 = { // ExportDictionaryEntriesRequest
42
+ * id: "STRING_VALUE", // required
43
+ * };
44
+ * const command = new ExportDictionaryEntriesCommand(input);
45
+ * const response = await client.send(command);
46
+ * // { // ExportDictionaryEntriesResponse
47
+ * // entries: "STRING_VALUE",
48
+ * // };
49
+ *
50
+ * ```
51
+ *
52
+ * @param ExportDictionaryEntriesCommandInput - {@link ExportDictionaryEntriesCommandInput}
53
+ * @returns {@link ExportDictionaryEntriesCommandOutput}
54
+ * @see {@link ExportDictionaryEntriesCommandInput} for command's `input` shape.
55
+ * @see {@link ExportDictionaryEntriesCommandOutput} for command's `response` shape.
56
+ * @see {@link ElementalInferenceClientResolvedConfig | config} for ElementalInferenceClient's `config` shape.
57
+ *
58
+ * @throws {@link AccessDeniedException} (client fault)
59
+ * <p>You do not have sufficient access to perform this action.</p>
60
+ *
61
+ * @throws {@link InternalServerErrorException} (server fault)
62
+ * <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>
63
+ *
64
+ * @throws {@link ResourceNotFoundException} (client fault)
65
+ * <p>The resource specified in the action doesn't exist.</p>
66
+ *
67
+ * @throws {@link TooManyRequestException} (client fault)
68
+ * <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>
69
+ *
70
+ * @throws {@link ValidationException} (client fault)
71
+ * <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>
72
+ *
73
+ * @throws {@link ElementalInferenceServiceException}
74
+ * <p>Base exception class for all service exceptions from ElementalInference service.</p>
75
+ *
76
+ *
77
+ * @public
78
+ */
79
+ export declare class ExportDictionaryEntriesCommand extends ExportDictionaryEntriesCommand_base {
80
+ /** @internal type navigation helper, not in runtime. */
81
+ protected static __types: {
82
+ api: {
83
+ input: ExportDictionaryEntriesRequest;
84
+ output: ExportDictionaryEntriesResponse;
85
+ };
86
+ sdk: {
87
+ input: ExportDictionaryEntriesCommandInput;
88
+ output: ExportDictionaryEntriesCommandOutput;
89
+ };
90
+ };
91
+ }
@@ -0,0 +1,101 @@
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 { GetDictionaryRequest, GetDictionaryResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetDictionaryCommand}.
14
+ */
15
+ export interface GetDictionaryCommandInput extends GetDictionaryRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetDictionaryCommand}.
21
+ */
22
+ export interface GetDictionaryCommandOutput extends GetDictionaryResponse, __MetadataBearer {
23
+ }
24
+ declare const GetDictionaryCommand_base: {
25
+ new (input: GetDictionaryCommandInput): import("@smithy/core/client").CommandImpl<GetDictionaryCommandInput, GetDictionaryCommandOutput, ElementalInferenceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetDictionaryCommandInput): import("@smithy/core/client").CommandImpl<GetDictionaryCommandInput, GetDictionaryCommandOutput, ElementalInferenceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
30
+ };
31
+ /**
32
+ * <p>Retrieves information about 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, GetDictionaryCommand } from "@aws-sdk/client-elementalinference"; // ES Modules import
37
+ * // const { ElementalInferenceClient, GetDictionaryCommand } = 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 = { // GetDictionaryRequest
42
+ * id: "STRING_VALUE", // required
43
+ * };
44
+ * const command = new GetDictionaryCommand(input);
45
+ * const response = await client.send(command);
46
+ * // { // GetDictionaryResponse
47
+ * // name: "STRING_VALUE", // required
48
+ * // arn: "STRING_VALUE", // required
49
+ * // id: "STRING_VALUE", // required
50
+ * // language: "eng" || "fra" || "ita" || "deu" || "spa" || "por", // required
51
+ * // status: "CREATING" || "AVAILABLE" || "REFERENCED" || "DELETING" || "DELETED", // required
52
+ * // references: [ // FeedReferences
53
+ * // "STRING_VALUE",
54
+ * // ],
55
+ * // tags: { // TagMap
56
+ * // "<keys>": "STRING_VALUE",
57
+ * // },
58
+ * // };
59
+ *
60
+ * ```
61
+ *
62
+ * @param GetDictionaryCommandInput - {@link GetDictionaryCommandInput}
63
+ * @returns {@link GetDictionaryCommandOutput}
64
+ * @see {@link GetDictionaryCommandInput} for command's `input` shape.
65
+ * @see {@link GetDictionaryCommandOutput} 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 ResourceNotFoundException} (client fault)
75
+ * <p>The resource specified in the action doesn't exist.</p>
76
+ *
77
+ * @throws {@link TooManyRequestException} (client fault)
78
+ * <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>
79
+ *
80
+ * @throws {@link ValidationException} (client fault)
81
+ * <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>
82
+ *
83
+ * @throws {@link ElementalInferenceServiceException}
84
+ * <p>Base exception class for all service exceptions from ElementalInference service.</p>
85
+ *
86
+ *
87
+ * @public
88
+ */
89
+ export declare class GetDictionaryCommand extends GetDictionaryCommand_base {
90
+ /** @internal type navigation helper, not in runtime. */
91
+ protected static __types: {
92
+ api: {
93
+ input: GetDictionaryRequest;
94
+ output: GetDictionaryResponse;
95
+ };
96
+ sdk: {
97
+ input: GetDictionaryCommandInput;
98
+ output: GetDictionaryCommandOutput;
99
+ };
100
+ };
101
+ }
@@ -58,6 +58,15 @@ declare const GetFeedCommand_base: {
58
58
  * // clipping: { // ClippingConfig
59
59
  * // callbackMetadata: "STRING_VALUE",
60
60
  * // },
61
+ * // subtitling: { // SubtitlingConfig
62
+ * // language: "eng" || "eng-au" || "eng-gb" || "eng-us" || "fra" || "ita" || "deu" || "spa" || "por", // required
63
+ * // aspectRatio: { // AspectRatio
64
+ * // width: Number("int"), // required
65
+ * // height: Number("int"), // required
66
+ * // },
67
+ * // dictionary: "STRING_VALUE",
68
+ * // profanityFilter: "DISABLED" || "CENSOR" || "DROP",
69
+ * // },
61
70
  * // },
62
71
  * // status: "ENABLED" || "DISABLED", // required
63
72
  * // description: "STRING_VALUE",
@@ -85,13 +94,13 @@ declare const GetFeedCommand_base: {
85
94
  * <p>You do not have sufficient access to perform this action.</p>
86
95
  *
87
96
  * @throws {@link InternalServerErrorException} (server fault)
88
- * <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>
97
+ * <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>
89
98
  *
90
99
  * @throws {@link ResourceNotFoundException} (client fault)
91
100
  * <p>The resource specified in the action doesn't exist.</p>
92
101
  *
93
102
  * @throws {@link TooManyRequestException} (client fault)
94
- * <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>
103
+ * <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>
95
104
  *
96
105
  * @throws {@link ElementalInferenceServiceException}
97
106
  * <p>Base exception class for all service exceptions from ElementalInference service.</p>