@aws-sdk/client-translate 3.296.0 → 3.298.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 (67) hide show
  1. package/dist-cjs/commands/CreateParallelDataCommand.js +2 -3
  2. package/dist-cjs/commands/DeleteParallelDataCommand.js +2 -3
  3. package/dist-cjs/commands/DeleteTerminologyCommand.js +2 -3
  4. package/dist-cjs/commands/DescribeTextTranslationJobCommand.js +2 -3
  5. package/dist-cjs/commands/GetParallelDataCommand.js +2 -3
  6. package/dist-cjs/commands/GetTerminologyCommand.js +2 -3
  7. package/dist-cjs/commands/ImportTerminologyCommand.js +1 -1
  8. package/dist-cjs/commands/ListLanguagesCommand.js +2 -3
  9. package/dist-cjs/commands/ListParallelDataCommand.js +2 -3
  10. package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -3
  11. package/dist-cjs/commands/ListTerminologiesCommand.js +2 -3
  12. package/dist-cjs/commands/ListTextTranslationJobsCommand.js +2 -3
  13. package/dist-cjs/commands/StartTextTranslationJobCommand.js +2 -3
  14. package/dist-cjs/commands/StopTextTranslationJobCommand.js +2 -3
  15. package/dist-cjs/commands/TagResourceCommand.js +2 -3
  16. package/dist-cjs/commands/TranslateTextCommand.js +2 -3
  17. package/dist-cjs/commands/UntagResourceCommand.js +2 -3
  18. package/dist-cjs/commands/UpdateParallelDataCommand.js +2 -3
  19. package/dist-cjs/models/models_0.js +1 -202
  20. package/dist-es/commands/CreateParallelDataCommand.js +2 -3
  21. package/dist-es/commands/DeleteParallelDataCommand.js +2 -3
  22. package/dist-es/commands/DeleteTerminologyCommand.js +2 -3
  23. package/dist-es/commands/DescribeTextTranslationJobCommand.js +2 -3
  24. package/dist-es/commands/GetParallelDataCommand.js +2 -3
  25. package/dist-es/commands/GetTerminologyCommand.js +2 -3
  26. package/dist-es/commands/ImportTerminologyCommand.js +2 -2
  27. package/dist-es/commands/ListLanguagesCommand.js +2 -3
  28. package/dist-es/commands/ListParallelDataCommand.js +2 -3
  29. package/dist-es/commands/ListTagsForResourceCommand.js +2 -3
  30. package/dist-es/commands/ListTerminologiesCommand.js +2 -3
  31. package/dist-es/commands/ListTextTranslationJobsCommand.js +2 -3
  32. package/dist-es/commands/StartTextTranslationJobCommand.js +2 -3
  33. package/dist-es/commands/StopTextTranslationJobCommand.js +2 -3
  34. package/dist-es/commands/TagResourceCommand.js +2 -3
  35. package/dist-es/commands/TranslateTextCommand.js +2 -3
  36. package/dist-es/commands/UntagResourceCommand.js +2 -3
  37. package/dist-es/commands/UpdateParallelDataCommand.js +2 -3
  38. package/dist-es/models/models_0.js +0 -150
  39. package/dist-types/Translate.d.ts +19 -0
  40. package/dist-types/TranslateClient.d.ts +24 -4
  41. package/dist-types/commands/CreateParallelDataCommand.d.ts +16 -0
  42. package/dist-types/commands/DeleteParallelDataCommand.d.ts +16 -0
  43. package/dist-types/commands/DeleteTerminologyCommand.d.ts +16 -0
  44. package/dist-types/commands/DescribeTextTranslationJobCommand.d.ts +16 -0
  45. package/dist-types/commands/GetParallelDataCommand.d.ts +16 -0
  46. package/dist-types/commands/GetTerminologyCommand.d.ts +16 -0
  47. package/dist-types/commands/ImportTerminologyCommand.d.ts +16 -0
  48. package/dist-types/commands/ListLanguagesCommand.d.ts +16 -0
  49. package/dist-types/commands/ListParallelDataCommand.d.ts +16 -0
  50. package/dist-types/commands/ListTagsForResourceCommand.d.ts +16 -0
  51. package/dist-types/commands/ListTerminologiesCommand.d.ts +16 -0
  52. package/dist-types/commands/ListTextTranslationJobsCommand.d.ts +16 -0
  53. package/dist-types/commands/StartTextTranslationJobCommand.d.ts +16 -0
  54. package/dist-types/commands/StopTextTranslationJobCommand.d.ts +16 -0
  55. package/dist-types/commands/TagResourceCommand.d.ts +16 -0
  56. package/dist-types/commands/TranslateTextCommand.d.ts +16 -0
  57. package/dist-types/commands/UntagResourceCommand.d.ts +16 -0
  58. package/dist-types/commands/UpdateParallelDataCommand.d.ts +16 -0
  59. package/dist-types/models/TranslateServiceException.d.ts +2 -0
  60. package/dist-types/models/models_0.d.ts +167 -200
  61. package/dist-types/pagination/Interfaces.d.ts +3 -0
  62. package/dist-types/pagination/ListLanguagesPaginator.d.ts +3 -0
  63. package/dist-types/pagination/ListParallelDataPaginator.d.ts +3 -0
  64. package/dist-types/pagination/ListTerminologiesPaginator.d.ts +3 -0
  65. package/dist-types/pagination/ListTextTranslationJobsPaginator.d.ts +3 -0
  66. package/dist-types/ts3.4/models/models_0.d.ts +0 -142
  67. package/package.json +4 -3
