@aws-sdk/client-opensearch 3.461.0 → 3.465.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 (40) hide show
  1. package/README.md +40 -0
  2. package/dist-cjs/OpenSearch.js +10 -0
  3. package/dist-cjs/commands/AddDataSourceCommand.js +51 -0
  4. package/dist-cjs/commands/DeleteDataSourceCommand.js +51 -0
  5. package/dist-cjs/commands/GetDataSourceCommand.js +51 -0
  6. package/dist-cjs/commands/ListDataSourcesCommand.js +51 -0
  7. package/dist-cjs/commands/UpdateDataSourceCommand.js +51 -0
  8. package/dist-cjs/commands/index.js +5 -0
  9. package/dist-cjs/models/models_0.js +23 -15
  10. package/dist-cjs/protocols/Aws_restJson1.js +360 -3
  11. package/dist-es/OpenSearch.js +10 -0
  12. package/dist-es/commands/AddDataSourceCommand.js +47 -0
  13. package/dist-es/commands/DeleteDataSourceCommand.js +47 -0
  14. package/dist-es/commands/GetDataSourceCommand.js +47 -0
  15. package/dist-es/commands/ListDataSourcesCommand.js +47 -0
  16. package/dist-es/commands/UpdateDataSourceCommand.js +47 -0
  17. package/dist-es/commands/index.js +5 -0
  18. package/dist-es/models/models_0.js +20 -12
  19. package/dist-es/protocols/Aws_restJson1.js +347 -0
  20. package/dist-types/OpenSearch.d.ts +35 -0
  21. package/dist-types/OpenSearchClient.d.ts +7 -2
  22. package/dist-types/commands/AddDataSourceCommand.d.ts +101 -0
  23. package/dist-types/commands/DeleteDataSourceCommand.d.ts +92 -0
  24. package/dist-types/commands/GetDataSourceCommand.d.ts +98 -0
  25. package/dist-types/commands/ListDataSourcesCommand.d.ts +101 -0
  26. package/dist-types/commands/UpdateDataSourceCommand.d.ts +98 -0
  27. package/dist-types/commands/index.d.ts +5 -0
  28. package/dist-types/models/models_0.d.ts +291 -54
  29. package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
  30. package/dist-types/ts3.4/OpenSearch.d.ts +85 -0
  31. package/dist-types/ts3.4/OpenSearchClient.d.ts +30 -0
  32. package/dist-types/ts3.4/commands/AddDataSourceCommand.d.ts +38 -0
  33. package/dist-types/ts3.4/commands/DeleteDataSourceCommand.d.ts +38 -0
  34. package/dist-types/ts3.4/commands/GetDataSourceCommand.d.ts +38 -0
  35. package/dist-types/ts3.4/commands/ListDataSourcesCommand.d.ts +38 -0
  36. package/dist-types/ts3.4/commands/UpdateDataSourceCommand.d.ts +38 -0
  37. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  38. package/dist-types/ts3.4/models/models_0.d.ts +82 -16
  39. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
  40. package/package.json +14 -16
