@aws-sdk/client-opensearch 3.689.0 → 3.691.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.
@@ -11,14 +11,14 @@ export interface ListVersionsRequest {
11
11
  * <code>nextToken</code> to get the next page of results.</p>
12
12
  * @public
13
13
  */
14
- MaxResults?: number;
14
+ MaxResults?: number | undefined;
15
15
  /**
16
16
  * <p>If your initial <code>ListVersions</code> operation returns a <code>nextToken</code>, you
17
17
  * can include the returned <code>nextToken</code> in subsequent <code>ListVersions</code>
18
18
  * operations, which returns results in the next page.</p>
19
19
  * @public
20
20
  */
21
- NextToken?: string;
21
+ NextToken?: string | undefined;
22
22
  }
23
23
  /**
24
24
  * <p>Container for the parameters for response received from the <code>ListVersions</code>
@@ -31,14 +31,14 @@ export interface ListVersionsResponse {
31
31
  * supports.</p>
32
32
  * @public
33
33
  */
34
- Versions?: string[];
34
+ Versions?: string[] | undefined;
35
35
  /**
36
36
  * <p>When <code>nextToken</code> is returned, there are more results available. The value of
37
37
  * <code>nextToken</code> is a unique pagination token for each page. Send the request again using the
38
38
  * returned token to retrieve the next page.</p>
39
39
  * @public
40
40
  */
41
- NextToken?: string;
41
+ NextToken?: string | undefined;
42
42
  }
43
43
  /**
44
44
  * @public
@@ -55,7 +55,7 @@ export interface ListVpcEndpointAccessRequest {
55
55
  * <code>ListVpcEndpointAccess</code> operations, which returns results in the next page.</p>
56
56
  * @public
57
57
  */
58
- NextToken?: string;
58
+ NextToken?: string | undefined;
59
59
  }
60
60
  /**
61
61
  * @public
@@ -85,7 +85,7 @@ export interface ListVpcEndpointsRequest {
85
85
  * operations, which returns results in the next page.</p>
86
86
  * @public
87
87
  */
88
- NextToken?: string;
88
+ NextToken?: string | undefined;
89
89
  }
90
90
  /**
91
91
  * @public
@@ -119,7 +119,7 @@ export interface ListVpcEndpointsForDomainRequest {
119
119
  * <code>ListEndpointsForDomain</code> operations, which returns results in the next page.</p>
120
120
  * @public
121
121
  */
122
- NextToken?: string;
122
+ NextToken?: string | undefined;
123
123
  }
124
124
  /**
125
125
  * @public
@@ -158,7 +158,7 @@ export interface PurchaseReservedInstanceOfferingRequest {
158
158
  * <p>The number of OpenSearch instances to reserve.</p>
159
159
  * @public
160
160
  */
161
- InstanceCount?: number;
161
+ InstanceCount?: number | undefined;
162
162
  }
163
163
  /**
164
164
  * <p>Represents the output of a <code>PurchaseReservedInstanceOffering</code> operation.</p>
@@ -169,12 +169,12 @@ export interface PurchaseReservedInstanceOfferingResponse {
169
169
  * <p>The ID of the Reserved Instance offering that was purchased.</p>
170
170
  * @public
171
171
  */
172
- ReservedInstanceId?: string;
172
+ ReservedInstanceId?: string | undefined;
173
173
  /**
174
174
  * <p>The customer-specified identifier used to track this reservation.</p>
175
175
  * @public
176
176
  */
177
- ReservationName?: string;
177
+ ReservationName?: string | undefined;
178
178
  }
179
179
  /**
180
180
  * <p>Container for the request parameters to the <code>RejectInboundConnection</code> operation.</p>
@@ -196,7 +196,7 @@ export interface RejectInboundConnectionResponse {
196
196
  * <p>Contains details about the rejected inbound connection.</p>
197
197
  * @public
198
198
  */
199
- Connection?: InboundConnection;
199
+ Connection?: InboundConnection | undefined;
200
200
  }
