aws-sdk-elasticsearchservice 1.133.0 → 1.135.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: 1a26c88008223aac0d0cc9e85648e780cd5fd665be68659260954cccf4fdba70
4
- data.tar.gz: 90ee188c78c4f5e25c5abdda565132e889208cd39902537a96006399fb4ba669
3
+ metadata.gz: f367f8fd9f278b1f88fbcf488756ab604bb6165d4246392daa6862d671e2f78c
4
+ data.tar.gz: 53d81dacdea183598d1757cadc6f5e7900187bcc1dcfc9976cc4709a7a275721
5
5
  SHA512:
6
- metadata.gz: 818e2f51260147557d08c89f07b27a4480a671523d61e19c7d9ec196b2f71468ee487df0fd779d02ccfdd0dd873cc1a1dec0ab81ea6831c007d6368ce55661cc
7
- data.tar.gz: 2f6e83d9e72fab2e9e420a1ba8ab1b615b19cacf3f2615edd58e53ba096fdedc4e7b38d09d3b1febf1f5dfe1117200a1bcd1b0af438b0ab1186e8295a688139b
6
+ metadata.gz: 18ccc34f14b91302fa0fd265fa912f9f44c6cb5eb5b105ce151fe813fc33a540b7991165b67b2b1488f981ee9c1322bc724aef41dbb3640c0f7a81bee4d22157
7
+ data.tar.gz: 2ed30ce0c9ca8a9cba06cb86d9687f1f7b288f8e6ab1ce7d51a9d272ee406b62d1d91473675a80cb67a8aefbcc177df0f836054dffd23d4ae421e6d9a5a32948
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.135.0 (2026-11-10)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.134.0 (2026-11-09)
10
+ ------------------
11
+
12
+ * Feature - Adds cloned blue-green upgrades for Amazon OpenSearch Service domains. UpgradeElasticsearchDomain accepts DeploymentStrategyOptions to upgrade on a cloned cluster, the new UpdateClone API shifts search traffic, cuts over and sets retention, and DescribeDomainChangeProgress reports upgrade details.
13
+
4
14
  1.133.0 (2026-11-06)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.133.0
1
+ 1.135.0
@@ -264,7 +264,8 @@ module Aws::ElasticsearchService
264
264
  # An integer representing the maximum number attempts that will be made for
265
265
  # a single request, including the initial attempt. For example,
266
266
  # setting this value to 5 will result in a request being retried up to
267
- # 4 times. Used in `standard` and `adaptive` retry modes.
267
+ # 4 times. Used in `standard` and `adaptive` retry modes. Defaults to 3,
268
+ # except for DynamoDB and DynamoDB Streams, which default to 4.
268
269
  #
269
270
  # @option options [String] :profile ("default")
270
271
  # Used when loading credentials from the shared credentials file at `HOME/.aws/credentials`.
@@ -327,15 +328,15 @@ module Aws::ElasticsearchService
327
328
  # used by the default backoff function. This option is only used in the
328
329
  # `legacy` retry mode.
329
330
  #
330
- # @option options [String] :retry_mode ("legacy")
331
+ # @option options [String] :retry_mode ("standard")
331
332
  # Specifies which retry algorithm to use. Values are:
332
333
  #
333
- # * `legacy` - The pre-existing retry behavior. This is the default
334
- # value if no retry mode is provided.
334
+ # * `legacy` - The pre-existing retry behavior.
335
335
  #
336
336
  # * `standard` - A standardized set of retry rules across the AWS SDKs.
337
337
  # This includes support for retry quotas, which limit the number of
338
- # unsuccessful retries a client can make.
338
+ # unsuccessful retries a client can make. This is the default value
339
+ # if no retry mode is provided.
339
340
  #
340
341
  # * `adaptive` - A retry mode that includes all the functionality of
341
342
  # `standard` mode along with automatic client side throttling.
@@ -1556,6 +1557,11 @@ module Aws::ElasticsearchService
1556
1557
  # resp.change_progress_status.config_change_status #=> String, one of "Pending", "Initializing", "Validating", "ValidationFailed", "ApplyingChanges", "Completed", "PendingUserInput", "Cancelled"
1557
1558
  # resp.change_progress_status.last_updated_time #=> Time
1558
1559
  # resp.change_progress_status.initiated_by #=> String, one of "CUSTOMER", "SERVICE"
1560
+ # resp.change_progress_status.cloned_blue_green_upgrade_details.traffic_split.primary_read_traffic_percent #=> Integer
1561
+ # resp.change_progress_status.cloned_blue_green_upgrade_details.traffic_split.clone_read_traffic_percent #=> Integer
1562
+ # resp.change_progress_status.cloned_blue_green_upgrade_details.scheduled_action.action #=> String, one of "AutomaticCutoverToPrimaryCluster", "DeletePrimaryCluster"
1563
+ # resp.change_progress_status.cloned_blue_green_upgrade_details.scheduled_action.scheduled_time #=> Time
1564
+ # resp.change_progress_status.cloned_blue_green_upgrade_details.retention_in_hours #=> Integer
1559
1565
  #
1560
1566
  # @overload describe_domain_change_progress(params = {})
1561
1567
  # @param [Hash] params ({})
@@ -3101,6 +3107,74 @@ module Aws::ElasticsearchService
3101
3107
  req.send_request(options)
3102
3108
  end
3103
3109
 
