aws-sdk-opensearchservice 1.118.0 → 1.120.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c72560151a5dfbe5cf4f2b9831cf89df7a9cdd50a96a31dde6f45a3cdf85e140
4
- data.tar.gz: 52f8a6bf0ecd5dad7a538db51ea251aa7fa83dd49bf3dc09ecd44e785bcacc72
3
+ metadata.gz: 0e5bdcc1bf75de07057bf40adfea7f660908d9a62195a6787e4eac52200b6a8a
4
+ data.tar.gz: ce178728c504e491e1ec428d284c70fbb3649731f446b2b89b308efa76eaa78a
5
5
  SHA512:
6
- metadata.gz: fee7998e0dfbe95d10ed44ba7a4249348f8bcae5afef44400d7c1741779d02a673b42009b55f4077e91c0027325f3a687d82e5f8989faed9d3e0d4406aef006e
7
- data.tar.gz: 6d210c7a135d356a35bd539110945d97e153b343319da05abfbae574773c8ad5683a0e61b128a66162f12d104c531ebd82988599a9874558b0033f567bdfeee9
6
+ metadata.gz: bcbb012a2a6847551eaa00134052e28a31b754979a8f6ee65c93657c0bd63fa9ac5804eaf77b69b6aead7554b549e094af0484c9a7489a279061753814dce748
7
+ data.tar.gz: 805d11fcf1904b6775f2ba5073864f06264d6c8a575a5eac36fae5bbd6911e219d26fad319240b924f054066969e5b53999b450bc54c85dd57b25b4aab4a0f95
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.120.0 (2026-11-09)
5
+ ------------------
6
+
7
+ * Feature - Adds cloned blue-green upgrades for Amazon OpenSearch Service domains. UpgradeDomain accepts DeploymentStrategyOptions to upgrade on a cloned cluster, the new UpdateClone API shifts search traffic, cuts over and sets retention, and DescribeDomainChangeProgress reports the upgrade details.
8
+
9
+ 1.119.0 (2026-11-06)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.118.0 (2026-11-04)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.118.0
1
+ 1.120.0
@@ -2859,6 +2859,11 @@ module Aws::OpenSearchService
2859
2859
  # resp.change_progress_status.last_updated_time #=> Time
2860
2860
  # resp.change_progress_status.config_change_status #=> String, one of "Pending", "Initializing", "Validating", "ValidationFailed", "ApplyingChanges", "Completed", "PendingUserInput", "Cancelled"
2861
2861
  # resp.change_progress_status.initiated_by #=> String, one of "CUSTOMER", "SERVICE"
2862
+ # resp.change_progress_status.cloned_blue_green_upgrade_details.traffic_split.primary_read_traffic_percent #=> Integer
2863
+ # resp.change_progress_status.cloned_blue_green_upgrade_details.traffic_split.clone_read_traffic_percent #=> Integer
2864
+ # resp.change_progress_status.cloned_blue_green_upgrade_details.scheduled_action.action #=> String, one of "AutomaticCutoverToPrimaryCluster", "DeletePrimaryCluster"
2865
+ # resp.change_progress_status.cloned_blue_green_upgrade_details.scheduled_action.scheduled_time #=> Time
2866
+ # resp.change_progress_status.cloned_blue_green_upgrade_details.retention_in_hours #=> Integer
2862
2867
  # resp.change_progress_status.validation_failures #=> Array
2863
2868
  # resp.change_progress_status.validation_failures[0].code #=> String
2864
2869
  # resp.change_progress_status.validation_failures[0].message #=> String
@@ -6357,6 +6362,76 @@ module Aws::OpenSearchService
6357
6362
  req.send_request(options)
6358
6363
  end
6359
6364
 
6365
+ # Manages a cloned blue/green upgrade that is in progress on a domain.
6366
+ # Use it to shift a percentage of search traffic to the cloned cluster,
6367
+ # to cut over to the cloned cluster or back to the primary cluster, or
6368
+ # to change the retention period. Specify exactly one of
6369
+ # `TrafficSplitOptions`, `CutoverOptions`, or `RetentionOptions` in each
6370
+ # request.
6371
+ #
6372
+ # @option params [required, String] :domain_name
6373
+ # The name of the domain that has a cloned blue/green upgrade in
6374
+ # progress.
6375
+ #
6376
+ # @option params [Types::TrafficSplitRequestOptions] :traffic_split_options
6377
+ # Shifts a percentage of search traffic from the primary cluster to the
6378
+ # cloned cluster.
6379
+ #
6380
+ # @option params [Types::CutoverRequestOptions] :cutover_options
6381
+ # Cuts the domain over to the cloned cluster or back to the primary
6382
+ # cluster.
6383
+ #
6384
+ # @option params [Types::RetentionOptions] :retention_options
6385
+ # Changes the retention period, or ends it after cutover completes.
6386
+ #
6387
+ # @return [Types::UpdateCloneResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6388
+ #
6389
+ # * {Types::UpdateCloneResponse#domain_name #domain_name} => String
6390
+ # * {Types::UpdateCloneResponse#change_id #change_id} => String
6391
+ # * {Types::UpdateCloneResponse#cutover_options #cutover_options} => Types::CutoverOptions
6392
+ # * {Types::UpdateCloneResponse#traffic_split_options #traffic_split_options} => Types::TrafficSplitOptions
6393
+ # * {Types::UpdateCloneResponse#retention_options #retention_options} => Types::RetentionOptions
6394
+ #
6395
+ # @example Request syntax with placeholder values
6396
+ #
6397
+ # resp = client.update_clone({
6398
+ # domain_name: "DomainName", # required
6399
+ # traffic_split_options: {
6400
+ # strategy: "ShiftReadTrafficPercent", # required, accepts ShiftReadTrafficPercent
6401
+ # clone_read_traffic_percent: 1, # required
6402
+ # },
6403
+ # cutover_options: {
6404
+ # target: "ClonedCluster", # required, accepts ClonedCluster, PrimaryCluster
6405
+ # },
6406
+ # retention_options: {
6407
+ # retention_in_hours: 1,
6408
+ # retention_action: "RollbackToPrimaryCluster", # accepts RollbackToPrimaryCluster, DeletePrimaryCluster
6409
+ # },
6410
+ # })
6411
+ #
6412
+ # @example Response structure
6413
+ #
6414
+ # resp.domain_name #=> String
6415
+ # resp.change_id #=> String
6416
+ # resp.cutover_options.target #=> String, one of "ClonedCluster", "PrimaryCluster"
6417
+ # resp.cutover_options.status #=> String, one of "InProgress", "Completed", "Failed"
6418
+ # resp.traffic_split_options.current.primary_read_traffic_percent #=> Integer
6419
+ # resp.traffic_split_options.current.clone_read_traffic_percent #=> Integer
6420
+ # resp.traffic_split_options.target.primary_read_traffic_percent #=> Integer
6421
+ # resp.traffic_split_options.target.clone_read_traffic_percent #=> Integer
6422
+ # resp.traffic_split_options.status #=> String, one of "InProgress", "Completed", "Failed"
6423
+ # resp.retention_options.retention_in_hours #=> Integer
6424
+ # resp.retention_options.retention_action #=> String, one of "RollbackToPrimaryCluster", "DeletePrimaryCluster"
6425
+ #
6426
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/UpdateClone AWS API Documentation
6427
+ #
6428
+ # @overload update_clone(params = {})
6429
+ # @param [Hash] params ({})
6430
+ def update_clone(params = {}, options = {})
6431
+ req = build_request(:update_clone, params)
6432
+ req.send_request(options)
6433
+ end
6434
+
6360
6435
  # Updates a direct-query data source. For more information, see [Working
