aws-sdk-rds 1.261.0 → 1.263.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7fc3f448f2c2dd6d030832f1ba2c24add093d786d281932240ca8326ed8f0f8c
4
- data.tar.gz: 77da9d110e4f7bae28fd5799da831c66217e2c0069b0922d2759d818303c8637
3
+ metadata.gz: 40019a1aa7048c3319a7012ef6c8d90fce1f46dacfb340142928aad300266ddc
4
+ data.tar.gz: ad66aaae68786b6e32cd75b1863cdc5adaa40ded74b2ce4c4cda37eac4c16ba2
5
5
  SHA512:
6
- metadata.gz: dd9151882c73c5554d4392cbe68b2d594909e81a336d918216c4e71191594a38be970ec840be561d37eb14b561f439347eb1342994d28d7af483be9adb21bae1
7
- data.tar.gz: 62108ffb203717200cb813967696d92d2d4d231942713c22eb0b3cbe4f96abcef2c6030324b2ef73ec441ec47673e218437b467472fae8401f7540fb033e496c
6
+ metadata.gz: 5acfdd6ff51698a02e5658a4dd53a4d9284db2bfee5c2ceea2f5fb1ceeb6ff93ad7359a778e60418add6d751dbb783d054a0ed6762bba1f358de6254466d6c60
7
+ data.tar.gz: bfa97a9b4cb06c4a911386968c7dd13ba14dd53311aea680448711ef26f4884cc1f9313f5ff1ea5c5ba9340f228e0d5c4408b1067c0cd3cd948761b2b4b7fb87
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.263.0 (2024-12-16)
5
+ ------------------
6
+
7
+ * Feature - This release adds support for the "MYSQL_CACHING_SHA2_PASSWORD" enum value for RDS Proxy ClientPasswordAuthType.
8
+
9
+ 1.262.0 (2024-12-03)
10
+ ------------------
11
+
12
+ * Feature - Support `expires_in` option for the `AuthTokenGenerator`.
13
+
4
14
  1.261.0 (2024-12-02)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.261.0
1
+ 1.263.0
@@ -7227,7 +7227,7 @@ module Aws::RDS
7227
7227
  # auth_scheme: "SECRETS", # accepts SECRETS
7228
7228
  # secret_arn: "String",
7229
7229
  # iam_auth: "DISABLED", # accepts DISABLED, REQUIRED, ENABLED
7230
- # client_password_auth_type: "MYSQL_NATIVE_PASSWORD", # accepts MYSQL_NATIVE_PASSWORD, POSTGRES_SCRAM_SHA_256, POSTGRES_MD5, SQL_SERVER_AUTHENTICATION
7230
+ # client_password_auth_type: "MYSQL_NATIVE_PASSWORD", # accepts MYSQL_NATIVE_PASSWORD, MYSQL_CACHING_SHA2_PASSWORD, POSTGRES_SCRAM_SHA_256, POSTGRES_MD5, SQL_SERVER_AUTHENTICATION
7231
7231
  # },
7232
7232
  # ],
7233
7233
  # role_arn: "String", # required
@@ -7261,7 +7261,7 @@ module Aws::RDS
7261
7261
  # resp.db_proxy.auth[0].auth_scheme #=> String, one of "SECRETS"
7262
7262
  # resp.db_proxy.auth[0].secret_arn #=> String
7263
7263
  # resp.db_proxy.auth[0].iam_auth #=> String, one of "DISABLED", "REQUIRED", "ENABLED"
7264
- # resp.db_proxy.auth[0].client_password_auth_type #=> String, one of "MYSQL_NATIVE_PASSWORD", "POSTGRES_SCRAM_SHA_256", "POSTGRES_MD5", "SQL_SERVER_AUTHENTICATION"
7264
+ # resp.db_proxy.auth[0].client_password_auth_type #=> String, one of "MYSQL_NATIVE_PASSWORD", "MYSQL_CACHING_SHA2_PASSWORD", "POSTGRES_SCRAM_SHA_256", "POSTGRES_MD5", "SQL_SERVER_AUTHENTICATION"
7265
7265
  # resp.db_proxy.role_arn #=> String