201
201
  /**
202
202
  * <p>Container for the request parameters to the <code>RemoveTags</code> operation.</p>
@@ -228,12 +228,12 @@ export interface RevokeVpcEndpointAccessRequest {
228
228
  * <p>The account ID to revoke access from.</p>
229
229
  * @public
230
230
  */
231
- Account?: string;
231
+ Account?: string | undefined;
232
232
  /**
233
233
  * <p>The service SP to revoke access from.</p>
234
234
  * @public
235
235
  */
236
- Service?: AWSServicePrincipal;
236
+ Service?: AWSServicePrincipal | undefined;
237
237
  }
238
238
  /**
239
239
  * @public
@@ -260,7 +260,7 @@ export interface StartDomainMaintenanceRequest {
260
260
  * <p>The ID of the data node.</p>
261
261
  * @public
262
262
  */
263
- NodeId?: string;
263
+ NodeId?: string | undefined;
264
264
  }
265
265
  /**
266
266
  * <p>The result of a <code>StartDomainMaintenance</code> request that information about the requested action. </p>
@@ -271,7 +271,7 @@ export interface StartDomainMaintenanceResponse {
271
271
  * <p>The request ID of requested action.</p>
272
272
  * @public
273
273
  */
274
- MaintenanceId?: string;
274
+ MaintenanceId?: string | undefined;
275
275
  }
276
276
  /**
277
277
  * @public
@@ -321,13 +321,13 @@ export interface StartServiceSoftwareUpdateRequest {
321
321
  * and <code>TIMESTAMP</code> if you do.</p>
322
322
  * @public
323
323
  */
324
- ScheduleAt?: ScheduleAt;
324
+ ScheduleAt?: ScheduleAt | undefined;
325
325
  /**
326
326
  * <p>The Epoch timestamp when you want the service software update to start. You only need to
327
327
  * specify this parameter if you set <code>ScheduleAt</code> to <code>TIMESTAMP</code>.</p>
328
328
  * @public
329
329
  */
330
- DesiredStartTime?: number;
330
+ DesiredStartTime?: number | undefined;
331
331
  }
332
332
  /**
333
333
  * <p>Represents the output of a <code>StartServiceSoftwareUpdate</code> operation. Contains the
@@ -339,7 +339,7 @@ export interface StartServiceSoftwareUpdateResponse {
339
339
  * <p>The current status of the OpenSearch Service software update.</p>
340
340
  * @public
341
341
  */
342
- ServiceSoftwareOptions?: ServiceSoftwareOptions;
342
+ ServiceSoftwareOptions?: ServiceSoftwareOptions | undefined;
343
343
  }
344
344
  /**
345
345
  * @public
@@ -354,12 +354,12 @@ export interface UpdateApplicationRequest {
354
354
  * <p>Data sources to be associated with the OpenSearch Application.</p>
355
355
  * @public
356
356
  */
357
- dataSources?: DataSource[];
357
+ dataSources?: DataSource[] | undefined;
358
358
  /**
359
359
  * <p>Configurations to be changed for the OpenSearch Application.</p>
360
360
  * @public
361
361
  */
362
- appConfigs?: AppConfig[];
362
+ appConfigs?: AppConfig[] | undefined;
363
363
  }
364
364
  /**
365
365
  * @public
@@ -369,44 +369,44 @@ export interface UpdateApplicationResponse {
369
369
  * <p>Unique identifier of the updated OpenSearch Application.</p>
370
370
  * @public
371
371
  */
372
- id?: string;
372
+ id?: string | undefined;
373
373
  /**
374
374
  * <p>Name of the updated OpenSearch Application.</p>
375
375
  * @public
376
376
  */
377
- name?: string;
377
+ name?: string | undefined;
378
378
  /**
379
379
  * <p>The Amazon Resource Name (ARN) of the domain. See <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/index.html">Identifiers for IAM Entities
380
380
  * </a> in <i>Using Amazon Web Services Identity and Access Management</i> for more information.
381
381
  * </p>
382
382
  * @public
383
383
  */