@@ -26,15 +26,24 @@ import { TranslateTextCommandInput, TranslateTextCommandOutput } from "./command
26
26
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
27
27
  import { UpdateParallelDataCommandInput, UpdateParallelDataCommandOutput } from "./commands/UpdateParallelDataCommand";
28
28
  import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
29
+ /**
30
+ * @public
31
+ */
29
32
  export type ServiceInputTypes = CreateParallelDataCommandInput | DeleteParallelDataCommandInput | DeleteTerminologyCommandInput | DescribeTextTranslationJobCommandInput | GetParallelDataCommandInput | GetTerminologyCommandInput | ImportTerminologyCommandInput | ListLanguagesCommandInput | ListParallelDataCommandInput | ListTagsForResourceCommandInput | ListTerminologiesCommandInput | ListTextTranslationJobsCommandInput | StartTextTranslationJobCommandInput | StopTextTranslationJobCommandInput | TagResourceCommandInput | TranslateTextCommandInput | UntagResourceCommandInput | UpdateParallelDataCommandInput;
33
+ /**
34
+ * @public
35
+ */
30
36
  export type ServiceOutputTypes = CreateParallelDataCommandOutput | DeleteParallelDataCommandOutput | DeleteTerminologyCommandOutput | DescribeTextTranslationJobCommandOutput | GetParallelDataCommandOutput | GetTerminologyCommandOutput | ImportTerminologyCommandOutput | ListLanguagesCommandOutput | ListParallelDataCommandOutput | ListTagsForResourceCommandOutput | ListTerminologiesCommandOutput | ListTextTranslationJobsCommandOutput | StartTextTranslationJobCommandOutput | StopTextTranslationJobCommandOutput | TagResourceCommandOutput | TranslateTextCommandOutput | UntagResourceCommandOutput | UpdateParallelDataCommandOutput;
37
+ /**
38
+ * @public
39
+ */
31
40
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
32
41
  /**
33
42
  * The HTTP handler to use. Fetch in browser and Https in Nodejs.
34
43
  */
35
44
  requestHandler?: __HttpHandler;
36
45
  /**
37
- * A constructor for a class implementing the {@link __Checksum} interface
46
+ * A constructor for a class implementing the {@link @aws-sdk/types#ChecksumConstructor} interface
38
47
  * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
39
48
  * @internal
40
49
  */
@@ -124,23 +133,34 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
124
133
  */