6361
6436
  # with Amazon OpenSearch Service data source integrations with Amazon
6362
6437
  # S3][1].
@@ -7399,6 +7474,10 @@ module Aws::OpenSearchService
7399
7474
  # reports its version as 7.10 so that it continues to work with
7400
7475
  # Elasticsearch OSS clients and plugins.
7401
7476
  #
7477
+ # @option params [Types::DeploymentStrategyOverrideOptions] :deployment_strategy_options
7478
+ # Overrides the deployment strategy for this upgrade. To run a cloned
7479
+ # blue/green upgrade, set `DeploymentStrategy` to `ClonedBlueGreen`.
7480
+ #
7402
7481
  # @return [Types::UpgradeDomainResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
7403
7482
  #
7404
7483
  # * {Types::UpgradeDomainResponse#upgrade_id #upgrade_id} => String
@@ -7406,6 +7485,7 @@ module Aws::OpenSearchService
7406
7485
  # * {Types::UpgradeDomainResponse#target_version #target_version} => String
7407
7486
  # * {Types::UpgradeDomainResponse#perform_check_only #perform_check_only} => Boolean
7408
7487
  # * {Types::UpgradeDomainResponse#advanced_options #advanced_options} => Hash<String,String>
7488
+ # * {Types::UpgradeDomainResponse#deployment_strategy_options #deployment_strategy_options} => Types::DeploymentStrategyOverrideOptions
7409
7489
  # * {Types::UpgradeDomainResponse#change_progress_details #change_progress_details} => Types::ChangeProgressDetails
7410
7490
  #
7411
7491
  # @example Request syntax with placeholder values
@@ -7417,6 +7497,15 @@ module Aws::OpenSearchService
7417
7497
  # advanced_options: {
7418
7498
  # "String" => "String",
7419
7499
  # },
7500
+ # deployment_strategy_options: {
7501
+ # deployment_strategy: "ClonedBlueGreen", # required, accepts ClonedBlueGreen
7502
+ # cloned_blue_green_options: {
7503
+ # retention_options: {
7504
+ # retention_in_hours: 1,
7505
+ # retention_action: "RollbackToPrimaryCluster", # accepts RollbackToPrimaryCluster, DeletePrimaryCluster
7506
+ # },
7507
+ # },
7508
+ # },
7420
7509
  # })
7421
7510
  #
7422
7511
  # @example Response structure
@@ -7427,6 +7516,9 @@ module Aws::OpenSearchService
7427
7516
  # resp.perform_check_only #=> Boolean
7428
7517
  # resp.advanced_options #=> Hash
7429
7518
  # resp.advanced_options["String"] #=> String
7519
+ # resp.deployment_strategy_options.deployment_strategy #=> String, one of "ClonedBlueGreen"
7520
+ # resp.deployment_strategy_options.cloned_blue_green_options.retention_options.retention_in_hours #=> Integer
7521
+ # resp.deployment_strategy_options.cloned_blue_green_options.retention_options.retention_action #=> String, one of "RollbackToPrimaryCluster", "DeletePrimaryCluster"
7430
7522
  # resp.change_progress_details.change_id #=> String
7431
7523
  # resp.change_progress_details.message #=> String
7432
7524
  # resp.change_progress_details.config_change_status #=> String, one of "Pending", "Initializing", "Validating", "ValidationFailed", "ApplyingChanges", "Completed", "PendingUserInput", "Cancelled"
@@ -7461,7 +7553,7 @@ module Aws::OpenSearchService
7461
7553
  tracer: tracer
7462
7554
  )
7463
7555
  context[:gem_name] = 'aws-sdk-opensearchservice'
7464
- context[:gem_version] = '1.118.0'
7556
+ context[:gem_version] = '1.120.0'
7465
7557
  Seahorse::Client::Request.new(handlers, context)
7466
7558
  end
7467
7559
 
@@ -112,6 +112,10 @@ module Aws::OpenSearchService
112
112
  ChangeProgressStageStatus = Shapes::StringShape.new(name: 'ChangeProgressStageStatus')
113
113
  ChangeProgressStatusDetails = Shapes::StructureShape.new(name: 'ChangeProgressStatusDetails')
114
114
  ClientToken = Shapes::StringShape.new(name: 'ClientToken')
115
+ ClonedBlueGreenOptions = Shapes::StructureShape.new(name: 'ClonedBlueGreenOptions')
116
+ ClonedBlueGreenScheduledAction = Shapes::StructureShape.new(name: 'ClonedBlueGreenScheduledAction')
117
+ ClonedBlueGreenScheduledActionType = Shapes::StringShape.new(name: 'ClonedBlueGreenScheduledActionType')
118
+ ClonedBlueGreenUpgradeDetails = Shapes::StructureShape.new(name: 'ClonedBlueGreenUpgradeDetails')
115
119
  CloudWatchDirectQueryDataSource = Shapes::StructureShape.new(name: 'CloudWatchDirectQueryDataSource')
116
120
  CloudWatchLogsLogGroupArn = Shapes::StringShape.new(name: 'CloudWatchLogsLogGroupArn')
117
121
  ClusterConfig = Shapes::StructureShape.new(name: 'ClusterConfig')
@@ -146,6 +150,10 @@ module Aws::OpenSearchService
146
150
  CreateVpcEndpointResponse = Shapes::StructureShape.new(name: 'CreateVpcEndpointResponse')
147
151
  CreatedAt = Shapes::TimestampShape.new(name: 'CreatedAt')
148
152
  CrossClusterSearchConnectionProperties = Shapes::StructureShape.new(name: 'CrossClusterSearchConnectionProperties')
153
+ CutoverOptions = Shapes::StructureShape.new(name: 'CutoverOptions')
154
+ CutoverRequestOptions = Shapes::StructureShape.new(name: 'CutoverRequestOptions')
155
+ CutoverStatus = Shapes::StringShape.new(name: 'CutoverStatus')
156
+ CutoverTarget = Shapes::StringShape.new(name: 'CutoverTarget')
149
157
  DataSource = Shapes::StructureShape.new(name: 'DataSource')
150
158
  DataSourceAttachmentStatus = Shapes::StringShape.new(name: 'DataSourceAttachmentStatus')
151
159
  DataSourceAttachmentSummary = Shapes::StructureShape.new(name: 'DataSourceAttachmentSummary')
@@ -180,6 +188,8 @@ module Aws::OpenSearchService
180
188
  DeploymentStrategy = Shapes::StringShape.new(name: 'DeploymentStrategy')
181
189
  DeploymentStrategyOptions = Shapes::StructureShape.new(name: 'DeploymentStrategyOptions')
182
190
  DeploymentStrategyOptionsStatus = Shapes::StructureShape.new(name: 'DeploymentStrategyOptionsStatus')
191
+ DeploymentStrategyOverride = Shapes::StringShape.new(name: 'DeploymentStrategyOverride')
192
+ DeploymentStrategyOverrideOptions = Shapes::StructureShape.new(name: 'DeploymentStrategyOverrideOptions')
183
193
  DeploymentType = Shapes::StringShape.new(name: 'DeploymentType')
184
194
  DeregisterCapabilityRequest = Shapes::StructureShape.new(name: 'DeregisterCapabilityRequest')
185
195
  DeregisterCapabilityResponse = Shapes::StructureShape.new(name: 'DeregisterCapabilityResponse')