384
- arn?: string;
384
+ arn?: string | undefined;
385
385
  /**
386
386
  * <p>Data sources associated with the updated OpenSearch Application.</p>
387
387
  * @public
388
388
  */
389
- dataSources?: DataSource[];
389
+ dataSources?: DataSource[] | undefined;
390
390
  /**
391
391
  * <p>IAM Identity Center settings for the updated OpenSearch Application.</p>
392
392
  * @public
393
393
  */
394
- iamIdentityCenterOptions?: IamIdentityCenterOptions;
394
+ iamIdentityCenterOptions?: IamIdentityCenterOptions | undefined;
395
395
  /**
396
396
  * <p>Configurations for the updated OpenSearch Application.</p>
397
397
  * @public
398
398
  */
399
- appConfigs?: AppConfig[];
399
+ appConfigs?: AppConfig[] | undefined;
400
400
  /**
401
401
  * <p>Timestamp at which the OpenSearch Application was created.</p>
402
402
  * @public
403
403
  */
404
- createdAt?: Date;
404
+ createdAt?: Date | undefined;
405
405
  /**
406
406
  * <p>Timestamp at which the OpenSearch Application was last updated.</p>
407
407
  * @public
408
408
  */
409
- lastUpdatedAt?: Date;
409
+ lastUpdatedAt?: Date | undefined;
410
410
  }
411
411
  /**
412
412
  * <p>Container for the parameters to the <code>UpdateDataSource</code>
@@ -433,12 +433,12 @@ export interface UpdateDataSourceRequest {
433
433
  * <p>A new description of the data source.</p>
434
434
  * @public
435
435
  */
436
- Description?: string;
436
+ Description?: string | undefined;
437
437
  /**
438
438
  * <p>The status of the data source update.</p>
439
439
  * @public
440
440
  */
441
- Status?: DataSourceStatus;
441
+ Status?: DataSourceStatus | undefined;
442
442
  }
443
443
  /**
444
444
  * <p>The result of an <code>UpdateDataSource</code> operation.</p>
@@ -449,7 +449,7 @@ export interface UpdateDataSourceResponse {
449
449
  * <p>A message associated with the updated data source.</p>
450
450
  * @public
451
451
  */
452
- Message?: string;
452
+ Message?: string | undefined;
453
453
  }
454
454
  /**
455
455
  * @public
@@ -478,30 +478,30 @@ export interface UpdateDomainConfigRequest {
478
478
  * number of EC2 instances.</p>
479
479
  * @public
480
480
  */
481
- ClusterConfig?: ClusterConfig;
481
+ ClusterConfig?: ClusterConfig | undefined;
482
482
  /**
483
483
  * <p>The type and size of the EBS volume to attach to instances in the domain.</p>
484
484
  * @public
485
485
  */
486
- EBSOptions?: EBSOptions;
486
+ EBSOptions?: EBSOptions | undefined;
487
487
  /**
488
488
  * <p>Option to set the time, in UTC format, for the daily automated snapshot. Default value is <code>0</code> hours.
489
489
  * </p>
490
490
  * @public
491
491
  */
492
- SnapshotOptions?: SnapshotOptions;
492
+ SnapshotOptions?: SnapshotOptions | undefined;
493
493
  /**
494
494
  * <p>Options to specify the subnets and security groups for a VPC endpoint. For more information,
495
495
  * see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/vpc.html">Launching
496
496
  * your Amazon OpenSearch Service domains using a VPC</a>.</p>
497
497
  * @public
498
498
  */
499
- VPCOptions?: VPCOptions;
499
+ VPCOptions?: VPCOptions | undefined;
500
500
  /**
501
501
  * <p>Key-value pairs to configure Amazon Cognito authentication for OpenSearch Dashboards.</p>
502
502
  * @public
503
503
  */
