aws-sdk-databasemigrationservice 1.84.0 → 1.85.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: a715e2cf86b16c32bbeb1e991b2f574028e5fcd7efe8f0d9af6c6394694c4d29
4
- data.tar.gz: 33f9b801b814bed5c65ee1745a423d3e1a4fddf8395fa68f960f32f239a2cb66
3
+ metadata.gz: 04ab17d87ec2c89b97a0490cde2d652ab7219e4140a933676e25c7d9848c41f6
4
+ data.tar.gz: 026a2e18869d2259779bec61a2a20d5661b99c3766a1d80f22e384edc786e379
5
5
  SHA512:
6
- metadata.gz: 32d3da45b53aa5cfb7eacb0745ca5830e39e7142b5d6d8252fc5c87466fe32237b974b55cc19611f069bab5d5ab57b993457f22dd7c2f9844a1f55d5caaf35af
7
- data.tar.gz: 85d3a267baac91192989a2b3f6cd2ac6b97be135b9ea1ae640d2894ee87454a37d2adf7418c5bda56937aaaed43512a0caece094f53df375bef77cec7977f817
6
+ metadata.gz: 525907edabdab7cac5ba646378b3ff1541833336a0be9d91bcb1d16bbc4d6eacd9fdf2b08f963e25bd446da50cb4bd4a95a0c756e4561ae7cbd1067f5c5e15da
7
+ data.tar.gz: 99f6698b9b2da44c68d6ce298f0f319a426a6bc0e5120ce58b586d1629cea9f7945d7a5e66fc58e6417c1ccd6f4b78d35f130f3242bbf97b5600e0bdd6e4df58
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.85.0 (2023-08-01)
5
+ ------------------
6
+
7
+ * Feature - Adding new API describe-engine-versions which provides information about the lifecycle of a replication instance's version.
8
+
4
9
  1.84.0 (2023-07-13)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.84.0
1
+ 1.85.0
@@ -4349,6 +4349,57 @@ module Aws::DatabaseMigrationService
4349
4349
  req.send_request(options)
4350
4350
  end
4351
4351
 
4352
+ # Returns information about the replication instance versions used in
4353
+ # the project.
4354
+ #
4355
+ # @option params [Integer] :max_records
4356
+ # The maximum number of records to include in the response. If more
4357
+ # records exist than the specified `MaxRecords` value, a pagination
4358
+ # token called a marker is included in the response so that the
4359
+ # remaining results can be retrieved.
4360
+ #
4361
+ # @option params [String] :marker
4362
+ # An optional pagination token provided by a previous request. If this
4363
+ # parameter is specified, the response includes only records beyond the
4364
+ # marker, up to the value specified by `MaxRecords`.
4365
+ #
4366
+ # @return [Types::DescribeEngineVersionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4367
+ #
4368
+ # * {Types::DescribeEngineVersionsResponse#engine_versions #engine_versions} => Array<Types::EngineVersion>
4369
+ # * {Types::DescribeEngineVersionsResponse#marker #marker} => String
4370
+ #
4371
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
4372
+ #
4373
+ # @example Request syntax with placeholder values
4374
+ #
4375
+ # resp = client.describe_engine_versions({
4376
+ # max_records: 1,
4377
+ # marker: "String",
4378
+ # })
4379
+ #
4380
+ # @example Response structure
4381
+ #
4382
+ # resp.engine_versions #=> Array
4383
+ # resp.engine_versions[0].version #=> String
4384
+ # resp.engine_versions[0].lifecycle #=> String
4385
+ # resp.engine_versions[0].release_status #=> String, one of "beta", "prod"
4386
+ # resp.engine_versions[0].launch_date #=> Time
4387
+ # resp.engine_versions[0].auto_upgrade_date #=> Time
4388
+ # resp.engine_versions[0].deprecation_date #=> Time
4389
+ # resp.engine_versions[0].force_upgrade_date #=> Time
4390
+ # resp.engine_versions[0].available_upgrades #=> Array
4391
+ # resp.engine_versions[0].available_upgrades[0] #=> String
4392
+ # resp.marker #=> String
4393
+ #
4394
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEngineVersions AWS API Documentation
4395
+ #
4396
+ # @overload describe_engine_versions(params = {})
4397
+ # @param [Hash] params ({})
4398
+ def describe_engine_versions(params = {}, options = {})
4399
+ req = build_request(:describe_engine_versions, params)
4400
+ req.send_request(options)
4401
+ end
4402
+
4352
4403
  # Lists categories for all event source types, or, if specified, for a