@@ -558,6 +568,8 @@ module Aws::OpenSearchService
558
568
  ReservedInstancePaymentOption = Shapes::StringShape.new(name: 'ReservedInstancePaymentOption')
559
569
  ResourceAlreadyExistsException = Shapes::StructureShape.new(name: 'ResourceAlreadyExistsException')
560
570
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
571
+ RetentionAction = Shapes::StringShape.new(name: 'RetentionAction')
572
+ RetentionOptions = Shapes::UnionShape.new(name: 'RetentionOptions')
561
573
  RevokeVpcEndpointAccessRequest = Shapes::StructureShape.new(name: 'RevokeVpcEndpointAccessRequest')
562
574
  RevokeVpcEndpointAccessResponse = Shapes::StructureShape.new(name: 'RevokeVpcEndpointAccessResponse')
563
575
  RoleArn = Shapes::StringShape.new(name: 'RoleArn')
@@ -630,10 +642,18 @@ module Aws::OpenSearchService
630
642
  TimeUnit = Shapes::StringShape.new(name: 'TimeUnit')
631
643
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
632
644
  TotalNumberOfStages = Shapes::IntegerShape.new(name: 'TotalNumberOfStages')
645
+ TrafficPercent = Shapes::IntegerShape.new(name: 'TrafficPercent')
646
+ TrafficPercents = Shapes::StructureShape.new(name: 'TrafficPercents')
647
+ TrafficSplitOptions = Shapes::StructureShape.new(name: 'TrafficSplitOptions')
648
+ TrafficSplitRequestOptions = Shapes::StructureShape.new(name: 'TrafficSplitRequestOptions')
649
+ TrafficSplitStatus = Shapes::StringShape.new(name: 'TrafficSplitStatus')
650
+ TrafficStrategy = Shapes::StringShape.new(name: 'TrafficStrategy')
633
651
  UIntValue = Shapes::IntegerShape.new(name: 'UIntValue')
634
652
  UncompressedPluginSizeInBytes = Shapes::IntegerShape.new(name: 'UncompressedPluginSizeInBytes')
635
653
  UpdateApplicationRequest = Shapes::StructureShape.new(name: 'UpdateApplicationRequest')
636
654
  UpdateApplicationResponse = Shapes::StructureShape.new(name: 'UpdateApplicationResponse')
655
+ UpdateCloneRequest = Shapes::StructureShape.new(name: 'UpdateCloneRequest')
656
+ UpdateCloneResponse = Shapes::StructureShape.new(name: 'UpdateCloneResponse')
637
657
  UpdateDataSourceRequest = Shapes::StructureShape.new(name: 'UpdateDataSourceRequest')
638
658
  UpdateDataSourceResponse = Shapes::StructureShape.new(name: 'UpdateDataSourceResponse')
639
659
  UpdateDirectQueryDataSourceRequest = Shapes::StructureShape.new(name: 'UpdateDirectQueryDataSourceRequest')
@@ -1014,10 +1034,23 @@ module Aws::OpenSearchService
1014
1034
  ChangeProgressStatusDetails.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: UpdateTimestamp, location_name: "LastUpdatedTime"))
1015
1035
  ChangeProgressStatusDetails.add_member(:config_change_status, Shapes::ShapeRef.new(shape: ConfigChangeStatus, location_name: "ConfigChangeStatus"))
1016
1036
  ChangeProgressStatusDetails.add_member(:initiated_by, Shapes::ShapeRef.new(shape: InitiatedBy, location_name: "InitiatedBy"))
1037
+ ChangeProgressStatusDetails.add_member(:cloned_blue_green_upgrade_details, Shapes::ShapeRef.new(shape: ClonedBlueGreenUpgradeDetails, location_name: "ClonedBlueGreenUpgradeDetails"))
1017
1038
  ChangeProgressStatusDetails.add_member(:validation_failures, Shapes::ShapeRef.new(shape: ValidationFailures, location_name: "ValidationFailures"))
1018
1039
  ChangeProgressStatusDetails.add_member(:accepted_warnings, Shapes::ShapeRef.new(shape: AcceptedWarningsList, location_name: "AcceptedWarnings"))
1019
1040
  ChangeProgressStatusDetails.struct_class = Types::ChangeProgressStatusDetails
1020
1041
 
1042
+ ClonedBlueGreenOptions.add_member(:retention_options, Shapes::ShapeRef.new(shape: RetentionOptions, location_name: "RetentionOptions"))
1043
+ ClonedBlueGreenOptions.struct_class = Types::ClonedBlueGreenOptions
1044
+
1045
+ ClonedBlueGreenScheduledAction.add_member(:action, Shapes::ShapeRef.new(shape: ClonedBlueGreenScheduledActionType, location_name: "Action"))
1046
+ ClonedBlueGreenScheduledAction.add_member(:scheduled_time, Shapes::ShapeRef.new(shape: UpdateTimestamp, location_name: "ScheduledTime"))
1047
+ ClonedBlueGreenScheduledAction.struct_class = Types::ClonedBlueGreenScheduledAction
1048
+
1049
+ ClonedBlueGreenUpgradeDetails.add_member(:traffic_split, Shapes::ShapeRef.new(shape: TrafficPercents, location_name: "TrafficSplit"))
1050
+ ClonedBlueGreenUpgradeDetails.add_member(:scheduled_action, Shapes::ShapeRef.new(shape: ClonedBlueGreenScheduledAction, location_name: "ScheduledAction"))
1051
+ ClonedBlueGreenUpgradeDetails.add_member(:retention_in_hours, Shapes::ShapeRef.new(shape: IntegerClass, location_name: "RetentionInHours"))
1052
+ ClonedBlueGreenUpgradeDetails.struct_class = Types::ClonedBlueGreenUpgradeDetails
1053
+
1021
1054
  CloudWatchDirectQueryDataSource.add_member(:role_arn, Shapes::ShapeRef.new(shape: DirectQueryDataSourceRoleArn, required: true, location_name: "RoleArn"))
1022
1055
  CloudWatchDirectQueryDataSource.struct_class = Types::CloudWatchDirectQueryDataSource
1023
1056
 
@@ -1176,6 +1209,13 @@ module Aws::OpenSearchService
1176
1209
  CrossClusterSearchConnectionProperties.add_member(:skip_unavailable, Shapes::ShapeRef.new(shape: SkipUnavailableStatus, location_name: "SkipUnavailable"))
1177
1210
  CrossClusterSearchConnectionProperties.struct_class = Types::CrossClusterSearchConnectionProperties
1178
1211
 
1212
+ CutoverOptions.add_member(:target, Shapes::ShapeRef.new(shape: CutoverTarget, required: true, location_name: "Target"))
1213
+ CutoverOptions.add_member(:status, Shapes::ShapeRef.new(shape: CutoverStatus, required: true, location_name: "Status"))
1214
+ CutoverOptions.struct_class = Types::CutoverOptions
1215
+
1216
+ CutoverRequestOptions.add_member(:target, Shapes::ShapeRef.new(shape: CutoverTarget, required: true, location_name: "Target"))
1217
+ CutoverRequestOptions.struct_class = Types::CutoverRequestOptions
1218
+
1179
1219
  DataSource.add_member(:data_source_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "dataSourceArn"))
1180
1220
  DataSource.add_member(:data_source_description, Shapes::ShapeRef.new(shape: DataSourceDescription, location_name: "dataSourceDescription"))
1181
1221
  DataSource.add_member(:iam_role_for_data_source_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "iamRoleForDataSourceArn"))
@@ -1265,6 +1305,10 @@ module Aws::OpenSearchService
1265
1305
  DeploymentStrategyOptionsStatus.add_member(:status, Shapes::ShapeRef.new(shape: OptionStatus, required: true, location_name: "Status"))