125
134
  logger?: __Logger;
126
135
  /**
127
- * The {@link __DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
136
+ * The {@link @aws-sdk/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
128
137
  */
129
138
  defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
130
139
  }
140
+ /**
141
+ * @public
142
+ */
131
143
  type TranslateClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
132
144
  /**
133
- * The configuration interface of TranslateClient class constructor that set the region, credentials and other options.
145
+ * @public
146
+ *
147
+ * The configuration interface of TranslateClient class constructor that set the region, credentials and other options.
134
148
  */
135
149
  export interface TranslateClientConfig extends TranslateClientConfigType {
136
150
  }
151
+ /**
152
+ * @public
153
+ */
137
154
  type TranslateClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
138
155
  /**
139
- * The resolved configuration interface of TranslateClient class. This is resolved and normalized from the {@link TranslateClientConfig | constructor configuration interface}.
156
+ * @public
157
+ *
158
+ * The resolved configuration interface of TranslateClient class. This is resolved and normalized from the {@link TranslateClientConfig | constructor configuration interface}.
140
159
  */
141
160
  export interface TranslateClientResolvedConfig extends TranslateClientResolvedConfigType {
142
161
  }
143
162
  /**
163
+ * @public
144
164
  * <p>Provides translation of the input content from the source language to the target language.</p>
145
165
  */
146
166
  export declare class TranslateClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, TranslateClientResolvedConfig> {
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { CreateParallelDataRequest, CreateParallelDataResponse } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, TranslateClientResolvedConfig } from "../TranslateClient";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link CreateParallelDataCommand}.
8
10
  */
9
11
  export interface CreateParallelDataCommandInput extends CreateParallelDataRequest {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link CreateParallelDataCommand}.
13
17
  */
14
18
  export interface CreateParallelDataCommandOutput extends CreateParallelDataResponse, __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>Creates a parallel data resource in Amazon Translate by importing an input file from
18
23
  * Amazon S3. Parallel data files contain examples that show how you want segments of text to be
19
24
  * translated. By adding parallel data, you can influence the style, tone, and word choice in
@@ -28,6 +33,8 @@ export interface CreateParallelDataCommandOutput extends CreateParallelDataRespo
28
33
  * const response = await client.send(command);
29
34
  * ```
30
35
  *
36
+ * @param CreateParallelDataCommandInput - {@link CreateParallelDataCommandInput}
37
+ * @returns {@link CreateParallelDataCommandOutput}
31
38
  * @see {@link CreateParallelDataCommandInput} for command's `input` shape.
32
39
  * @see {@link CreateParallelDataCommandOutput} for command's `response` shape.
33
40
  * @see {@link TranslateClientResolvedConfig | config} for TranslateClient's `config` shape.
@@ -66,11 +73,20 @@ export interface CreateParallelDataCommandOutput extends CreateParallelDataRespo
66
73
  export declare class CreateParallelDataCommand extends $Command<CreateParallelDataCommandInput, CreateParallelDataCommandOutput, TranslateClientResolvedConfig> {
67
74
  readonly input: CreateParallelDataCommandInput;
68
75
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
76
+ /**
77
+ * @public
78
+ */
69
79
  constructor(input: CreateParallelDataCommandInput);
70
80
  /**
71
81
  * @internal
72
82
  */
73
83
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TranslateClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateParallelDataCommandInput, CreateParallelDataCommandOutput>;
84
+ /**
85
+ * @internal
86
+ */
74
87
  private serialize;
88
+ /**
89
+ * @internal
90
+ */
75
91
  private deserialize;
76
92
  }
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { DeleteParallelDataRequest, DeleteParallelDataResponse } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, TranslateClientResolvedConfig } from "../TranslateClient";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link DeleteParallelDataCommand}.
8
10
  */
9
11
  export interface DeleteParallelDataCommandInput extends DeleteParallelDataRequest {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link DeleteParallelDataCommand}.
13
17
  */
14
18
  export interface DeleteParallelDataCommandOutput extends DeleteParallelDataResponse, __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>Deletes a parallel data resource in Amazon Translate.</p>
18
23
  * @example
19
24
  * Use a bare-bones client and the command you need to make an API call.
@@ -25,6 +30,8 @@ export interface DeleteParallelDataCommandOutput extends DeleteParallelDataRespo
25
30
  * const response = await client.send(command);
26
31
  * ```