4353
4404
  # specified source type. You can see a list of the event categories and
4354
4405
  # source types in [Working with Events and Notifications][1] in the
@@ -9161,7 +9212,7 @@ module Aws::DatabaseMigrationService
9161
9212
  params: params,
9162
9213
  config: config)
9163
9214
  context[:gem_name] = 'aws-sdk-databasemigrationservice'
9164
- context[:gem_version] = '1.84.0'
9215
+ context[:gem_version] = '1.85.0'
9165
9216
  Seahorse::Client::Request.new(handlers, context)
9166
9217
  end
9167
9218
 
@@ -25,6 +25,7 @@ module Aws::DatabaseMigrationService
25
25
  AuthTypeValue = Shapes::StringShape.new(name: 'AuthTypeValue')
26
26
  AvailabilityZone = Shapes::StructureShape.new(name: 'AvailabilityZone')
27
27
  AvailabilityZonesList = Shapes::ListShape.new(name: 'AvailabilityZonesList')
28
+ AvailableUpgradesList = Shapes::ListShape.new(name: 'AvailableUpgradesList')
28
29
  BatchStartRecommendationsErrorEntry = Shapes::StructureShape.new(name: 'BatchStartRecommendationsErrorEntry')
29
30
  BatchStartRecommendationsErrorEntryList = Shapes::ListShape.new(name: 'BatchStartRecommendationsErrorEntryList')
30
31
  BatchStartRecommendationsRequest = Shapes::StructureShape.new(name: 'BatchStartRecommendationsRequest')
@@ -106,6 +107,8 @@ module Aws::DatabaseMigrationService
106
107
  DescribeEndpointTypesResponse = Shapes::StructureShape.new(name: 'DescribeEndpointTypesResponse')
107
108
  DescribeEndpointsMessage = Shapes::StructureShape.new(name: 'DescribeEndpointsMessage')
108
109
  DescribeEndpointsResponse = Shapes::StructureShape.new(name: 'DescribeEndpointsResponse')
110
+ DescribeEngineVersionsMessage = Shapes::StructureShape.new(name: 'DescribeEngineVersionsMessage')
111
+ DescribeEngineVersionsResponse = Shapes::StructureShape.new(name: 'DescribeEngineVersionsResponse')
109
112
  DescribeEventCategoriesMessage = Shapes::StructureShape.new(name: 'DescribeEventCategoriesMessage')
110
113
  DescribeEventCategoriesResponse = Shapes::StructureShape.new(name: 'DescribeEventCategoriesResponse')
111
114
  DescribeEventSubscriptionsMessage = Shapes::StructureShape.new(name: 'DescribeEventSubscriptionsMessage')
@@ -170,6 +173,8 @@ module Aws::DatabaseMigrationService
170
173
  EndpointSettingEnumValues = Shapes::ListShape.new(name: 'EndpointSettingEnumValues')
171
174
  EndpointSettingTypeValue = Shapes::StringShape.new(name: 'EndpointSettingTypeValue')
172
175
  EndpointSettingsList = Shapes::ListShape.new(name: 'EndpointSettingsList')
176
+ EngineVersion = Shapes::StructureShape.new(name: 'EngineVersion')
177
+ EngineVersionList = Shapes::ListShape.new(name: 'EngineVersionList')
173
178
  Event = Shapes::StructureShape.new(name: 'Event')
174
179
  EventCategoriesList = Shapes::ListShape.new(name: 'EventCategoriesList')
175
180
  EventCategoryGroup = Shapes::StructureShape.new(name: 'EventCategoryGroup')
@@ -402,6 +407,8 @@ module Aws::DatabaseMigrationService
402
407
 