1266
1306
  DeploymentStrategyOptionsStatus.struct_class = Types::DeploymentStrategyOptionsStatus
1267
1307
 
1308
+ DeploymentStrategyOverrideOptions.add_member(:deployment_strategy, Shapes::ShapeRef.new(shape: DeploymentStrategyOverride, required: true, location_name: "DeploymentStrategy"))
1309
+ DeploymentStrategyOverrideOptions.add_member(:cloned_blue_green_options, Shapes::ShapeRef.new(shape: ClonedBlueGreenOptions, location_name: "ClonedBlueGreenOptions"))
1310
+ DeploymentStrategyOverrideOptions.struct_class = Types::DeploymentStrategyOverrideOptions
1311
+
1268
1312
  DeregisterCapabilityRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location: "uri", location_name: "ApplicationId"))
1269
1313
  DeregisterCapabilityRequest.add_member(:capability_name, Shapes::ShapeRef.new(shape: CapabilityName, required: true, location: "uri", location_name: "CapabilityName"))
1270
1314
  DeregisterCapabilityRequest.struct_class = Types::DeregisterCapabilityRequest
@@ -2410,6 +2454,14 @@ module Aws::OpenSearchService
2410
2454
 
2411
2455
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
2412
2456
 
2457
+ RetentionOptions.add_member(:retention_in_hours, Shapes::ShapeRef.new(shape: IntegerClass, location_name: "RetentionInHours"))
2458
+ RetentionOptions.add_member(:retention_action, Shapes::ShapeRef.new(shape: RetentionAction, location_name: "RetentionAction"))
2459
+ RetentionOptions.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
2460
+ RetentionOptions.add_member_subclass(:retention_in_hours, Types::RetentionOptions::RetentionInHours)
2461
+ RetentionOptions.add_member_subclass(:retention_action, Types::RetentionOptions::RetentionAction)
2462
+ RetentionOptions.add_member_subclass(:unknown, Types::RetentionOptions::Unknown)
2463
+ RetentionOptions.struct_class = Types::RetentionOptions
2464
+
2413
2465
  RevokeVpcEndpointAccessRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "uri", location_name: "DomainName"))
2414
2466
  RevokeVpcEndpointAccessRequest.add_member(:account, Shapes::ShapeRef.new(shape: AWSAccount, location_name: "Account"))
2415
2467
  RevokeVpcEndpointAccessRequest.add_member(:service, Shapes::ShapeRef.new(shape: AWSServicePrincipal, location_name: "Service"))
@@ -2578,6 +2630,19 @@ module Aws::OpenSearchService
2578
2630
 
2579
2631
  ThrottlingException.struct_class = Types::ThrottlingException
2580
2632
 
2633
+ TrafficPercents.add_member(:primary_read_traffic_percent, Shapes::ShapeRef.new(shape: TrafficPercent, required: true, location_name: "PrimaryReadTrafficPercent"))
2634
+ TrafficPercents.add_member(:clone_read_traffic_percent, Shapes::ShapeRef.new(shape: TrafficPercent, required: true, location_name: "CloneReadTrafficPercent"))
2635
+ TrafficPercents.struct_class = Types::TrafficPercents
2636
+
2637
+ TrafficSplitOptions.add_member(:current, Shapes::ShapeRef.new(shape: TrafficPercents, required: true, location_name: "Current"))
2638
+ TrafficSplitOptions.add_member(:target, Shapes::ShapeRef.new(shape: TrafficPercents, required: true, location_name: "Target"))
2639
+ TrafficSplitOptions.add_member(:status, Shapes::ShapeRef.new(shape: TrafficSplitStatus, required: true, location_name: "Status"))
2640
+ TrafficSplitOptions.struct_class = Types::TrafficSplitOptions
2641
+
2642
+ TrafficSplitRequestOptions.add_member(:strategy, Shapes::ShapeRef.new(shape: TrafficStrategy, required: true, location_name: "Strategy"))
2643
+ TrafficSplitRequestOptions.add_member(:clone_read_traffic_percent, Shapes::ShapeRef.new(shape: TrafficPercent, required: true, location_name: "CloneReadTrafficPercent"))
2644
+ TrafficSplitRequestOptions.struct_class = Types::TrafficSplitRequestOptions
2645
+
2581
2646
  UpdateApplicationRequest.add_member(:id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "id"))
2582
2647
  UpdateApplicationRequest.add_member(:data_sources, Shapes::ShapeRef.new(shape: DataSources, location_name: "dataSources"))
2583
2648
  UpdateApplicationRequest.add_member(:app_configs, Shapes::ShapeRef.new(shape: AppConfigs, location_name: "appConfigs"))
@@ -2594,6 +2659,19 @@ module Aws::OpenSearchService
2594
2659
  UpdateApplicationResponse.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdatedAt"))
2595
2660
  UpdateApplicationResponse.struct_class = Types::UpdateApplicationResponse
2596
2661
 
2662
+ UpdateCloneRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "uri", location_name: "DomainName"))
2663
+ UpdateCloneRequest.add_member(:traffic_split_options, Shapes::ShapeRef.new(shape: TrafficSplitRequestOptions, location_name: "TrafficSplitOptions"))
2664
+ UpdateCloneRequest.add_member(:cutover_options, Shapes::ShapeRef.new(shape: CutoverRequestOptions, location_name: "CutoverOptions"))
2665
+ UpdateCloneRequest.add_member(:retention_options, Shapes::ShapeRef.new(shape: RetentionOptions, location_name: "RetentionOptions"))
2666
+ UpdateCloneRequest.struct_class = Types::UpdateCloneRequest
2667
+
2668
+ UpdateCloneResponse.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location_name: "DomainName"))
2669
+ UpdateCloneResponse.add_member(:change_id, Shapes::ShapeRef.new(shape: GUID, required: true, location_name: "ChangeId"))
2670
+ UpdateCloneResponse.add_member(:cutover_options, Shapes::ShapeRef.new(shape: CutoverOptions, location_name: "CutoverOptions"))
2671
+ UpdateCloneResponse.add_member(:traffic_split_options, Shapes::ShapeRef.new(shape: TrafficSplitOptions, location_name: "TrafficSplitOptions"))
2672
+ UpdateCloneResponse.add_member(:retention_options, Shapes::ShapeRef.new(shape: RetentionOptions, location_name: "RetentionOptions"))
2673
+ UpdateCloneResponse.struct_class = Types::UpdateCloneResponse
2674
+
2597
2675
  UpdateDataSourceRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "uri", location_name: "DomainName"))
2598
2676
  UpdateDataSourceRequest.add_member(:name, Shapes::ShapeRef.new(shape: DataSourceName, required: true, location: "uri", location_name: "DataSourceName"))
2599
2677
  UpdateDataSourceRequest.add_member(:data_source_type, Shapes::ShapeRef.new(shape: DataSourceType, required: true, location_name: "DataSourceType"))
@@ -2697,6 +2775,7 @@ module Aws::OpenSearchService
2697
2775
  UpgradeDomainRequest.add_member(:target_version, Shapes::ShapeRef.new(shape: VersionString, required: true, location_name: "TargetVersion"))
2698
2776
  UpgradeDomainRequest.add_member(:perform_check_only, Shapes::ShapeRef.new(shape: Boolean, location_name: "PerformCheckOnly"))
2699
2777
  UpgradeDomainRequest.add_member(:advanced_options, Shapes::ShapeRef.new(shape: AdvancedOptions, location_name: "AdvancedOptions"))