27
32
  *
33
+ * @param DeleteParallelDataCommandInput - {@link DeleteParallelDataCommandInput}
34
+ * @returns {@link DeleteParallelDataCommandOutput}
28
35
  * @see {@link DeleteParallelDataCommandInput} for command's `input` shape.
29
36
  * @see {@link DeleteParallelDataCommandOutput} for command's `response` shape.
30
37
  * @see {@link TranslateClientResolvedConfig | config} for TranslateClient's `config` shape.
@@ -50,11 +57,20 @@ export interface DeleteParallelDataCommandOutput extends DeleteParallelDataRespo
50
57
  export declare class DeleteParallelDataCommand extends $Command<DeleteParallelDataCommandInput, DeleteParallelDataCommandOutput, TranslateClientResolvedConfig> {
51
58
  readonly input: DeleteParallelDataCommandInput;
52
59
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
60
+ /**
61
+ * @public
62
+ */
53
63
  constructor(input: DeleteParallelDataCommandInput);
54
64
  /**
55
65
  * @internal
56
66
  */
57
67
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TranslateClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteParallelDataCommandInput, DeleteParallelDataCommandOutput>;
68
+ /**
69
+ * @internal
70
+ */
58
71
  private serialize;
72
+ /**
73
+ * @internal
74
+ */
59
75
  private deserialize;
60
76
  }
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { DeleteTerminologyRequest } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, TranslateClientResolvedConfig } from "../TranslateClient";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link DeleteTerminologyCommand}.
8
10
  */
9
11
  export interface DeleteTerminologyCommandInput extends DeleteTerminologyRequest {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link DeleteTerminologyCommand}.
13
17
  */
14
18
  export interface DeleteTerminologyCommandOutput extends __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>A synchronous action that deletes a custom terminology.</p>
18
23
  * @example
19
24
  * Use a bare-bones client and the command you need to make an API call.