3110
+ # Manages a cloned blue/green upgrade that is in progress on a domain.
3111
+ # Use it to shift a percentage of search traffic to the cloned cluster,
3112
+ # to cut over to the cloned cluster or back to the primary cluster, or
3113
+ # to change the retention period. Specify exactly one of
3114
+ # `TrafficSplitOptions`, `CutoverOptions`, or `RetentionOptions` in each
3115
+ # request.
3116
+ #
3117
+ # @option params [required, String] :domain_name
3118
+ # The name of the domain that has a cloned blue/green upgrade in
3119
+ # progress.
3120
+ #
3121
+ # @option params [Types::TrafficSplitRequestOptions] :traffic_split_options
3122
+ # Shifts a percentage of search traffic from the primary cluster to the
3123
+ # cloned cluster.
3124
+ #
3125
+ # @option params [Types::CutoverRequestOptions] :cutover_options
3126
+ # Cuts the domain over to the cloned cluster or back to the primary
3127
+ # cluster.
3128
+ #
3129
+ # @option params [Types::RetentionOptions] :retention_options
3130
+ # Changes the retention period, or ends it after cutover completes.
3131
+ #
3132
+ # @return [Types::UpdateCloneResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3133
+ #
3134
+ # * {Types::UpdateCloneResponse#domain_name #domain_name} => String
3135
+ # * {Types::UpdateCloneResponse#change_id #change_id} => String
3136
+ # * {Types::UpdateCloneResponse#cutover_options #cutover_options} => Types::CutoverOptions
3137
+ # * {Types::UpdateCloneResponse#traffic_split_options #traffic_split_options} => Types::TrafficSplitOptions
3138
+ # * {Types::UpdateCloneResponse#retention_options #retention_options} => Types::RetentionOptions
3139
+ #
3140
+ # @example Request syntax with placeholder values
3141
+ #
3142
+ # resp = client.update_clone({
3143
+ # domain_name: "DomainName", # required
3144
+ # traffic_split_options: {
3145
+ # strategy: "ShiftReadTrafficPercent", # required, accepts ShiftReadTrafficPercent
3146
+ # clone_read_traffic_percent: 1, # required
3147
+ # },
3148
+ # cutover_options: {
3149
+ # target: "ClonedCluster", # required, accepts ClonedCluster, PrimaryCluster
3150
+ # },
3151
+ # retention_options: {
3152
+ # retention_in_hours: 1,
3153
+ # retention_action: "RollbackToPrimaryCluster", # accepts RollbackToPrimaryCluster, DeletePrimaryCluster
3154
+ # },
3155
+ # })
3156
+ #
3157
+ # @example Response structure
3158
+ #
3159
+ # resp.domain_name #=> String
3160
+ # resp.change_id #=> String
3161
+ # resp.cutover_options.target #=> String, one of "ClonedCluster", "PrimaryCluster"
3162
+ # resp.cutover_options.status #=> String, one of "InProgress", "Completed", "Failed"
3163
+ # resp.traffic_split_options.current.primary_read_traffic_percent #=> Integer
3164
+ # resp.traffic_split_options.current.clone_read_traffic_percent #=> Integer
3165
+ # resp.traffic_split_options.target.primary_read_traffic_percent #=> Integer
3166
+ # resp.traffic_split_options.target.clone_read_traffic_percent #=> Integer
3167
+ # resp.traffic_split_options.status #=> String, one of "InProgress", "Completed", "Failed"
3168
+ # resp.retention_options.retention_in_hours #=> Integer
3169
+ # resp.retention_options.retention_action #=> String, one of "RollbackToPrimaryCluster", "DeletePrimaryCluster"
3170
+ #
3171
+ # @overload update_clone(params = {})
3172
+ # @param [Hash] params ({})
3173
+ def update_clone(params = {}, options = {})
3174
+ req = build_request(:update_clone, params)
3175
+ req.send_request(options)
3176
+ end
3177
+
3104
3178
  # Modifies the cluster configuration of the specified Elasticsearch
3105
3179
  # domain, setting as setting the instance type and the number of
3106
3180
  # instances.
@@ -3612,11 +3686,16 @@ module Aws::ElasticsearchService
3612
3686
  # Check needs to be performed. This will not actually perform the
3613
3687
  # Upgrade.
3614
3688
  #
3689
+ # @option params [Types::DeploymentStrategyOverrideOptions] :deployment_strategy_options
3690
+ # Overrides the deployment strategy for this upgrade. To run a cloned
3691
+ # blue/green upgrade, set `DeploymentStrategy` to `ClonedBlueGreen`.
3692
+ #
3615
3693
  # @return [Types::UpgradeElasticsearchDomainResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3616
3694
  #
3617
3695
  # * {Types::UpgradeElasticsearchDomainResponse#domain_name #domain_name} => String
3618
3696
  # * {Types::UpgradeElasticsearchDomainResponse#target_version #target_version} => String
3619
3697
  # * {Types::UpgradeElasticsearchDomainResponse#perform_check_only #perform_check_only} => Boolean
3698
+ # * {Types::UpgradeElasticsearchDomainResponse#deployment_strategy_options #deployment_strategy_options} => Types::DeploymentStrategyOverrideOptions
3620
3699
  # * {Types::UpgradeElasticsearchDomainResponse#change_progress_details #change_progress_details} => Types::ChangeProgressDetails
3621
3700
  #
3622
3701
  # @example Request syntax with placeholder values
@@ -3625,6 +3704,15 @@ module Aws::ElasticsearchService
3625
3704
  # domain_name: "DomainName", # required
3626
3705
  # target_version: "ElasticsearchVersionString", # required
3627
3706
  # perform_check_only: false,
3707
+ # deployment_strategy_options: {
3708
+ # deployment_strategy: "ClonedBlueGreen", # required, accepts ClonedBlueGreen
3709
+ # cloned_blue_green_options: {
3710
+ # retention_options: {
3711
+ # retention_in_hours: 1,
3712
+ # retention_action: "RollbackToPrimaryCluster", # accepts RollbackToPrimaryCluster, DeletePrimaryCluster
3713
+ # },
3714
+ # },
3715
+ # },
3628
3716
  # })
3629
3717
  #
3630
3718
  # @example Response structure
@@ -3632,6 +3720,9 @@ module Aws::ElasticsearchService
3632
3720
  # resp.domain_name #=> String
3633
3721
  # resp.target_version #=> String
3634
3722
  # resp.perform_check_only #=> Boolean
3723
+ # resp.deployment_strategy_options.deployment_strategy #=> String, one of "ClonedBlueGreen"
3724
+ # resp.deployment_strategy_options.cloned_blue_green_options.retention_options.retention_in_hours #=> Integer
3725
+ # resp.deployment_strategy_options.cloned_blue_green_options.retention_options.retention_action #=> String, one of "RollbackToPrimaryCluster", "DeletePrimaryCluster"
3635
3726
  # resp.change_progress_details.change_id #=> String
3636
3727
  # resp.change_progress_details.message #=> String
3637
3728
  # resp.change_progress_details.config_change_status #=> String, one of "Pending", "Initializing", "Validating", "ValidationFailed", "ApplyingChanges", "Completed", "PendingUserInput", "Cancelled"
@@ -3664,7 +3755,7 @@ module Aws::ElasticsearchService
3664
3755
  tracer: tracer
3665
3756
  )
3666
3757
  context[:gem_name] = 'aws-sdk-elasticsearchservice'
3667
- context[:gem_version] = '1.133.0'
3758
+ context[:gem_version] = '1.135.0'
3668
3759
  Seahorse::Client::Request.new(handlers, context)
3669
3760
  end
3670
3761
 
@@ -67,6 +67,10 @@ module Aws::ElasticsearchService
67
67
  ChangeProgressStageStatus = Shapes::StringShape.new(name: 'ChangeProgressStageStatus')
68
68
  ChangeProgressStatusDetails = Shapes::StructureShape.new(name: 'ChangeProgressStatusDetails')
69
69
  ClientToken = Shapes::StringShape.new(name: 'ClientToken')
70
+ ClonedBlueGreenOptions = Shapes::StructureShape.new(name: 'ClonedBlueGreenOptions')
71
+ ClonedBlueGreenScheduledAction = Shapes::StructureShape.new(name: 'ClonedBlueGreenScheduledAction')
72
+ ClonedBlueGreenScheduledActionType = Shapes::StringShape.new(name: 'ClonedBlueGreenScheduledActionType')
73
+ ClonedBlueGreenUpgradeDetails = Shapes::StructureShape.new(name: 'ClonedBlueGreenUpgradeDetails')
70
74
  CloudWatchLogsLogGroupArn = Shapes::StringShape.new(name: 'CloudWatchLogsLogGroupArn')
71
75
  CognitoOptions = Shapes::StructureShape.new(name: 'CognitoOptions')
72
76
  CognitoOptionsStatus = Shapes::StructureShape.new(name: 'CognitoOptionsStatus')
