@aws-sdk/client-opensearch 3.1034.0 → 3.1035.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 (33) hide show
  1. package/README.md +7 -0
  2. package/dist-cjs/index.js +14 -0
  3. package/dist-cjs/schemas/schemas_0.js +30 -6
  4. package/dist-es/OpenSearch.js +2 -0
  5. package/dist-es/commands/RollbackServiceSoftwareUpdateCommand.js +16 -0
  6. package/dist-es/commands/index.js +1 -0
  7. package/dist-es/schemas/schemas_0.js +26 -2
  8. package/dist-types/OpenSearch.d.ts +7 -0
  9. package/dist-types/OpenSearchClient.d.ts +3 -2
  10. package/dist-types/commands/CreateDomainCommand.d.ts +2 -0
  11. package/dist-types/commands/DeleteDomainCommand.d.ts +1 -0
  12. package/dist-types/commands/DescribeDomainCommand.d.ts +1 -0
  13. package/dist-types/commands/DescribeDomainConfigCommand.d.ts +1 -0
  14. package/dist-types/commands/DescribeDomainsCommand.d.ts +1 -0
  15. package/dist-types/commands/DescribeDryRunProgressCommand.d.ts +1 -0
  16. package/dist-types/commands/RollbackServiceSoftwareUpdateCommand.d.ts +96 -0
  17. package/dist-types/commands/UpdateApplicationCommand.d.ts +1 -1
  18. package/dist-types/commands/UpdateDataSourceCommand.d.ts +1 -2
  19. package/dist-types/commands/UpdateDomainConfigCommand.d.ts +2 -0
  20. package/dist-types/commands/index.d.ts +1 -0
  21. package/dist-types/models/models_0.d.ts +56 -98
  22. package/dist-types/models/models_1.d.ts +100 -2
  23. package/dist-types/schemas/schemas_0.d.ts +4 -0
  24. package/dist-types/ts3.4/OpenSearch.d.ts +17 -0
  25. package/dist-types/ts3.4/OpenSearchClient.d.ts +6 -0
  26. package/dist-types/ts3.4/commands/RollbackServiceSoftwareUpdateCommand.d.ts +51 -0
  27. package/dist-types/ts3.4/commands/UpdateApplicationCommand.d.ts +1 -1
  28. package/dist-types/ts3.4/commands/UpdateDataSourceCommand.d.ts +4 -2
  29. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  30. package/dist-types/ts3.4/models/models_0.d.ts +13 -22
  31. package/dist-types/ts3.4/models/models_1.d.ts +27 -0
  32. package/dist-types/ts3.4/schemas/schemas_0.d.ts +4 -0
  33. package/package.json +5 -5
package/README.md CHANGED
@@ -710,6 +710,13 @@ RevokeVpcEndpointAccess
710
710
  </details>
711
711
  <details>
712
712
  <summary>
713
+ RollbackServiceSoftwareUpdate
714
+ </summary>
715
+
716
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/opensearch/command/RollbackServiceSoftwareUpdateCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-opensearch/Interface/RollbackServiceSoftwareUpdateCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-opensearch/Interface/RollbackServiceSoftwareUpdateCommandOutput/)
717
+ </details>
718
+ <details>
719
+ <summary>
713
720
  StartDomainMaintenance
714
721
  </summary>
715
722
 
package/dist-cjs/index.js CHANGED
@@ -1013,6 +1013,18 @@ class RevokeVpcEndpointAccessCommand extends smithyClient.Command
1013
1013
  .build() {
1014
1014
  }
1015
1015
 
1016
+ class RollbackServiceSoftwareUpdateCommand extends smithyClient.Command
1017
+ .classBuilder()
1018
+ .ep(commonParams)
1019
+ .m(function (Command, cs, config, o) {
1020
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1021
+ })
1022
+ .s("AmazonOpenSearchService", "RollbackServiceSoftwareUpdate", {})
1023
+ .n("OpenSearchClient", "RollbackServiceSoftwareUpdateCommand")
1024
+ .sc(schemas_0.RollbackServiceSoftwareUpdate$)
1025
+ .build() {
1026
+ }
1027
+
1016
1028
  class StartDomainMaintenanceCommand extends smithyClient.Command
1017
1029
  .classBuilder()
1018
1030
  .ep(commonParams)