@@ -25,6 +30,8 @@ export interface DeleteTerminologyCommandOutput extends __MetadataBearer {
25
30
  * const response = await client.send(command);
26
31
  * ```
27
32
  *
33
+ * @param DeleteTerminologyCommandInput - {@link DeleteTerminologyCommandInput}
34
+ * @returns {@link DeleteTerminologyCommandOutput}
28
35
  * @see {@link DeleteTerminologyCommandInput} for command's `input` shape.
29
36
  * @see {@link DeleteTerminologyCommandOutput} for command's `response` shape.
30
37
  * @see {@link TranslateClientResolvedConfig | config} for TranslateClient's `config` shape.
@@ -50,11 +57,20 @@ export interface DeleteTerminologyCommandOutput extends __MetadataBearer {
50
57
  export declare class DeleteTerminologyCommand extends $Command<DeleteTerminologyCommandInput, DeleteTerminologyCommandOutput, TranslateClientResolvedConfig> {
51
58
  readonly input: DeleteTerminologyCommandInput;
52
59
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
60
+ /**
61
+ * @public
62
+ */
53
63
  constructor(input: DeleteTerminologyCommandInput);
54
64
  /**
55
65
  * @internal
56
66
  */
57
67
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TranslateClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteTerminologyCommandInput, DeleteTerminologyCommandOutput>;
68
+ /**
69
+ * @internal
70
+ */
58
71
  private serialize;
72
+ /**
73
+ * @internal
74
+ */
59
75
  private deserialize;
60
76
  }
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { DescribeTextTranslationJobRequest, DescribeTextTranslationJobResponse } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, TranslateClientResolvedConfig } from "../TranslateClient";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link DescribeTextTranslationJobCommand}.
8
10
  */
9
11
  export interface DescribeTextTranslationJobCommandInput extends DescribeTextTranslationJobRequest {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link DescribeTextTranslationJobCommand}.
13
17
  */
14
18
  export interface DescribeTextTranslationJobCommandOutput extends DescribeTextTranslationJobResponse, __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>Gets the properties associated with an asynchronous batch translation job including name,
18
23
  * ID, status, source and target languages, input/output S3 buckets, and so on.</p>
19
24
  * @example
@@ -26,6 +31,8 @@ export interface DescribeTextTranslationJobCommandOutput extends DescribeTextTra
26
31
  * const response = await client.send(command);
27
32
  * ```
28
33
  *
34
+ * @param DescribeTextTranslationJobCommandInput - {@link DescribeTextTranslationJobCommandInput}
35
+ * @returns {@link DescribeTextTranslationJobCommandOutput}
29
36
  * @see {@link DescribeTextTranslationJobCommandInput} for command's `input` shape.
30
37
  * @see {@link DescribeTextTranslationJobCommandOutput} for command's `response` shape.
31
38
  * @see {@link TranslateClientResolvedConfig | config} for TranslateClient's `config` shape.
@@ -47,11 +54,20 @@ export interface DescribeTextTranslationJobCommandOutput extends DescribeTextTra
47
54
  export declare class DescribeTextTranslationJobCommand extends $Command<DescribeTextTranslationJobCommandInput, DescribeTextTranslationJobCommandOutput, TranslateClientResolvedConfig> {
48
55
  readonly input: DescribeTextTranslationJobCommandInput;
49
56
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
57
+ /**
58
+ * @public
59
+ */
50
60
  constructor(input: DescribeTextTranslationJobCommandInput);
51
61
  /**
52
62
  * @internal
53
63
  */
54
64
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TranslateClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeTextTranslationJobCommandInput, DescribeTextTranslationJobCommandOutput>;
65
+ /**
66
+ * @internal
67
+ */
55
68
  private serialize;
69
+ /**
70
+ * @internal
71
+ */
56
72
  private deserialize;
57
73
  }
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { GetParallelDataRequest, GetParallelDataResponse } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, TranslateClientResolvedConfig } from "../TranslateClient";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link GetParallelDataCommand}.
8
10
  */
9
11
  export interface GetParallelDataCommandInput extends GetParallelDataRequest {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link GetParallelDataCommand}.
13
17
  */
14
18
  export interface GetParallelDataCommandOutput extends GetParallelDataResponse, __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>Provides information about a parallel data resource.</p>
18
23
  * @example
19
24
  * Use a bare-bones client and the command you need to make an API call.
@@ -25,6 +30,8 @@ export interface GetParallelDataCommandOutput extends GetParallelDataResponse, _
25
30
  * const response = await client.send(command);
26
31
  * ```
27
32
  *
33
+ * @param GetParallelDataCommandInput - {@link GetParallelDataCommandInput}
34
+ * @returns {@link GetParallelDataCommandOutput}
28
35
  * @see {@link GetParallelDataCommandInput} for command's `input` shape.
29
36
  * @see {@link GetParallelDataCommandOutput} for command's `response` shape.
30
37
  * @see {@link TranslateClientResolvedConfig | config} for TranslateClient's `config` shape.
@@ -50,11 +57,20 @@ export interface GetParallelDataCommandOutput extends GetParallelDataResponse, _
50
57
  export declare class GetParallelDataCommand extends $Command<GetParallelDataCommandInput, GetParallelDataCommandOutput, TranslateClientResolvedConfig> {
51
58
  readonly input: GetParallelDataCommandInput;
52
59
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
60
+ /**
61
+ * @public
62
+ */
53
63
  constructor(input: GetParallelDataCommandInput);
54
64
  /**
55
65
  * @internal
56
66
  */
57
67
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TranslateClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetParallelDataCommandInput, GetParallelDataCommandOutput>;
68
+ /**
69
+ * @internal
70
+ */
58
71
  private serialize;
72
+ /**
73
+ * @internal
74
+ */
59
75
  private deserialize;
60
76
  }
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { GetTerminologyRequest, GetTerminologyResponse } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, TranslateClientResolvedConfig } from "../TranslateClient";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link GetTerminologyCommand}.
8
10
  */
9
11
  export interface GetTerminologyCommandInput extends GetTerminologyRequest {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link GetTerminologyCommand}.
13
17
  */
14
18
  export interface GetTerminologyCommandOutput extends GetTerminologyResponse, __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>Retrieves a custom terminology.</p>
18
23
  * @example
19
24
  * Use a bare-bones client and the command you need to make an API call.
@@ -25,6 +30,8 @@ export interface GetTerminologyCommandOutput extends GetTerminologyResponse, __M
25
30
  * const response = await client.send(command);
26
31
  * ```