504
- CognitoOptions?: CognitoOptions;
504
+ CognitoOptions?: CognitoOptions | undefined;
505
505
  /**
506
506
  * <p>Key-value pairs to specify advanced configuration options. The following key-value pairs are
507
507
  * supported:</p>
@@ -531,12 +531,12 @@ export interface UpdateDomainConfigRequest {
531
531
  * <p>For more information, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/createupdatedomains.html#createdomain-configure-advanced-options">Advanced cluster parameters</a>.</p>
532
532
  * @public
533
533
  */
534
- AdvancedOptions?: Record<string, string>;
534
+ AdvancedOptions?: Record<string, string> | undefined;
535
535
  /**
536
536
  * <p>Identity and Access Management (IAM) access policy as a JSON-formatted string.</p>
537
537
  * @public
538
538
  */
539
- AccessPolicies?: string;
539
+ AccessPolicies?: string | undefined;
540
540
  /**
541
541
  * <p>Specify either dual stack or IPv4 as your IP address type. Dual stack allows you to share domain resources across
542
542
  * IPv4 and IPv6 address types, and is the recommended option.
@@ -544,50 +544,50 @@ export interface UpdateDomainConfigRequest {
544
544
  * </p>
545
545
  * @public
546
546
  */
547
- IPAddressType?: IPAddressType;
547
+ IPAddressType?: IPAddressType | undefined;
548
548
  /**
549
549
  * <p>Options to publish OpenSearch logs to Amazon CloudWatch Logs.</p>
550
550
  * @public
551
551
  */
552
- LogPublishingOptions?: Partial<Record<LogType, LogPublishingOption>>;
552
+ LogPublishingOptions?: Partial<Record<LogType, LogPublishingOption>> | undefined;
553
553
  /**
554
554
  * <p>Encryption at rest options for the domain.</p>
555
555
  * @public
556
556
  */
557
- EncryptionAtRestOptions?: EncryptionAtRestOptions;
557
+ EncryptionAtRestOptions?: EncryptionAtRestOptions | undefined;
558
558
  /**
559
559
  * <p>Additional options for the domain endpoint, such as whether to require HTTPS for all
560
560
  * traffic.</p>
561
561
  * @public
562
562
  */
563
- DomainEndpointOptions?: DomainEndpointOptions;
563
+ DomainEndpointOptions?: DomainEndpointOptions | undefined;
564
564
  /**
565
565
  * <p>Node-to-node encryption options for the domain.</p>
566
566
  * @public
567
567
  */
568
- NodeToNodeEncryptionOptions?: NodeToNodeEncryptionOptions;
568
+ NodeToNodeEncryptionOptions?: NodeToNodeEncryptionOptions | undefined;
569
569
  /**
570
570
  * <p>Options for fine-grained access control.</p>
571
571
  * @public
572
572
  */
573
- AdvancedSecurityOptions?: AdvancedSecurityOptionsInput;
573
+ AdvancedSecurityOptions?: AdvancedSecurityOptionsInput | undefined;
574
574
  /**
575
575
  * <p>Container for IAM Identity Center Options settings.</p>
576
576
  * @public
577
577
  */
578
- IdentityCenterOptions?: IdentityCenterOptionsInput;
578
+ IdentityCenterOptions?: IdentityCenterOptionsInput | undefined;
579
579
  /**
580
580
  * <p>Options for Auto-Tune.</p>
581
581
  * @public
582
582
  */
583
- AutoTuneOptions?: AutoTuneOptions;
583
+ AutoTuneOptions?: AutoTuneOptions | undefined;
584
584
  /**
585
585
  * <p>This flag, when set to True, specifies whether the <code>UpdateDomain</code> request should
586
586
  * return the results of a dry run analysis without actually applying the change. A dry run
587
587
  * determines what type of deployment the update will cause.</p>
588
588
  * @public
589
589
  */
590
- DryRun?: boolean;
590
+ DryRun?: boolean | undefined;
591
591
  /**
592
592
  * <p>The type of dry run to perform.</p>
593
593
  * <ul>
@@ -604,22 +604,22 @@ export interface UpdateDomainConfigRequest {
604
604
  * </ul>
605
605
  * @public
606
606
  */