2778
+ UpgradeDomainRequest.add_member(:deployment_strategy_options, Shapes::ShapeRef.new(shape: DeploymentStrategyOverrideOptions, location_name: "DeploymentStrategyOptions"))
2700
2779
  UpgradeDomainRequest.struct_class = Types::UpgradeDomainRequest
2701
2780
 
2702
2781
  UpgradeDomainResponse.add_member(:upgrade_id, Shapes::ShapeRef.new(shape: String, location_name: "UpgradeId"))
@@ -2704,6 +2783,7 @@ module Aws::OpenSearchService
2704
2783
  UpgradeDomainResponse.add_member(:target_version, Shapes::ShapeRef.new(shape: VersionString, location_name: "TargetVersion"))
2705
2784
  UpgradeDomainResponse.add_member(:perform_check_only, Shapes::ShapeRef.new(shape: Boolean, location_name: "PerformCheckOnly"))
2706
2785
  UpgradeDomainResponse.add_member(:advanced_options, Shapes::ShapeRef.new(shape: AdvancedOptions, location_name: "AdvancedOptions"))
2786
+ UpgradeDomainResponse.add_member(:deployment_strategy_options, Shapes::ShapeRef.new(shape: DeploymentStrategyOverrideOptions, location_name: "DeploymentStrategyOptions"))
2707
2787
  UpgradeDomainResponse.add_member(:change_progress_details, Shapes::ShapeRef.new(shape: ChangeProgressDetails, location_name: "ChangeProgressDetails"))
2708
2788
  UpgradeDomainResponse.struct_class = Types::UpgradeDomainResponse
2709
2789
 
@@ -4106,6 +4186,19 @@ module Aws::OpenSearchService
4106
4186
  o.errors << Shapes::ShapeRef.new(shape: DisabledOperationException)
4107
4187
  end)
4108
4188
 
4189
+ api.add_operation(:update_clone, Seahorse::Model::Operation.new.tap do |o|
4190
+ o.name = "UpdateClone"
4191
+ o.http_method = "POST"
4192
+ o.http_request_uri = "/2021-01-01/opensearch/domain/{DomainName}/clone"
4193
+ o.input = Shapes::ShapeRef.new(shape: UpdateCloneRequest)
4194
+ o.output = Shapes::ShapeRef.new(shape: UpdateCloneResponse)
4195
+ o.errors << Shapes::ShapeRef.new(shape: BaseException)
4196
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
4197
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
4198
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
4199
+ o.errors << Shapes::ShapeRef.new(shape: DisabledOperationException)
4200
+ end)
4201
+
4109
4202
  api.add_operation(:update_data_source, Seahorse::Model::Operation.new.tap do |o|
4110
4203
  o.name = "UpdateDataSource"
4111
4204
  o.http_method = "PUT"
@@ -1652,6 +1652,10 @@ module Aws::OpenSearchService
1652
1652
  # The IAM principal who initiated the configuration change.
1653
1653
  # @return [String]
1654
1654
  #
1655
+ # @!attribute [rw] cloned_blue_green_upgrade_details
1656
+ # Details about a cloned blue/green upgrade, when the change is one.
1657
+ # @return [Types::ClonedBlueGreenUpgradeDetails]
1658
+ #
1655
1659
  # @!attribute [rw] validation_failures
1656
1660
  # The validation failures that occurred as a result of the
1657
1661
  # configuration change.
@@ -1675,12 +1679,77 @@ module Aws::OpenSearchService
1675
1679
  :last_updated_time,
1676
1680
  :config_change_status,
1677
1681
  :initiated_by,
1682
+ :cloned_blue_green_upgrade_details,
1678
1683
  :validation_failures,
1679
1684
  :accepted_warnings)
1680
1685
  SENSITIVE = []
1681
1686
  include Aws::Structure
1682
1687
  end
1683
1688
 
1689
+ # Options for a cloned blue/green upgrade.
1690
+ #
1691
+ # @!attribute [rw] retention_options
1692
+ # How long to keep the cluster that you cut over from after cutover
1693
+ # completes. When you start the upgrade, only `RetentionInHours` is
1694
+ # accepted.
1695
+ # @return [Types::RetentionOptions]
1696
+ #
1697
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/ClonedBlueGreenOptions AWS API Documentation
1698
+ #
1699
+ class ClonedBlueGreenOptions < Struct.new(
1700
+ :retention_options)
1701
+ SENSITIVE = []
1702
+ include Aws::Structure
1703
+ end
1704
+
1705
+ # An action that the service takes automatically at a scheduled time
1706
+ # during a cloned blue/green upgrade.
1707
+ #
1708
+ # @!attribute [rw] action
1709
+ # The action that the service takes.
1710
+ # @return [String]
1711
+ #
1712
+ # @!attribute [rw] scheduled_time
1713
+ # The time at which the service takes the action.
1714
+ # @return [Time]
1715
+ #
1716
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/ClonedBlueGreenScheduledAction AWS API Documentation
1717
+ #
1718
+ class ClonedBlueGreenScheduledAction < Struct.new(
1719
+ :action,
1720
+ :scheduled_time)
1721
+ SENSITIVE = []
1722
+ include Aws::Structure
1723
+ end
1724
+
1725
+ # The state of a cloned blue/green upgrade. Members that don't apply
1726
+ # are omitted.
1727
+ #
1728
+ # @!attribute [rw] traffic_split
1729
+ # The current split of search traffic between the primary and cloned
1730
+ # clusters.
1731
+ # @return [Types::TrafficPercents]
1732
+ #
1733
+ # @!attribute [rw] scheduled_action
1734
+ # The action that the service takes automatically if you don't act
1735
+ # before the scheduled time.
1736
+ # @return [Types::ClonedBlueGreenScheduledAction]
1737
+ #
1738
+ # @!attribute [rw] retention_in_hours
1739
+ # The retention period, in hours, for the cluster that you cut over
1740
+ # from.
1741
+ # @return [Integer]
1742
+ #
1743
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/ClonedBlueGreenUpgradeDetails AWS API Documentation
1744
+ #
1745
+ class ClonedBlueGreenUpgradeDetails < Struct.new(
1746
+ :traffic_split,
1747
+ :scheduled_action,
1748
+ :retention_in_hours)
1749
+ SENSITIVE = []
1750
+ include Aws::Structure
1751
+ end
1752
+
1684
1753
  # Configuration details for a CloudWatch Logs data source that can be
1685
1754
  # used for direct queries.
1686
1755
  #
@@ -2595,6 +2664,41 @@ module Aws::OpenSearchService
2595
2664
  include Aws::Structure
2596
2665
  end
2597
2666
 
2667
+ # The cutover target and status for a cloned blue/green upgrade.
2668
+ #
2669
+ # @!attribute [rw] target
2670
+ # The cluster that the domain is cutting over to.
2671
+ # @return [String]
2672
+ #
2673
+ # @!attribute [rw] status
2674
+ # The status of the cutover.
2675
+ # @return [String]
2676
+ #
2677
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/CutoverOptions AWS API Documentation
2678
+ #
2679
+ class CutoverOptions < Struct.new(
2680
+ :target,
2681
+ :status)
2682
+ SENSITIVE = []
2683
+ include Aws::Structure
2684
+ end
2685
+
2686
+ # The cutover to perform for a cloned blue/green upgrade.
2687
+ #
2688
+ # @!attribute [rw] target
2689
+ # The cluster to cut over to. `ClonedCluster` makes the cloned cluster
2690
+ # serve the domain. `PrimaryCluster` keeps the primary cluster and
2691
+ # ends the upgrade.
2692
+ # @return [String]
2693
+ #
2694
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/CutoverRequestOptions AWS API Documentation
2695
+ #
2696
+ class CutoverRequestOptions < Struct.new(
2697
+ :target)
2698
+ SENSITIVE = []
2699
+ include Aws::Structure
2700
+ end
2701
+
2598
2702
  # Data sources that are associated with an OpenSearch application.