@@ -88,6 +92,10 @@ module Aws::ElasticsearchService
88
92
  CreatedAt = Shapes::TimestampShape.new(name: 'CreatedAt')
89
93
  CrossClusterSearchConnectionId = Shapes::StringShape.new(name: 'CrossClusterSearchConnectionId')
90
94
  CrossClusterSearchConnectionStatusMessage = Shapes::StringShape.new(name: 'CrossClusterSearchConnectionStatusMessage')
95
+ CutoverOptions = Shapes::StructureShape.new(name: 'CutoverOptions')
96
+ CutoverRequestOptions = Shapes::StructureShape.new(name: 'CutoverRequestOptions')
97
+ CutoverStatus = Shapes::StringShape.new(name: 'CutoverStatus')
98
+ CutoverTarget = Shapes::StringShape.new(name: 'CutoverTarget')
91
99
  DeleteElasticsearchDomainRequest = Shapes::StructureShape.new(name: 'DeleteElasticsearchDomainRequest')
92
100
  DeleteElasticsearchDomainResponse = Shapes::StructureShape.new(name: 'DeleteElasticsearchDomainResponse')
93
101
  DeleteInboundCrossClusterSearchConnectionRequest = Shapes::StructureShape.new(name: 'DeleteInboundCrossClusterSearchConnectionRequest')
@@ -103,6 +111,8 @@ module Aws::ElasticsearchService
103
111
  DeploymentStrategy = Shapes::StringShape.new(name: 'DeploymentStrategy')
104
112
  DeploymentStrategyOptions = Shapes::StructureShape.new(name: 'DeploymentStrategyOptions')
105
113
  DeploymentStrategyOptionsStatus = Shapes::StructureShape.new(name: 'DeploymentStrategyOptionsStatus')
114
+ DeploymentStrategyOverride = Shapes::StringShape.new(name: 'DeploymentStrategyOverride')
115
+ DeploymentStrategyOverrideOptions = Shapes::StructureShape.new(name: 'DeploymentStrategyOverrideOptions')
106
116
  DeploymentType = Shapes::StringShape.new(name: 'DeploymentType')
107
117
  DescribeDomainAutoTunesRequest = Shapes::StructureShape.new(name: 'DescribeDomainAutoTunesRequest')
108
118
  DescribeDomainAutoTunesResponse = Shapes::StructureShape.new(name: 'DescribeDomainAutoTunesResponse')
@@ -292,6 +302,8 @@ module Aws::ElasticsearchService
292
302
  ReservedElasticsearchInstancePaymentOption = Shapes::StringShape.new(name: 'ReservedElasticsearchInstancePaymentOption')
293
303
  ResourceAlreadyExistsException = Shapes::StructureShape.new(name: 'ResourceAlreadyExistsException')
294
304
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
305
+ RetentionAction = Shapes::StringShape.new(name: 'RetentionAction')
306
+ RetentionOptions = Shapes::UnionShape.new(name: 'RetentionOptions')
295
307
  RevokeVpcEndpointAccessRequest = Shapes::StructureShape.new(name: 'RevokeVpcEndpointAccessRequest')
296
308
  RevokeVpcEndpointAccessResponse = Shapes::StructureShape.new(name: 'RevokeVpcEndpointAccessResponse')
297
309
  RoleArn = Shapes::StringShape.new(name: 'RoleArn')
@@ -330,7 +342,15 @@ module Aws::ElasticsearchService
330
342
  TagValue = Shapes::StringShape.new(name: 'TagValue')
331
343
  TimeUnit = Shapes::StringShape.new(name: 'TimeUnit')
332
344
  TotalNumberOfStages = Shapes::IntegerShape.new(name: 'TotalNumberOfStages')
345
+ TrafficPercent = Shapes::IntegerShape.new(name: 'TrafficPercent')
346
+ TrafficPercents = Shapes::StructureShape.new(name: 'TrafficPercents')
347
+ TrafficSplitOptions = Shapes::StructureShape.new(name: 'TrafficSplitOptions')
348
+ TrafficSplitRequestOptions = Shapes::StructureShape.new(name: 'TrafficSplitRequestOptions')
349
+ TrafficSplitStatus = Shapes::StringShape.new(name: 'TrafficSplitStatus')
350
+ TrafficStrategy = Shapes::StringShape.new(name: 'TrafficStrategy')
333
351
  UIntValue = Shapes::IntegerShape.new(name: 'UIntValue')
352
+ UpdateCloneRequest = Shapes::StructureShape.new(name: 'UpdateCloneRequest')
353
+ UpdateCloneResponse = Shapes::StructureShape.new(name: 'UpdateCloneResponse')
334
354
  UpdateElasticsearchDomainConfigRequest = Shapes::StructureShape.new(name: 'UpdateElasticsearchDomainConfigRequest')
335
355
  UpdateElasticsearchDomainConfigResponse = Shapes::StructureShape.new(name: 'UpdateElasticsearchDomainConfigResponse')
336
356
  UpdatePackageRequest = Shapes::StructureShape.new(name: 'UpdatePackageRequest')
@@ -542,8 +562,21 @@ module Aws::ElasticsearchService
542
562
  ChangeProgressStatusDetails.add_member(:config_change_status, Shapes::ShapeRef.new(shape: ConfigChangeStatus, location_name: "ConfigChangeStatus"))
543
563
  ChangeProgressStatusDetails.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: UpdateTimestamp, location_name: "LastUpdatedTime"))
544
564
  ChangeProgressStatusDetails.add_member(:initiated_by, Shapes::ShapeRef.new(shape: InitiatedBy, location_name: "InitiatedBy"))
565
+ ChangeProgressStatusDetails.add_member(:cloned_blue_green_upgrade_details, Shapes::ShapeRef.new(shape: ClonedBlueGreenUpgradeDetails, location_name: "ClonedBlueGreenUpgradeDetails"))
545
566
  ChangeProgressStatusDetails.struct_class = Types::ChangeProgressStatusDetails
546
567
 
568
+ ClonedBlueGreenOptions.add_member(:retention_options, Shapes::ShapeRef.new(shape: RetentionOptions, location_name: "RetentionOptions"))
569
+ ClonedBlueGreenOptions.struct_class = Types::ClonedBlueGreenOptions
570
+
571
+ ClonedBlueGreenScheduledAction.add_member(:action, Shapes::ShapeRef.new(shape: ClonedBlueGreenScheduledActionType, location_name: "Action"))
572
+ ClonedBlueGreenScheduledAction.add_member(:scheduled_time, Shapes::ShapeRef.new(shape: UpdateTimestamp, location_name: "ScheduledTime"))
573
+ ClonedBlueGreenScheduledAction.struct_class = Types::ClonedBlueGreenScheduledAction
574
+
575
+ ClonedBlueGreenUpgradeDetails.add_member(:traffic_split, Shapes::ShapeRef.new(shape: TrafficPercents, location_name: "TrafficSplit"))
576
+ ClonedBlueGreenUpgradeDetails.add_member(:scheduled_action, Shapes::ShapeRef.new(shape: ClonedBlueGreenScheduledAction, location_name: "ScheduledAction"))
577
+ ClonedBlueGreenUpgradeDetails.add_member(:retention_in_hours, Shapes::ShapeRef.new(shape: IntegerClass, location_name: "RetentionInHours"))
578
+ ClonedBlueGreenUpgradeDetails.struct_class = Types::ClonedBlueGreenUpgradeDetails
579
+
547
580
  CognitoOptions.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "Enabled"))