607
- DryRunMode?: DryRunMode;
607
+ DryRunMode?: DryRunMode | undefined;
608
608
  /**
609
609
  * <p>Off-peak window options for the domain.</p>
610
610
  * @public
611
611
  */
612
- OffPeakWindowOptions?: OffPeakWindowOptions;
612
+ OffPeakWindowOptions?: OffPeakWindowOptions | undefined;
613
613
  /**
614
614
  * <p>Service software update options for the domain.</p>
615
615
  * @public
616
616
  */
617
- SoftwareUpdateOptions?: SoftwareUpdateOptions;
617
+ SoftwareUpdateOptions?: SoftwareUpdateOptions | undefined;
618
618
  /**
619
619
  * <p>Options for all machine learning features for the specified domain.</p>
620
620
  * @public
621
621
  */
622
- AIMLOptions?: AIMLOptionsInput;
622
+ AIMLOptions?: AIMLOptionsInput | undefined;
623
623
  }
624
624
  /**
625
625
  * <p>The results of an <code>UpdateDomain</code> request. Contains the status of the domain being
@@ -636,12 +636,12 @@ export interface UpdateDomainConfigResponse {
636
636
  * <p>Results of the dry run performed in the update domain request.</p>
637
637
  * @public
638
638
  */
639
- DryRunResults?: DryRunResults;
639
+ DryRunResults?: DryRunResults | undefined;
640
640
  /**
641
641
  * <p>The status of the dry run being performed on the domain, if any.</p>
642
642
  * @public
643
643
  */
644
- DryRunProgressStatus?: DryRunProgressStatus;
644
+ DryRunProgressStatus?: DryRunProgressStatus | undefined;
645
645
  }
646
646
  /**
647
647
  * <p>Container for request parameters to the <code>UpdatePackage</code> operation.</p>
@@ -662,23 +662,23 @@ export interface UpdatePackageRequest {
662
662
  * <p>A new description of the package.</p>
663
663
  * @public
664
664
  */
665
- PackageDescription?: string;
665
+ PackageDescription?: string | undefined;
666
666
  /**
667
667
  * <p>Commit message for the updated file, which is shown as part of
668
668
  * <code>GetPackageVersionHistoryResponse</code>.</p>
669
669
  * @public
670
670
  */
671
- CommitMessage?: string;
671
+ CommitMessage?: string | undefined;
672
672
  /**
673
673
  * <p>The updated configuration details for a package.</p>
674
674
  * @public
675
675
  */
676
- PackageConfiguration?: PackageConfiguration;
676
+ PackageConfiguration?: PackageConfiguration | undefined;
677
677
  /**
678
678
  * <p>Encryption options for a package.</p>
679
679
  * @public
680
680
  */
681
- PackageEncryptionOptions?: PackageEncryptionOptions;
681
+ PackageEncryptionOptions?: PackageEncryptionOptions | undefined;
682
682
  }
683
683
  /**
684
684
  * <p>Container for the response returned by the <code>UpdatePackage</code> operation.</p>
@@ -689,7 +689,7 @@ export interface UpdatePackageResponse {
689
689
  * <p>Information about a package.</p>
690
690
  * @public
691
691
  */
692
- PackageDetails?: PackageDetails;
692
+ PackageDetails?: PackageDetails | undefined;
693
693
  }
694
694
  /**
695
695
  * @public
@@ -732,17 +732,17 @@ export interface UpdatePackageScopeResponse {
732
732
  * <p> ID of the package whose scope was updated.</p>
733
733
  * @public
734
734
  */
735
- PackageID?: string;
735
+ PackageID?: string | undefined;
736
736
  /**
737
737
  * <p>The operation that was performed on the package scope.</p>
738
738
  * @public
739
739
  */
740
- Operation?: PackageScopeOperationEnum;
740
+ Operation?: PackageScopeOperationEnum | undefined;
741
741
  /**
742
742
  * <p> List of users who have access to the package after the scope update.</p>
743
743
  * @public
744
744
  */