7266
7266
  # resp.db_proxy.endpoint #=> String
7267
7267
  # resp.db_proxy.require_tls #=> Boolean
@@ -10100,7 +10100,7 @@ module Aws::RDS
10100
10100
  # resp.db_proxy.auth[0].auth_scheme #=> String, one of "SECRETS"
10101
10101
  # resp.db_proxy.auth[0].secret_arn #=> String
10102
10102
  # resp.db_proxy.auth[0].iam_auth #=> String, one of "DISABLED", "REQUIRED", "ENABLED"
10103
- # resp.db_proxy.auth[0].client_password_auth_type #=> String, one of "MYSQL_NATIVE_PASSWORD", "POSTGRES_SCRAM_SHA_256", "POSTGRES_MD5", "SQL_SERVER_AUTHENTICATION"
10103
+ # resp.db_proxy.auth[0].client_password_auth_type #=> String, one of "MYSQL_NATIVE_PASSWORD", "MYSQL_CACHING_SHA2_PASSWORD", "POSTGRES_SCRAM_SHA_256", "POSTGRES_MD5", "SQL_SERVER_AUTHENTICATION"
10104
10104
  # resp.db_proxy.role_arn #=> String
10105
10105
  # resp.db_proxy.endpoint #=> String
10106
10106
  # resp.db_proxy.require_tls #=> Boolean
@@ -13934,7 +13934,7 @@ module Aws::RDS
13934
13934
  # resp.db_proxies[0].auth[0].auth_scheme #=> String, one of "SECRETS"
13935
13935
  # resp.db_proxies[0].auth[0].secret_arn #=> String
13936
13936
  # resp.db_proxies[0].auth[0].iam_auth #=> String, one of "DISABLED", "REQUIRED", "ENABLED"
13937
- # resp.db_proxies[0].auth[0].client_password_auth_type #=> String, one of "MYSQL_NATIVE_PASSWORD", "POSTGRES_SCRAM_SHA_256", "POSTGRES_MD5", "SQL_SERVER_AUTHENTICATION"
13937
+ # resp.db_proxies[0].auth[0].client_password_auth_type #=> String, one of "MYSQL_NATIVE_PASSWORD", "MYSQL_CACHING_SHA2_PASSWORD", "POSTGRES_SCRAM_SHA_256", "POSTGRES_MD5", "SQL_SERVER_AUTHENTICATION"
13938
13938
  # resp.db_proxies[0].role_arn #=> String
13939
13939
  # resp.db_proxies[0].endpoint #=> String
13940
13940
  # resp.db_proxies[0].require_tls #=> Boolean
@@ -21709,7 +21709,7 @@ module Aws::RDS
21709
21709
  # auth_scheme: "SECRETS", # accepts SECRETS
21710
21710
  # secret_arn: "String",
21711
21711
  # iam_auth: "DISABLED", # accepts DISABLED, REQUIRED, ENABLED
21712
- # client_password_auth_type: "MYSQL_NATIVE_PASSWORD", # accepts MYSQL_NATIVE_PASSWORD, POSTGRES_SCRAM_SHA_256, POSTGRES_MD5, SQL_SERVER_AUTHENTICATION
21712
+ # client_password_auth_type: "MYSQL_NATIVE_PASSWORD", # accepts MYSQL_NATIVE_PASSWORD, MYSQL_CACHING_SHA2_PASSWORD, POSTGRES_SCRAM_SHA_256, POSTGRES_MD5, SQL_SERVER_AUTHENTICATION
21713
21713
  # },
21714
21714
  # ],
21715
21715
  # require_tls: false,
@@ -21736,7 +21736,7 @@ module Aws::RDS
21736
21736
  # resp.db_proxy.auth[0].auth_scheme #=> String, one of "SECRETS"
21737
21737
  # resp.db_proxy.auth[0].secret_arn #=> String
21738
21738
  # resp.db_proxy.auth[0].iam_auth #=> String, one of "DISABLED", "REQUIRED", "ENABLED"
