Skip to content

Commit

Permalink
Deprecate GameSparks part 1 (#2926)
Browse files Browse the repository at this point in the history
  • Loading branch information
mullermp authored Oct 16, 2023
1 parent 918f8b4 commit 91fce32
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
2 changes: 2 additions & 0 deletions build_tools/services.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ def services
# WARNING: not thread-safe
@services ||= begin
manifest.inject({}) do |hash, (name, config)|
next hash if config['deprecated']

service = build_service(name, config)
hash[service.identifier] = service
hash
Expand Down
2 changes: 2 additions & 0 deletions gems/aws-sdk-gamesparks/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
Unreleased Changes
------------------

* Feature - Deprecated this service.

1.11.0 (2023-09-27)
------------------

Expand Down
4 changes: 3 additions & 1 deletion gems/aws-sdk-gamesparks/aws-sdk-gamesparks.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Gem::Specification.new do |spec|
spec.name = 'aws-sdk-gamesparks'
spec.version = File.read(File.expand_path('../VERSION', __FILE__)).strip
spec.summary = 'AWS SDK for Ruby - GameSparks'
spec.description = 'Official AWS Ruby gem for GameSparks. This gem is part of the AWS SDK for Ruby.'
spec.description = '[DEPRECATED] Official AWS Ruby gem for GameSparks. This gem is part of the AWS SDK for Ruby.'
spec.author = 'Amazon Web Services'
spec.homepage = 'https://github.com/aws/aws-sdk-ruby'
spec.license = 'Apache-2.0'
Expand All @@ -29,4 +29,6 @@ Gem::Specification.new do |spec|
spec.add_dependency('aws-sigv4', '~> 1.1')

spec.required_ruby_version = '>= 2.3'

spec.post_install_message = 'aws-sdk-gamesparks is deprecated'
end
2 changes: 1 addition & 1 deletion services.json
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@
"models": "gamelift/2015-10-01"
},
"GameSparks": {
"models": "gamesparks/2021-08-17"
"deprecated": true
},
"Glacier": {
"models": "glacier/2012-06-01",
Expand Down

0 comments on commit 91fce32

Please sign in to comment.