403
408
  AvailabilityZonesList.member = Shapes::ShapeRef.new(shape: String)
404
409
 
410
+ AvailableUpgradesList.member = Shapes::ShapeRef.new(shape: String)
411
+
405
412
  BatchStartRecommendationsErrorEntry.add_member(:database_id, Shapes::ShapeRef.new(shape: String, location_name: "DatabaseId"))
406
413
  BatchStartRecommendationsErrorEntry.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
407
414
  BatchStartRecommendationsErrorEntry.add_member(:code, Shapes::ShapeRef.new(shape: String, location_name: "Code"))
@@ -769,6 +776,14 @@ module Aws::DatabaseMigrationService
769
776
  DescribeEndpointsResponse.add_member(:endpoints, Shapes::ShapeRef.new(shape: EndpointList, location_name: "Endpoints"))
770
777
  DescribeEndpointsResponse.struct_class = Types::DescribeEndpointsResponse
771
778
 
779
+ DescribeEngineVersionsMessage.add_member(:max_records, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "MaxRecords"))
780
+ DescribeEngineVersionsMessage.add_member(:marker, Shapes::ShapeRef.new(shape: String, location_name: "Marker"))
781
+ DescribeEngineVersionsMessage.struct_class = Types::DescribeEngineVersionsMessage
782
+
783
+ DescribeEngineVersionsResponse.add_member(:engine_versions, Shapes::ShapeRef.new(shape: EngineVersionList, location_name: "EngineVersions"))
784
+ DescribeEngineVersionsResponse.add_member(:marker, Shapes::ShapeRef.new(shape: String, location_name: "Marker"))
785
+ DescribeEngineVersionsResponse.struct_class = Types::DescribeEngineVersionsResponse
786
+
772
787
  DescribeEventCategoriesMessage.add_member(:source_type, Shapes::ShapeRef.new(shape: String, location_name: "SourceType"))
773
788
  DescribeEventCategoriesMessage.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filters"))
774
789
  DescribeEventCategoriesMessage.struct_class = Types::DescribeEventCategoriesMessage
@@ -1086,6 +1101,18 @@ module Aws::DatabaseMigrationService
1086
1101
 
1087
1102
  EndpointSettingsList.member = Shapes::ShapeRef.new(shape: EndpointSetting)
1088
1103
 
1104
+ EngineVersion.add_member(:version, Shapes::ShapeRef.new(shape: String, location_name: "Version"))
1105
+ EngineVersion.add_member(:lifecycle, Shapes::ShapeRef.new(shape: String, location_name: "Lifecycle"))
1106
+ EngineVersion.add_member(:release_status, Shapes::ShapeRef.new(shape: ReleaseStatusValues, location_name: "ReleaseStatus"))
1107
+ EngineVersion.add_member(:launch_date, Shapes::ShapeRef.new(shape: TStamp, location_name: "LaunchDate"))
1108
+ EngineVersion.add_member(:auto_upgrade_date, Shapes::ShapeRef.new(shape: TStamp, location_name: "AutoUpgradeDate"))
1109
+ EngineVersion.add_member(:deprecation_date, Shapes::ShapeRef.new(shape: TStamp, location_name: "DeprecationDate"))
1110
+ EngineVersion.add_member(:force_upgrade_date, Shapes::ShapeRef.new(shape: TStamp, location_name: "ForceUpgradeDate"))
1111
+ EngineVersion.add_member(:available_upgrades, Shapes::ShapeRef.new(shape: AvailableUpgradesList, location_name: "AvailableUpgrades"))
1112
+ EngineVersion.struct_class = Types::EngineVersion
1113
+
1114
+ EngineVersionList.member = Shapes::ShapeRef.new(shape: EngineVersion)
1115
+
1089
1116
  Event.add_member(:source_identifier, Shapes::ShapeRef.new(shape: String, location_name: "SourceIdentifier"))
1090
1117
  Event.add_member(:source_type, Shapes::ShapeRef.new(shape: SourceType, location_name: "SourceType"))
1091
1118
  Event.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
