aws-sdk-databasemigrationservice 1.69.0 → 1.70.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-databasemigrationservice/client.rb +50 -1
- data/lib/aws-sdk-databasemigrationservice/client_api.rb +18 -0
- data/lib/aws-sdk-databasemigrationservice/types.rb +36 -0
- data/lib/aws-sdk-databasemigrationservice.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9f67f2eac10f588accc6b5c30b82e21250be5bf9fe1efad4ec35c634e01afac6
|
4
|
+
data.tar.gz: fc0a77888c847a1ec2190d0d9d3f7a1902f886e392f0afed2835a2cbfeb0059a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 70a6d780bd8fc785fdee1a960f2ff6fc7c722d603145c214153ab5f235c763a91d783ce8f461b41f3ecb073e9ff7ef328728c59c34f3c2ab1d2453a84c6b2d00
|
7
|
+
data.tar.gz: e4470509d219afe5be16c41b20db73d329b994ea74950dc792e9b1a5357f9e14c36420d0bdbc420f4380b5e74ca0cc7babcd74089068b29a44bb7cc6ba15da3a
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.70.0
|
@@ -7839,6 +7839,55 @@ module Aws::DatabaseMigrationService
|
|
7839
7839
|
req.send_request(options)
|
7840
7840
|
end
|
7841
7841
|
|
7842
|
+
# Migrates 10 active and enabled Amazon SNS subscriptions at a time and
|
7843
|
+
# converts them to corresponding Amazon EventBridge rules. By default,
|
7844
|
+
# this operation migrates subscriptions only when all your replication
|
7845
|
+
# instance versions are 3.4.6 or higher. If any replication instances
|
7846
|
+
# are from versions earlier than 3.4.6, the operation raises an error
|
7847
|
+
# and tells you to upgrade these instances to version 3.4.6 or higher.
|
7848
|
+
# To enable migration regardless of version, set the `Force` option to
|
7849
|
+
# true. However, if you don't upgrade instances earlier than version
|
7850
|
+
# 3.4.6, some types of events might not be available when you use Amazon
|
7851
|
+
# EventBridge.
|
7852
|
+
#
|
7853
|
+
# To call this operation, make sure that you have certain permissions
|
7854
|
+
# added to your user account. For more information, see [Migrating event
|
7855
|
+
# subscriptions to Amazon EventBridge][1] in the *Amazon Web Services
|
7856
|
+
# Database Migration Service User Guide*.
|
7857
|
+
#
|
7858
|
+
#
|
7859
|
+
#
|
7860
|
+
# [1]: https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Events.html#CHAP_Events-migrate-to-eventbridge
|
7861
|
+
#
|
7862
|
+
# @option params [Boolean] :force_move
|
7863
|
+
# When set to true, this operation migrates DMS subscriptions for Amazon
|
7864
|
+
# SNS notifications no matter what your replication instance version is.
|
7865
|
+
# If not set or set to false, this operation runs only when all your
|
7866
|
+
# replication instances are from DMS version 3.4.6 or higher.
|
7867
|
+
#
|
7868
|
+
# @return [Types::UpdateSubscriptionsToEventBridgeResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
7869
|
+
#
|
7870
|
+
# * {Types::UpdateSubscriptionsToEventBridgeResponse#result #result} => String
|
7871
|
+
#
|
7872
|
+
# @example Request syntax with placeholder values
|
7873
|
+
#
|
7874
|
+
# resp = client.update_subscriptions_to_event_bridge({
|
7875
|
+
# force_move: false,
|
7876
|
+
# })
|
7877
|
+
#
|
7878
|
+
# @example Response structure
|
7879
|
+
#
|
7880
|
+
# resp.result #=> String
|
7881
|
+
#
|
7882
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/UpdateSubscriptionsToEventBridge AWS API Documentation
|
7883
|
+
#
|
7884
|
+
# @overload update_subscriptions_to_event_bridge(params = {})
|
7885
|
+
# @param [Hash] params ({})
|
7886
|
+
def update_subscriptions_to_event_bridge(params = {}, options = {})
|
7887
|
+
req = build_request(:update_subscriptions_to_event_bridge, params)
|
7888
|
+
req.send_request(options)
|
7889
|
+
end
|
7890
|
+
|
7842
7891
|
# @!endgroup
|
7843
7892
|
|
7844
7893
|
# @param params ({})
|
@@ -7852,7 +7901,7 @@ module Aws::DatabaseMigrationService
|
|
7852
7901
|
params: params,
|
7853
7902
|
config: config)
|
7854
7903
|
context[:gem_name] = 'aws-sdk-databasemigrationservice'
|
7855
|
-
context[:gem_version] = '1.
|
7904
|
+
context[:gem_version] = '1.70.0'
|
7856
7905
|
Seahorse::Client::Request.new(handlers, context)
|
7857
7906
|
end
|
7858
7907
|
|
@@ -310,6 +310,8 @@ module Aws::DatabaseMigrationService
|
|
310
310
|
TargetDbType = Shapes::StringShape.new(name: 'TargetDbType')
|
311
311
|
TestConnectionMessage = Shapes::StructureShape.new(name: 'TestConnectionMessage')
|
312
312
|
TestConnectionResponse = Shapes::StructureShape.new(name: 'TestConnectionResponse')
|
313
|
+
UpdateSubscriptionsToEventBridgeMessage = Shapes::StructureShape.new(name: 'UpdateSubscriptionsToEventBridgeMessage')
|
314
|
+
UpdateSubscriptionsToEventBridgeResponse = Shapes::StructureShape.new(name: 'UpdateSubscriptionsToEventBridgeResponse')
|
313
315
|
UpgradeDependencyFailureFault = Shapes::StructureShape.new(name: 'UpgradeDependencyFailureFault')
|
314
316
|
VersionStatus = Shapes::StringShape.new(name: 'VersionStatus')
|
315
317
|
VpcSecurityGroupIdList = Shapes::ListShape.new(name: 'VpcSecurityGroupIdList')
|
@@ -1777,6 +1779,12 @@ module Aws::DatabaseMigrationService
|
|
1777
1779
|
TestConnectionResponse.add_member(:connection, Shapes::ShapeRef.new(shape: Connection, location_name: "Connection"))
|
1778
1780
|
TestConnectionResponse.struct_class = Types::TestConnectionResponse
|
1779
1781
|
|
1782
|
+
UpdateSubscriptionsToEventBridgeMessage.add_member(:force_move, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "ForceMove"))
|
1783
|
+
UpdateSubscriptionsToEventBridgeMessage.struct_class = Types::UpdateSubscriptionsToEventBridgeMessage
|
1784
|
+
|
1785
|
+
UpdateSubscriptionsToEventBridgeResponse.add_member(:result, Shapes::ShapeRef.new(shape: String, location_name: "Result"))
|
1786
|
+
UpdateSubscriptionsToEventBridgeResponse.struct_class = Types::UpdateSubscriptionsToEventBridgeResponse
|
1787
|
+
|
1780
1788
|
UpgradeDependencyFailureFault.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
1781
1789
|
UpgradeDependencyFailureFault.struct_class = Types::UpgradeDependencyFailureFault
|
1782
1790
|
|
@@ -2634,6 +2642,16 @@ module Aws::DatabaseMigrationService
|
|
2634
2642
|
o.errors << Shapes::ShapeRef.new(shape: ResourceQuotaExceededFault)
|
2635
2643
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedFault)
|
2636
2644
|
end)
|
2645
|
+
|
2646
|
+
api.add_operation(:update_subscriptions_to_event_bridge, Seahorse::Model::Operation.new.tap do |o|
|
2647
|
+
o.name = "UpdateSubscriptionsToEventBridge"
|
2648
|
+
o.http_method = "POST"
|
2649
|
+
o.http_request_uri = "/"
|
2650
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateSubscriptionsToEventBridgeMessage)
|
2651
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateSubscriptionsToEventBridgeResponse)
|
2652
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedFault)
|
2653
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidResourceStateFault)
|
2654
|
+
end)
|
2637
2655
|
end
|
2638
2656
|
|
2639
2657
|
end
|
@@ -11142,6 +11142,42 @@ module Aws::DatabaseMigrationService
|
|
11142
11142
|
include Aws::Structure
|
11143
11143
|
end
|
11144
11144
|
|
11145
|
+
# @note When making an API call, you may pass UpdateSubscriptionsToEventBridgeMessage
|
11146
|
+
# data as a hash:
|
11147
|
+
#
|
11148
|
+
# {
|
11149
|
+
# force_move: false,
|
11150
|
+
# }
|
11151
|
+
#
|
11152
|
+
# @!attribute [rw] force_move
|
11153
|
+
# When set to true, this operation migrates DMS subscriptions for
|
11154
|
+
# Amazon SNS notifications no matter what your replication instance
|
11155
|
+
# version is. If not set or set to false, this operation runs only
|
11156
|
+
# when all your replication instances are from DMS version 3.4.6 or
|
11157
|
+
# higher.
|
11158
|
+
# @return [Boolean]
|
11159
|
+
#
|
11160
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/UpdateSubscriptionsToEventBridgeMessage AWS API Documentation
|
11161
|
+
#
|
11162
|
+
class UpdateSubscriptionsToEventBridgeMessage < Struct.new(
|
11163
|
+
:force_move)
|
11164
|
+
SENSITIVE = []
|
11165
|
+
include Aws::Structure
|
11166
|
+
end
|
11167
|
+
|
11168
|
+
# @!attribute [rw] result
|
11169
|
+
# A string that indicates how many event subscriptions were migrated
|
11170
|
+
# and how many remain to be migrated.
|
11171
|
+
# @return [String]
|
11172
|
+
#
|
11173
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/UpdateSubscriptionsToEventBridgeResponse AWS API Documentation
|
11174
|
+
#
|
11175
|
+
class UpdateSubscriptionsToEventBridgeResponse < Struct.new(
|
11176
|
+
:result)
|
11177
|
+
SENSITIVE = []
|
11178
|
+
include Aws::Structure
|
11179
|
+
end
|
11180
|
+
|
11145
11181
|
# An upgrade dependency is preventing the database migration.
|
11146
11182
|
#
|
11147
11183
|
# @!attribute [rw] message
|
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.
|
4
|
+
version: 1.70.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: 2022-07-
|
11
|
+
date: 2022-07-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|