@@ -0,0 +1,98 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { UpdateDataSourceRequest, UpdateDataSourceResponse } from "../models/models_0";
5
+ import { OpenSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UpdateDataSourceCommand}.
14
+ */
15
+ export interface UpdateDataSourceCommandInput extends UpdateDataSourceRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateDataSourceCommand}.
21
+ */
22
+ export interface UpdateDataSourceCommandOutput extends UpdateDataSourceResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Updates the data source on the domain.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { OpenSearchClient, UpdateDataSourceCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
31
+ * // const { OpenSearchClient, UpdateDataSourceCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
32
+ * const client = new OpenSearchClient(config);
33
+ * const input = { // UpdateDataSourceRequest
34
+ * DomainName: "STRING_VALUE", // required
35
+ * Name: "STRING_VALUE", // required
36
+ * DataSourceType: { // DataSourceType Union: only one key present
37
+ * S3GlueDataCatalog: { // S3GlueDataCatalog
38
+ * RoleArn: "STRING_VALUE",
39
+ * },
40
+ * },
41
+ * Description: "STRING_VALUE",
42
+ * };
43
+ * const command = new UpdateDataSourceCommand(input);
44
+ * const response = await client.send(command);
45
+ * // { // UpdateDataSourceResponse
46
+ * // Message: "STRING_VALUE",
47
+ * // };
48
+ *
49
+ * ```
50
+ *
51
+ * @param UpdateDataSourceCommandInput - {@link UpdateDataSourceCommandInput}
52
+ * @returns {@link UpdateDataSourceCommandOutput}
53
+ * @see {@link UpdateDataSourceCommandInput} for command's `input` shape.
54
+ * @see {@link UpdateDataSourceCommandOutput} for command's `response` shape.
55
+ * @see {@link OpenSearchClientResolvedConfig | config} for OpenSearchClient's `config` shape.
56
+ *
57
+ * @throws {@link BaseException} (client fault)
58
+ * <p>An error occurred while processing the request.</p>
59
+ *
60
+ * @throws {@link DependencyFailureException} (client fault)
61
+ * <p>An exception for when a failure in one of the dependencies results in the service being unable to fetch details about the resource.</p>
62
+ *
63
+ * @throws {@link DisabledOperationException} (client fault)
64
+ * <p>An error occured because the client wanted to access an unsupported operation.</p>
65
+ *
66
+ * @throws {@link InternalException} (server fault)
67
+ * <p>Request processing failed because of an unknown error, exception, or internal failure.</p>
68
+ *
69
+ * @throws {@link ResourceNotFoundException} (client fault)
70
+ * <p>An exception for accessing or deleting a resource that doesn't exist.</p>
71
+ *
72
+ * @throws {@link ValidationException} (client fault)
73
+ * <p>An exception for accessing or deleting a resource that doesn't exist.</p>
74
+ *
75
+ * @throws {@link OpenSearchServiceException}
76
+ * <p>Base exception class for all service exceptions from OpenSearch service.</p>
77
+ *
78
+ */
79
+ export declare class UpdateDataSourceCommand extends $Command<UpdateDataSourceCommandInput, UpdateDataSourceCommandOutput, OpenSearchClientResolvedConfig> {
80
+ readonly input: UpdateDataSourceCommandInput;
81
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
82
+ /**
83
+ * @public
84
+ */
85
+ constructor(input: UpdateDataSourceCommandInput);
86
+ /**
87
+ * @internal
88
+ */
89
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: OpenSearchClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateDataSourceCommandInput, UpdateDataSourceCommandOutput>;
90
+ /**
91
+ * @internal
92
+ */
93
+ private serialize;
94
+ /**
95
+ * @internal
96
+ */
97
+ private deserialize;
98
+ }
@@ -1,4 +1,5 @@
1
1
  export * from "./AcceptInboundConnectionCommand";
2
+ export * from "./AddDataSourceCommand";
2
3
  export * from "./AddTagsCommand";
3
4
  export * from "./AssociatePackageCommand";
4
5
  export * from "./AuthorizeVpcEndpointAccessCommand";
@@ -7,6 +8,7 @@ export * from "./CreateDomainCommand";
7
8
  export * from "./CreateOutboundConnectionCommand";
8
9
  export * from "./CreatePackageCommand";
9
10
  export * from "./CreateVpcEndpointCommand";
11
+ export * from "./DeleteDataSourceCommand";
10
12
  export * from "./DeleteDomainCommand";
11
13
  export * from "./DeleteInboundConnectionCommand";
12
14
  export * from "./DeleteOutboundConnectionCommand";
@@ -29,10 +31,12 @@ export * from "./DescribeReservedInstancesCommand";
29
31
  export * from "./DescribeVpcEndpointsCommand";
30
32
  export * from "./DissociatePackageCommand";
31
33
  export * from "./GetCompatibleVersionsCommand";
34
+ export * from "./GetDataSourceCommand";
32
35
  export * from "./GetDomainMaintenanceStatusCommand";
33
36
  export * from "./GetPackageVersionHistoryCommand";
34
37
  export * from "./GetUpgradeHistoryCommand";
35
38
  export * from "./GetUpgradeStatusCommand";
39
+ export * from "./ListDataSourcesCommand";
36
40
  export * from "./ListDomainMaintenancesCommand";
37
41
  export * from "./ListDomainNamesCommand";
38
42
  export * from "./ListDomainsForPackageCommand";
@@ -50,6 +54,7 @@ export * from "./RemoveTagsCommand";
50
54
  export * from "./RevokeVpcEndpointAccessCommand";
51
55
  export * from "./StartDomainMaintenanceCommand";
52
56
  export * from "./StartServiceSoftwareUpdateCommand";
57
+ export * from "./UpdateDataSourceCommand";
53
58
  export * from "./UpdateDomainConfigCommand";
54
59
  export * from "./UpdatePackageCommand";
55
60
  export * from "./UpdateScheduledActionCommand";
@@ -326,6 +326,133 @@ export declare const ActionType: {
326
326
  * @public
327
327
  */
328
328
  export type ActionType = (typeof ActionType)[keyof typeof ActionType];
329
+ /**
330
+ * @public
331
+ * <p>Information about the AWS S3 Glue Data Catalog.</p>
332
+ */
333
+ export interface S3GlueDataCatalog {
334
+ /**
335
+ * @public
336
+ * <p>The role ARN for the AWS S3 Glue Data Catalog.</p>
337
+ */
338
+ RoleArn?: string;
339
+ }
340
+ /**
341
+ * @public
342
+ * <p>Information about the data source.</p>
343
+ */
344
+ export type DataSourceType = DataSourceType.S3GlueDataCatalogMember | DataSourceType.$UnknownMember;
345
+ /**
346
+ * @public
347
+ */
348
+ export declare namespace DataSourceType {
349
+ /**
350
+ * @public
351
+ * <p>The data source for the AWS S3 Glue Data Catalog.</p>
352
+ */
353
+ interface S3GlueDataCatalogMember {
354
+ S3GlueDataCatalog: S3GlueDataCatalog;
355
+ $unknown?: never;
356
+ }
357
+ /**
358
+ * @public
359
+ */
360
+ interface $UnknownMember {
361
+ S3GlueDataCatalog?: never;
362
+ $unknown: [string, any];
363
+ }
364
+ interface Visitor<T> {
365
+ S3GlueDataCatalog: (value: S3GlueDataCatalog) => T;
366
+ _: (name: string, value: any) => T;
367
+ }
368
+ const visit: <T>(value: DataSourceType, visitor: Visitor<T>) => T;
369
+ }
370
+ /**
371
+ * @public
372
+ * <p>Container for the parameters to the <code>AddDataSource</code>
373
+ * operation.</p>
374
+ */
375
+ export interface AddDataSourceRequest {
376
+ /**
377
+ * @public
378
+ * <p>The name of the domain.</p>
379
+ */
380
+ DomainName: string | undefined;
381
+ /**
382
+ * @public
383
+ * <p>The name of the data source.</p>
384
+ */
385
+ Name: string | undefined;
386
+ /**
387
+ * @public
388
+ * <p>The type of data source.</p>
389
+ */
390
+ DataSourceType: DataSourceType | undefined;
391
+ /**
392
+ * @public
393
+ * <p>A description of the data source.</p>
394
+ */
395
+ Description?: string;
396
+ }
397
+ /**
398
+ * @public
399
+ * <p>The result of an <code>AddDataSource</code> operation.</p>
400
+ */
401
+ export interface AddDataSourceResponse {
402
+ /**
403
+ * @public
404
+ * <p>A message associated with the data source.</p>
405
+ */
406
+ Message?: string;
407
+ }
408
+ /**
409
+ * @public
410
+ * <p>An error occurred while processing the request.</p>
411
+ */
412
+ export declare class BaseException extends __BaseException {
413
+ readonly name: "BaseException";
414
+ readonly $fault: "client";
415
+ /**
416
+ * @internal
417
+ */
418
+ constructor(opts: __ExceptionOptionType<BaseException, __BaseException>);
419
+ }
420
+ /**
421
+ * @public
422
+ * <p>An exception for when a failure in one of the dependencies results in the service being unable to fetch details about the resource.</p>
423
+ */
424
+ export declare class DependencyFailureException extends __BaseException {
425
+ readonly name: "DependencyFailureException";
426
+ readonly $fault: "client";
427
+ /**
428
+ * @internal
429
+ */
430
+ constructor(opts: __ExceptionOptionType<DependencyFailureException, __BaseException>);
431
+ }
432
+ /**
433
+ * @public
434
+ * <p>Request processing failed because of an unknown error, exception, or internal failure.</p>
435
+ */
436
+ export declare class InternalException extends __BaseException {
437
+ readonly name: "InternalException";
438
+ readonly $fault: "server";
439
+ /**
440
+ * @internal
441
+ */
442
+ constructor(opts: __ExceptionOptionType<InternalException, __BaseException>);
443
+ }
444
+ /**
445
+ * @public
446
+ * <p>An exception for accessing or deleting a resource that doesn't exist.</p>
447
+ */
448
+ export declare class ValidationException extends __BaseException {
449
+ readonly name: "ValidationException";
450
+ readonly $fault: "client";
451
+ /**
452
+ * @internal
453
+ */
454
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
455
+ }
329
456
  /**
330
457
  * @public
331
458
  * <p> List of limits that are specific to a given instance type.</p>
@@ -392,42 +519,6 @@ export interface AddTagsRequest {
392
519
  */
393
520
  TagList: Tag[] | undefined;
394
521
  }
395
- /**
396
- * @public
397
- * <p>An error occurred while processing the request.</p>
398
- */
399
- export declare class BaseException extends __BaseException {
400
- readonly name: "BaseException";
401
- readonly $fault: "client";
402
- /**
403
- * @internal
404
- */
405
- constructor(opts: __ExceptionOptionType<BaseException, __BaseException>);
406
- }
407
- /**
408
- * @public
409
- * <p>Request processing failed because of an unknown error, exception, or internal failure.</p>
410
- */
411
- export declare class InternalException extends __BaseException {
412
- readonly name: "InternalException";
413
- readonly $fault: "server";
414
- /**
415
- * @internal
416
- */
417
- constructor(opts: __ExceptionOptionType<InternalException, __BaseException>);
418
- }
419
- /**
420
- * @public
421
- * <p>An exception for accessing or deleting a resource that doesn't exist.</p>
422
- */
423
- export declare class ValidationException extends __BaseException {
424
- readonly name: "ValidationException";
425
- readonly $fault: "client";
426
- /**
427
- * @internal
428
- */
429
- constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
430
- }
431
522
  /**
432
523
  * @public
433
524
  * <p>Status of the advanced options for the specified domain. The following options are
@@ -1320,18 +1411,28 @@ export interface DomainEndpointOptions {
1320
1411
  EnforceHTTPS?: boolean;
1321
1412
  /**
1322
1413
  * @public
1323
- * <p>Specify the TLS security policy to apply to the HTTPS endpoint of the domain.</p>
1324
- * <p> Can be one of the following values:</p>
1414
+ * <p>Specify the TLS security policy to apply to the HTTPS endpoint of the domain. The policy can
1415
+ * be one of the following values:</p>
1325
1416
  * <ul>
1326
1417
  * <li>
1327
1418
  * <p>
1328
- * <b>Policy-Min-TLS-1-0-2019-07:</b> TLS security policy which supports
1329
- * TLS version 1.0 and higher.</p>
1419
+ * <b>Policy-Min-TLS-1-0-2019-07:</b> TLS security policy which
1420
+ * supports TLS version 1.0 to TLS version 1.2</p>
1421
+ * </li>
1422
+ * <li>
1423
+ * <p>
1424
+ * <b>Policy-Min-TLS-1-2-2019-07:</b> TLS security policy which
1425
+ * supports only TLS version 1.2</p>
1426
+ * </li>
1427
+ * <li>
1428
+ * <p>
1429
+ * <b>Policy-Min-TLS-1-0-2023-10:</b> TLS security policy which
1430
+ * supports TLS version 1.0 to TLS version 1.3</p>
1330
1431
  * </li>
1331
1432
  * <li>
1332
1433
  * <p>
1333
- * <b>Policy-Min-TLS-1-2-2019-07:</b> TLS security policy which supports
1334
- * only TLS version 1.2 </p>
1434
+ * <b>Policy-Min-TLS-1-2-2023-10:</b> TLS security policy which
1435
+ * supports TLS version 1.2 to TLS version 1.3 with perfect forward secrecy cipher suites</p>
1335
1436
  * </li>
1336
1437
  * </ul>
1337
1438
  */
@@ -2469,6 +2570,34 @@ export interface CreateVpcEndpointResponse {
2469
2570
  */
2470
2571
  VpcEndpoint: VpcEndpoint | undefined;
2471
2572
  }
2573
+ /**
2574
+ * @public
2575
+ * <p>Container for the parameters to the <code>DeleteDataSource</code>
2576
+ * operation.</p>
2577
+ */
2578
+ export interface DeleteDataSourceRequest {
2579
+ /**
2580
+ * @public
2581
+ * <p>The name of the domain.</p>
2582
+ */
2583
+ DomainName: string | undefined;
2584
+ /**
2585
+ * @public
2586
+ * <p>The name of the data source.</p>
2587
+ */
2588
+ Name: string | undefined;
2589
+ }
2590
+ /**
2591
+ * @public
2592
+ * <p>The result of a <code>GetDataSource</code> operation.</p>
2593
+ */
2594
+ export interface DeleteDataSourceResponse {
2595
+ /**
2596
+ * @public
2597
+ * <p>A message associated with the initiated request.</p>
2598
+ */
2599
+ Message?: string;
2600
+ }
2472
2601
  /**
2473
2602
  * @public
2474
2603
  * <p>Container for the parameters to the <code>DeleteDomain</code> operation.</p>
@@ -3580,18 +3709,6 @@ export interface DescribeDomainHealthResponse {
3580
3709
  */
3581
3710
  EnvironmentInformation?: EnvironmentInfo[];
3582
3711
  }
3583
- /**
3584
- * @public
3585
- * <p>An exception for when a failure in one of the dependencies results in the service being unable to fetch details about the resource.</p>
3586
- */
3587
- export declare class DependencyFailureException extends __BaseException {
3588
- readonly name: "DependencyFailureException";
3589
- readonly $fault: "client";
3590
- /**
3591
- * @internal
3592
- */
3593
- constructor(opts: __ExceptionOptionType<DependencyFailureException, __BaseException>);
3594
- }
3595
3712
  /**
3596
3713
  * @public
3597
3714
  * <p>Container for the parameters to the <code>DescribeDomainNodes</code>
@@ -4559,6 +4676,44 @@ export interface GetCompatibleVersionsResponse {
4559
4676
  */
4560
4677
  CompatibleVersions?: CompatibleVersionsMap[];
4561
4678
  }
4679
+ /**
4680
+ * @public
4681
+ * <p>Container for the parameters to the <code>GetDataSource</code>
4682
+ * operation.</p>
4683
+ */
4684
+ export interface GetDataSourceRequest {
4685
+ /**
4686
+ * @public
4687
+ * <p>The name of the domain.</p>
4688
+ */
4689
+ DomainName: string | undefined;
4690
+ /**
4691
+ * @public
4692
+ * <p>The name of the data source.</p>
4693
+ */
4694
+ Name: string | undefined;
4695
+ }
4696
+ /**
4697
+ * @public
4698
+ * <p>The result of a <code>GetDataSource</code> operation.</p>
4699
+ */
4700
+ export interface GetDataSourceResponse {
4701
+ /**
4702
+ * @public
4703
+ * <p>The type of data source.</p>
4704
+ */
4705
+ DataSourceType?: DataSourceType;
4706
+ /**
4707
+ * @public
4708
+ * <p>The name of the data source.</p>
4709
+ */
4710
+ Name?: string;
4711
+ /**
4712
+ * @public
4713
+ * <p>A description of the data source.</p>
4714
+ */
4715
+ Description?: string;
4716
+ }
4562
4717
  /**
4563
4718
  * @public
4564
4719
  * <p>Container for the parameters to the <code>GetDomainMaintenanceStatus</code>
@@ -4909,6 +5064,50 @@ export interface GetUpgradeStatusResponse {
4909
5064
  */
4910
5065
  UpgradeName?: string;
4911
5066
  }
5067
+ /**
5068
+ * @public
5069
+ * <p>Container for the parameters to the <code>ListDataSources</code>
5070
+ * operation.</p>
5071
+ */
5072
+ export interface ListDataSourcesRequest {
5073
+ /**
5074
+ * @public
5075
+ * <p>The name of the domain.</p>
5076
+ */
5077
+ DomainName: string | undefined;
5078
+ }
5079
+ /**
5080
+ * @public
5081
+ * <p>Details about the data sources.</p>
5082
+ */
5083
+ export interface DataSourceDetails {
5084
+ /**
5085
+ * @public
5086
+ * <p>The type of data source.</p>
5087
+ */
5088
+ DataSourceType?: DataSourceType;
5089
+ /**
5090
+ * @public
5091
+ * <p>The name of the data source.</p>
5092
+ */
5093
+ Name?: string;
5094
+ /**
5095
+ * @public
5096
+ * <p>A description of the data source.</p>
5097
+ */
5098
+ Description?: string;
5099
+ }
5100
+ /**
5101
+ * @public
5102
+ * <p>The result of a <code>ListDataSources</code> operation.</p>
5103
+ */
5104
+ export interface ListDataSourcesResponse {
5105
+ /**
5106
+ * @public
5107
+ * <p>A list of the data sources.</p>
5108
+ */
5109
+ DataSources?: DataSourceDetails[];
5110
+ }
4912
5111
  /**
4913
5112
  * @public
4914
5113
  * <p>Container for the parameters to the <code>ListDomainMaintenances</code>
@@ -5714,6 +5913,44 @@ export interface StartServiceSoftwareUpdateResponse {
5714
5913
  */
5715
5914
  ServiceSoftwareOptions?: ServiceSoftwareOptions;
5716
5915
  }
5916
+ /**
5917
+ * @public
5918
+ * <p>Container for the parameters to the <code>UpdateDataSource</code>
5919
+ * operation.</p>
5920
+ */
5921
+ export interface UpdateDataSourceRequest {
5922
+ /**
5923
+ * @public
5924
+ * <p>The name of the domain.</p>
5925
+ */
5926
+ DomainName: string | undefined;
5927
+ /**
5928
+ * @public
5929
+ * <p>The name of the data source.</p>
5930
+ */
5931
+ Name: string | undefined;
5932
+ /**
5933
+ * @public
5934
+ * <p>The type of data source.</p>
5935
+ */
5936
+ DataSourceType: DataSourceType | undefined;
5937
+ /**
5938
+ * @public
5939
+ * <p>A description of the data source.</p>
5940
+ */
5941
+ Description?: string;
5942
+ }
5943
+ /**
5944
+ * @public
5945
+ * <p>The result of an <code>UpdateDataSource</code> operation.</p>
5946
+ */
5947
+ export interface UpdateDataSourceResponse {
5948
+ /**
5949
+ * @public
5950
+ * <p>A message associated with the data source.</p>
5951
+ */
5952
+ Message?: string;
5953
+ }
5717
5954
  /**
5718
5955
  * @public
5719
5956
  * @enum
@@ -1,6 +1,7 @@
1
1
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
2
2
  import { SerdeContext as __SerdeContext } from "@smithy/types";
3
3
  import { AcceptInboundConnectionCommandInput, AcceptInboundConnectionCommandOutput } from "../commands/AcceptInboundConnectionCommand";
4
+ import { AddDataSourceCommandInput, AddDataSourceCommandOutput } from "../commands/AddDataSourceCommand";
4
5
  import { AddTagsCommandInput, AddTagsCommandOutput } from "../commands/AddTagsCommand";
5
6
  import { AssociatePackageCommandInput, AssociatePackageCommandOutput } from "../commands/AssociatePackageCommand";
6
7
  import { AuthorizeVpcEndpointAccessCommandInput, AuthorizeVpcEndpointAccessCommandOutput } from "../commands/AuthorizeVpcEndpointAccessCommand";
@@ -9,6 +10,7 @@ import { CreateDomainCommandInput, CreateDomainCommandOutput } from "../commands
9
10
  import { CreateOutboundConnectionCommandInput, CreateOutboundConnectionCommandOutput } from "../commands/CreateOutboundConnectionCommand";
10
11
  import { CreatePackageCommandInput, CreatePackageCommandOutput } from "../commands/CreatePackageCommand";
11
12
  import { CreateVpcEndpointCommandInput, CreateVpcEndpointCommandOutput } from "../commands/CreateVpcEndpointCommand";
13
+ import { DeleteDataSourceCommandInput, DeleteDataSourceCommandOutput } from "../commands/DeleteDataSourceCommand";
12
14
  import { DeleteDomainCommandInput, DeleteDomainCommandOutput } from "../commands/DeleteDomainCommand";
13
15
  import { DeleteInboundConnectionCommandInput, DeleteInboundConnectionCommandOutput } from "../commands/DeleteInboundConnectionCommand";
14
16
  import { DeleteOutboundConnectionCommandInput, DeleteOutboundConnectionCommandOutput } from "../commands/DeleteOutboundConnectionCommand";
@@ -31,10 +33,12 @@ import { DescribeReservedInstancesCommandInput, DescribeReservedInstancesCommand
31
33
  import { DescribeVpcEndpointsCommandInput, DescribeVpcEndpointsCommandOutput } from "../commands/DescribeVpcEndpointsCommand";
32
34
  import { DissociatePackageCommandInput, DissociatePackageCommandOutput } from "../commands/DissociatePackageCommand";
33
35
  import { GetCompatibleVersionsCommandInput, GetCompatibleVersionsCommandOutput } from "../commands/GetCompatibleVersionsCommand";
36
+ import { GetDataSourceCommandInput, GetDataSourceCommandOutput } from "../commands/GetDataSourceCommand";
34
37
  import { GetDomainMaintenanceStatusCommandInput, GetDomainMaintenanceStatusCommandOutput } from "../commands/GetDomainMaintenanceStatusCommand";
35
38
  import { GetPackageVersionHistoryCommandInput, GetPackageVersionHistoryCommandOutput } from "../commands/GetPackageVersionHistoryCommand";
36
39
  import { GetUpgradeHistoryCommandInput, GetUpgradeHistoryCommandOutput } from "../commands/GetUpgradeHistoryCommand";
37
40
  import { GetUpgradeStatusCommandInput, GetUpgradeStatusCommandOutput } from "../commands/GetUpgradeStatusCommand";
41
+ import { ListDataSourcesCommandInput, ListDataSourcesCommandOutput } from "../commands/ListDataSourcesCommand";
38
42
  import { ListDomainMaintenancesCommandInput, ListDomainMaintenancesCommandOutput } from "../commands/ListDomainMaintenancesCommand";
39
43
  import { ListDomainNamesCommandInput, ListDomainNamesCommandOutput } from "../commands/ListDomainNamesCommand";
40
44
  import { ListDomainsForPackageCommandInput, ListDomainsForPackageCommandOutput } from "../commands/ListDomainsForPackageCommand";
@@ -52,6 +56,7 @@ import { RemoveTagsCommandInput, RemoveTagsCommandOutput } from "../commands/Rem
52
56
  import { RevokeVpcEndpointAccessCommandInput, RevokeVpcEndpointAccessCommandOutput } from "../commands/RevokeVpcEndpointAccessCommand";
53
57
  import { StartDomainMaintenanceCommandInput, StartDomainMaintenanceCommandOutput } from "../commands/StartDomainMaintenanceCommand";
54
58
  import { StartServiceSoftwareUpdateCommandInput, StartServiceSoftwareUpdateCommandOutput } from "../commands/StartServiceSoftwareUpdateCommand";
59
+ import { UpdateDataSourceCommandInput, UpdateDataSourceCommandOutput } from "../commands/UpdateDataSourceCommand";
55
60
  import { UpdateDomainConfigCommandInput, UpdateDomainConfigCommandOutput } from "../commands/UpdateDomainConfigCommand";
56
61
  import { UpdatePackageCommandInput, UpdatePackageCommandOutput } from "../commands/UpdatePackageCommand";
57
62
  import { UpdateScheduledActionCommandInput, UpdateScheduledActionCommandOutput } from "../commands/UpdateScheduledActionCommand";
@@ -61,6 +66,10 @@ import { UpgradeDomainCommandInput, UpgradeDomainCommandOutput } from "../comman
61
66
  * serializeAws_restJson1AcceptInboundConnectionCommand
62
67
  */
63
68
  export declare const se_AcceptInboundConnectionCommand: (input: AcceptInboundConnectionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
69
+ /**
70
+ * serializeAws_restJson1AddDataSourceCommand
71
+ */
72
+ export declare const se_AddDataSourceCommand: (input: AddDataSourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
64
73
  /**
65
74
  * serializeAws_restJson1AddTagsCommand
66
75
  */
@@ -93,6 +102,10 @@ export declare const se_CreatePackageCommand: (input: CreatePackageCommandInput,
93
102
  * serializeAws_restJson1CreateVpcEndpointCommand
94
103
  */
95
104
  export declare const se_CreateVpcEndpointCommand: (input: CreateVpcEndpointCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
105
+ /**
106
+ * serializeAws_restJson1DeleteDataSourceCommand
107
+ */
108
+ export declare const se_DeleteDataSourceCommand: (input: DeleteDataSourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
96
109
  /**
97
110
  * serializeAws_restJson1DeleteDomainCommand
98
111
  */
@@ -181,6 +194,10 @@ export declare const se_DissociatePackageCommand: (input: DissociatePackageComma
181
194
  * serializeAws_restJson1GetCompatibleVersionsCommand
182
195
  */
183
196
  export declare const se_GetCompatibleVersionsCommand: (input: GetCompatibleVersionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
197
+ /**
198
+ * serializeAws_restJson1GetDataSourceCommand
199
+ */
200
+ export declare const se_GetDataSourceCommand: (input: GetDataSourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
184
201
  /**
185
202
  * serializeAws_restJson1GetDomainMaintenanceStatusCommand
186
203
  */
@@ -197,6 +214,10 @@ export declare const se_GetUpgradeHistoryCommand: (input: GetUpgradeHistoryComma
197
214
  * serializeAws_restJson1GetUpgradeStatusCommand
198
215
  */
199
216
  export declare const se_GetUpgradeStatusCommand: (input: GetUpgradeStatusCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
217
+ /**
218
+ * serializeAws_restJson1ListDataSourcesCommand
219
+ */
220
+ export declare const se_ListDataSourcesCommand: (input: ListDataSourcesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
200
221
  /**
201
222
  * serializeAws_restJson1ListDomainMaintenancesCommand
202
223
  */
@@ -265,6 +286,10 @@ export declare const se_StartDomainMaintenanceCommand: (input: StartDomainMainte
265
286
  * serializeAws_restJson1StartServiceSoftwareUpdateCommand
266
287
  */
267
288
  export declare const se_StartServiceSoftwareUpdateCommand: (input: StartServiceSoftwareUpdateCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
289
+ /**
290
+ * serializeAws_restJson1UpdateDataSourceCommand
291
+ */
292
+ export declare const se_UpdateDataSourceCommand: (input: UpdateDataSourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
268
293
  /**
269
294
  * serializeAws_restJson1UpdateDomainConfigCommand
270
295
  */
@@ -289,6 +314,10 @@ export declare const se_UpgradeDomainCommand: (input: UpgradeDomainCommandInput,
289
314
  * deserializeAws_restJson1AcceptInboundConnectionCommand
290
315
  */
291
316
  export declare const de_AcceptInboundConnectionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<AcceptInboundConnectionCommandOutput>;
317
+ /**
318
+ * deserializeAws_restJson1AddDataSourceCommand
319
+ */
320
+ export declare const de_AddDataSourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<AddDataSourceCommandOutput>;
292
321
  /**
293
322
  * deserializeAws_restJson1AddTagsCommand
294
323
  */
@@ -321,6 +350,10 @@ export declare const de_CreatePackageCommand: (output: __HttpResponse, context:
321
350
  * deserializeAws_restJson1CreateVpcEndpointCommand
322
351
  */
323
352
  export declare const de_CreateVpcEndpointCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateVpcEndpointCommandOutput>;
353
+ /**
354
+ * deserializeAws_restJson1DeleteDataSourceCommand
355
+ */
356
+ export declare const de_DeleteDataSourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteDataSourceCommandOutput>;
324
357
  /**
325
358
  * deserializeAws_restJson1DeleteDomainCommand
326
359
  */
@@ -409,6 +442,10 @@ export declare const de_DissociatePackageCommand: (output: __HttpResponse, conte
409
442
  * deserializeAws_restJson1GetCompatibleVersionsCommand
410
443
  */
411
444
  export declare const de_GetCompatibleVersionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetCompatibleVersionsCommandOutput>;
445
+ /**
446
+ * deserializeAws_restJson1GetDataSourceCommand
447
+ */
448
+ export declare const de_GetDataSourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetDataSourceCommandOutput>;
412
449
  /**
413
450
  * deserializeAws_restJson1GetDomainMaintenanceStatusCommand
414
451
  */
@@ -425,6 +462,10 @@ export declare const de_GetUpgradeHistoryCommand: (output: __HttpResponse, conte
425
462
  * deserializeAws_restJson1GetUpgradeStatusCommand
426
463
  */
427
464
  export declare const de_GetUpgradeStatusCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetUpgradeStatusCommandOutput>;
465
+ /**
466
+ * deserializeAws_restJson1ListDataSourcesCommand
467
+ */
468
+ export declare const de_ListDataSourcesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListDataSourcesCommandOutput>;
428
469
  /**
429
470
  * deserializeAws_restJson1ListDomainMaintenancesCommand
430
471
  */
@@ -493,6 +534,10 @@ export declare const de_StartDomainMaintenanceCommand: (output: __HttpResponse,
493
534
  * deserializeAws_restJson1StartServiceSoftwareUpdateCommand
494
535
  */
495
536
  export declare const de_StartServiceSoftwareUpdateCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StartServiceSoftwareUpdateCommandOutput>;
537
+ /**
538
+ * deserializeAws_restJson1UpdateDataSourceCommand
539
+ */
540
+ export declare const de_UpdateDataSourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateDataSourceCommandOutput>;
496
541
  /**
497
542
  * deserializeAws_restJson1UpdateDomainConfigCommand
498
543
  */