548
581
  CognitoOptions.add_member(:user_pool_id, Shapes::ShapeRef.new(shape: UserPoolId, location_name: "UserPoolId"))
549
582
  CognitoOptions.add_member(:identity_pool_id, Shapes::ShapeRef.new(shape: IdentityPoolId, location_name: "IdentityPoolId"))
@@ -619,6 +652,13 @@ module Aws::ElasticsearchService
619
652
  CreateVpcEndpointResponse.add_member(:vpc_endpoint, Shapes::ShapeRef.new(shape: VpcEndpoint, required: true, location_name: "VpcEndpoint"))
620
653
  CreateVpcEndpointResponse.struct_class = Types::CreateVpcEndpointResponse
621
654
 
655
+ CutoverOptions.add_member(:target, Shapes::ShapeRef.new(shape: CutoverTarget, required: true, location_name: "Target"))
656
+ CutoverOptions.add_member(:status, Shapes::ShapeRef.new(shape: CutoverStatus, required: true, location_name: "Status"))
657
+ CutoverOptions.struct_class = Types::CutoverOptions
658
+
659
+ CutoverRequestOptions.add_member(:target, Shapes::ShapeRef.new(shape: CutoverTarget, required: true, location_name: "Target"))
660
+ CutoverRequestOptions.struct_class = Types::CutoverRequestOptions
661
+
622
662
  DeleteElasticsearchDomainRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "uri", location_name: "DomainName"))
623
663
  DeleteElasticsearchDomainRequest.struct_class = Types::DeleteElasticsearchDomainRequest
624
664
 
@@ -656,6 +696,10 @@ module Aws::ElasticsearchService
656
696
  DeploymentStrategyOptionsStatus.add_member(:status, Shapes::ShapeRef.new(shape: OptionStatus, required: true, location_name: "Status"))
657
697
  DeploymentStrategyOptionsStatus.struct_class = Types::DeploymentStrategyOptionsStatus
658
698
 
699
+ DeploymentStrategyOverrideOptions.add_member(:deployment_strategy, Shapes::ShapeRef.new(shape: DeploymentStrategyOverride, required: true, location_name: "DeploymentStrategy"))
700
+ DeploymentStrategyOverrideOptions.add_member(:cloned_blue_green_options, Shapes::ShapeRef.new(shape: ClonedBlueGreenOptions, location_name: "ClonedBlueGreenOptions"))
701
+ DeploymentStrategyOverrideOptions.struct_class = Types::DeploymentStrategyOverrideOptions
702
+
659
703
  DescribeDomainAutoTunesRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "uri", location_name: "DomainName"))
660
704
  DescribeDomainAutoTunesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
661
705
  DescribeDomainAutoTunesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
@@ -1208,6 +1252,14 @@ module Aws::ElasticsearchService
1208
1252
 
1209
1253
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
1210
1254
 
1255
+ RetentionOptions.add_member(:retention_in_hours, Shapes::ShapeRef.new(shape: IntegerClass, location_name: "RetentionInHours"))
1256
+ RetentionOptions.add_member(:retention_action, Shapes::ShapeRef.new(shape: RetentionAction, location_name: "RetentionAction"))
1257
+ RetentionOptions.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
1258
+ RetentionOptions.add_member_subclass(:retention_in_hours, Types::RetentionOptions::RetentionInHours)
1259
+ RetentionOptions.add_member_subclass(:retention_action, Types::RetentionOptions::RetentionAction)
1260
+ RetentionOptions.add_member_subclass(:unknown, Types::RetentionOptions::Unknown)
1261
+ RetentionOptions.struct_class = Types::RetentionOptions
1262
+
1211
1263
  RevokeVpcEndpointAccessRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "uri", location_name: "DomainName"))
1212
1264
  RevokeVpcEndpointAccessRequest.add_member(:account, Shapes::ShapeRef.new(shape: AWSAccount, required: true, location_name: "Account"))
1213
1265
  RevokeVpcEndpointAccessRequest.struct_class = Types::RevokeVpcEndpointAccessRequest
@@ -1284,6 +1336,32 @@ module Aws::ElasticsearchService
1284
1336
 
1285
1337
  TagList.member = Shapes::ShapeRef.new(shape: Tag)
1286
1338
 
1339
+ TrafficPercents.add_member(:primary_read_traffic_percent, Shapes::ShapeRef.new(shape: TrafficPercent, required: true, location_name: "PrimaryReadTrafficPercent"))
1340
+ TrafficPercents.add_member(:clone_read_traffic_percent, Shapes::ShapeRef.new(shape: TrafficPercent, required: true, location_name: "CloneReadTrafficPercent"))
1341
+ TrafficPercents.struct_class = Types::TrafficPercents
1342
+
1343
+ TrafficSplitOptions.add_member(:current, Shapes::ShapeRef.new(shape: TrafficPercents, required: true, location_name: "Current"))
1344
+ TrafficSplitOptions.add_member(:target, Shapes::ShapeRef.new(shape: TrafficPercents, required: true, location_name: "Target"))
1345
+ TrafficSplitOptions.add_member(:status, Shapes::ShapeRef.new(shape: TrafficSplitStatus, required: true, location_name: "Status"))
1346
+ TrafficSplitOptions.struct_class = Types::TrafficSplitOptions
1347
+
1348
+ TrafficSplitRequestOptions.add_member(:strategy, Shapes::ShapeRef.new(shape: TrafficStrategy, required: true, location_name: "Strategy"))
1349
+ TrafficSplitRequestOptions.add_member(:clone_read_traffic_percent, Shapes::ShapeRef.new(shape: TrafficPercent, required: true, location_name: "CloneReadTrafficPercent"))
1350
+ TrafficSplitRequestOptions.struct_class = Types::TrafficSplitRequestOptions
1351
+
1352
+ UpdateCloneRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "uri", location_name: "DomainName"))
1353
+ UpdateCloneRequest.add_member(:traffic_split_options, Shapes::ShapeRef.new(shape: TrafficSplitRequestOptions, location_name: "TrafficSplitOptions"))
1354
+ UpdateCloneRequest.add_member(:cutover_options, Shapes::ShapeRef.new(shape: CutoverRequestOptions, location_name: "CutoverOptions"))
1355
+ UpdateCloneRequest.add_member(:retention_options, Shapes::ShapeRef.new(shape: RetentionOptions, location_name: "RetentionOptions"))
1356
+ UpdateCloneRequest.struct_class = Types::UpdateCloneRequest
1357
+
1358
+ UpdateCloneResponse.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location_name: "DomainName"))
1359
+ UpdateCloneResponse.add_member(:change_id, Shapes::ShapeRef.new(shape: GUID, required: true, location_name: "ChangeId"))
1360
+ UpdateCloneResponse.add_member(:cutover_options, Shapes::ShapeRef.new(shape: CutoverOptions, location_name: "CutoverOptions"))
1361
+ UpdateCloneResponse.add_member(:traffic_split_options, Shapes::ShapeRef.new(shape: TrafficSplitOptions, location_name: "TrafficSplitOptions"))
1362
+ UpdateCloneResponse.add_member(:retention_options, Shapes::ShapeRef.new(shape: RetentionOptions, location_name: "RetentionOptions"))
1363
+ UpdateCloneResponse.struct_class = Types::UpdateCloneResponse
1364
+
1287
1365
  UpdateElasticsearchDomainConfigRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "uri", location_name: "DomainName"))