@@ -2517,6 +2544,20 @@ module Aws::DatabaseMigrationService
2517
2544
  )
2518
2545
  end)
2519
2546
 
2547
+ api.add_operation(:describe_engine_versions, Seahorse::Model::Operation.new.tap do |o|
2548
+ o.name = "DescribeEngineVersions"
2549
+ o.http_method = "POST"
2550
+ o.http_request_uri = "/"
2551
+ o.input = Shapes::ShapeRef.new(shape: DescribeEngineVersionsMessage)
2552
+ o.output = Shapes::ShapeRef.new(shape: DescribeEngineVersionsResponse)
2553
+ o[:pager] = Aws::Pager.new(
2554
+ limit_key: "max_records",
2555
+ tokens: {
2556
+ "marker" => "marker"
2557
+ }
2558
+ )
2559
+ end)
2560
+
2520
2561
  api.add_operation(:describe_event_categories, Seahorse::Model::Operation.new.tap do |o|
2521
2562
  o.name = "DescribeEventCategories"
2522
2563
  o.http_method = "POST"
@@ -418,6 +418,20 @@ module Aws::DatabaseMigrationService
418
418
  end
419
419
  end
420
420
 
421
+ class DescribeEngineVersions
422
+ def self.build(context)
423
+ unless context.config.regional_endpoint
424
+ endpoint = context.config.endpoint.to_s
425
+ end
426
+ Aws::DatabaseMigrationService::EndpointParameters.new(
427
+ region: context.config.region,
428
+ use_dual_stack: context.config.use_dualstack_endpoint,
429
+ use_fips: context.config.use_fips_endpoint,
430
+ endpoint: endpoint,
431
+ )
432
+ end
433
+ end
434
+
421
435
  class DescribeEventCategories
422
436
  def self.build(context)
423
437
  unless context.config.regional_endpoint
@@ -114,6 +114,8 @@ module Aws::DatabaseMigrationService
114
114
  Aws::DatabaseMigrationService::Endpoints::DescribeEndpointTypes.build(context)
115
115
  when :describe_endpoints
116
116
  Aws::DatabaseMigrationService::Endpoints::DescribeEndpoints.build(context)
117
+ when :describe_engine_versions
118
+ Aws::DatabaseMigrationService::Endpoints::DescribeEngineVersions.build(context)
117
119
  when :describe_event_categories
118
120
  Aws::DatabaseMigrationService::Endpoints::DescribeEventCategories.build(context)
119
121
  when :describe_event_subscriptions
@@ -2350,6 +2350,48 @@ module Aws::DatabaseMigrationService
2350
2350
  include Aws::Structure
2351
2351
  end
2352
2352
 
2353
+ # @!attribute [rw] max_records
2354
+ # The maximum number of records to include in the response. If more
2355
+ # records exist than the specified `MaxRecords` value, a pagination
2356
+ # token called a marker is included in the response so that the
2357
+ # remaining results can be retrieved.
2358
+ # @return [Integer]
2359
+ #
2360
+ # @!attribute [rw] marker
2361
+ # An optional pagination token provided by a previous request. If this
2362
+ # parameter is specified, the response includes only records beyond
2363
+ # the marker, up to the value specified by `MaxRecords`.
2364
+ # @return [String]
2365
+ #
2366
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEngineVersionsMessage AWS API Documentation
2367
+ #
2368
+ class DescribeEngineVersionsMessage < Struct.new(
2369
+ :max_records,
2370
+ :marker)
2371
+ SENSITIVE = []
2372
+ include Aws::Structure
2373
+ end
2374
+
2375
+ # @!attribute [rw] engine_versions
2376
+ # Returned `EngineVersion` objects that describe the replication
2377
+ # instance engine versions used in the project.
2378
+ # @return [Array<Types::EngineVersion>]
2379
+ #
2380
+ # @!attribute [rw] marker
2381
+ # An optional pagination token provided by a previous request. If this
2382
+ # parameter is specified, the response includes only records beyond
2383
+ # the marker, up to the value specified by `MaxRecords`.
2384
+ # @return [String]
2385
+ #
2386
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEngineVersionsResponse AWS API Documentation
2387
+ #
2388
+ class DescribeEngineVersionsResponse < Struct.new(
2389
+ :engine_versions,
2390
+ :marker)
2391
+ SENSITIVE = []
2392
+ include Aws::Structure
2393
+ end
2394
+
2353
2395
  # @!attribute [rw] source_type
2354
2396
  # The type of DMS resource that generates events.
2355
2397
  #
@@ -4188,6 +4230,62 @@ module Aws::DatabaseMigrationService
4188
4230
  include Aws::Structure
4189
4231
  end
4190
4232
 
4233
+ # Provides information about a replication instance version.
4234
+ #
4235
+ # @!attribute [rw] version
4236
+ # The version number of the replication instance.
4237
+ # @return [String]
4238
+ #
4239
+ # @!attribute [rw] lifecycle
4240
+ # The lifecycle status of the replication instance version. Valid
4241
+ # values are `DEPRECATED`, `DEFAULT_VERSION`, and `ACTIVE`.
4242
+ # @return [String]
4243
+ #
4244
+ # @!attribute [rw] release_status
4245
+ # The release status of the replication instance version.
4246
+ # @return [String]
4247
+ #
4248
+ # @!attribute [rw] launch_date
4249
+ # The date when the replication instance version became publicly
4250
+ # available.
4251
+ # @return [Time]
4252
+ #
4253
+ # @!attribute [rw] auto_upgrade_date
4254
+ # The date when the replication instance will be automatically
4255
+ # upgraded. This setting only applies if the `auto-minor-version`
4256
+ # setting is enabled.
4257
+ # @return [Time]
4258
+ #
4259
+ # @!attribute [rw] deprecation_date
4260
+ # The date when the replication instance version will be deprecated
4261
+ # and can no longer be requested.
4262
+ # @return [Time]
4263
+ #
4264
+ # @!attribute [rw] force_upgrade_date
4265
+ # The date when the replication instance will have a version upgrade
4266
+ # forced.
4267
+ # @return [Time]
4268
+ #
4269
+ # @!attribute [rw] available_upgrades
4270
+ # The list of valid replication instance versions that you can upgrade
4271
+ # to.
4272
+ # @return [Array<String>]
4273
+ #
4274
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/EngineVersion AWS API Documentation
4275
+ #
4276
+ class EngineVersion < Struct.new(
4277
+ :version,
4278
+ :lifecycle,
4279
+ :release_status,
4280
+ :launch_date,
4281
+ :auto_upgrade_date,
4282
+ :deprecation_date,
4283
+ :force_upgrade_date,
4284
+ :available_upgrades)
4285
+ SENSITIVE = []
4286
+ include Aws::Structure
4287
+ end
4288
+
4191
4289
  # Describes an identifiable significant activity that affects a
4192
4290
  # replication instance or task. This object can provide the message, the
4193
4291
  # available event categories, the date and source of the event, and the
@@ -7319,9 +7417,8 @@ module Aws::DatabaseMigrationService
7319
7417
  # @return [String]
7320
7418
  #
7321
7419
  # @!attribute [rw] database_mode
7322
- # Specifies whether to use default or custom replication behavior for
7323
- # PostgreSQL-compatible endpoints. You can use this setting to specify
7324
- # replication behavior for endpoints that require additional
7420
+ # Specifies the default behavior of the replication's handling of
7421
+ # PostgreSQL- compatible endpoints that require some additional
7325
7422
  # configuration, such as Babelfish endpoints.
7326
7423
  # @return [String]
7327
7424
  #
@@ -53,6 +53,6 @@ require_relative 'aws-sdk-databasemigrationservice/customizations'
53
53
  # @!group service
54
54
  module Aws::DatabaseMigrationService
55
55
 
56
- GEM_VERSION = '1.84.0'
56
+ GEM_VERSION = '1.85.0'
57
57
 
58
58
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-databasemigrationservice
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.84.0
4
+ version: 1.85.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-07-13 00:00:00.000000000 Z
11
+ date: 2023-08-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core