2599
2703
  #
2600
2704
  # @!attribute [rw] data_source_arn
@@ -2990,6 +3094,29 @@ module Aws::OpenSearchService
2990
3094
  include Aws::Structure
2991
3095
  end
2992
3096
 
3097
+ # Overrides the deployment strategy for a single operation, such as a
3098
+ # version upgrade.
3099
+ #
3100
+ # @!attribute [rw] deployment_strategy
3101
+ # The deployment strategy to use for this operation. The only valid
3102
+ # value is `ClonedBlueGreen`, which creates a cloned cluster on the
3103
+ # target version next to the primary cluster so that you can validate
3104
+ # it and shift traffic to it before you cut over.
3105
+ # @return [String]
3106
+ #
3107
+ # @!attribute [rw] cloned_blue_green_options
3108
+ # Options that apply when `DeploymentStrategy` is `ClonedBlueGreen`.
3109
+ # @return [Types::ClonedBlueGreenOptions]
3110
+ #
3111
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DeploymentStrategyOverrideOptions AWS API Documentation
3112
+ #
3113
+ class DeploymentStrategyOverrideOptions < Struct.new(
3114
+ :deployment_strategy,
3115
+ :cloned_blue_green_options)
3116
+ SENSITIVE = []
3117
+ include Aws::Structure
3118
+ end
3119
+
2993
3120
  # Container for the parameters to the `DeregisterCapability` operation.
2994
3121
  #
2995
3122
  # @!attribute [rw] application_id
@@ -8765,6 +8892,41 @@ module Aws::OpenSearchService
8765
8892
  #
8766
8893
  class ResourceNotFoundException < Aws::EmptyStructure; end
8767
8894
 
8895
+ # Controls how long the cluster that you cut over from is kept after
8896
+ # cutover completes. Specify exactly one of `RetentionInHours` or
8897
+ # `RetentionAction`.
8898
+ #
8899
+ # @note RetentionOptions is a union - when making an API calls you must set exactly one of the members.
8900
+ #
8901
+ # @note RetentionOptions is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of RetentionOptions corresponding to the set member.
8902
+ #
8903
+ # @!attribute [rw] retention_in_hours
8904
+ # The number of hours to keep the cluster that you cut over from. The
8905
+ # retention period starts when cutover completes. The minimum is 1
8906
+ # hour. In an `UpdateClone` response after cutover completes, this
8907
+ # value is the number of hours remaining in the retention period,
8908
+ # rounded up.
8909
+ # @return [Integer]
8910
+ #
8911
+ # @!attribute [rw] retention_action
8912
+ # Ends the retention period now. Valid only after cutover completes.
8913
+ # @return [String]
8914
+ #
8915
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/RetentionOptions AWS API Documentation
8916
+ #
8917
+ class RetentionOptions < Struct.new(
8918
+ :retention_in_hours,
8919
+ :retention_action,
8920
+ :unknown)
8921
+ SENSITIVE = []
8922
+ include Aws::Structure
8923
+ include Aws::Structure::Union
8924
+
8925
+ class RetentionInHours < RetentionOptions; end
8926
+ class RetentionAction < RetentionOptions; end
8927
+ class Unknown < RetentionOptions; end
8928
+ end
8929
+
8768
8930
  # @!attribute [rw] domain_name
8769
8931
  # The name of the OpenSearch Service domain.
8770
8932
  # @return [String]
@@ -9601,6 +9763,70 @@ module Aws::OpenSearchService
9601
9763
  #
9602
9764
  class ThrottlingException < Aws::EmptyStructure; end
9603
9765
 
9766
+ # The split of search traffic between the primary and cloned clusters.
9767
+ #
9768
+ # @!attribute [rw] primary_read_traffic_percent
9769
+ # The percentage of search traffic sent to the primary cluster.
9770
+ # @return [Integer]
9771
+ #
9772
+ # @!attribute [rw] clone_read_traffic_percent
9773
+ # The percentage of search traffic sent to the cloned cluster.
9774
+ # @return [Integer]
9775
+ #
9776
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/TrafficPercents AWS API Documentation
9777
+ #
9778
+ class TrafficPercents < Struct.new(
9779
+ :primary_read_traffic_percent,
9780
+ :clone_read_traffic_percent)
9781
+ SENSITIVE = []
9782
+ include Aws::Structure
9783
+ end
9784
+
9785
+ # The traffic split and status for a cloned blue/green upgrade.
9786
+ #
9787
+ # @!attribute [rw] current
9788
+ # The traffic split currently in effect.
9789
+ # @return [Types::TrafficPercents]
9790
+ #
9791
+ # @!attribute [rw] target
9792
+ # The requested traffic split.
9793
+ # @return [Types::TrafficPercents]
9794
+ #
9795
+ # @!attribute [rw] status
9796
+ # The status of the traffic shift.
9797
+ # @return [String]
9798
+ #
9799
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/TrafficSplitOptions AWS API Documentation
9800
+ #
9801
+ class TrafficSplitOptions < Struct.new(
9802
+ :current,
9803
+ :target,
9804
+ :status)
9805
+ SENSITIVE = []
9806
+ include Aws::Structure
9807
+ end
9808
+
9809
+ # The traffic shift to perform for a cloned blue/green upgrade.
9810
+ #
9811
+ # @!attribute [rw] strategy
9812
+ # The traffic shifting strategy. The only valid value is
9813
+ # `ShiftReadTrafficPercent`.
9814
+ # @return [String]
9815
+ #
9816
+ # @!attribute [rw] clone_read_traffic_percent
9817
+ # The percentage of search traffic, from 0 to 100, to send to the
9818
+ # cloned cluster. The rest goes to the primary cluster.
9819
+ # @return [Integer]
9820
+ #
9821
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/TrafficSplitRequestOptions AWS API Documentation
9822
+ #
9823
+ class TrafficSplitRequestOptions < Struct.new(
9824
+ :strategy,
9825
+ :clone_read_traffic_percent)
9826
+ SENSITIVE = []
9827
+ include Aws::Structure
9828
+ end
9829
+
9604
9830
  # @!attribute [rw] id
9605
9831
  # The unique identifier for the OpenSearch application to be updated.
9606
9832
  # @return [String]
@@ -9684,6 +9910,74 @@ module Aws::OpenSearchService
9684
9910
  include Aws::Structure
9685
9911
  end
9686
9912
 