1288
1366
  UpdateElasticsearchDomainConfigRequest.add_member(:elasticsearch_cluster_config, Shapes::ShapeRef.new(shape: ElasticsearchClusterConfig, location_name: "ElasticsearchClusterConfig"))
1289
1367
  UpdateElasticsearchDomainConfigRequest.add_member(:ebs_options, Shapes::ShapeRef.new(shape: EBSOptions, location_name: "EBSOptions"))
@@ -1328,11 +1406,13 @@ module Aws::ElasticsearchService
1328
1406
  UpgradeElasticsearchDomainRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location_name: "DomainName"))
1329
1407
  UpgradeElasticsearchDomainRequest.add_member(:target_version, Shapes::ShapeRef.new(shape: ElasticsearchVersionString, required: true, location_name: "TargetVersion"))
1330
1408
  UpgradeElasticsearchDomainRequest.add_member(:perform_check_only, Shapes::ShapeRef.new(shape: Boolean, location_name: "PerformCheckOnly"))
1409
+ UpgradeElasticsearchDomainRequest.add_member(:deployment_strategy_options, Shapes::ShapeRef.new(shape: DeploymentStrategyOverrideOptions, location_name: "DeploymentStrategyOptions"))
1331
1410
  UpgradeElasticsearchDomainRequest.struct_class = Types::UpgradeElasticsearchDomainRequest
1332
1411
 
1333
1412
  UpgradeElasticsearchDomainResponse.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, location_name: "DomainName"))
1334
1413
  UpgradeElasticsearchDomainResponse.add_member(:target_version, Shapes::ShapeRef.new(shape: ElasticsearchVersionString, location_name: "TargetVersion"))
1335
1414
  UpgradeElasticsearchDomainResponse.add_member(:perform_check_only, Shapes::ShapeRef.new(shape: Boolean, location_name: "PerformCheckOnly"))
1415
+ UpgradeElasticsearchDomainResponse.add_member(:deployment_strategy_options, Shapes::ShapeRef.new(shape: DeploymentStrategyOverrideOptions, location_name: "DeploymentStrategyOptions"))
1336
1416
  UpgradeElasticsearchDomainResponse.add_member(:change_progress_details, Shapes::ShapeRef.new(shape: ChangeProgressDetails, location_name: "ChangeProgressDetails"))
1337
1417
  UpgradeElasticsearchDomainResponse.struct_class = Types::UpgradeElasticsearchDomainResponse
1338
1418
 
@@ -2070,6 +2150,19 @@ module Aws::ElasticsearchService
2070
2150
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2071
2151
  end)
2072
2152
 
2153
+ api.add_operation(:update_clone, Seahorse::Model::Operation.new.tap do |o|
2154
+ o.name = "UpdateClone"
2155
+ o.http_method = "POST"
2156
+ o.http_request_uri = "/2015-01-01/es/domain/{DomainName}/clone"
2157
+ o.input = Shapes::ShapeRef.new(shape: UpdateCloneRequest)
2158
+ o.output = Shapes::ShapeRef.new(shape: UpdateCloneResponse)
2159
+ o.errors << Shapes::ShapeRef.new(shape: BaseException)
2160
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2161
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2162
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
2163
+ o.errors << Shapes::ShapeRef.new(shape: DisabledOperationException)
2164
+ end)
2165
+
2073
2166
  api.add_operation(:update_elasticsearch_domain_config, Seahorse::Model::Operation.new.tap do |o|
2074
2167
  o.name = "UpdateElasticsearchDomainConfig"
2075
2168
  o.http_method = "POST"
@@ -835,6 +835,10 @@ module Aws::ElasticsearchService
835
835
  # The IAM principal who initiated the configuration change.
836
836
  # @return [String]
837
837
  #
838
+ # @!attribute [rw] cloned_blue_green_upgrade_details
839
+ # Details about a cloned blue/green upgrade, when the change is one.
840
+ # @return [Types::ClonedBlueGreenUpgradeDetails]
841
+ #
838
842
  class ChangeProgressStatusDetails < Struct.new(
839
843
  :change_id,
840
844
  :start_time,
@@ -845,7 +849,66 @@ module Aws::ElasticsearchService
845
849
  :change_progress_stages,
846
850
  :config_change_status,
847
851
  :last_updated_time,
848
- :initiated_by)
852
+ :initiated_by,
853
+ :cloned_blue_green_upgrade_details)
854
+ SENSITIVE = []
855
+ include Aws::Structure
856
+ end
857
+
858
+ # Options for a cloned blue/green upgrade.
859
+ #
860
+ # @!attribute [rw] retention_options
861
+ # How long to keep the cluster that you cut over from after cutover
862
+ # completes. When you start the upgrade, only `RetentionInHours` is
863
+ # accepted.
864
+ # @return [Types::RetentionOptions]
865
+ #
866
+ class ClonedBlueGreenOptions < Struct.new(
867
+ :retention_options)
868
+ SENSITIVE = []
869
+ include Aws::Structure
870
+ end
871
+
872
+ # An action that the service takes automatically at a scheduled time
873
+ # during a cloned blue/green upgrade.
874
+ #
875
+ # @!attribute [rw] action
876
+ # The action that the service takes.
877
+ # @return [String]
878
+ #
879
+ # @!attribute [rw] scheduled_time
880
+ # The time at which the service takes the action.
881
+ # @return [Time]
882
+ #
883
+ class ClonedBlueGreenScheduledAction < Struct.new(
884
+ :action,
885
+ :scheduled_time)
886
+ SENSITIVE = []
887
+ include Aws::Structure
888
+ end
889
+
890
+ # The state of a cloned blue/green upgrade. Members that don't apply
891
+ # are omitted.
892
+ #
893
+ # @!attribute [rw] traffic_split
894
+ # The current split of search traffic between the primary and cloned
895
+ # clusters.
896
+ # @return [Types::TrafficPercents]
897
+ #
898
+ # @!attribute [rw] scheduled_action
899
+ # The action that the service takes automatically if you don't act
900
+ # before the scheduled time.
901
+ # @return [Types::ClonedBlueGreenScheduledAction]
902
+ #
903
+ # @!attribute [rw] retention_in_hours
904
+ # The retention period, in hours, for the cluster that you cut over
905
+ # from.
906
+ # @return [Integer]
907
+ #
908
+ class ClonedBlueGreenUpgradeDetails < Struct.new(
909
+ :traffic_split,
910
+ :scheduled_action,
911
+ :retention_in_hours)
849
912
  SENSITIVE = []
850
913
  include Aws::Structure
851
914
  end
@@ -1242,6 +1305,37 @@ module Aws::ElasticsearchService
1242
1305
  include Aws::Structure