21739
- # resp.db_proxy.auth[0].client_password_auth_type #=> String, one of "MYSQL_NATIVE_PASSWORD", "POSTGRES_SCRAM_SHA_256", "POSTGRES_MD5", "SQL_SERVER_AUTHENTICATION"
21739
+ # resp.db_proxy.auth[0].client_password_auth_type #=> String, one of "MYSQL_NATIVE_PASSWORD", "MYSQL_CACHING_SHA2_PASSWORD", "POSTGRES_SCRAM_SHA_256", "POSTGRES_MD5", "SQL_SERVER_AUTHENTICATION"
21740
21740
  # resp.db_proxy.role_arn #=> String
21741
21741
  # resp.db_proxy.endpoint #=> String
21742
21742
  # resp.db_proxy.require_tls #=> Boolean
@@ -31794,7 +31794,7 @@ module Aws::RDS
31794
31794
  tracer: tracer
31795
31795
  )
31796
31796
  context[:gem_name] = 'aws-sdk-rds'
31797
- context[:gem_version] = '1.261.0'
31797
+ context[:gem_version] = '1.263.0'
31798
31798
  Seahorse::Client::Request.new(handlers, context)
31799
31799
  end
31800
31800
 
@@ -10,7 +10,7 @@ module Aws
10
10
  #
11
11
  # @see https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.IAMDBAuth.html
12
12
  class AuthTokenGenerator
13
- # @option options [required, Credentials] :credentials An object that
13
+ # @option options [Credentials] :credentials An object that
14
14
  # responds to `#credentials` returning another object that responds to
15
15
  # `#access_key_id`, `#secret_access_key`, and `#session_token`.
16
16
  def initialize(options = {})
@@ -19,19 +19,20 @@ module Aws
19
19
 
20
20
  # Creates an auth login token.
21
21
  #
22
- # @param [Hash] params The parameters for auth token creation.
23
- # @option params [required, String] :region Region where the database
24
- # is located.
25
- # @option params [required, String] :endpoint Hostname of the database
26
- # with a port number.
27
- # For example: my-instance.us-west-2.rds.amazonaws.com:3306
28
- # @option params [required, String] :user_name Username to login as.
29
- #
22
+ # @param [Hash] options The options for auth token creation.
23
+ # @option options [String] :region The region where the database
24
+ # is located.
25
+ # @option options [String] :endpoint The hostname of the database
26
+ # with a port number.
27
+ # For example: my-instance.us-west-2.rds.amazonaws.com:3306
28
+ # @option options [String] :user_name The username to login as.
29
+ # @option options [Integer] :expires_in (900) The number of seconds the
30
+ # token is valid for.
30
31
  # @return [String]
31
- def auth_token(params)
32
- region = params.fetch(:region)
33
- endpoint = params.fetch(:endpoint)
34
- user_name = params.fetch(:user_name)
32
+ def generate_auth_token(options)
33
+ region = options.fetch(:region)
34
+ endpoint = options.fetch(:endpoint)
35
+ user_name = options.fetch(:user_name)
35
36
 
36
37
  param_list = Aws::Query::ParamList.new
37
38
  param_list.set('Action', 'connect')
@@ -47,11 +48,12 @@ module Aws
47
48
  http_method: 'GET',
48
49
  url: "https://#{endpoint}/?#{param_list}",
49
50
  body: '',
50
- expires_in: 900
51
+ expires_in: options[:expires_in]
51
52
  ).to_s
52
53
  # Remove extra scheme for token
53
54
  presigned_url[8..-1]
54
55
  end
56
+ alias_method :auth_token, :generate_auth_token
55
57
  end
56
58
  end
57
59
  end
data/lib/aws-sdk-rds.rb CHANGED
@@ -80,7 +80,7 @@ module Aws::RDS
80
80
  autoload :ReservedDBInstancesOffering, 'aws-sdk-rds/reserved_db_instances_offering'
81
81
  autoload :ResourcePendingMaintenanceActionList, 'aws-sdk-rds/resource_pending_maintenance_action_list'