9913
+ # Container for the request parameters to the `UpdateClone` operation.
9914
+ #
9915
+ # @!attribute [rw] domain_name
9916
+ # The name of the domain that has a cloned blue/green upgrade in
9917
+ # progress.
9918
+ # @return [String]
9919
+ #
9920
+ # @!attribute [rw] traffic_split_options
9921
+ # Shifts a percentage of search traffic from the primary cluster to
9922
+ # the cloned cluster.
9923
+ # @return [Types::TrafficSplitRequestOptions]
9924
+ #
9925
+ # @!attribute [rw] cutover_options
9926
+ # Cuts the domain over to the cloned cluster or back to the primary
9927
+ # cluster.
9928
+ # @return [Types::CutoverRequestOptions]
9929
+ #
9930
+ # @!attribute [rw] retention_options
9931
+ # Changes the retention period, or ends it after cutover completes.
9932
+ # @return [Types::RetentionOptions]
9933
+ #
9934
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/UpdateCloneRequest AWS API Documentation
9935
+ #
9936
+ class UpdateCloneRequest < Struct.new(
9937
+ :domain_name,
9938
+ :traffic_split_options,
9939
+ :cutover_options,
9940
+ :retention_options)
9941
+ SENSITIVE = []
9942
+ include Aws::Structure
9943
+ end
9944
+
9945
+ # Container for the response returned by the `UpdateClone` operation.
9946
+ #
9947
+ # @!attribute [rw] domain_name
9948
+ # The name of the domain.
9949
+ # @return [String]
9950
+ #
9951
+ # @!attribute [rw] change_id
9952
+ # The unique identifier of the configuration change. Use it with
9953
+ # `DescribeDomainChangeProgress` to track the change.
9954
+ # @return [String]
9955
+ #
9956
+ # @!attribute [rw] cutover_options
9957
+ # The requested cutover target and the status of the cutover.
9958
+ # @return [Types::CutoverOptions]
9959
+ #
9960
+ # @!attribute [rw] traffic_split_options
9961
+ # The current and requested traffic split, and the status of the
9962
+ # traffic shift.
9963
+ # @return [Types::TrafficSplitOptions]
9964
+ #
9965
+ # @!attribute [rw] retention_options
9966
+ # The retention settings for the upgrade.
9967
+ # @return [Types::RetentionOptions]
9968
+ #
9969
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/UpdateCloneResponse AWS API Documentation
9970
+ #
9971
+ class UpdateCloneResponse < Struct.new(
9972
+ :domain_name,
9973
+ :change_id,
9974
+ :cutover_options,
9975
+ :traffic_split_options,
9976
+ :retention_options)
9977
+ SENSITIVE = []
9978
+ include Aws::Structure
9979
+ end
9980
+
9687
9981
  # Container for the parameters to the `UpdateDataSource` operation.
9688
9982
  #
9689
9983
  # @!attribute [rw] domain_name
@@ -10284,13 +10578,19 @@ module Aws::OpenSearchService
10284
10578
  # Elasticsearch OSS clients and plugins.
10285
10579
  # @return [Hash<String,String>]
10286
10580
  #
10581
+ # @!attribute [rw] deployment_strategy_options
10582
+ # Overrides the deployment strategy for this upgrade. To run a cloned
10583
+ # blue/green upgrade, set `DeploymentStrategy` to `ClonedBlueGreen`.
10584
+ # @return [Types::DeploymentStrategyOverrideOptions]
10585
+ #
10287
10586
  # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/UpgradeDomainRequest AWS API Documentation
10288
10587
  #
10289
10588
  class UpgradeDomainRequest < Struct.new(
10290
10589
  :domain_name,
10291
10590
  :target_version,
10292
10591
  :perform_check_only,
10293
- :advanced_options)
10592
+ :advanced_options,
10593
+ :deployment_strategy_options)
10294
10594
  SENSITIVE = []
10295
10595
  include Aws::Structure
10296
10596
  end
@@ -10318,6 +10618,10 @@ module Aws::OpenSearchService
10318
10618
  # The advanced options configuration for the domain.
10319
10619
  # @return [Hash<String,String>]
10320
10620
  #
10621
+ # @!attribute [rw] deployment_strategy_options
10622
+ # The deployment strategy override used for the upgrade.
10623
+ # @return [Types::DeploymentStrategyOverrideOptions]
10624
+ #
10321
10625
  # @!attribute [rw] change_progress_details
10322
10626
  # Container for information about a configuration change happening on
10323
10627
  # a domain.
@@ -10331,6 +10635,7 @@ module Aws::OpenSearchService
10331
10635
  :target_version,
10332
10636
  :perform_check_only,
10333
10637
  :advanced_options,
10638
+ :deployment_strategy_options,
10334
10639
  :change_progress_details)
10335
10640
  SENSITIVE = []
10336
10641
  include Aws::Structure
@@ -54,7 +54,7 @@ module Aws::OpenSearchService
54
54
  autoload :EndpointProvider, 'aws-sdk-opensearchservice/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-opensearchservice/endpoints'
56
56
 
57
- GEM_VERSION = '1.118.0'
57
+ GEM_VERSION = '1.120.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -1488,6 +1488,31 @@ module Aws
1488
1488
  ) -> _UpdateApplicationResponseSuccess
1489
1489
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateApplicationResponseSuccess
1490
1490
 
1491
+ interface _UpdateCloneResponseSuccess
1492
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateCloneResponse]
1493
+ def domain_name: () -> ::String
1494
+ def change_id: () -> ::String
1495
+ def cutover_options: () -> Types::CutoverOptions
1496
+ def traffic_split_options: () -> Types::TrafficSplitOptions
1497
+ def retention_options: () -> Types::RetentionOptions
1498
+ end
1499
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchService/Client.html#update_clone-instance_method
1500
+ def update_clone: (
1501
+ domain_name: ::String,
1502
+ ?traffic_split_options: {
1503
+ strategy: ("ShiftReadTrafficPercent"),
1504
+ clone_read_traffic_percent: ::Integer
1505
+ },
1506
+ ?cutover_options: {
1507
+ target: ("ClonedCluster" | "PrimaryCluster")
1508
+ },
1509
+ ?retention_options: {
1510
+ retention_in_hours: ::Integer?,
1511
+ retention_action: ("RollbackToPrimaryCluster" | "DeletePrimaryCluster")?
1512
+ }
1513
+ ) -> _UpdateCloneResponseSuccess
1514
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateCloneResponseSuccess
1515
+
1491
1516
  interface _UpdateDataSourceResponseSuccess
1492
1517
  include ::Seahorse::Client::_ResponseSuccess[Types::UpdateDataSourceResponse]
1493
1518
  def message: () -> ::String
@@ -1700,6 +1725,7 @@ module Aws
1700
1725
  def target_version: () -> ::String
1701
1726
  def perform_check_only: () -> bool
1702
1727
  def advanced_options: () -> ::Hash[::String, ::String]
1728
+ def deployment_strategy_options: () -> Types::DeploymentStrategyOverrideOptions
1703
1729
  def change_progress_details: () -> Types::ChangeProgressDetails
1704
1730
  end
1705
1731
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchService/Client.html#upgrade_domain-instance_method
@@ -1707,7 +1733,16 @@ module Aws
1707
1733
  domain_name: ::String,
1708
1734
  target_version: ::String,
1709
1735
  ?perform_check_only: bool,
1710
- ?advanced_options: Hash[::String, ::String]
1736
+ ?advanced_options: Hash[::String, ::String],
1737
+ ?deployment_strategy_options: {
1738
+ deployment_strategy: ("ClonedBlueGreen"),
1739
+ cloned_blue_green_options: {
1740
+ retention_options: {
1741
+ retention_in_hours: ::Integer?,
1742
+ retention_action: ("RollbackToPrimaryCluster" | "DeletePrimaryCluster")?
1743
+ }?
1744
+ }?
1745
+ }
1711
1746
  ) -> _UpgradeDomainResponseSuccess
1712
1747
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpgradeDomainResponseSuccess
1713
1748
  end
data/sig/types.rbs CHANGED
@@ -424,11 +424,30 @@ module Aws::OpenSearchService
424
424
  attr_accessor last_updated_time: ::Time
425
425
  attr_accessor config_change_status: ("Pending" | "Initializing" | "Validating" | "ValidationFailed" | "ApplyingChanges" | "Completed" | "PendingUserInput" | "Cancelled")