1243
1306
  end
1244
1307
 
1308
+ # The cutover target and status for a cloned blue/green upgrade.
1309
+ #
1310
+ # @!attribute [rw] target
1311
+ # The cluster that the domain is cutting over to.
1312
+ # @return [String]
1313
+ #
1314
+ # @!attribute [rw] status
1315
+ # The status of the cutover.
1316
+ # @return [String]
1317
+ #
1318
+ class CutoverOptions < Struct.new(
1319
+ :target,
1320
+ :status)
1321
+ SENSITIVE = []
1322
+ include Aws::Structure
1323
+ end
1324
+
1325
+ # The cutover to perform for a cloned blue/green upgrade.
1326
+ #
1327
+ # @!attribute [rw] target
1328
+ # The cluster to cut over to. `ClonedCluster` makes the cloned cluster
1329
+ # serve the domain. `PrimaryCluster` keeps the primary cluster and
1330
+ # ends the upgrade.
1331
+ # @return [String]
1332
+ #
1333
+ class CutoverRequestOptions < Struct.new(
1334
+ :target)
1335
+ SENSITIVE = []
1336
+ include Aws::Structure
1337
+ end
1338
+
1245
1339
  # Container for the parameters to the `DeleteElasticsearchDomain`
1246
1340
  # operation. Specifies the name of the Elasticsearch domain that you
1247
1341
  # want to delete.
@@ -1412,6 +1506,27 @@ module Aws::ElasticsearchService
1412
1506
  include Aws::Structure
1413
1507
  end
1414
1508
 
1509
+ # Overrides the deployment strategy for a single operation, such as a
1510
+ # version upgrade.
1511
+ #
1512
+ # @!attribute [rw] deployment_strategy
1513
+ # The deployment strategy to use for this operation. The only valid
1514
+ # value is `ClonedBlueGreen`, which creates a cloned cluster on the
1515
+ # target version next to the primary cluster so that you can validate
1516
+ # it and shift traffic to it before you cut over.
1517
+ # @return [String]
1518
+ #
1519
+ # @!attribute [rw] cloned_blue_green_options
1520
+ # Options that apply when `DeploymentStrategy` is `ClonedBlueGreen`.
1521
+ # @return [Types::ClonedBlueGreenOptions]
1522
+ #
1523
+ class DeploymentStrategyOverrideOptions < Struct.new(
1524
+ :deployment_strategy,
1525
+ :cloned_blue_green_options)
1526
+ SENSITIVE = []
1527
+ include Aws::Structure
1528
+ end
1529
+
1415
1530
  # Container for the parameters to the `DescribeDomainAutoTunes`
1416
1531
  # operation.
1417
1532
  #
@@ -3975,6 +4090,39 @@ module Aws::ElasticsearchService
3975
4090
  #
3976
4091
  class ResourceNotFoundException < Aws::EmptyStructure; end
3977
4092
 
4093
+ # Controls how long the cluster that you cut over from is kept after
4094
+ # cutover completes. Specify exactly one of `RetentionInHours` or
4095
+ # `RetentionAction`.
4096
+ #
4097
+ # @note RetentionOptions is a union - when making an API calls you must set exactly one of the members.
4098
+ #
4099
+ # @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.
4100
+ #
4101
+ # @!attribute [rw] retention_in_hours
4102
+ # The number of hours to keep the cluster that you cut over from. The
4103
+ # retention period starts when cutover completes. The minimum is 1
4104
+ # hour. In an `UpdateClone` response after cutover completes, this
4105
+ # value is the number of hours remaining in the retention period,
4106
+ # rounded up.
4107
+ # @return [Integer]
4108
+ #
4109
+ # @!attribute [rw] retention_action
4110
+ # Ends the retention period now. Valid only after cutover completes.
4111
+ # @return [String]
4112
+ #
4113
+ class RetentionOptions < Struct.new(
4114
+ :retention_in_hours,
4115
+ :retention_action,
4116
+ :unknown)
4117
+ SENSITIVE = []
4118
+ include Aws::Structure
4119
+ include Aws::Structure::Union
4120
+
4121
+ class RetentionInHours < RetentionOptions; end
4122
+ class RetentionAction < RetentionOptions; end
4123
+ class Unknown < RetentionOptions; end
4124
+ end
4125
+
3978
4126
  # Revokes access to an Amazon OpenSearch Service domain that was
3979
4127
  # provided through an interface VPC endpoint.
3980
4128
  #
@@ -4326,6 +4474,128 @@ module Aws::ElasticsearchService
4326
4474
  include Aws::Structure
4327
4475
  end
4328
4476
 
4477
+ # The split of search traffic between the primary and cloned clusters.
4478
+ #
4479
+ # @!attribute [rw] primary_read_traffic_percent
4480
+ # The percentage of search traffic sent to the primary cluster.
4481
+ # @return [Integer]
4482
+ #
4483
+ # @!attribute [rw] clone_read_traffic_percent
4484
+ # The percentage of search traffic sent to the cloned cluster.
4485
+ # @return [Integer]
4486
+ #
4487
+ class TrafficPercents < Struct.new(
4488
+ :primary_read_traffic_percent,
4489
+ :clone_read_traffic_percent)
4490
+ SENSITIVE = []
4491
+ include Aws::Structure
4492
+ end
4493
+
4494
+ # The traffic split and status for a cloned blue/green upgrade.
4495
+ #
4496
+ # @!attribute [rw] current
4497
+ # The traffic split currently in effect.
4498
+ # @return [Types::TrafficPercents]
4499
+ #
4500
+ # @!attribute [rw] target
4501
+ # The requested traffic split.
4502
+ # @return [Types::TrafficPercents]
4503
+ #
4504
+ # @!attribute [rw] status
4505
+ # The status of the traffic shift.
4506
+ # @return [String]
4507
+ #
4508
+ class TrafficSplitOptions < Struct.new(
4509
+ :current,
4510
+ :target,
4511
+ :status)
4512
+ SENSITIVE = []
4513
+ include Aws::Structure
4514
+ end
4515
+
4516
+ # The traffic shift to perform for a cloned blue/green upgrade.
4517
+ #
4518
+ # @!attribute [rw] strategy
4519
+ # The traffic shifting strategy. The only valid value is
4520
+ # `ShiftReadTrafficPercent`.
4521
+ # @return [String]
4522
+ #
4523
+ # @!attribute [rw] clone_read_traffic_percent
4524
+ # The percentage of search traffic, from 0 to 100, to send to the
4525
+ # cloned cluster. The rest goes to the primary cluster.
4526
+ # @return [Integer]
4527
+ #
4528
+ class TrafficSplitRequestOptions < Struct.new(
4529
+ :strategy,
4530
+ :clone_read_traffic_percent)
4531
+ SENSITIVE = []
4532
+ include Aws::Structure
4533
+ end
4534
+
4535
+ # Container for the request parameters to the `UpdateClone` operation.
4536
+ #
4537
+ # @!attribute [rw] domain_name
4538
+ # The name of the domain that has a cloned blue/green upgrade in
4539
+ # progress.
4540
+ # @return [String]
4541
+ #
4542
+ # @!attribute [rw] traffic_split_options
4543
+ # Shifts a percentage of search traffic from the primary cluster to
4544
+ # the cloned cluster.
4545
+ # @return [Types::TrafficSplitRequestOptions]
4546
+ #
4547
+ # @!attribute [rw] cutover_options
4548
+ # Cuts the domain over to the cloned cluster or back to the primary
4549
+ # cluster.
4550
+ # @return [Types::CutoverRequestOptions]
4551
+ #
4552
+ # @!attribute [rw] retention_options
4553
+ # Changes the retention period, or ends it after cutover completes.
4554
+ # @return [Types::RetentionOptions]
4555
+ #
4556
+ class UpdateCloneRequest < Struct.new(
4557
+ :domain_name,
4558
+ :traffic_split_options,
4559
+ :cutover_options,
4560
+ :retention_options)
4561
+ SENSITIVE = []
4562
+ include Aws::Structure
4563
+ end
4564
+
4565
+ # Container for the response returned by the `UpdateClone` operation.
4566
+ #
4567
+ # @!attribute [rw] domain_name
4568
+ # The name of the domain.
4569
+ # @return [String]
4570
+ #
4571
+ # @!attribute [rw] change_id
4572
+ # The unique identifier of the configuration change. Use it with
4573
+ # `DescribeDomainChangeProgress` to track the change.
4574
+ # @return [String]
4575
+ #
4576
+ # @!attribute [rw] cutover_options
4577
+ # The requested cutover target and the status of the cutover.
4578
+ # @return [Types::CutoverOptions]
4579
+ #
4580
+ # @!attribute [rw] traffic_split_options
4581
+ # The current and requested traffic split, and the status of the
4582
+ # traffic shift.
4583
+ # @return [Types::TrafficSplitOptions]
4584
+ #
4585
+ # @!attribute [rw] retention_options
4586
+ # The retention settings for the upgrade.
4587
+ # @return [Types::RetentionOptions]
4588
+ #
4589
+ class UpdateCloneResponse < Struct.new(
4590
+ :domain_name,
4591
+ :change_id,
4592
+ :cutover_options,
4593
+ :traffic_split_options,
4594
+ :retention_options)
4595
+ SENSITIVE = []
4596
+ include Aws::Structure
4597
+ end
4598
+
4329
4599
  # Container for the parameters to the `UpdateElasticsearchDomain`