745
- PackageUserList?: string[];
745
+ PackageUserList?: string[] | undefined;
746
746
  }
747
747
  /**
748
748
  * <p>An exception for attempting to schedule a domain action during an unavailable time slot.</p>
@@ -755,7 +755,7 @@ export declare class SlotNotAvailableException extends __BaseException {
755
755
  * <p>Alternate time slots during which OpenSearch Service has available capacity to schedule a domain action.</p>
756
756
  * @public
757
757
  */
758
- SlotSuggestions?: number[];
758
+ SlotSuggestions?: number[] | undefined;
759
759
  /**
760
760
  * @internal
761
761
  */
@@ -809,7 +809,7 @@ export interface UpdateScheduledActionRequest {
809
809
  * parameter if you set <code>ScheduleAt</code> to <code>TIMESTAMP</code>.</p>
810
810
  * @public
811
811
  */
812
- DesiredStartTime?: number;
812
+ DesiredStartTime?: number | undefined;
813
813
  }
814
814
  /**
815
815
  * @public
@@ -819,7 +819,7 @@ export interface UpdateScheduledActionResponse {
819
819
  * <p>Information about the rescheduled action.</p>
820
820
  * @public
821
821
  */
822
- ScheduledAction?: ScheduledAction;
822
+ ScheduledAction?: ScheduledAction | undefined;
823
823
  }
824
824
  /**
825
825
  * @public
@@ -867,7 +867,7 @@ export interface UpgradeDomainRequest {
867
867
  * actually perform the upgrade.</p>
868
868
  * @public
869
869
  */
870
- PerformCheckOnly?: boolean;
870
+ PerformCheckOnly?: boolean | undefined;
871
871
  /**
872
872
  * <p>Only supports the <code>override_main_response_version</code> parameter and not other
873
873
  * advanced options. You can only include this option when upgrading to an OpenSearch version.
@@ -875,7 +875,7 @@ export interface UpgradeDomainRequest {
875
875
  * Elasticsearch OSS clients and plugins.</p>
876
876
  * @public
877
877
  */
878
- AdvancedOptions?: Record<string, string>;
878
+ AdvancedOptions?: Record<string, string> | undefined;
879
879
  }
880
880
  /**
881
881
  * <p>Container for the response returned by <code>UpgradeDomain</code> operation.</p>
@@ -886,32 +886,32 @@ export interface UpgradeDomainResponse {
886
886
  * <p>The unique identifier of the domain upgrade.</p>
887
887
  * @public
888
888
  */
889
- UpgradeId?: string;
889
+ UpgradeId?: string | undefined;
890
890
  /**
891
891
  * <p>The name of the domain that was upgraded.</p>
892
892
  * @public
893
893
  */
894
- DomainName?: string;
894
+ DomainName?: string | undefined;
895
895
  /**
896
896
  * <p>OpenSearch or Elasticsearch version that the domain was upgraded to.</p>
897
897
  * @public
898
898
  */
899
- TargetVersion?: string;
899
+ TargetVersion?: string | undefined;
900
900
  /**
901
901
  * <p>When true, indicates that an upgrade eligibility check was performed.</p>
902
902
  * @public
903
903
  */
904
- PerformCheckOnly?: boolean;
904
+ PerformCheckOnly?: boolean | undefined;
905
905
  /**
906
906
  * <p>The advanced options configuration for the domain.</p>
907
907
  * @public
908
908
  */
909
- AdvancedOptions?: Record<string, string>;
909
+ AdvancedOptions?: Record<string, string> | undefined;
910
910
  /**
911
911
  * <p>Container for information about a configuration change happening on a domain.</p>
912
912
  * @public
913
913
  */
914
- ChangeProgressDetails?: ChangeProgressDetails;
914
+ ChangeProgressDetails?: ChangeProgressDetails | undefined;
915
915
  }
916
916
  /**
917
917
  * @internal