426
426
  attr_accessor initiated_by: ("CUSTOMER" | "SERVICE")
427
+ attr_accessor cloned_blue_green_upgrade_details: Types::ClonedBlueGreenUpgradeDetails
427
428
  attr_accessor validation_failures: ::Array[Types::ValidationFailure]
428
429
  attr_accessor accepted_warnings: ::Array[::String]
429
430
  SENSITIVE: []
430
431
  end
431
432
 
433
+ class ClonedBlueGreenOptions
434
+ attr_accessor retention_options: Types::RetentionOptions
435
+ SENSITIVE: []
436
+ end
437
+
438
+ class ClonedBlueGreenScheduledAction
439
+ attr_accessor action: ("AutomaticCutoverToPrimaryCluster" | "DeletePrimaryCluster")
440
+ attr_accessor scheduled_time: ::Time
441
+ SENSITIVE: []
442
+ end
443
+
444
+ class ClonedBlueGreenUpgradeDetails
445
+ attr_accessor traffic_split: Types::TrafficPercents
446
+ attr_accessor scheduled_action: Types::ClonedBlueGreenScheduledAction
447
+ attr_accessor retention_in_hours: ::Integer
448
+ SENSITIVE: []
449
+ end
450
+
432
451
  class CloudWatchDirectQueryDataSource
433
452
  attr_accessor role_arn: ::String
434
453
  SENSITIVE: []
@@ -629,6 +648,17 @@ module Aws::OpenSearchService
629
648
  SENSITIVE: []
630
649
  end
631
650
 
651
+ class CutoverOptions
652
+ attr_accessor target: ("ClonedCluster" | "PrimaryCluster")
653
+ attr_accessor status: ("InProgress" | "Completed" | "Failed")
654
+ SENSITIVE: []
655
+ end
656
+
657
+ class CutoverRequestOptions
658
+ attr_accessor target: ("ClonedCluster" | "PrimaryCluster")
659
+ SENSITIVE: []
660
+ end
661
+
632
662
  class DataSource
633
663
  attr_accessor data_source_arn: ::String
634
664
  attr_accessor data_source_description: ::String
@@ -761,6 +791,12 @@ module Aws::OpenSearchService
761
791
  SENSITIVE: []
762
792
  end
763
793
 
794
+ class DeploymentStrategyOverrideOptions
795
+ attr_accessor deployment_strategy: ("ClonedBlueGreen")
796
+ attr_accessor cloned_blue_green_options: Types::ClonedBlueGreenOptions
797
+ SENSITIVE: []
798
+ end
799
+
764
800
  class DeregisterCapabilityRequest
765
801
  attr_accessor application_id: ::String
766
802
  attr_accessor capability_name: ::String
@@ -2234,6 +2270,20 @@ module Aws::OpenSearchService
2234
2270
  class ResourceNotFoundException < Aws::EmptyStructure
2235
2271
  end
2236
2272
 
2273
+ class RetentionOptions
2274
+ attr_accessor retention_in_hours: ::Integer
2275
+ attr_accessor retention_action: ("RollbackToPrimaryCluster" | "DeletePrimaryCluster")
2276
+ attr_accessor unknown: untyped
2277
+ SENSITIVE: []
2278
+
2279
+ class RetentionInHours < RetentionOptions
2280
+ end
2281
+ class RetentionAction < RetentionOptions
2282
+ end
2283
+ class Unknown < RetentionOptions
2284
+ end
2285
+ end
2286
+
2237
2287
  class RevokeVpcEndpointAccessRequest
2238
2288
  attr_accessor domain_name: ::String
2239
2289
  attr_accessor account: ::String
@@ -2455,6 +2505,25 @@ module Aws::OpenSearchService
2455
2505
  class ThrottlingException < Aws::EmptyStructure
2456
2506
  end
2457
2507
 
2508
+ class TrafficPercents
2509
+ attr_accessor primary_read_traffic_percent: ::Integer
2510
+ attr_accessor clone_read_traffic_percent: ::Integer
2511
+ SENSITIVE: []
2512
+ end
2513
+
2514
+ class TrafficSplitOptions
2515
+ attr_accessor current: Types::TrafficPercents
2516
+ attr_accessor target: Types::TrafficPercents
2517
+ attr_accessor status: ("InProgress" | "Completed" | "Failed")
2518
+ SENSITIVE: []
2519
+ end
2520
+
2521
+ class TrafficSplitRequestOptions
2522
+ attr_accessor strategy: ("ShiftReadTrafficPercent")
2523
+ attr_accessor clone_read_traffic_percent: ::Integer
2524
+ SENSITIVE: []
2525
+ end
2526
+
2458
2527
  class UpdateApplicationRequest
2459
2528
  attr_accessor id: ::String
2460
2529
  attr_accessor data_sources: ::Array[Types::DataSource]
@@ -2475,6 +2544,23 @@ module Aws::OpenSearchService
2475
2544
  SENSITIVE: []
2476
2545
  end
2477
2546
 
2547
+ class UpdateCloneRequest
2548
+ attr_accessor domain_name: ::String
2549
+ attr_accessor traffic_split_options: Types::TrafficSplitRequestOptions
2550
+ attr_accessor cutover_options: Types::CutoverRequestOptions
2551
+ attr_accessor retention_options: Types::RetentionOptions
2552
+ SENSITIVE: []
2553
+ end
2554
+
2555
+ class UpdateCloneResponse
2556
+ attr_accessor domain_name: ::String
2557
+ attr_accessor change_id: ::String
2558
+ attr_accessor cutover_options: Types::CutoverOptions
2559
+ attr_accessor traffic_split_options: Types::TrafficSplitOptions
2560
+ attr_accessor retention_options: Types::RetentionOptions
2561
+ SENSITIVE: []
2562
+ end
2563
+
2478
2564
  class UpdateDataSourceRequest
2479
2565
  attr_accessor domain_name: ::String
2480
2566
  attr_accessor name: ::String
@@ -2611,6 +2697,7 @@ module Aws::OpenSearchService
2611
2697
  attr_accessor target_version: ::String
2612
2698
  attr_accessor perform_check_only: bool
2613
2699
  attr_accessor advanced_options: ::Hash[::String, ::String]
2700
+ attr_accessor deployment_strategy_options: Types::DeploymentStrategyOverrideOptions
2614
2701
  SENSITIVE: []
2615
2702
  end
2616
2703
 
@@ -2620,6 +2707,7 @@ module Aws::OpenSearchService
2620
2707
  attr_accessor target_version: ::String
2621
2708
  attr_accessor perform_check_only: bool
2622
2709
  attr_accessor advanced_options: ::Hash[::String, ::String]
2710
+ attr_accessor deployment_strategy_options: Types::DeploymentStrategyOverrideOptions
2623
2711
  attr_accessor change_progress_details: Types::ChangeProgressDetails
2624
2712
  SENSITIVE: []
2625
2713
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-opensearchservice
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.118.0
4
+ version: 1.120.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
@@ -18,7 +18,7 @@ dependencies:
18
18
  version: '3'
19
19
  - - ">="
20
20
  - !ruby/object:Gem::Version
21
- version: 3.264.0
21
+ version: 3.266.0
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -28,7 +28,7 @@ dependencies:
28
28
  version: '3'
29
29
  - - ">="
30
30
  - !ruby/object:Gem::Version
31
- version: 3.264.0
31
+ version: 3.266.0
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: aws-sigv4
34
34
  requirement: !ruby/object:Gem::Requirement