82
82
 
83
- GEM_VERSION = '1.261.0'
83
+ GEM_VERSION = '1.263.0'
84
84
 
85
85
  end
86
86
 
data/sig/client.rbs CHANGED
@@ -699,7 +699,7 @@ module Aws
699
699
  auth_scheme: ("SECRETS")?,
700
700
  secret_arn: ::String?,
701
701
  iam_auth: ("DISABLED" | "REQUIRED" | "ENABLED")?,
702
- client_password_auth_type: ("MYSQL_NATIVE_PASSWORD" | "POSTGRES_SCRAM_SHA_256" | "POSTGRES_MD5" | "SQL_SERVER_AUTHENTICATION")?
702
+ client_password_auth_type: ("MYSQL_NATIVE_PASSWORD" | "MYSQL_CACHING_SHA2_PASSWORD" | "POSTGRES_SCRAM_SHA_256" | "POSTGRES_MD5" | "SQL_SERVER_AUTHENTICATION")?
703
703
  },
704
704
  ],
705
705
  role_arn: ::String,
@@ -2507,7 +2507,7 @@ module Aws
2507
2507
  auth_scheme: ("SECRETS")?,
2508
2508
  secret_arn: ::String?,
2509
2509
  iam_auth: ("DISABLED" | "REQUIRED" | "ENABLED")?,
2510
- client_password_auth_type: ("MYSQL_NATIVE_PASSWORD" | "POSTGRES_SCRAM_SHA_256" | "POSTGRES_MD5" | "SQL_SERVER_AUTHENTICATION")?
2510
+ client_password_auth_type: ("MYSQL_NATIVE_PASSWORD" | "MYSQL_CACHING_SHA2_PASSWORD" | "POSTGRES_SCRAM_SHA_256" | "POSTGRES_MD5" | "SQL_SERVER_AUTHENTICATION")?
2511
2511
  },
2512
2512
  ],
2513
2513
  ?require_tls: bool,
data/sig/types.rbs CHANGED
@@ -4314,7 +4314,7 @@ module Aws::RDS
4314
4314
  attr_accessor auth_scheme: ("SECRETS")
4315
4315
  attr_accessor secret_arn: ::String
4316
4316
  attr_accessor iam_auth: ("DISABLED" | "REQUIRED" | "ENABLED")
4317
- attr_accessor client_password_auth_type: ("MYSQL_NATIVE_PASSWORD" | "POSTGRES_SCRAM_SHA_256" | "POSTGRES_MD5" | "SQL_SERVER_AUTHENTICATION")
4317
+ attr_accessor client_password_auth_type: ("MYSQL_NATIVE_PASSWORD" | "MYSQL_CACHING_SHA2_PASSWORD" | "POSTGRES_SCRAM_SHA_256" | "POSTGRES_MD5" | "SQL_SERVER_AUTHENTICATION")
4318
4318
  SENSITIVE: []
4319
4319
  end
4320
4320
 
@@ -4324,7 +4324,7 @@ module Aws::RDS
4324
4324
  attr_accessor auth_scheme: ("SECRETS")
4325
4325
  attr_accessor secret_arn: ::String
4326
4326
  attr_accessor iam_auth: ("DISABLED" | "REQUIRED" | "ENABLED")
4327
- attr_accessor client_password_auth_type: ("MYSQL_NATIVE_PASSWORD" | "POSTGRES_SCRAM_SHA_256" | "POSTGRES_MD5" | "SQL_SERVER_AUTHENTICATION")
4327
+ attr_accessor client_password_auth_type: ("MYSQL_NATIVE_PASSWORD" | "MYSQL_CACHING_SHA2_PASSWORD" | "POSTGRES_SCRAM_SHA_256" | "POSTGRES_MD5" | "SQL_SERVER_AUTHENTICATION")
4328
4328
  SENSITIVE: []
4329
4329
  end
4330
4330
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-rds
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.261.0
4
+ version: 1.263.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: 2024-12-02 00:00:00.000000000 Z
11
+ date: 2024-12-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core