4330
4600
  # operation. Specifies the type and number of instances in the domain
4331
4601
  # cluster.
@@ -4577,10 +4847,16 @@ module Aws::ElasticsearchService
4577
4847
  # Upgrade.
4578
4848
  # @return [Boolean]
4579
4849
  #
4850
+ # @!attribute [rw] deployment_strategy_options
4851
+ # Overrides the deployment strategy for this upgrade. To run a cloned
4852
+ # blue/green upgrade, set `DeploymentStrategy` to `ClonedBlueGreen`.
4853
+ # @return [Types::DeploymentStrategyOverrideOptions]
4854
+ #
4580
4855
  class UpgradeElasticsearchDomainRequest < Struct.new(
4581
4856
  :domain_name,
4582
4857
  :target_version,
4583
- :perform_check_only)
4858
+ :perform_check_only,
4859
+ :deployment_strategy_options)
4584
4860
  SENSITIVE = []
4585
4861
  include Aws::Structure
4586
4862
  end
@@ -4606,6 +4882,10 @@ module Aws::ElasticsearchService
4606
4882
  # Upgrade.
4607
4883
  # @return [Boolean]
4608
4884
  #
4885
+ # @!attribute [rw] deployment_strategy_options
4886
+ # The deployment strategy override used for the upgrade.
4887
+ # @return [Types::DeploymentStrategyOverrideOptions]
4888
+ #
4609
4889
  # @!attribute [rw] change_progress_details
4610
4890
  # Specifies change details of the domain configuration change.
4611
4891
  # @return [Types::ChangeProgressDetails]
@@ -4614,6 +4894,7 @@ module Aws::ElasticsearchService
4614
4894
  :domain_name,
4615
4895
  :target_version,
4616
4896
  :perform_check_only,
4897
+ :deployment_strategy_options,
4617
4898
  :change_progress_details)
4618
4899
  SENSITIVE = []
4619
4900
  include Aws::Structure
@@ -54,7 +54,7 @@ module Aws::ElasticsearchService
54
54
  autoload :EndpointProvider, 'aws-sdk-elasticsearchservice/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-elasticsearchservice/endpoints'
56
56
 
57
- GEM_VERSION = '1.133.0'
57
+ GEM_VERSION = '1.135.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -704,6 +704,31 @@ module Aws
704
704
  ) -> _StartElasticsearchServiceSoftwareUpdateResponseSuccess
705
705
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartElasticsearchServiceSoftwareUpdateResponseSuccess
706
706
 
707
+ interface _UpdateCloneResponseSuccess
708
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateCloneResponse]
709
+ def domain_name: () -> ::String
710
+ def change_id: () -> ::String
711
+ def cutover_options: () -> Types::CutoverOptions
712
+ def traffic_split_options: () -> Types::TrafficSplitOptions
713
+ def retention_options: () -> Types::RetentionOptions
714
+ end
715
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ElasticsearchService/Client.html#update_clone-instance_method
716
+ def update_clone: (
717
+ domain_name: ::String,
718
+ ?traffic_split_options: {
719
+ strategy: ("ShiftReadTrafficPercent"),
720
+ clone_read_traffic_percent: ::Integer
721
+ },
722
+ ?cutover_options: {
723
+ target: ("ClonedCluster" | "PrimaryCluster")
724
+ },
725
+ ?retention_options: {
726
+ retention_in_hours: ::Integer?,
727
+ retention_action: ("RollbackToPrimaryCluster" | "DeletePrimaryCluster")?
728
+ }
729
+ ) -> _UpdateCloneResponseSuccess
730
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateCloneResponseSuccess
731
+
707
732
  interface _UpdateElasticsearchDomainConfigResponseSuccess
708
733
  include ::Seahorse::Client::_ResponseSuccess[Types::UpdateElasticsearchDomainConfigResponse]
709
734
  def domain_config: () -> Types::ElasticsearchDomainConfig
@@ -810,13 +835,23 @@ module Aws
810
835
  def domain_name: () -> ::String
811
836
  def target_version: () -> ::String
812
837
  def perform_check_only: () -> bool
838
+ def deployment_strategy_options: () -> Types::DeploymentStrategyOverrideOptions
813
839
  def change_progress_details: () -> Types::ChangeProgressDetails
814
840
  end
815
841
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ElasticsearchService/Client.html#upgrade_elasticsearch_domain-instance_method
816
842
  def upgrade_elasticsearch_domain: (
817
843
  domain_name: ::String,
818
844
  target_version: ::String,
819
- ?perform_check_only: bool
845
+ ?perform_check_only: bool,
846
+ ?deployment_strategy_options: {
847
+ deployment_strategy: ("ClonedBlueGreen"),
848
+ cloned_blue_green_options: {
849
+ retention_options: {
850
+ retention_in_hours: ::Integer?,
851
+ retention_action: ("RollbackToPrimaryCluster" | "DeletePrimaryCluster")?
852
+ }?
853
+ }?
854
+ }
820
855
  ) -> _UpgradeElasticsearchDomainResponseSuccess