27
32
  *
33
+ * @param GetTerminologyCommandInput - {@link GetTerminologyCommandInput}
34
+ * @returns {@link GetTerminologyCommandOutput}
28
35
  * @see {@link GetTerminologyCommandInput} for command's `input` shape.
29
36
  * @see {@link GetTerminologyCommandOutput} for command's `response` shape.
30
37
  * @see {@link TranslateClientResolvedConfig | config} for TranslateClient's `config` shape.
@@ -50,11 +57,20 @@ export interface GetTerminologyCommandOutput extends GetTerminologyResponse, __M
50
57
  export declare class GetTerminologyCommand extends $Command<GetTerminologyCommandInput, GetTerminologyCommandOutput, TranslateClientResolvedConfig> {
51
58
  readonly input: GetTerminologyCommandInput;
52
59
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
60
+ /**
61
+ * @public
62
+ */
53
63
  constructor(input: GetTerminologyCommandInput);
54
64
  /**
55
65
  * @internal
56
66
  */
57
67
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TranslateClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetTerminologyCommandInput, GetTerminologyCommandOutput>;
68
+ /**
69
+ * @internal
70
+ */
58
71
  private serialize;
72
+ /**
73
+ * @internal
74
+ */
59
75
  private deserialize;
60
76
  }
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { ImportTerminologyRequest, ImportTerminologyResponse } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, TranslateClientResolvedConfig } from "../TranslateClient";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link ImportTerminologyCommand}.
8
10
  */
9
11
  export interface ImportTerminologyCommandInput extends ImportTerminologyRequest {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link ImportTerminologyCommand}.
13
17
  */
14
18
  export interface ImportTerminologyCommandOutput extends ImportTerminologyResponse, __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>Creates or updates a custom terminology, depending on whether one already exists for the
18
23
  * given terminology name. Importing a terminology with the same name as an existing one will
19
24
  * merge the terminologies based on the chosen merge strategy. The only supported merge strategy
@@ -32,6 +37,8 @@ export interface ImportTerminologyCommandOutput extends ImportTerminologyRespons
32
37
  * const response = await client.send(command);