@@ -1263,6 +1275,7 @@ const commands = {
1263
1275
  RejectInboundConnectionCommand,
1264
1276
  RemoveTagsCommand,
1265
1277
  RevokeVpcEndpointAccessCommand,
1278
+ RollbackServiceSoftwareUpdateCommand,
1266
1279
  StartDomainMaintenanceCommand,
1267
1280
  StartServiceSoftwareUpdateCommand,
1268
1281
  UpdateApplicationCommand,
@@ -1918,6 +1931,7 @@ exports.ReservedInstancePaymentOption = ReservedInstancePaymentOption;
1918
1931
  exports.RevokeVpcEndpointAccessCommand = RevokeVpcEndpointAccessCommand;
1919
1932
  exports.RolesKeyIdCOption = RolesKeyIdCOption;
1920
1933
  exports.RollbackOnDisable = RollbackOnDisable;
1934
+ exports.RollbackServiceSoftwareUpdateCommand = RollbackServiceSoftwareUpdateCommand;
1921
1935
  exports.ScheduleAt = ScheduleAt;
1922
1936
  exports.ScheduledAutoTuneActionType = ScheduledAutoTuneActionType;
1923
1937
  exports.ScheduledAutoTuneSeverityType = ScheduledAutoTuneSeverityType;
@@ -5,10 +5,10 @@ exports.DeletePackageResponse$ = exports.DeletePackageRequest$ = exports.DeleteO
5
5
  exports.DomainMaintenanceDetails$ = exports.DomainInformationContainer$ = exports.DomainInfo$ = exports.DomainEndpointOptionsStatus$ = exports.DomainEndpointOptions$ = exports.DomainConfig$ = exports.DissociatePackagesResponse$ = exports.DissociatePackagesRequest$ = exports.DissociatePackageResponse$ = exports.DissociatePackageRequest$ = exports.DirectQueryDataSource$ = exports.DescribeVpcEndpointsResponse$ = exports.DescribeVpcEndpointsRequest$ = exports.DescribeReservedInstancesResponse$ = exports.DescribeReservedInstancesRequest$ = exports.DescribeReservedInstanceOfferingsResponse$ = exports.DescribeReservedInstanceOfferingsRequest$ = exports.DescribePackagesResponse$ = exports.DescribePackagesRequest$ = exports.DescribePackagesFilter$ = exports.DescribeOutboundConnectionsResponse$ = exports.DescribeOutboundConnectionsRequest$ = exports.DescribeInstanceTypeLimitsResponse$ = exports.DescribeInstanceTypeLimitsRequest$ = exports.DescribeInsightDetailsResponse$ = exports.DescribeInsightDetailsRequest$ = exports.DescribeInboundConnectionsResponse$ = exports.DescribeInboundConnectionsRequest$ = exports.DescribeDryRunProgressResponse$ = exports.DescribeDryRunProgressRequest$ = exports.DescribeDomainsResponse$ = exports.DescribeDomainsRequest$ = exports.DescribeDomainResponse$ = exports.DescribeDomainRequest$ = exports.DescribeDomainNodesResponse$ = exports.DescribeDomainNodesRequest$ = exports.DescribeDomainHealthResponse$ = exports.DescribeDomainHealthRequest$ = exports.DescribeDomainConfigResponse$ = exports.DescribeDomainConfigRequest$ = exports.DescribeDomainChangeProgressResponse$ = exports.DescribeDomainChangeProgressRequest$ = exports.DescribeDomainAutoTunesResponse$ = exports.DescribeDomainAutoTunesRequest$ = exports.DeregisterCapabilityResponse$ = exports.DeregisterCapabilityRequest$ = exports.DeploymentStrategyOptionsStatus$ = exports.DeploymentStrategyOptions$ = exports.DeleteVpcEndpointResponse$ = exports.DeleteVpcEndpointRequest$ = void 0;
6
6
  exports.InstanceLimits$ = exports.InstanceCountLimits$ = exports.InsightTimeRange$ = exports.InsightField$ = exports.InsightEntity$ = exports.Insight$ = exports.InboundConnectionStatus$ = exports.InboundConnection$ = exports.IdentityCenterOptionsStatus$ = exports.IdentityCenterOptionsInput$ = exports.IdentityCenterOptions$ = exports.IamIdentityCenterOptionsInput$ = exports.IamIdentityCenterOptions$ = exports.IAMFederationOptionsOutput$ = exports.IAMFederationOptionsInput$ = exports.GetUpgradeStatusResponse$ = exports.GetUpgradeStatusRequest$ = exports.GetUpgradeHistoryResponse$ = exports.GetUpgradeHistoryRequest$ = exports.GetPackageVersionHistoryResponse$ = exports.GetPackageVersionHistoryRequest$ = exports.GetIndexResponse$ = exports.GetIndexRequest$ = exports.GetDomainMaintenanceStatusResponse$ = exports.GetDomainMaintenanceStatusRequest$ = exports.GetDirectQueryDataSourceResponse$ = exports.GetDirectQueryDataSourceRequest$ = exports.GetDefaultApplicationSettingResponse$ = exports.GetDefaultApplicationSettingRequest$ = exports.GetDataSourceResponse$ = exports.GetDataSourceRequest$ = exports.GetCompatibleVersionsResponse$ = exports.GetCompatibleVersionsRequest$ = exports.GetCapabilityResponse$ = exports.GetCapabilityRequest$ = exports.GetApplicationResponse$ = exports.GetApplicationRequest$ = exports.Filter$ = exports.ErrorDetails$ = exports.EnvironmentInfo$ = exports.EncryptionAtRestOptionsStatus$ = exports.EncryptionAtRestOptions$ = exports.EBSOptionsStatus$ = exports.EBSOptions$ = exports.Duration$ = exports.DryRunResults$ = exports.DryRunProgressStatus$ = exports.DomainStatus$ = exports.DomainPackageDetails$ = exports.DomainNodesStatus$ = void 0;
7
7
  exports.OptionStatus$ = exports.OffPeakWindowOptionsStatus$ = exports.OffPeakWindowOptions$ = exports.OffPeakWindow$ = exports.NodeToNodeEncryptionOptionsStatus$ = exports.NodeToNodeEncryptionOptions$ = exports.NodeOption$ = exports.NodeConfig$ = exports.NaturalLanguageQueryGenerationOptionsOutput$ = exports.NaturalLanguageQueryGenerationOptionsInput$ = exports.ModifyingProperties$ = exports.MasterUserOptions$ = exports.LogPublishingOptionsStatus$ = exports.LogPublishingOption$ = exports.ListVpcEndpointsResponse$ = exports.ListVpcEndpointsRequest$ = exports.ListVpcEndpointsForDomainResponse$ = exports.ListVpcEndpointsForDomainRequest$ = exports.ListVpcEndpointAccessResponse$ = exports.ListVpcEndpointAccessRequest$ = exports.ListVersionsResponse$ = exports.ListVersionsRequest$ = exports.ListTagsResponse$ = exports.ListTagsRequest$ = exports.ListScheduledActionsResponse$ = exports.ListScheduledActionsRequest$ = exports.ListPackagesForDomainResponse$ = exports.ListPackagesForDomainRequest$ = exports.ListInstanceTypeDetailsResponse$ = exports.ListInstanceTypeDetailsRequest$ = exports.ListInsightsResponse$ = exports.ListInsightsRequest$ = exports.ListDomainsForPackageResponse$ = exports.ListDomainsForPackageRequest$ = exports.ListDomainNamesResponse$ = exports.ListDomainNamesRequest$ = exports.ListDomainMaintenancesResponse$ = exports.ListDomainMaintenancesRequest$ = exports.ListDirectQueryDataSourcesResponse$ = exports.ListDirectQueryDataSourcesRequest$ = exports.ListDataSourcesResponse$ = exports.ListDataSourcesRequest$ = exports.ListApplicationsResponse$ = exports.ListApplicationsRequest$ = exports.Limits$ = exports.KeyStoreAccessOption$ = exports.JWTOptionsOutput$ = exports.JWTOptionsInput$ = exports.IPAddressTypeStatus$ = exports.InstanceTypeDetails$ = void 0;
8
- exports.UpdateDataSourceRequest$ = exports.UpdateApplicationResponse$ = exports.UpdateApplicationRequest$ = exports.Tag$ = exports.StorageTypeLimit$ = exports.StorageType$ = exports.StartServiceSoftwareUpdateResponse$ = exports.StartServiceSoftwareUpdateRequest$ = exports.StartDomainMaintenanceResponse$ = exports.StartDomainMaintenanceRequest$ = exports.SoftwareUpdateOptionsStatus$ = exports.SoftwareUpdateOptions$ = exports.SnapshotOptionsStatus$ = exports.SnapshotOptions$ = exports.ServiceSoftwareOptions$ = exports.ServerlessVectorAcceleration$ = exports.SecurityLakeDirectQueryDataSource$ = exports.ScheduledAutoTuneDetails$ = exports.ScheduledAction$ = exports.SAMLOptionsOutput$ = exports.SAMLOptionsInput$ = exports.SAMLIdp$ = exports.S3VectorsEngine$ = exports.S3GlueDataCatalog$ = exports.RevokeVpcEndpointAccessResponse$ = exports.RevokeVpcEndpointAccessRequest$ = exports.ReservedInstanceOffering$ = exports.ReservedInstance$ = exports.RemoveTagsRequest$ = exports.RejectInboundConnectionResponse$ = exports.RejectInboundConnectionRequest$ = exports.RegisterCapabilityResponse$ = exports.RegisterCapabilityRequest$ = exports.RecurringCharge$ = exports.PutDefaultApplicationSettingResponse$ = exports.PutDefaultApplicationSettingRequest$ = exports.PurchaseReservedInstanceOfferingResponse$ = exports.PurchaseReservedInstanceOfferingRequest$ = exports.PrometheusDirectQueryDataSource$ = exports.PluginProperties$ = exports.PackageVersionHistory$ = exports.PackageVendingOptions$ = exports.PackageSource$ = exports.PackageEncryptionOptions$ = exports.PackageDetailsForAssociation$ = exports.PackageDetails$ = exports.PackageConfiguration$ = exports.PackageAssociationConfiguration$ = exports.OutboundConnectionStatus$ = exports.OutboundConnection$ = void 0;
9
- exports.DeleteApplication$ = exports.CreateVpcEndpoint$ = exports.CreatePackage$ = exports.CreateOutboundConnection$ = exports.CreateIndex$ = exports.CreateDomain$ = exports.CreateApplication$ = exports.CancelServiceSoftwareUpdate$ = exports.CancelDomainConfigChange$ = exports.AuthorizeVpcEndpointAccess$ = exports.AssociatePackages$ = exports.AssociatePackage$ = exports.AddTags$ = exports.AddDirectQueryDataSource$ = exports.AddDataSource$ = exports.AcceptInboundConnection$ = exports.DirectQueryDataSourceType$ = exports.DataSourceType$ = exports.CapabilityExtendedResponseConfig$ = exports.CapabilityBaseResponseConfig$ = exports.CapabilityBaseRequestConfig$ = exports.ZoneAwarenessConfig$ = exports.WindowStartTime$ = exports.VPCOptions$ = exports.VpcEndpointSummary$ = exports.VpcEndpointError$ = exports.VpcEndpoint$ = exports.VPCDerivedInfoStatus$ = exports.VPCDerivedInfo$ = exports.VersionStatus$ = exports.ValidationFailure$ = exports.UpgradeStepItem$ = exports.UpgradeHistory$ = exports.UpgradeDomainResponse$ = exports.UpgradeDomainRequest$ = exports.UpdateVpcEndpointResponse$ = exports.UpdateVpcEndpointRequest$ = exports.UpdateScheduledActionResponse$ = exports.UpdateScheduledActionRequest$ = exports.UpdatePackageScopeResponse$ = exports.UpdatePackageScopeRequest$ = exports.UpdatePackageResponse$ = exports.UpdatePackageRequest$ = exports.UpdateIndexResponse$ = exports.UpdateIndexRequest$ = exports.UpdateDomainConfigResponse$ = exports.UpdateDomainConfigRequest$ = exports.UpdateDirectQueryDataSourceResponse$ = exports.UpdateDirectQueryDataSourceRequest$ = exports.UpdateDataSourceResponse$ = void 0;
10
- exports.ListVersions$ = exports.ListTags$ = exports.ListScheduledActions$ = exports.ListPackagesForDomain$ = exports.ListInstanceTypeDetails$ = exports.ListInsights$ = exports.ListDomainsForPackage$ = exports.ListDomainNames$ = exports.ListDomainMaintenances$ = exports.ListDirectQueryDataSources$ = exports.ListDataSources$ = exports.ListApplications$ = exports.GetUpgradeStatus$ = exports.GetUpgradeHistory$ = exports.GetPackageVersionHistory$ = exports.GetIndex$ = exports.GetDomainMaintenanceStatus$ = exports.GetDirectQueryDataSource$ = exports.GetDefaultApplicationSetting$ = exports.GetDataSource$ = exports.GetCompatibleVersions$ = exports.GetCapability$ = exports.GetApplication$ = exports.DissociatePackages$ = exports.DissociatePackage$ = exports.DescribeVpcEndpoints$ = exports.DescribeReservedInstances$ = exports.DescribeReservedInstanceOfferings$ = exports.DescribePackages$ = exports.DescribeOutboundConnections$ = exports.DescribeInstanceTypeLimits$ = exports.DescribeInsightDetails$ = exports.DescribeInboundConnections$ = exports.DescribeDryRunProgress$ = exports.DescribeDomains$ = exports.DescribeDomainNodes$ = exports.DescribeDomainHealth$ = exports.DescribeDomainConfig$ = exports.DescribeDomainChangeProgress$ = exports.DescribeDomainAutoTunes$ = exports.DescribeDomain$ = exports.DeregisterCapability$ = exports.DeleteVpcEndpoint$ = exports.DeletePackage$ = exports.DeleteOutboundConnection$ = exports.DeleteIndex$ = exports.DeleteInboundConnection$ = exports.DeleteDomain$ = exports.DeleteDirectQueryDataSource$ = exports.DeleteDataSource$ = void 0;
11
- exports.UpgradeDomain$ = exports.UpdateVpcEndpoint$ = exports.UpdateScheduledAction$ = exports.UpdatePackageScope$ = exports.UpdatePackage$ = exports.UpdateIndex$ = exports.UpdateDomainConfig$ = exports.UpdateDirectQueryDataSource$ = exports.UpdateDataSource$ = exports.UpdateApplication$ = exports.StartServiceSoftwareUpdate$ = exports.StartDomainMaintenance$ = exports.RevokeVpcEndpointAccess$ = exports.RemoveTags$ = exports.RejectInboundConnection$ = exports.RegisterCapability$ = exports.PutDefaultApplicationSetting$ = exports.PurchaseReservedInstanceOffering$ = exports.ListVpcEndpointsForDomain$ = exports.ListVpcEndpoints$ = exports.ListVpcEndpointAccess$ = void 0;
8
+ exports.Tag$ = exports.StorageTypeLimit$ = exports.StorageType$ = exports.StartServiceSoftwareUpdateResponse$ = exports.StartServiceSoftwareUpdateRequest$ = exports.StartDomainMaintenanceResponse$ = exports.StartDomainMaintenanceRequest$ = exports.SoftwareUpdateOptionsStatus$ = exports.SoftwareUpdateOptions$ = exports.SnapshotOptionsStatus$ = exports.SnapshotOptions$ = exports.ServiceSoftwareOptions$ = exports.ServerlessVectorAcceleration$ = exports.SecurityLakeDirectQueryDataSource$ = exports.ScheduledAutoTuneDetails$ = exports.ScheduledAction$ = exports.SAMLOptionsOutput$ = exports.SAMLOptionsInput$ = exports.SAMLIdp$ = exports.S3VectorsEngine$ = exports.S3GlueDataCatalog$ = exports.RollbackServiceSoftwareUpdateResponse$ = exports.RollbackServiceSoftwareUpdateRequest$ = exports.RollbackServiceSoftwareOptions$ = exports.RevokeVpcEndpointAccessResponse$ = exports.RevokeVpcEndpointAccessRequest$ = exports.ReservedInstanceOffering$ = exports.ReservedInstance$ = exports.RemoveTagsRequest$ = exports.RejectInboundConnectionResponse$ = exports.RejectInboundConnectionRequest$ = exports.RegisterCapabilityResponse$ = exports.RegisterCapabilityRequest$ = exports.RecurringCharge$ = exports.PutDefaultApplicationSettingResponse$ = exports.PutDefaultApplicationSettingRequest$ = exports.PurchaseReservedInstanceOfferingResponse$ = exports.PurchaseReservedInstanceOfferingRequest$ = exports.PrometheusDirectQueryDataSource$ = exports.PluginProperties$ = exports.PackageVersionHistory$ = exports.PackageVendingOptions$ = exports.PackageSource$ = exports.PackageEncryptionOptions$ = exports.PackageDetailsForAssociation$ = exports.PackageDetails$ = exports.PackageConfiguration$ = exports.PackageAssociationConfiguration$ = exports.OutboundConnectionStatus$ = exports.OutboundConnection$ = void 0;
9
+ exports.CreateOutboundConnection$ = exports.CreateIndex$ = exports.CreateDomain$ = exports.CreateApplication$ = exports.CancelServiceSoftwareUpdate$ = exports.CancelDomainConfigChange$ = exports.AuthorizeVpcEndpointAccess$ = exports.AssociatePackages$ = exports.AssociatePackage$ = exports.AddTags$ = exports.AddDirectQueryDataSource$ = exports.AddDataSource$ = exports.AcceptInboundConnection$ = exports.DirectQueryDataSourceType$ = exports.DataSourceType$ = exports.CapabilityExtendedResponseConfig$ = exports.CapabilityBaseResponseConfig$ = exports.CapabilityBaseRequestConfig$ = exports.ZoneAwarenessConfig$ = exports.WindowStartTime$ = exports.VPCOptions$ = exports.VpcEndpointSummary$ = exports.VpcEndpointError$ = exports.VpcEndpoint$ = exports.VPCDerivedInfoStatus$ = exports.VPCDerivedInfo$ = exports.VersionStatus$ = exports.ValidationFailure$ = exports.UpgradeStepItem$ = exports.UpgradeHistory$ = exports.UpgradeDomainResponse$ = exports.UpgradeDomainRequest$ = exports.UpdateVpcEndpointResponse$ = exports.UpdateVpcEndpointRequest$ = exports.UpdateScheduledActionResponse$ = exports.UpdateScheduledActionRequest$ = exports.UpdatePackageScopeResponse$ = exports.UpdatePackageScopeRequest$ = exports.UpdatePackageResponse$ = exports.UpdatePackageRequest$ = exports.UpdateIndexResponse$ = exports.UpdateIndexRequest$ = exports.UpdateDomainConfigResponse$ = exports.UpdateDomainConfigRequest$ = exports.UpdateDirectQueryDataSourceResponse$ = exports.UpdateDirectQueryDataSourceRequest$ = exports.UpdateDataSourceResponse$ = exports.UpdateDataSourceRequest$ = exports.UpdateApplicationResponse$ = exports.UpdateApplicationRequest$ = void 0;
10
+ exports.ListPackagesForDomain$ = exports.ListInstanceTypeDetails$ = exports.ListInsights$ = exports.ListDomainsForPackage$ = exports.ListDomainNames$ = exports.ListDomainMaintenances$ = exports.ListDirectQueryDataSources$ = exports.ListDataSources$ = exports.ListApplications$ = exports.GetUpgradeStatus$ = exports.GetUpgradeHistory$ = exports.GetPackageVersionHistory$ = exports.GetIndex$ = exports.GetDomainMaintenanceStatus$ = exports.GetDirectQueryDataSource$ = exports.GetDefaultApplicationSetting$ = exports.GetDataSource$ = exports.GetCompatibleVersions$ = exports.GetCapability$ = exports.GetApplication$ = exports.DissociatePackages$ = exports.DissociatePackage$ = exports.DescribeVpcEndpoints$ = exports.DescribeReservedInstances$ = exports.DescribeReservedInstanceOfferings$ = exports.DescribePackages$ = exports.DescribeOutboundConnections$ = exports.DescribeInstanceTypeLimits$ = exports.DescribeInsightDetails$ = exports.DescribeInboundConnections$ = exports.DescribeDryRunProgress$ = exports.DescribeDomains$ = exports.DescribeDomainNodes$ = exports.DescribeDomainHealth$ = exports.DescribeDomainConfig$ = exports.DescribeDomainChangeProgress$ = exports.DescribeDomainAutoTunes$ = exports.DescribeDomain$ = exports.DeregisterCapability$ = exports.DeleteVpcEndpoint$ = exports.DeletePackage$ = exports.DeleteOutboundConnection$ = exports.DeleteIndex$ = exports.DeleteInboundConnection$ = exports.DeleteDomain$ = exports.DeleteDirectQueryDataSource$ = exports.DeleteDataSource$ = exports.DeleteApplication$ = exports.CreateVpcEndpoint$ = exports.CreatePackage$ = void 0;
11
+ exports.UpgradeDomain$ = exports.UpdateVpcEndpoint$ = exports.UpdateScheduledAction$ = exports.UpdatePackageScope$ = exports.UpdatePackage$ = exports.UpdateIndex$ = exports.UpdateDomainConfig$ = exports.UpdateDirectQueryDataSource$ = exports.UpdateDataSource$ = exports.UpdateApplication$ = exports.StartServiceSoftwareUpdate$ = exports.StartDomainMaintenance$ = exports.RollbackServiceSoftwareUpdate$ = exports.RevokeVpcEndpointAccess$ = exports.RemoveTags$ = exports.RejectInboundConnection$ = exports.RegisterCapability$ = exports.PutDefaultApplicationSetting$ = exports.PurchaseReservedInstanceOffering$ = exports.ListVpcEndpointsForDomain$ = exports.ListVpcEndpoints$ = exports.ListVpcEndpointAccess$ = exports.ListVersions$ = exports.ListTags$ = exports.ListScheduledActions$ = void 0;
12
12
  const _A = "Account";
13
13
  const _AADD = "AnonymousAuthDisableDate";
14
14
  const _AAE = "AnonymousAuthEnabled";
@@ -592,6 +592,7 @@ const _R = "Region";
592
592
  const _RA = "RoleArn";
593
593
  const _RAEE = "ResourceAlreadyExistsException";
594
594
  const _RAZ = "RetrieveAZs";
595
+ const _RAo = "RollbackAvailable";
595
596
  const _RC = "RecurringCharge";
596
597
  const _RCA = "RecurringChargeAmount";
597
598
  const _RCF = "RecurringChargeFrequency";
@@ -618,6 +619,10 @@ const _RNFE = "ResourceNotFoundException";
618
619
  const _ROD = "RollbackOnDisable";
619
620
  const _RP = "ReferencePath";
620
621
  const _RRFCU = "RequiresRestartForConfigurationUpdate";
622
+ const _RSSO = "RollbackServiceSoftwareOptions";
623
+ const _RSSU = "RollbackServiceSoftwareUpdate";
624
+ const _RSSUR = "RollbackServiceSoftwareUpdateRequest";
625
+ const _RSSURo = "RollbackServiceSoftwareUpdateResponse";
621
626
  const _RT = "RemoveTags";
622
627
  const _RTR = "RemoveTagsRequest";
623
628
  const _RVEA = "RevokeVpcEndpointAccess";
@@ -725,6 +730,7 @@ const _UI = "UpgradeId";
725
730
  const _UIR = "UpdateIndexRequest";
726
731
  const _UIRp = "UpdateIndexResponse";
727
732
  const _UIp = "UpdateIndex";
733
+ const _ULSSFBG = "UseLatestServiceSoftwareForBlueGreen";
728
734
  const _UN = "UpgradeName";
729
735
  const _UOPW = "UseOffPeakWindow";
730
736
  const _UP = "UpgradeProcessing";
@@ -2242,6 +2248,21 @@ exports.RevokeVpcEndpointAccessResponse$ = [3, n0, _RVEARe,
2242
2248
  [],
2243
2249
  []
2244
2250
  ];
2251
+ exports.RollbackServiceSoftwareOptions$ = [3, n0, _RSSO,
2252
+ 0,
2253
+ [_CVu, _NV, _RAo, _D],
2254
+ [0, 0, 2, 0]
2255
+ ];
2256
+ exports.RollbackServiceSoftwareUpdateRequest$ = [3, n0, _RSSUR,
2257
+ 0,
2258
+ [_DN],
2259
+ [0], 1
2260
+ ];
2261
+ exports.RollbackServiceSoftwareUpdateResponse$ = [3, n0, _RSSURo,
2262
+ 0,
2263
+ [_RSSO],
2264
+ [() => exports.RollbackServiceSoftwareOptions$]
2265
+ ];
2245
2266
  exports.S3GlueDataCatalog$ = [3, n0, _SGDC,
2246
2267
  0,
2247
2268
  [_RA],
@@ -2304,8 +2325,8 @@ exports.SnapshotOptionsStatus$ = [3, n0, _SOS,
2304
2325
  ];
2305
2326
  exports.SoftwareUpdateOptions$ = [3, n0, _SUO,
2306
2327
  0,
2307
- [_ASUE],
2308
- [2]
2328
+ [_ASUE, _ULSSFBG],
2329
+ [2, 2]
2309
2330
  ];
2310
2331
  exports.SoftwareUpdateOptionsStatus$ = [3, n0, _SUOS,
2311
2332
  0,
@@ -2920,6 +2941,9 @@ exports.RemoveTags$ = [9, n0, _RT,
2920
2941
  exports.RevokeVpcEndpointAccess$ = [9, n0, _RVEA,
2921
2942
  { [_h]: ["POST", "/2021-01-01/opensearch/domain/{DomainName}/revokeVpcEndpointAccess", 200] }, () => exports.RevokeVpcEndpointAccessRequest$, () => exports.RevokeVpcEndpointAccessResponse$
2922
2943
  ];
2944
+ exports.RollbackServiceSoftwareUpdate$ = [9, n0, _RSSU,
2945
+ { [_h]: ["POST", "/2021-01-01/opensearch/serviceSoftwareUpdate/rollback", 200] }, () => exports.RollbackServiceSoftwareUpdateRequest$, () => exports.RollbackServiceSoftwareUpdateResponse$
2946
+ ];
2923
2947
  exports.StartDomainMaintenance$ = [9, n0, _SDM,
2924
2948
  { [_h]: ["POST", "/2021-01-01/opensearch/domain/{DomainName}/domainMaintenance", 200] }, () => exports.StartDomainMaintenanceRequest$, () => exports.StartDomainMaintenanceResponse$
2925
2949
  ];
@@ -74,6 +74,7 @@ import { RegisterCapabilityCommand, } from "./commands/RegisterCapabilityCommand
74
74
  import { RejectInboundConnectionCommand, } from "./commands/RejectInboundConnectionCommand";
75
75
  import { RemoveTagsCommand, } from "./commands/RemoveTagsCommand";
76
76
  import { RevokeVpcEndpointAccessCommand, } from "./commands/RevokeVpcEndpointAccessCommand";
77
+ import { RollbackServiceSoftwareUpdateCommand, } from "./commands/RollbackServiceSoftwareUpdateCommand";
77
78
  import { StartDomainMaintenanceCommand, } from "./commands/StartDomainMaintenanceCommand";
78
79
  import { StartServiceSoftwareUpdateCommand, } from "./commands/StartServiceSoftwareUpdateCommand";
79
80
  import { UpdateApplicationCommand, } from "./commands/UpdateApplicationCommand";
@@ -178,6 +179,7 @@ const commands = {
178
179
  RejectInboundConnectionCommand,
179
180
  RemoveTagsCommand,
180
181
  RevokeVpcEndpointAccessCommand,
182
+ RollbackServiceSoftwareUpdateCommand,
181
183
  StartDomainMaintenanceCommand,
182
184
  StartServiceSoftwareUpdateCommand,
183
185
  UpdateApplicationCommand,
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { RollbackServiceSoftwareUpdate$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class RollbackServiceSoftwareUpdateCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("AmazonOpenSearchService", "RollbackServiceSoftwareUpdate", {})
13
+ .n("OpenSearchClient", "RollbackServiceSoftwareUpdateCommand")
14
+ .sc(RollbackServiceSoftwareUpdate$)
15
+ .build() {
16
+ }
@@ -73,6 +73,7 @@ export * from "./RegisterCapabilityCommand";
73
73
  export * from "./RejectInboundConnectionCommand";
74
74
  export * from "./RemoveTagsCommand";
75
75
  export * from "./RevokeVpcEndpointAccessCommand";
76
+ export * from "./RollbackServiceSoftwareUpdateCommand";
76
77
  export * from "./StartDomainMaintenanceCommand";
77
78
  export * from "./StartServiceSoftwareUpdateCommand";
78
79
  export * from "./UpdateApplicationCommand";
@@ -581,6 +581,7 @@ const _R = "Region";
581
581
  const _RA = "RoleArn";
582
582
  const _RAEE = "ResourceAlreadyExistsException";
583
583
  const _RAZ = "RetrieveAZs";
584
+ const _RAo = "RollbackAvailable";
584
585
  const _RC = "RecurringCharge";
585
586
  const _RCA = "RecurringChargeAmount";
586
587
  const _RCF = "RecurringChargeFrequency";
@@ -607,6 +608,10 @@ const _RNFE = "ResourceNotFoundException";
607
608
  const _ROD = "RollbackOnDisable";
608
609
  const _RP = "ReferencePath";
609
610
  const _RRFCU = "RequiresRestartForConfigurationUpdate";
611
+ const _RSSO = "RollbackServiceSoftwareOptions";
612
+ const _RSSU = "RollbackServiceSoftwareUpdate";
613
+ const _RSSUR = "RollbackServiceSoftwareUpdateRequest";
614
+ const _RSSURo = "RollbackServiceSoftwareUpdateResponse";
610
615
  const _RT = "RemoveTags";
611
616
  const _RTR = "RemoveTagsRequest";
612
617
  const _RVEA = "RevokeVpcEndpointAccess";
@@ -714,6 +719,7 @@ const _UI = "UpgradeId";
714
719
  const _UIR = "UpdateIndexRequest";
715
720
  const _UIRp = "UpdateIndexResponse";
716
721
  const _UIp = "UpdateIndex";
722
+ const _ULSSFBG = "UseLatestServiceSoftwareForBlueGreen";
717
723
  const _UN = "UpgradeName";
718
724
  const _UOPW = "UseOffPeakWindow";
719
725
  const _UP = "UpgradeProcessing";
@@ -2231,6 +2237,21 @@ export var RevokeVpcEndpointAccessResponse$ = [3, n0, _RVEARe,
2231
2237
  [],
2232
2238
  []
2233
2239
  ];
2240
+ export var RollbackServiceSoftwareOptions$ = [3, n0, _RSSO,
2241
+ 0,
2242
+ [_CVu, _NV, _RAo, _D],
2243
+ [0, 0, 2, 0]
2244
+ ];
2245
+ export var RollbackServiceSoftwareUpdateRequest$ = [3, n0, _RSSUR,
2246
+ 0,
2247
+ [_DN],
2248
+ [0], 1
2249
+ ];
2250
+ export var RollbackServiceSoftwareUpdateResponse$ = [3, n0, _RSSURo,
2251
+ 0,
2252
+ [_RSSO],
2253
+ [() => RollbackServiceSoftwareOptions$]
2254
+ ];
2234
2255
  export var S3GlueDataCatalog$ = [3, n0, _SGDC,
2235
2256
  0,
2236
2257
  [_RA],
@@ -2293,8 +2314,8 @@ export var SnapshotOptionsStatus$ = [3, n0, _SOS,
2293
2314
  ];
2294
2315
  export var SoftwareUpdateOptions$ = [3, n0, _SUO,
2295
2316
  0,
2296
- [_ASUE],
2297
- [2]
2317
+ [_ASUE, _ULSSFBG],
2318
+ [2, 2]
2298
2319
  ];
2299
2320
  export var SoftwareUpdateOptionsStatus$ = [3, n0, _SUOS,
2300
2321
  0,
@@ -2909,6 +2930,9 @@ export var RemoveTags$ = [9, n0, _RT,
2909
2930
  export var RevokeVpcEndpointAccess$ = [9, n0, _RVEA,
2910
2931
  { [_h]: ["POST", "/2021-01-01/opensearch/domain/{DomainName}/revokeVpcEndpointAccess", 200] }, () => RevokeVpcEndpointAccessRequest$, () => RevokeVpcEndpointAccessResponse$
2911
2932
  ];
2933
+ export var RollbackServiceSoftwareUpdate$ = [9, n0, _RSSU,
2934
+ { [_h]: ["POST", "/2021-01-01/opensearch/serviceSoftwareUpdate/rollback", 200] }, () => RollbackServiceSoftwareUpdateRequest$, () => RollbackServiceSoftwareUpdateResponse$
2935
+ ];
2912
2936
  export var StartDomainMaintenance$ = [9, n0, _SDM,
2913
2937
  { [_h]: ["POST", "/2021-01-01/opensearch/domain/{DomainName}/domainMaintenance", 200] }, () => StartDomainMaintenanceRequest$, () => StartDomainMaintenanceResponse$
2914
2938
  ];
@@ -74,6 +74,7 @@ import { type RegisterCapabilityCommandInput, type RegisterCapabilityCommandOutp
74
74
  import { type RejectInboundConnectionCommandInput, type RejectInboundConnectionCommandOutput } from "./commands/RejectInboundConnectionCommand";
75
75
  import { type RemoveTagsCommandInput, type RemoveTagsCommandOutput } from "./commands/RemoveTagsCommand";
76
76
  import { type RevokeVpcEndpointAccessCommandInput, type RevokeVpcEndpointAccessCommandOutput } from "./commands/RevokeVpcEndpointAccessCommand";
77
+ import { type RollbackServiceSoftwareUpdateCommandInput, type RollbackServiceSoftwareUpdateCommandOutput } from "./commands/RollbackServiceSoftwareUpdateCommand";
77
78
  import { type StartDomainMaintenanceCommandInput, type StartDomainMaintenanceCommandOutput } from "./commands/StartDomainMaintenanceCommand";
78
79
  import { type StartServiceSoftwareUpdateCommandInput, type StartServiceSoftwareUpdateCommandOutput } from "./commands/StartServiceSoftwareUpdateCommand";
79
80
  import { type UpdateApplicationCommandInput, type UpdateApplicationCommandOutput } from "./commands/UpdateApplicationCommand";
@@ -550,6 +551,12 @@ export interface OpenSearch {
550
551
  revokeVpcEndpointAccess(args: RevokeVpcEndpointAccessCommandInput, options?: __HttpHandlerOptions): Promise<RevokeVpcEndpointAccessCommandOutput>;
551
552
  revokeVpcEndpointAccess(args: RevokeVpcEndpointAccessCommandInput, cb: (err: any, data?: RevokeVpcEndpointAccessCommandOutput) => void): void;
552
553
  revokeVpcEndpointAccess(args: RevokeVpcEndpointAccessCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RevokeVpcEndpointAccessCommandOutput) => void): void;
554
+ /**
555
+ * @see {@link RollbackServiceSoftwareUpdateCommand}
556
+ */
557
+ rollbackServiceSoftwareUpdate(args: RollbackServiceSoftwareUpdateCommandInput, options?: __HttpHandlerOptions): Promise<RollbackServiceSoftwareUpdateCommandOutput>;
558
+ rollbackServiceSoftwareUpdate(args: RollbackServiceSoftwareUpdateCommandInput, cb: (err: any, data?: RollbackServiceSoftwareUpdateCommandOutput) => void): void;
559
+ rollbackServiceSoftwareUpdate(args: RollbackServiceSoftwareUpdateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RollbackServiceSoftwareUpdateCommandOutput) => void): void;
553
560
  /**
554
561
  * @see {@link StartDomainMaintenanceCommand}
555
562
  */
@@ -82,6 +82,7 @@ import type { RegisterCapabilityCommandInput, RegisterCapabilityCommandOutput }
82
82
  import type { RejectInboundConnectionCommandInput, RejectInboundConnectionCommandOutput } from "./commands/RejectInboundConnectionCommand";
83
83
  import type { RemoveTagsCommandInput, RemoveTagsCommandOutput } from "./commands/RemoveTagsCommand";
84
84
  import type { RevokeVpcEndpointAccessCommandInput, RevokeVpcEndpointAccessCommandOutput } from "./commands/RevokeVpcEndpointAccessCommand";
85
+ import type { RollbackServiceSoftwareUpdateCommandInput, RollbackServiceSoftwareUpdateCommandOutput } from "./commands/RollbackServiceSoftwareUpdateCommand";
85
86
  import type { StartDomainMaintenanceCommandInput, StartDomainMaintenanceCommandOutput } from "./commands/StartDomainMaintenanceCommand";
86
87
  import type { StartServiceSoftwareUpdateCommandInput, StartServiceSoftwareUpdateCommandOutput } from "./commands/StartServiceSoftwareUpdateCommand";
87
88
  import type { UpdateApplicationCommandInput, UpdateApplicationCommandOutput } from "./commands/UpdateApplicationCommand";
@@ -100,11 +101,11 @@ export { __Client };
100
101
  /**
101
102
  * @public
102
103
  */
103
- export type ServiceInputTypes = AcceptInboundConnectionCommandInput | AddDataSourceCommandInput | AddDirectQueryDataSourceCommandInput | AddTagsCommandInput | AssociatePackageCommandInput | AssociatePackagesCommandInput | AuthorizeVpcEndpointAccessCommandInput | CancelDomainConfigChangeCommandInput | CancelServiceSoftwareUpdateCommandInput | CreateApplicationCommandInput | CreateDomainCommandInput | CreateIndexCommandInput | CreateOutboundConnectionCommandInput | CreatePackageCommandInput | CreateVpcEndpointCommandInput | DeleteApplicationCommandInput | DeleteDataSourceCommandInput | DeleteDirectQueryDataSourceCommandInput | DeleteDomainCommandInput | DeleteInboundConnectionCommandInput | DeleteIndexCommandInput | DeleteOutboundConnectionCommandInput | DeletePackageCommandInput | DeleteVpcEndpointCommandInput | DeregisterCapabilityCommandInput | DescribeDomainAutoTunesCommandInput | DescribeDomainChangeProgressCommandInput | DescribeDomainCommandInput | DescribeDomainConfigCommandInput | DescribeDomainHealthCommandInput | DescribeDomainNodesCommandInput | DescribeDomainsCommandInput | DescribeDryRunProgressCommandInput | DescribeInboundConnectionsCommandInput | DescribeInsightDetailsCommandInput | DescribeInstanceTypeLimitsCommandInput | DescribeOutboundConnectionsCommandInput | DescribePackagesCommandInput | DescribeReservedInstanceOfferingsCommandInput | DescribeReservedInstancesCommandInput | DescribeVpcEndpointsCommandInput | DissociatePackageCommandInput | DissociatePackagesCommandInput | GetApplicationCommandInput | GetCapabilityCommandInput | GetCompatibleVersionsCommandInput | GetDataSourceCommandInput | GetDefaultApplicationSettingCommandInput | GetDirectQueryDataSourceCommandInput | GetDomainMaintenanceStatusCommandInput | GetIndexCommandInput | GetPackageVersionHistoryCommandInput | GetUpgradeHistoryCommandInput | GetUpgradeStatusCommandInput | ListApplicationsCommandInput | ListDataSourcesCommandInput | ListDirectQueryDataSourcesCommandInput | ListDomainMaintenancesCommandInput | ListDomainNamesCommandInput | ListDomainsForPackageCommandInput | ListInsightsCommandInput | ListInstanceTypeDetailsCommandInput | ListPackagesForDomainCommandInput | ListScheduledActionsCommandInput | ListTagsCommandInput | ListVersionsCommandInput | ListVpcEndpointAccessCommandInput | ListVpcEndpointsCommandInput | ListVpcEndpointsForDomainCommandInput | PurchaseReservedInstanceOfferingCommandInput | PutDefaultApplicationSettingCommandInput | RegisterCapabilityCommandInput | RejectInboundConnectionCommandInput | RemoveTagsCommandInput | RevokeVpcEndpointAccessCommandInput | StartDomainMaintenanceCommandInput | StartServiceSoftwareUpdateCommandInput | UpdateApplicationCommandInput | UpdateDataSourceCommandInput | UpdateDirectQueryDataSourceCommandInput | UpdateDomainConfigCommandInput | UpdateIndexCommandInput | UpdatePackageCommandInput | UpdatePackageScopeCommandInput | UpdateScheduledActionCommandInput | UpdateVpcEndpointCommandInput | UpgradeDomainCommandInput;
104
+ export type ServiceInputTypes = AcceptInboundConnectionCommandInput | AddDataSourceCommandInput | AddDirectQueryDataSourceCommandInput | AddTagsCommandInput | AssociatePackageCommandInput | AssociatePackagesCommandInput | AuthorizeVpcEndpointAccessCommandInput | CancelDomainConfigChangeCommandInput | CancelServiceSoftwareUpdateCommandInput | CreateApplicationCommandInput | CreateDomainCommandInput | CreateIndexCommandInput | CreateOutboundConnectionCommandInput | CreatePackageCommandInput | CreateVpcEndpointCommandInput | DeleteApplicationCommandInput | DeleteDataSourceCommandInput | DeleteDirectQueryDataSourceCommandInput | DeleteDomainCommandInput | DeleteInboundConnectionCommandInput | DeleteIndexCommandInput | DeleteOutboundConnectionCommandInput | DeletePackageCommandInput | DeleteVpcEndpointCommandInput | DeregisterCapabilityCommandInput | DescribeDomainAutoTunesCommandInput | DescribeDomainChangeProgressCommandInput | DescribeDomainCommandInput | DescribeDomainConfigCommandInput | DescribeDomainHealthCommandInput | DescribeDomainNodesCommandInput | DescribeDomainsCommandInput | DescribeDryRunProgressCommandInput | DescribeInboundConnectionsCommandInput | DescribeInsightDetailsCommandInput | DescribeInstanceTypeLimitsCommandInput | DescribeOutboundConnectionsCommandInput | DescribePackagesCommandInput | DescribeReservedInstanceOfferingsCommandInput | DescribeReservedInstancesCommandInput | DescribeVpcEndpointsCommandInput | DissociatePackageCommandInput | DissociatePackagesCommandInput | GetApplicationCommandInput | GetCapabilityCommandInput | GetCompatibleVersionsCommandInput | GetDataSourceCommandInput | GetDefaultApplicationSettingCommandInput | GetDirectQueryDataSourceCommandInput | GetDomainMaintenanceStatusCommandInput | GetIndexCommandInput | GetPackageVersionHistoryCommandInput | GetUpgradeHistoryCommandInput | GetUpgradeStatusCommandInput | ListApplicationsCommandInput | ListDataSourcesCommandInput | ListDirectQueryDataSourcesCommandInput | ListDomainMaintenancesCommandInput | ListDomainNamesCommandInput | ListDomainsForPackageCommandInput | ListInsightsCommandInput | ListInstanceTypeDetailsCommandInput | ListPackagesForDomainCommandInput | ListScheduledActionsCommandInput | ListTagsCommandInput | ListVersionsCommandInput | ListVpcEndpointAccessCommandInput | ListVpcEndpointsCommandInput | ListVpcEndpointsForDomainCommandInput | PurchaseReservedInstanceOfferingCommandInput | PutDefaultApplicationSettingCommandInput | RegisterCapabilityCommandInput | RejectInboundConnectionCommandInput | RemoveTagsCommandInput | RevokeVpcEndpointAccessCommandInput | RollbackServiceSoftwareUpdateCommandInput | StartDomainMaintenanceCommandInput | StartServiceSoftwareUpdateCommandInput | UpdateApplicationCommandInput | UpdateDataSourceCommandInput | UpdateDirectQueryDataSourceCommandInput | UpdateDomainConfigCommandInput | UpdateIndexCommandInput | UpdatePackageCommandInput | UpdatePackageScopeCommandInput | UpdateScheduledActionCommandInput | UpdateVpcEndpointCommandInput | UpgradeDomainCommandInput;
104
105
  /**
105
106
  * @public
106
107
  */
107
- export type ServiceOutputTypes = AcceptInboundConnectionCommandOutput | AddDataSourceCommandOutput | AddDirectQueryDataSourceCommandOutput | AddTagsCommandOutput | AssociatePackageCommandOutput | AssociatePackagesCommandOutput | AuthorizeVpcEndpointAccessCommandOutput | CancelDomainConfigChangeCommandOutput | CancelServiceSoftwareUpdateCommandOutput | CreateApplicationCommandOutput | CreateDomainCommandOutput | CreateIndexCommandOutput | CreateOutboundConnectionCommandOutput | CreatePackageCommandOutput | CreateVpcEndpointCommandOutput | DeleteApplicationCommandOutput | DeleteDataSourceCommandOutput | DeleteDirectQueryDataSourceCommandOutput | DeleteDomainCommandOutput | DeleteInboundConnectionCommandOutput | DeleteIndexCommandOutput | DeleteOutboundConnectionCommandOutput | DeletePackageCommandOutput | DeleteVpcEndpointCommandOutput | DeregisterCapabilityCommandOutput | DescribeDomainAutoTunesCommandOutput | DescribeDomainChangeProgressCommandOutput | DescribeDomainCommandOutput | DescribeDomainConfigCommandOutput | DescribeDomainHealthCommandOutput | DescribeDomainNodesCommandOutput | DescribeDomainsCommandOutput | DescribeDryRunProgressCommandOutput | DescribeInboundConnectionsCommandOutput | DescribeInsightDetailsCommandOutput | DescribeInstanceTypeLimitsCommandOutput | DescribeOutboundConnectionsCommandOutput | DescribePackagesCommandOutput | DescribeReservedInstanceOfferingsCommandOutput | DescribeReservedInstancesCommandOutput | DescribeVpcEndpointsCommandOutput | DissociatePackageCommandOutput | DissociatePackagesCommandOutput | GetApplicationCommandOutput | GetCapabilityCommandOutput | GetCompatibleVersionsCommandOutput | GetDataSourceCommandOutput | GetDefaultApplicationSettingCommandOutput | GetDirectQueryDataSourceCommandOutput | GetDomainMaintenanceStatusCommandOutput | GetIndexCommandOutput | GetPackageVersionHistoryCommandOutput | GetUpgradeHistoryCommandOutput | GetUpgradeStatusCommandOutput | ListApplicationsCommandOutput | ListDataSourcesCommandOutput | ListDirectQueryDataSourcesCommandOutput | ListDomainMaintenancesCommandOutput | ListDomainNamesCommandOutput | ListDomainsForPackageCommandOutput | ListInsightsCommandOutput | ListInstanceTypeDetailsCommandOutput | ListPackagesForDomainCommandOutput | ListScheduledActionsCommandOutput | ListTagsCommandOutput | ListVersionsCommandOutput | ListVpcEndpointAccessCommandOutput | ListVpcEndpointsCommandOutput | ListVpcEndpointsForDomainCommandOutput | PurchaseReservedInstanceOfferingCommandOutput | PutDefaultApplicationSettingCommandOutput | RegisterCapabilityCommandOutput | RejectInboundConnectionCommandOutput | RemoveTagsCommandOutput | RevokeVpcEndpointAccessCommandOutput | StartDomainMaintenanceCommandOutput | StartServiceSoftwareUpdateCommandOutput | UpdateApplicationCommandOutput | UpdateDataSourceCommandOutput | UpdateDirectQueryDataSourceCommandOutput | UpdateDomainConfigCommandOutput | UpdateIndexCommandOutput | UpdatePackageCommandOutput | UpdatePackageScopeCommandOutput | UpdateScheduledActionCommandOutput | UpdateVpcEndpointCommandOutput | UpgradeDomainCommandOutput;
108
+ export type ServiceOutputTypes = AcceptInboundConnectionCommandOutput | AddDataSourceCommandOutput | AddDirectQueryDataSourceCommandOutput | AddTagsCommandOutput | AssociatePackageCommandOutput | AssociatePackagesCommandOutput | AuthorizeVpcEndpointAccessCommandOutput | CancelDomainConfigChangeCommandOutput | CancelServiceSoftwareUpdateCommandOutput | CreateApplicationCommandOutput | CreateDomainCommandOutput | CreateIndexCommandOutput | CreateOutboundConnectionCommandOutput | CreatePackageCommandOutput | CreateVpcEndpointCommandOutput | DeleteApplicationCommandOutput | DeleteDataSourceCommandOutput | DeleteDirectQueryDataSourceCommandOutput | DeleteDomainCommandOutput | DeleteInboundConnectionCommandOutput | DeleteIndexCommandOutput | DeleteOutboundConnectionCommandOutput | DeletePackageCommandOutput | DeleteVpcEndpointCommandOutput | DeregisterCapabilityCommandOutput | DescribeDomainAutoTunesCommandOutput | DescribeDomainChangeProgressCommandOutput | DescribeDomainCommandOutput | DescribeDomainConfigCommandOutput | DescribeDomainHealthCommandOutput | DescribeDomainNodesCommandOutput | DescribeDomainsCommandOutput | DescribeDryRunProgressCommandOutput | DescribeInboundConnectionsCommandOutput | DescribeInsightDetailsCommandOutput | DescribeInstanceTypeLimitsCommandOutput | DescribeOutboundConnectionsCommandOutput | DescribePackagesCommandOutput | DescribeReservedInstanceOfferingsCommandOutput | DescribeReservedInstancesCommandOutput | DescribeVpcEndpointsCommandOutput | DissociatePackageCommandOutput | DissociatePackagesCommandOutput | GetApplicationCommandOutput | GetCapabilityCommandOutput | GetCompatibleVersionsCommandOutput | GetDataSourceCommandOutput | GetDefaultApplicationSettingCommandOutput | GetDirectQueryDataSourceCommandOutput | GetDomainMaintenanceStatusCommandOutput | GetIndexCommandOutput | GetPackageVersionHistoryCommandOutput | GetUpgradeHistoryCommandOutput | GetUpgradeStatusCommandOutput | ListApplicationsCommandOutput | ListDataSourcesCommandOutput | ListDirectQueryDataSourcesCommandOutput | ListDomainMaintenancesCommandOutput | ListDomainNamesCommandOutput | ListDomainsForPackageCommandOutput | ListInsightsCommandOutput | ListInstanceTypeDetailsCommandOutput | ListPackagesForDomainCommandOutput | ListScheduledActionsCommandOutput | ListTagsCommandOutput | ListVersionsCommandOutput | ListVpcEndpointAccessCommandOutput | ListVpcEndpointsCommandOutput | ListVpcEndpointsForDomainCommandOutput | PurchaseReservedInstanceOfferingCommandOutput | PutDefaultApplicationSettingCommandOutput | RegisterCapabilityCommandOutput | RejectInboundConnectionCommandOutput | RemoveTagsCommandOutput | RevokeVpcEndpointAccessCommandOutput | RollbackServiceSoftwareUpdateCommandOutput | StartDomainMaintenanceCommandOutput | StartServiceSoftwareUpdateCommandOutput | UpdateApplicationCommandOutput | UpdateDataSourceCommandOutput | UpdateDirectQueryDataSourceCommandOutput | UpdateDomainConfigCommandOutput | UpdateIndexCommandOutput | UpdatePackageCommandOutput | UpdatePackageScopeCommandOutput | UpdateScheduledActionCommandOutput | UpdateVpcEndpointCommandOutput | UpgradeDomainCommandOutput;
108
109
  /**
109
110
  * @public
110
111
  */
@@ -187,6 +187,7 @@ declare const CreateDomainCommand_base: {
187
187
  * },
188
188
  * SoftwareUpdateOptions: { // SoftwareUpdateOptions
189
189
  * AutoSoftwareUpdateEnabled: true || false,
190
+ * UseLatestServiceSoftwareForBlueGreen: true || false,
190
191
  * },
191
192
  * AIMLOptions: { // AIMLOptionsInput
192
193
  * NaturalLanguageQueryGenerationOptions: { // NaturalLanguageQueryGenerationOptionsInput
@@ -371,6 +372,7 @@ declare const CreateDomainCommand_base: {
371
372
  * // },
372
373
  * // SoftwareUpdateOptions: { // SoftwareUpdateOptions
373
374
  * // AutoSoftwareUpdateEnabled: true || false,
375
+ * // UseLatestServiceSoftwareForBlueGreen: true || false,
374
376
  * // },
375
377
  * // DomainProcessingStatus: "Creating" || "Active" || "Modifying" || "UpgradingEngineVersion" || "UpdatingServiceSoftware" || "Isolated" || "Deleting",
376
378
  * // ModifyingProperties: [ // ModifyingPropertiesList
@@ -208,6 +208,7 @@ declare const DeleteDomainCommand_base: {
208
208
  * // },
209
209
  * // SoftwareUpdateOptions: { // SoftwareUpdateOptions
210
210
  * // AutoSoftwareUpdateEnabled: true || false,
211
+ * // UseLatestServiceSoftwareForBlueGreen: true || false,
211
212
  * // },
212
213
  * // DomainProcessingStatus: "Creating" || "Active" || "Modifying" || "UpgradingEngineVersion" || "UpdatingServiceSoftware" || "Isolated" || "Deleting",
213
214
  * // ModifyingProperties: [ // ModifyingPropertiesList
@@ -208,6 +208,7 @@ declare const DescribeDomainCommand_base: {
208
208
  * // },
209
209
  * // SoftwareUpdateOptions: { // SoftwareUpdateOptions
210
210
  * // AutoSoftwareUpdateEnabled: true || false,
211
+ * // UseLatestServiceSoftwareForBlueGreen: true || false,
211
212
  * // },
212
213
  * // DomainProcessingStatus: "Creating" || "Active" || "Modifying" || "UpgradingEngineVersion" || "UpdatingServiceSoftware" || "Isolated" || "Deleting",
213
214
  * // ModifyingProperties: [ // ModifyingPropertiesList
@@ -283,6 +283,7 @@ declare const DescribeDomainConfigCommand_base: {
283
283
  * // SoftwareUpdateOptions: { // SoftwareUpdateOptionsStatus
284
284
  * // Options: { // SoftwareUpdateOptions
285
285
  * // AutoSoftwareUpdateEnabled: true || false,
286
+ * // UseLatestServiceSoftwareForBlueGreen: true || false,
286
287
  * // },
287
288
  * // Status: "<OptionStatus>",
288
289
  * // },
@@ -211,6 +211,7 @@ declare const DescribeDomainsCommand_base: {
211
211
  * // },
212
212
  * // SoftwareUpdateOptions: { // SoftwareUpdateOptions
213
213
  * // AutoSoftwareUpdateEnabled: true || false,
214
+ * // UseLatestServiceSoftwareForBlueGreen: true || false,
214
215
  * // },
215
216
  * // DomainProcessingStatus: "Creating" || "Active" || "Modifying" || "UpgradingEngineVersion" || "UpdatingServiceSoftware" || "Isolated" || "Deleting",
216
217
  * // ModifyingProperties: [ // ModifyingPropertiesList
@@ -222,6 +222,7 @@ declare const DescribeDryRunProgressCommand_base: {
222
222
  * // },
223
223
  * // SoftwareUpdateOptions: { // SoftwareUpdateOptions
224
224
  * // AutoSoftwareUpdateEnabled: true || false,
225
+ * // UseLatestServiceSoftwareForBlueGreen: true || false,
225
226
  * // },
226
227
  * // DomainProcessingStatus: "Creating" || "Active" || "Modifying" || "UpgradingEngineVersion" || "UpdatingServiceSoftware" || "Isolated" || "Deleting",
227
228
  * // ModifyingProperties: [ // ModifyingPropertiesList
@@ -0,0 +1,96 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { RollbackServiceSoftwareUpdateRequest, RollbackServiceSoftwareUpdateResponse } from "../models/models_0";
4
+ import type { OpenSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link RollbackServiceSoftwareUpdateCommand}.
14
+ */
15
+ export interface RollbackServiceSoftwareUpdateCommandInput extends RollbackServiceSoftwareUpdateRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link RollbackServiceSoftwareUpdateCommand}.
21
+ */
22
+ export interface RollbackServiceSoftwareUpdateCommandOutput extends RollbackServiceSoftwareUpdateResponse, __MetadataBearer {
23
+ }
24
+ declare const RollbackServiceSoftwareUpdateCommand_base: {
25
+ new (input: RollbackServiceSoftwareUpdateCommandInput): import("@smithy/smithy-client").CommandImpl<RollbackServiceSoftwareUpdateCommandInput, RollbackServiceSoftwareUpdateCommandOutput, OpenSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: RollbackServiceSoftwareUpdateCommandInput): import("@smithy/smithy-client").CommandImpl<RollbackServiceSoftwareUpdateCommandInput, RollbackServiceSoftwareUpdateCommandOutput, OpenSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Rolls back a service software update for a domain to the previous version. For more
31
+ * information, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/service-software.html">Service
32
+ * software updates in Amazon OpenSearch Service</a>.</p>
33
+ * @example
34
+ * Use a bare-bones client and the command you need to make an API call.
35
+ * ```javascript
36
+ * import { OpenSearchClient, RollbackServiceSoftwareUpdateCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
37
+ * // const { OpenSearchClient, RollbackServiceSoftwareUpdateCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
38
+ * // import type { OpenSearchClientConfig } from "@aws-sdk/client-opensearch";
39
+ * const config = {}; // type is OpenSearchClientConfig
40
+ * const client = new OpenSearchClient(config);
41
+ * const input = { // RollbackServiceSoftwareUpdateRequest
42
+ * DomainName: "STRING_VALUE", // required
43
+ * };
44
+ * const command = new RollbackServiceSoftwareUpdateCommand(input);
45
+ * const response = await client.send(command);
46
+ * // { // RollbackServiceSoftwareUpdateResponse
47
+ * // RollbackServiceSoftwareOptions: { // RollbackServiceSoftwareOptions
48
+ * // CurrentVersion: "STRING_VALUE",
49
+ * // NewVersion: "STRING_VALUE",
50
+ * // RollbackAvailable: true || false,
51
+ * // Description: "STRING_VALUE",
52
+ * // },
53
+ * // };
54
+ *
55
+ * ```
56
+ *
57
+ * @param RollbackServiceSoftwareUpdateCommandInput - {@link RollbackServiceSoftwareUpdateCommandInput}
58
+ * @returns {@link RollbackServiceSoftwareUpdateCommandOutput}
59
+ * @see {@link RollbackServiceSoftwareUpdateCommandInput} for command's `input` shape.
60
+ * @see {@link RollbackServiceSoftwareUpdateCommandOutput} for command's `response` shape.
61
+ * @see {@link OpenSearchClientResolvedConfig | config} for OpenSearchClient's `config` shape.
62
+ *
63
+ * @throws {@link BaseException} (client fault)
64
+ * <p>An error occurred while processing the request.</p>
65
+ *
66
+ * @throws {@link DisabledOperationException} (client fault)
67
+ * <p>An error occured because the client wanted to access an unsupported operation.</p>
68
+ *
69
+ * @throws {@link InternalException} (server fault)
70
+ * <p>Request processing failed because of an unknown error, exception, or internal failure.</p>
71
+ *
72
+ * @throws {@link ResourceNotFoundException} (client fault)
73
+ * <p>An exception for accessing or deleting a resource that doesn't exist.</p>
74
+ *
75
+ * @throws {@link ValidationException} (client fault)
76
+ * <p>An exception for accessing or deleting a resource that doesn't exist.</p>
77
+ *
78
+ * @throws {@link OpenSearchServiceException}
79
+ * <p>Base exception class for all service exceptions from OpenSearch service.</p>
80
+ *
81
+ *
82
+ * @public
83
+ */
84
+ export declare class RollbackServiceSoftwareUpdateCommand extends RollbackServiceSoftwareUpdateCommand_base {
85
+ /** @internal type navigation helper, not in runtime. */
86
+ protected static __types: {
87
+ api: {
88
+ input: RollbackServiceSoftwareUpdateRequest;
89
+ output: RollbackServiceSoftwareUpdateResponse;
90
+ };
91
+ sdk: {
92
+ input: RollbackServiceSoftwareUpdateCommandInput;
93
+ output: RollbackServiceSoftwareUpdateCommandOutput;
94
+ };
95
+ };
96
+ }
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { UpdateApplicationRequest, UpdateApplicationResponse } from "../models/models_0";
3
+ import type { UpdateApplicationRequest, UpdateApplicationResponse } from "../models/models_1";
4
4
  import type { OpenSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchClient";
5
5
  /**
6
6
  * @public
@@ -1,7 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { UpdateDataSourceRequest } from "../models/models_0";
4
- import type { UpdateDataSourceResponse } from "../models/models_1";
3
+ import type { UpdateDataSourceRequest, UpdateDataSourceResponse } from "../models/models_1";
5
4
  import type { OpenSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchClient";
6
5
  /**
7
6
  * @public
@@ -183,6 +183,7 @@ declare const UpdateDomainConfigCommand_base: {
183
183
  * },
184
184
  * SoftwareUpdateOptions: { // SoftwareUpdateOptions
185
185
  * AutoSoftwareUpdateEnabled: true || false,
186
+ * UseLatestServiceSoftwareForBlueGreen: true || false,
186
187
  * },
187
188
  * AIMLOptions: { // AIMLOptionsInput
188
189
  * NaturalLanguageQueryGenerationOptions: { // NaturalLanguageQueryGenerationOptionsInput
@@ -443,6 +444,7 @@ declare const UpdateDomainConfigCommand_base: {
443
444
  * // SoftwareUpdateOptions: { // SoftwareUpdateOptionsStatus
444
445
  * // Options: { // SoftwareUpdateOptions
445
446
  * // AutoSoftwareUpdateEnabled: true || false,
447
+ * // UseLatestServiceSoftwareForBlueGreen: true || false,
446
448
  * // },
447
449
  * // Status: "<OptionStatus>",
448
450
  * // },
@@ -73,6 +73,7 @@ export * from "./RegisterCapabilityCommand";
73
73
  export * from "./RejectInboundConnectionCommand";
74
74
  export * from "./RemoveTagsCommand";
75
75
  export * from "./RevokeVpcEndpointAccessCommand";
76
+ export * from "./RollbackServiceSoftwareUpdateCommand";
76
77
  export * from "./StartDomainMaintenanceCommand";
77
78
  export * from "./StartServiceSoftwareUpdateCommand";
78
79
  export * from "./UpdateApplicationCommand";
@@ -2082,6 +2082,13 @@ export interface SoftwareUpdateOptions {
2082
2082
  * @public
2083
2083
  */
2084
2084
  AutoSoftwareUpdateEnabled?: boolean | undefined;
2085
+ /**
2086
+ * <p>Whether the domain should use the latest service software version during a
2087
+ * blue/green deployment. If enabled, the domain will automatically use the latest
2088
+ * available service software when a blue/green deployment is triggered.</p>
2089
+ * @public
2090
+ */
2091
+ UseLatestServiceSoftwareForBlueGreen?: boolean | undefined;
2085
2092
  }
2086
2093
  /**
2087
2094
  * <p>Options to specify the subnets and security groups for an Amazon OpenSearch Service
@@ -7211,6 +7218,55 @@ export interface RevokeVpcEndpointAccessRequest {
7211
7218
  */
7212
7219
  export interface RevokeVpcEndpointAccessResponse {
7213
7220
  }
7221
+ /**
7222
+ * <p>Container for the request parameters to the
7223
+ * <code>RollbackServiceSoftwareUpdate</code> operation.</p>
7224
+ * @public
7225
+ */
7226
+ export interface RollbackServiceSoftwareUpdateRequest {
7227
+ /**
7228
+ * <p>The name of the domain to roll back the service software update on.</p>
7229
+ * @public
7230
+ */
7231
+ DomainName: string | undefined;
7232
+ }
7233
+ /**
7234
+ * <p>Details about the rollback options for a service software update.</p>
7235
+ * @public
7236
+ */
7237
+ export interface RollbackServiceSoftwareOptions {
7238
+ /**
7239
+ * <p>The current service software version on the domain.</p>
7240
+ * @public
7241
+ */
7242
+ CurrentVersion?: string | undefined;
7243
+ /**
7244
+ * <p>The service software version that the domain will roll back to.</p>
7245
+ * @public
7246
+ */
7247
+ NewVersion?: string | undefined;
7248
+ /**
7249
+ * <p>Whether a service software rollback is available for the domain.</p>
7250
+ * @public
7251
+ */
7252
+ RollbackAvailable?: boolean | undefined;
7253
+ /**
7254
+ * <p>A description of the rollback status.</p>
7255
+ * @public
7256
+ */
7257
+ Description?: string | undefined;
7258
+ }
7259
+ /**
7260
+ * <p>Contains details about the rolled-back service software update.</p>
7261
+ * @public
7262
+ */
7263
+ export interface RollbackServiceSoftwareUpdateResponse {
7264
+ /**
7265
+ * <p>The rollback options for the service software update.</p>
7266
+ * @public
7267
+ */
7268
+ RollbackServiceSoftwareOptions?: RollbackServiceSoftwareOptions | undefined;
7269
+ }
7214
7270
  /**
7215
7271
  * <p>Container for the parameters to the <code>StartDomainMaintenance</code>
7216
7272
  * operation.</p>
@@ -7303,101 +7359,3 @@ export interface StartServiceSoftwareUpdateResponse {
7303
7359
  */
7304
7360
  ServiceSoftwareOptions?: ServiceSoftwareOptions | undefined;
7305
7361
  }
7306
- /**
7307
- * @public
7308
- */
7309
- export interface UpdateApplicationRequest {
7310
- /**
7311
- * <p>The unique identifier for the OpenSearch application to be updated.</p>
7312
- * @public
7313
- */
7314
- id: string | undefined;
7315
- /**
7316
- * <p>The data sources to associate with the OpenSearch application.</p>
7317
- * @public
7318
- */
7319
- dataSources?: DataSource[] | undefined;
7320
- /**
7321
- * <p>The configuration settings to modify for the OpenSearch application.</p>
7322
- * @public
7323
- */
7324
- appConfigs?: AppConfig[] | undefined;
7325
- }
7326
- /**
7327
- * @public
7328
- */
7329
- export interface UpdateApplicationResponse {
7330
- /**
7331
- * <p>The unique identifier of the updated OpenSearch application.</p>
7332
- * @public
7333
- */
7334
- id?: string | undefined;
7335
- /**
7336
- * <p>The name of the updated OpenSearch application.</p>
7337
- * @public
7338
- */
7339
- name?: string | undefined;
7340
- /**
7341
- * <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 </a> in
7342
- * <i>Using Amazon Web Services Identity and Access Management</i> for
7343
- * more information. </p>
7344
- * @public
7345
- */
7346
- arn?: string | undefined;
7347
- /**
7348
- * <p>The data sources associated with the updated OpenSearch application.</p>
7349
- * @public
7350
- */
7351
- dataSources?: DataSource[] | undefined;
7352
- /**
7353
- * <p>The IAM Identity Center configuration for the updated OpenSearch application.</p>
7354
- * @public
7355
- */
7356
- iamIdentityCenterOptions?: IamIdentityCenterOptions | undefined;
7357
- /**
7358
- * <p>The configuration settings for the updated OpenSearch application.</p>
7359
- * @public
7360
- */
7361
- appConfigs?: AppConfig[] | undefined;
7362
- /**
7363
- * <p>The timestamp when the OpenSearch application was originally created.</p>
7364
- * @public
7365
- */
7366
- createdAt?: Date | undefined;
7367
- /**
7368
- * <p>The timestamp when the OpenSearch application was last updated.</p>
7369
- * @public
7370
- */
7371
- lastUpdatedAt?: Date | undefined;
7372
- }
7373
- /**
7374
- * <p>Container for the parameters to the <code>UpdateDataSource</code> operation.</p>
7375
- * @public
7376
- */
7377
- export interface UpdateDataSourceRequest {
7378
- /**
7379
- * <p>The name of the domain.</p>
7380
- * @public
7381
- */
7382
- DomainName: string | undefined;
7383
- /**
7384
- * <p>The name of the data source to modify.</p>
7385
- * @public
7386
- */
7387
- Name: string | undefined;
7388
- /**
7389
- * <p>The type of data source.</p>
7390
- * @public
7391
- */
7392
- DataSourceType: DataSourceType | undefined;
7393
- /**
7394
- * <p>A new description of the data source.</p>
7395
- * @public
7396
- */
7397
- Description?: string | undefined;
7398
- /**
7399
- * <p>The status of the data source update.</p>
7400
- * @public
7401
- */
7402
- Status?: DataSourceStatus | undefined;
7403
- }
@@ -1,6 +1,104 @@
1
1
  import type { DocumentType as __DocumentType } from "@smithy/types";
2
- import type { ActionType, DryRunMode, IndexStatus, IPAddressType, LogType, PackageScopeOperationEnum, ScheduleAt } from "./enums";
3
- import type { AdvancedSecurityOptionsInput, AIMLOptionsInput, AutoTuneOptions, ChangeProgressDetails, ClusterConfig, CognitoOptions, DeploymentStrategyOptions, DirectQueryDataSourceType, DomainConfig, DomainEndpointOptions, DryRunProgressStatus, DryRunResults, EBSOptions, EncryptionAtRestOptions, IdentityCenterOptionsInput, LogPublishingOption, NodeToNodeEncryptionOptions, OffPeakWindowOptions, PackageConfiguration, PackageDetails, PackageEncryptionOptions, PackageSource, ScheduledAction, SnapshotOptions, SoftwareUpdateOptions, VpcEndpoint, VPCOptions } from "./models_0";
2
+ import type { ActionType, DataSourceStatus, DryRunMode, IndexStatus, IPAddressType, LogType, PackageScopeOperationEnum, ScheduleAt } from "./enums";
3
+ import type { AdvancedSecurityOptionsInput, AIMLOptionsInput, AppConfig, AutoTuneOptions, ChangeProgressDetails, ClusterConfig, CognitoOptions, DataSource, DataSourceType, DeploymentStrategyOptions, DirectQueryDataSourceType, DomainConfig, DomainEndpointOptions, DryRunProgressStatus, DryRunResults, EBSOptions, EncryptionAtRestOptions, IamIdentityCenterOptions, IdentityCenterOptionsInput, LogPublishingOption, NodeToNodeEncryptionOptions, OffPeakWindowOptions, PackageConfiguration, PackageDetails, PackageEncryptionOptions, PackageSource, ScheduledAction, SnapshotOptions, SoftwareUpdateOptions, VpcEndpoint, VPCOptions } from "./models_0";
4
+ /**
5
+ * @public
6
+ */
7
+ export interface UpdateApplicationRequest {
8
+ /**
9
+ * <p>The unique identifier for the OpenSearch application to be updated.</p>
10
+ * @public
11
+ */
12
+ id: string | undefined;
13
+ /**
14
+ * <p>The data sources to associate with the OpenSearch application.</p>
15
+ * @public
16
+ */
17
+ dataSources?: DataSource[] | undefined;
18
+ /**
19
+ * <p>The configuration settings to modify for the OpenSearch application.</p>
20
+ * @public
21
+ */
22
+ appConfigs?: AppConfig[] | undefined;
23
+ }
24
+ /**
25
+ * @public
26
+ */
27
+ export interface UpdateApplicationResponse {
28
+ /**
29
+ * <p>The unique identifier of the updated OpenSearch application.</p>
30
+ * @public
31
+ */
32
+ id?: string | undefined;
33
+ /**
34
+ * <p>The name of the updated OpenSearch application.</p>
35
+ * @public
36
+ */
37
+ name?: string | undefined;
38
+ /**
39
+ * <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 </a> in
40
+ * <i>Using Amazon Web Services Identity and Access Management</i> for
41
+ * more information. </p>
42
+ * @public
43
+ */
44
+ arn?: string | undefined;
45
+ /**
46
+ * <p>The data sources associated with the updated OpenSearch application.</p>
47
+ * @public
48
+ */
49
+ dataSources?: DataSource[] | undefined;
50
+ /**
51
+ * <p>The IAM Identity Center configuration for the updated OpenSearch application.</p>
52
+ * @public
53
+ */
54
+ iamIdentityCenterOptions?: IamIdentityCenterOptions | undefined;
55
+ /**
56
+ * <p>The configuration settings for the updated OpenSearch application.</p>
57
+ * @public
58
+ */
59
+ appConfigs?: AppConfig[] | undefined;
60
+ /**
61
+ * <p>The timestamp when the OpenSearch application was originally created.</p>
62
+ * @public
63
+ */
64
+ createdAt?: Date | undefined;
65
+ /**
66
+ * <p>The timestamp when the OpenSearch application was last updated.</p>
67
+ * @public
68
+ */
69
+ lastUpdatedAt?: Date | undefined;
70
+ }
71
+ /**
72
+ * <p>Container for the parameters to the <code>UpdateDataSource</code> operation.</p>
73
+ * @public
74
+ */
75
+ export interface UpdateDataSourceRequest {
76
+ /**
77
+ * <p>The name of the domain.</p>
78
+ * @public
79
+ */
80
+ DomainName: string | undefined;
81
+ /**
82
+ * <p>The name of the data source to modify.</p>
83
+ * @public
84
+ */
85
+ Name: string | undefined;
86
+ /**
87
+ * <p>The type of data source.</p>
88
+ * @public
89
+ */
90
+ DataSourceType: DataSourceType | undefined;
91
+ /**
92
+ * <p>A new description of the data source.</p>
93
+ * @public
94
+ */
95
+ Description?: string | undefined;
96
+ /**
97
+ * <p>The status of the data source update.</p>
98
+ * @public
99
+ */
100
+ Status?: DataSourceStatus | undefined;
101
+ }
4
102
  /**
5
103
  * <p>The result of an <code>UpdateDataSource</code> operation.</p>
6
104
  * @public
@@ -281,6 +281,9 @@ export declare var ReservedInstance$: StaticStructureSchema;
281
281
  export declare var ReservedInstanceOffering$: StaticStructureSchema;
282
282
  export declare var RevokeVpcEndpointAccessRequest$: StaticStructureSchema;
283
283
  export declare var RevokeVpcEndpointAccessResponse$: StaticStructureSchema;
284
+ export declare var RollbackServiceSoftwareOptions$: StaticStructureSchema;
285
+ export declare var RollbackServiceSoftwareUpdateRequest$: StaticStructureSchema;
286
+ export declare var RollbackServiceSoftwareUpdateResponse$: StaticStructureSchema;
284
287
  export declare var S3GlueDataCatalog$: StaticStructureSchema;
285
288
  export declare var S3VectorsEngine$: StaticStructureSchema;
286
289
  export declare var SAMLIdp$: StaticStructureSchema;
@@ -414,6 +417,7 @@ export declare var RegisterCapability$: StaticOperationSchema;
414
417
  export declare var RejectInboundConnection$: StaticOperationSchema;
415
418
  export declare var RemoveTags$: StaticOperationSchema;
416
419
  export declare var RevokeVpcEndpointAccess$: StaticOperationSchema;
420
+ export declare var RollbackServiceSoftwareUpdate$: StaticOperationSchema;
417
421
  export declare var StartDomainMaintenance$: StaticOperationSchema;
418
422
  export declare var StartServiceSoftwareUpdate$: StaticOperationSchema;
419
423
  export declare var UpdateApplication$: StaticOperationSchema;
@@ -303,6 +303,10 @@ import {
303
303
  RevokeVpcEndpointAccessCommandInput,
304
304
  RevokeVpcEndpointAccessCommandOutput,
305
305
  } from "./commands/RevokeVpcEndpointAccessCommand";
306
+ import {
307
+ RollbackServiceSoftwareUpdateCommandInput,
308
+ RollbackServiceSoftwareUpdateCommandOutput,
309
+ } from "./commands/RollbackServiceSoftwareUpdateCommand";
306
310
  import {
307
311
  StartDomainMaintenanceCommandInput,
308
312
  StartDomainMaintenanceCommandOutput,
@@ -1346,6 +1350,19 @@ export interface OpenSearch {
1346
1350
  options: __HttpHandlerOptions,
1347
1351
  cb: (err: any, data?: RevokeVpcEndpointAccessCommandOutput) => void
1348
1352
  ): void;
1353
+ rollbackServiceSoftwareUpdate(
1354
+ args: RollbackServiceSoftwareUpdateCommandInput,
1355
+ options?: __HttpHandlerOptions
1356
+ ): Promise<RollbackServiceSoftwareUpdateCommandOutput>;
1357
+ rollbackServiceSoftwareUpdate(
1358
+ args: RollbackServiceSoftwareUpdateCommandInput,
1359
+ cb: (err: any, data?: RollbackServiceSoftwareUpdateCommandOutput) => void
1360
+ ): void;
1361
+ rollbackServiceSoftwareUpdate(
1362
+ args: RollbackServiceSoftwareUpdateCommandInput,
1363
+ options: __HttpHandlerOptions,
1364
+ cb: (err: any, data?: RollbackServiceSoftwareUpdateCommandOutput) => void
1365
+ ): void;
1349
1366
  startDomainMaintenance(
1350
1367
  args: StartDomainMaintenanceCommandInput,
1351
1368
  options?: __HttpHandlerOptions
@@ -344,6 +344,10 @@ import {
344
344
  RevokeVpcEndpointAccessCommandInput,
345
345
  RevokeVpcEndpointAccessCommandOutput,
346
346
  } from "./commands/RevokeVpcEndpointAccessCommand";
347
+ import {
348
+ RollbackServiceSoftwareUpdateCommandInput,
349
+ RollbackServiceSoftwareUpdateCommandOutput,
350
+ } from "./commands/RollbackServiceSoftwareUpdateCommand";
347
351
  import {
348
352
  StartDomainMaintenanceCommandInput,
349
353
  StartDomainMaintenanceCommandOutput,
@@ -475,6 +479,7 @@ export type ServiceInputTypes =
475
479
  | RejectInboundConnectionCommandInput
476
480
  | RemoveTagsCommandInput
477
481
  | RevokeVpcEndpointAccessCommandInput
482
+ | RollbackServiceSoftwareUpdateCommandInput
478
483
  | StartDomainMaintenanceCommandInput
479
484
  | StartServiceSoftwareUpdateCommandInput
480
485
  | UpdateApplicationCommandInput
@@ -563,6 +568,7 @@ export type ServiceOutputTypes =
563
568
  | RejectInboundConnectionCommandOutput
564
569
  | RemoveTagsCommandOutput
565
570
  | RevokeVpcEndpointAccessCommandOutput
571
+ | RollbackServiceSoftwareUpdateCommandOutput
566
572
  | StartDomainMaintenanceCommandOutput
567
573
  | StartServiceSoftwareUpdateCommandOutput
568
574
  | UpdateApplicationCommandOutput
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ RollbackServiceSoftwareUpdateRequest,
5
+ RollbackServiceSoftwareUpdateResponse,
6
+ } from "../models/models_0";
7
+ import {
8
+ OpenSearchClientResolvedConfig,
9
+ ServiceInputTypes,
10
+ ServiceOutputTypes,
11
+ } from "../OpenSearchClient";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface RollbackServiceSoftwareUpdateCommandInput
15
+ extends RollbackServiceSoftwareUpdateRequest {}
16
+ export interface RollbackServiceSoftwareUpdateCommandOutput
17
+ extends RollbackServiceSoftwareUpdateResponse,
18
+ __MetadataBearer {}
19
+ declare const RollbackServiceSoftwareUpdateCommand_base: {
20
+ new (
21
+ input: RollbackServiceSoftwareUpdateCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ RollbackServiceSoftwareUpdateCommandInput,
24
+ RollbackServiceSoftwareUpdateCommandOutput,
25
+ OpenSearchClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: RollbackServiceSoftwareUpdateCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ RollbackServiceSoftwareUpdateCommandInput,
33
+ RollbackServiceSoftwareUpdateCommandOutput,
34
+ OpenSearchClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class RollbackServiceSoftwareUpdateCommand extends RollbackServiceSoftwareUpdateCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: RollbackServiceSoftwareUpdateRequest;
44
+ output: RollbackServiceSoftwareUpdateResponse;
45
+ };
46
+ sdk: {
47
+ input: RollbackServiceSoftwareUpdateCommandInput;
48
+ output: RollbackServiceSoftwareUpdateCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -3,7 +3,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import {
4
4
  UpdateApplicationRequest,
5
5
  UpdateApplicationResponse,
6
- } from "../models/models_0";
6
+ } from "../models/models_1";
7
7
  import {
8
8
  OpenSearchClientResolvedConfig,
9
9
  ServiceInputTypes,
@@ -1,7 +1,9 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { UpdateDataSourceRequest } from "../models/models_0";
4
- import { UpdateDataSourceResponse } from "../models/models_1";
3
+ import {
4
+ UpdateDataSourceRequest,
5
+ UpdateDataSourceResponse,
6
+ } from "../models/models_1";
5
7
  import {
6
8
  OpenSearchClientResolvedConfig,
7
9
  ServiceInputTypes,
@@ -73,6 +73,7 @@ export * from "./RegisterCapabilityCommand";
73
73
  export * from "./RejectInboundConnectionCommand";
74
74
  export * from "./RemoveTagsCommand";
75
75
  export * from "./RevokeVpcEndpointAccessCommand";
76
+ export * from "./RollbackServiceSoftwareUpdateCommand";
76
77
  export * from "./StartDomainMaintenanceCommand";
77
78
  export * from "./StartServiceSoftwareUpdateCommand";
78
79
  export * from "./UpdateApplicationCommand";
@@ -536,6 +536,7 @@ export interface SnapshotOptions {
536
536
  }
537
537
  export interface SoftwareUpdateOptions {
538
538
  AutoSoftwareUpdateEnabled?: boolean | undefined;
539
+ UseLatestServiceSoftwareForBlueGreen?: boolean | undefined;
539
540
  }
540
541
  export interface VPCOptions {
541
542
  SubnetIds?: string[] | undefined;
@@ -1636,6 +1637,18 @@ export interface RevokeVpcEndpointAccessRequest {
1636
1637
  Service?: AWSServicePrincipal | undefined;
1637
1638
  }
1638
1639
  export interface RevokeVpcEndpointAccessResponse {}
1640
+ export interface RollbackServiceSoftwareUpdateRequest {
1641
+ DomainName: string | undefined;
1642
+ }
1643
+ export interface RollbackServiceSoftwareOptions {
1644
+ CurrentVersion?: string | undefined;
1645
+ NewVersion?: string | undefined;
1646
+ RollbackAvailable?: boolean | undefined;
1647
+ Description?: string | undefined;
1648
+ }
1649
+ export interface RollbackServiceSoftwareUpdateResponse {
1650
+ RollbackServiceSoftwareOptions?: RollbackServiceSoftwareOptions | undefined;
1651
+ }
1639
1652
  export interface StartDomainMaintenanceRequest {
1640
1653
  DomainName: string | undefined;
1641
1654
  Action: MaintenanceType | undefined;
@@ -1652,25 +1665,3 @@ export interface StartServiceSoftwareUpdateRequest {
1652
1665
  export interface StartServiceSoftwareUpdateResponse {
1653
1666
  ServiceSoftwareOptions?: ServiceSoftwareOptions | undefined;
1654
1667
  }
1655
- export interface UpdateApplicationRequest {
1656
- id: string | undefined;
1657
- dataSources?: DataSource[] | undefined;
1658
- appConfigs?: AppConfig[] | undefined;
1659
- }
1660
- export interface UpdateApplicationResponse {
1661
- id?: string | undefined;
1662
- name?: string | undefined;
1663
- arn?: string | undefined;
1664
- dataSources?: DataSource[] | undefined;
1665
- iamIdentityCenterOptions?: IamIdentityCenterOptions | undefined;
1666
- appConfigs?: AppConfig[] | undefined;
1667
- createdAt?: Date | undefined;
1668
- lastUpdatedAt?: Date | undefined;
1669
- }
1670
- export interface UpdateDataSourceRequest {
1671
- DomainName: string | undefined;
1672
- Name: string | undefined;
1673
- DataSourceType: DataSourceType | undefined;
1674
- Description?: string | undefined;
1675
- Status?: DataSourceStatus | undefined;
1676
- }
@@ -1,6 +1,7 @@
1
1
  import { DocumentType as __DocumentType } from "@smithy/types";
2
2
  import {
3
3
  ActionType,
4
+ DataSourceStatus,
4
5
  DryRunMode,
5
6
  IndexStatus,
6
7
  IPAddressType,
@@ -11,10 +12,13 @@ import {
11
12
  import {
12
13
  AdvancedSecurityOptionsInput,
13
14
  AIMLOptionsInput,
15
+ AppConfig,
14
16
  AutoTuneOptions,
15
17
  ChangeProgressDetails,
16
18
  ClusterConfig,
17
19
  CognitoOptions,
20
+ DataSource,
21
+ DataSourceType,
18
22
  DeploymentStrategyOptions,
19
23
  DirectQueryDataSourceType,
20
24
  DomainConfig,
@@ -23,6 +27,7 @@ import {
23
27
  DryRunResults,
24
28
  EBSOptions,
25
29
  EncryptionAtRestOptions,
30
+ IamIdentityCenterOptions,
26
31
  IdentityCenterOptionsInput,
27
32
  LogPublishingOption,
28
33
  NodeToNodeEncryptionOptions,
@@ -37,6 +42,28 @@ import {
37
42
  VpcEndpoint,
38
43
  VPCOptions,
39
44
  } from "./models_0";
45
+ export interface UpdateApplicationRequest {
46
+ id: string | undefined;
47
+ dataSources?: DataSource[] | undefined;
48
+ appConfigs?: AppConfig[] | undefined;
49
+ }
50
+ export interface UpdateApplicationResponse {
51
+ id?: string | undefined;
52
+ name?: string | undefined;
53
+ arn?: string | undefined;
54
+ dataSources?: DataSource[] | undefined;
55
+ iamIdentityCenterOptions?: IamIdentityCenterOptions | undefined;
56
+ appConfigs?: AppConfig[] | undefined;
57
+ createdAt?: Date | undefined;
58
+ lastUpdatedAt?: Date | undefined;
59
+ }
60
+ export interface UpdateDataSourceRequest {
61
+ DomainName: string | undefined;
62
+ Name: string | undefined;
63
+ DataSourceType: DataSourceType | undefined;
64
+ Description?: string | undefined;
65
+ Status?: DataSourceStatus | undefined;
66
+ }
40
67
  export interface UpdateDataSourceResponse {
41
68
  Message?: string | undefined;
42
69
  }
@@ -281,6 +281,9 @@ export declare var ReservedInstance$: StaticStructureSchema;
281
281
  export declare var ReservedInstanceOffering$: StaticStructureSchema;
282
282
  export declare var RevokeVpcEndpointAccessRequest$: StaticStructureSchema;
283
283
  export declare var RevokeVpcEndpointAccessResponse$: StaticStructureSchema;
284
+ export declare var RollbackServiceSoftwareOptions$: StaticStructureSchema;
285
+ export declare var RollbackServiceSoftwareUpdateRequest$: StaticStructureSchema;
286
+ export declare var RollbackServiceSoftwareUpdateResponse$: StaticStructureSchema;
284
287
  export declare var S3GlueDataCatalog$: StaticStructureSchema;
285
288
  export declare var S3VectorsEngine$: StaticStructureSchema;
286
289
  export declare var SAMLIdp$: StaticStructureSchema;
@@ -414,6 +417,7 @@ export declare var RegisterCapability$: StaticOperationSchema;
414
417
  export declare var RejectInboundConnection$: StaticOperationSchema;
415
418
  export declare var RemoveTags$: StaticOperationSchema;
416
419
  export declare var RevokeVpcEndpointAccess$: StaticOperationSchema;
420
+ export declare var RollbackServiceSoftwareUpdate$: StaticOperationSchema;
417
421
  export declare var StartDomainMaintenance$: StaticOperationSchema;
418
422
  export declare var StartServiceSoftwareUpdate$: StaticOperationSchema;
419
423
  export declare var UpdateApplication$: StaticOperationSchema;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-opensearch",
3
3
  "description": "AWS SDK for JavaScript Opensearch Client for Node.js, Browser and React Native",
4
- "version": "3.1034.0",
4
+ "version": "3.1035.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-opensearch",
@@ -21,17 +21,17 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "^3.974.3",
25
- "@aws-sdk/credential-provider-node": "^3.972.34",
24
+ "@aws-sdk/core": "^3.974.4",
25
+ "@aws-sdk/credential-provider-node": "^3.972.35",
26
26
  "@aws-sdk/middleware-host-header": "^3.972.10",
27
27
  "@aws-sdk/middleware-logger": "^3.972.10",
28
28
  "@aws-sdk/middleware-recursion-detection": "^3.972.11",
29
- "@aws-sdk/middleware-user-agent": "^3.972.33",
29
+ "@aws-sdk/middleware-user-agent": "^3.972.34",
30
30
  "@aws-sdk/region-config-resolver": "^3.972.13",
31
31
  "@aws-sdk/types": "^3.973.8",
32
32
  "@aws-sdk/util-endpoints": "^3.996.8",
33
33
  "@aws-sdk/util-user-agent-browser": "^3.972.10",
34
- "@aws-sdk/util-user-agent-node": "^3.973.19",
34
+ "@aws-sdk/util-user-agent-node": "^3.973.20",
35
35
  "@smithy/config-resolver": "^4.4.17",
36
36
  "@smithy/core": "^3.23.16",
37
37
  "@smithy/fetch-http-handler": "^5.3.17",