821
856
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpgradeElasticsearchDomainResponseSuccess
822
857
  end
data/sig/types.rbs CHANGED
@@ -235,6 +235,25 @@ module Aws::ElasticsearchService
235
235
  attr_accessor config_change_status: ("Pending" | "Initializing" | "Validating" | "ValidationFailed" | "ApplyingChanges" | "Completed" | "PendingUserInput" | "Cancelled")
236
236
  attr_accessor last_updated_time: ::Time
237
237
  attr_accessor initiated_by: ("CUSTOMER" | "SERVICE")
238
+ attr_accessor cloned_blue_green_upgrade_details: Types::ClonedBlueGreenUpgradeDetails
239
+ SENSITIVE: []
240
+ end
241
+
242
+ class ClonedBlueGreenOptions
243
+ attr_accessor retention_options: Types::RetentionOptions
244
+ SENSITIVE: []
245
+ end
246
+
247
+ class ClonedBlueGreenScheduledAction
248
+ attr_accessor action: ("AutomaticCutoverToPrimaryCluster" | "DeletePrimaryCluster")
249
+ attr_accessor scheduled_time: ::Time
250
+ SENSITIVE: []
251
+ end
252
+
253
+ class ClonedBlueGreenUpgradeDetails
254
+ attr_accessor traffic_split: Types::TrafficPercents
255
+ attr_accessor scheduled_action: Types::ClonedBlueGreenScheduledAction
256
+ attr_accessor retention_in_hours: ::Integer
238
257
  SENSITIVE: []
239
258
  end
240
259
 
@@ -336,6 +355,17 @@ module Aws::ElasticsearchService
336
355
  SENSITIVE: []
337
356
  end
338
357
 
358
+ class CutoverOptions
359
+ attr_accessor target: ("ClonedCluster" | "PrimaryCluster")
360
+ attr_accessor status: ("InProgress" | "Completed" | "Failed")
361
+ SENSITIVE: []
362
+ end
363
+
364
+ class CutoverRequestOptions
365
+ attr_accessor target: ("ClonedCluster" | "PrimaryCluster")
366
+ SENSITIVE: []
367
+ end
368
+
339
369
  class DeleteElasticsearchDomainRequest
340
370
  attr_accessor domain_name: ::String
341
371
  SENSITIVE: []
@@ -397,6 +427,12 @@ module Aws::ElasticsearchService
397
427
  SENSITIVE: []
398
428
  end
399
429
 
430
+ class DeploymentStrategyOverrideOptions
431
+ attr_accessor deployment_strategy: ("ClonedBlueGreen")
432
+ attr_accessor cloned_blue_green_options: Types::ClonedBlueGreenOptions
433
+ SENSITIVE: []
434
+ end
435
+
400
436
  class DescribeDomainAutoTunesRequest
401
437
  attr_accessor domain_name: ::String
402
438
  attr_accessor max_results: ::Integer
@@ -1101,6 +1137,20 @@ module Aws::ElasticsearchService
1101
1137
  class ResourceNotFoundException < Aws::EmptyStructure
1102
1138
  end
1103
1139
 
1140
+ class RetentionOptions
1141
+ attr_accessor retention_in_hours: ::Integer
1142
+ attr_accessor retention_action: ("RollbackToPrimaryCluster" | "DeletePrimaryCluster")
1143
+ attr_accessor unknown: untyped
1144
+ SENSITIVE: []
1145
+
1146
+ class RetentionInHours < RetentionOptions
1147
+ end
1148
+ class RetentionAction < RetentionOptions
1149
+ end
1150
+ class Unknown < RetentionOptions
1151
+ end
1152
+ end
1153
+
1104
1154
  class RevokeVpcEndpointAccessRequest
1105
1155
  attr_accessor domain_name: ::String
1106
1156
  attr_accessor account: ::String
@@ -1196,6 +1246,42 @@ module Aws::ElasticsearchService
1196
1246
  SENSITIVE: []
1197
1247
  end
1198
1248
 
1249
+ class TrafficPercents
1250
+ attr_accessor primary_read_traffic_percent: ::Integer
1251
+ attr_accessor clone_read_traffic_percent: ::Integer
1252
+ SENSITIVE: []
1253
+ end
1254
+
1255
+ class TrafficSplitOptions
1256
+ attr_accessor current: Types::TrafficPercents
1257
+ attr_accessor target: Types::TrafficPercents
1258
+ attr_accessor status: ("InProgress" | "Completed" | "Failed")
1259
+ SENSITIVE: []
1260
+ end
1261
+
1262
+ class TrafficSplitRequestOptions
1263
+ attr_accessor strategy: ("ShiftReadTrafficPercent")
1264
+ attr_accessor clone_read_traffic_percent: ::Integer
1265
+ SENSITIVE: []
1266
+ end
1267
+
1268
+ class UpdateCloneRequest
1269
+ attr_accessor domain_name: ::String
1270
+ attr_accessor traffic_split_options: Types::TrafficSplitRequestOptions
1271
+ attr_accessor cutover_options: Types::CutoverRequestOptions
1272
+ attr_accessor retention_options: Types::RetentionOptions
1273
+ SENSITIVE: []
1274
+ end
1275
+
1276
+ class UpdateCloneResponse
1277
+ attr_accessor domain_name: ::String
1278
+ attr_accessor change_id: ::String
1279
+ attr_accessor cutover_options: Types::CutoverOptions
1280
+ attr_accessor traffic_split_options: Types::TrafficSplitOptions
1281
+ attr_accessor retention_options: Types::RetentionOptions
1282
+ SENSITIVE: []
1283
+ end
1284
+
1199
1285
  class UpdateElasticsearchDomainConfigRequest
1200
1286
  attr_accessor domain_name: ::String
1201
1287
  attr_accessor elasticsearch_cluster_config: Types::ElasticsearchClusterConfig
@@ -1253,6 +1339,7 @@ module Aws::ElasticsearchService
1253
1339
  attr_accessor domain_name: ::String
1254
1340
  attr_accessor target_version: ::String
1255
1341
  attr_accessor perform_check_only: bool
1342
+ attr_accessor deployment_strategy_options: Types::DeploymentStrategyOverrideOptions
1256
1343
  SENSITIVE: []
1257
1344
  end
1258
1345
 
@@ -1260,6 +1347,7 @@ module Aws::ElasticsearchService
1260
1347
  attr_accessor domain_name: ::String
1261
1348
  attr_accessor target_version: ::String
1262
1349
  attr_accessor perform_check_only: bool
1350
+ attr_accessor deployment_strategy_options: Types::DeploymentStrategyOverrideOptions
1263
1351
  attr_accessor change_progress_details: Types::ChangeProgressDetails
1264
1352
  SENSITIVE: []
1265
1353
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-elasticsearchservice
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.133.0
4
+ version: 1.135.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.265.0
21
+ version: 3.267.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.265.0
31
+ version: 3.267.0
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: aws-sigv4
34
34
  requirement: !ruby/object:Gem::Requirement