33
38
  * ```
34
39
  *
40
+ * @param ImportTerminologyCommandInput - {@link ImportTerminologyCommandInput}
41
+ * @returns {@link ImportTerminologyCommandOutput}
35
42
  * @see {@link ImportTerminologyCommandInput} for command's `input` shape.
36
43
  * @see {@link ImportTerminologyCommandOutput} for command's `response` shape.
37
44
  * @see {@link TranslateClientResolvedConfig | config} for TranslateClient's `config` shape.
@@ -63,11 +70,20 @@ export interface ImportTerminologyCommandOutput extends ImportTerminologyRespons
63
70
  export declare class ImportTerminologyCommand extends $Command<ImportTerminologyCommandInput, ImportTerminologyCommandOutput, TranslateClientResolvedConfig> {
64
71
  readonly input: ImportTerminologyCommandInput;
65
72
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
73
+ /**
74
+ * @public
75
+ */
66
76
  constructor(input: ImportTerminologyCommandInput);
67
77
  /**
68
78
  * @internal
69
79
  */
70
80
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TranslateClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ImportTerminologyCommandInput, ImportTerminologyCommandOutput>;
81
+ /**
82
+ * @internal
83
+ */
71
84
  private serialize;
85
+ /**
86
+ * @internal
87
+ */
72
88
  private deserialize;
73
89
  }
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { ListLanguagesRequest, ListLanguagesResponse } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, TranslateClientResolvedConfig } from "../TranslateClient";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link ListLanguagesCommand}.
8
10
  */
9
11
  export interface ListLanguagesCommandInput extends ListLanguagesRequest {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link ListLanguagesCommand}.
13
17
  */
14
18
  export interface ListLanguagesCommandOutput extends ListLanguagesResponse, __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>Provides a list of languages (RFC-5646 codes and names) that Amazon Translate supports.</p>
18
23
  * @example
19
24
  * Use a bare-bones client and the command you need to make an API call.
@@ -25,6 +30,8 @@ export interface ListLanguagesCommandOutput extends ListLanguagesResponse, __Met
25
30
  * const response = await client.send(command);
26
31
  * ```
27
32
  *
33
+ * @param ListLanguagesCommandInput - {@link ListLanguagesCommandInput}
34
+ * @returns {@link ListLanguagesCommandOutput}
28
35
  * @see {@link ListLanguagesCommandInput} for command's `input` shape.
29
36
  * @see {@link ListLanguagesCommandOutput} for command's `response` shape.
30
37
  * @see {@link TranslateClientResolvedConfig | config} for TranslateClient's `config` shape.
@@ -48,11 +55,20 @@ export interface ListLanguagesCommandOutput extends ListLanguagesResponse, __Met
48
55
  export declare class ListLanguagesCommand extends $Command<ListLanguagesCommandInput, ListLanguagesCommandOutput, TranslateClientResolvedConfig> {
49
56
  readonly input: ListLanguagesCommandInput;
50
57
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
58
+ /**
59
+ * @public
60
+ */
51
61
  constructor(input: ListLanguagesCommandInput);
52
62
  /**
53
63
  * @internal
54
64
  */
55
65
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TranslateClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListLanguagesCommandInput, ListLanguagesCommandOutput>;
66
+ /**
67
+ * @internal
68
+ */
56
69
  private serialize;
70
+ /**
71
+ * @internal
72
+ */
57
73
  private deserialize;
58
74
  }
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { ListParallelDataRequest, ListParallelDataResponse } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, TranslateClientResolvedConfig } from "../TranslateClient";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link ListParallelDataCommand}.
8
10
  */
9
11
  export interface ListParallelDataCommandInput extends ListParallelDataRequest {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link ListParallelDataCommand}.
13
17
  */
14
18
  export interface ListParallelDataCommandOutput extends ListParallelDataResponse, __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>Provides a list of your parallel data resources in Amazon Translate.</p>
18
23
  * @example
19
24
  * Use a bare-bones client and the command you need to make an API call.
@@ -25,6 +30,8 @@ export interface ListParallelDataCommandOutput extends ListParallelDataResponse,
25
30
  * const response = await client.send(command);
26
31
  * ```
27
32
  *
33
+ * @param ListParallelDataCommandInput - {@link ListParallelDataCommandInput}
34
+ * @returns {@link ListParallelDataCommandOutput}
28
35
  * @see {@link ListParallelDataCommandInput} for command's `input` shape.
29
36
  * @see {@link ListParallelDataCommandOutput} for command's `response` shape.
30
37
  * @see {@link TranslateClientResolvedConfig | config} for TranslateClient's `config` shape.
@@ -45,11 +52,20 @@ export interface ListParallelDataCommandOutput extends ListParallelDataResponse,
45
52
  export declare class ListParallelDataCommand extends $Command<ListParallelDataCommandInput, ListParallelDataCommandOutput, TranslateClientResolvedConfig> {
46
53
  readonly input: ListParallelDataCommandInput;
47
54
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
55
+ /**
56
+ * @public
57
+ */
48
58
  constructor(input: ListParallelDataCommandInput);
49
59
  /**
50
60
  * @internal
51
61
  */
52
62
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TranslateClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListParallelDataCommandInput, ListParallelDataCommandOutput>;
63
+ /**
64
+ * @internal
65
+ */
53
66
  private serialize;
67
+ /**
68
+ * @internal
69
+ */
54
70
  private deserialize;
55
71
  }
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, TranslateClientResolvedConfig } from "../TranslateClient";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link ListTagsForResourceCommand}.
8
10
  */
9
11
  export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link ListTagsForResourceCommand}.
13
17
  */
14
18
  export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>Lists all tags associated with a given Amazon Translate resource.
18
23
  * For more information, see <a href="https://docs.aws.amazon.com/translate/latest/dg/tagging.html">
19
24
  * Tagging your resources</a>.</p>
@@ -27,6 +32,8 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
27
32
  * const response = await client.send(command);
28
33
  * ```
29
34
  *
35
+ * @param ListTagsForResourceCommandInput - {@link ListTagsForResourceCommandInput}
36
+ * @returns {@link ListTagsForResourceCommandOutput}
30
37
  * @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
31
38
  * @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
32
39
  * @see {@link TranslateClientResolvedConfig | config} for TranslateClient's `config` shape.
@@ -48,11 +55,20 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
48
55
  export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, TranslateClientResolvedConfig> {
49
56
  readonly input: ListTagsForResourceCommandInput;
50
57
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
58
+ /**
59
+ * @public
60
+ */
51
61
  constructor(input: ListTagsForResourceCommandInput);
52
62
  /**
53
63
  * @internal
54
64
  */
55
65
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TranslateClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput>;
66
+ /**
67
+ * @internal
68
+ */
56
69
  private serialize;
70
+ /**
71
+ * @internal
72
+ */
57
73
  private deserialize;
58
74
  }
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { ListTerminologiesRequest, ListTerminologiesResponse } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, TranslateClientResolvedConfig } from "../TranslateClient";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link ListTerminologiesCommand}.
8
10
  */
9
11
  export interface ListTerminologiesCommandInput extends ListTerminologiesRequest {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link ListTerminologiesCommand}.
13
17
  */
14
18
  export interface ListTerminologiesCommandOutput extends ListTerminologiesResponse, __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>Provides a list of custom terminologies associated with your account.</p>
18
23
  * @example
19
24
  * Use a bare-bones client and the command you need to make an API call.
@@ -25,6 +30,8 @@ export interface ListTerminologiesCommandOutput extends ListTerminologiesRespons
25
30
  * const response = await client.send(command);
26
31
  * ```
27
32
  *
33
+ * @param ListTerminologiesCommandInput - {@link ListTerminologiesCommandInput}
34
+ * @returns {@link ListTerminologiesCommandOutput}
28
35
  * @see {@link ListTerminologiesCommandInput} for command's `input` shape.
29
36
  * @see {@link ListTerminologiesCommandOutput} for command's `response` shape.
30
37
  * @see {@link TranslateClientResolvedConfig | config} for TranslateClient's `config` shape.
@@ -45,11 +52,20 @@ export interface ListTerminologiesCommandOutput extends ListTerminologiesRespons
45
52
  export declare class ListTerminologiesCommand extends $Command<ListTerminologiesCommandInput, ListTerminologiesCommandOutput, TranslateClientResolvedConfig> {
46
53
  readonly input: ListTerminologiesCommandInput;
47
54
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
55
+ /**
56
+ * @public
57
+ */
48
58
  constructor(input: ListTerminologiesCommandInput);
49
59
  /**
50
60
  * @internal
51
61
  */
52
62
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TranslateClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTerminologiesCommandInput, ListTerminologiesCommandOutput>;
63
+ /**
64
+ * @internal
65
+ */
53
66
  private serialize;
67
+ /**
68
+ * @internal
69
+ */
54
70
  private deserialize;
55
71
  }