aws-sdk-memorydb 1.12.0 → 1.13.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: a53111da4402a17403a88a388553715fa604044128088f4957e0bc35ceb66c67
4
- data.tar.gz: 5f67ad5dd7e613b496f7fffb2d1cb1fa4871662ce52f6c2c912a16f2252b230d
3
+ metadata.gz: 7eb2756ffc68fc8a295d514ebaa66634a1aacfd34ec7c81d68e6d74f4c067999
4
+ data.tar.gz: 2a1defba61a1597ee7cc6dcc5eae1e0f0372db9a99790e24ad0e00bf4078f694
5
5
  SHA512:
6
- metadata.gz: fd3fc812402a88688bc00b249ea7352e8407443cdd4af979f8d24b9029b3ea9621fe247992aff6da8ff05a1b1ede08b3cf88555c4bad853d6e17b7fdb73d7e4e
7
- data.tar.gz: 6b0818bd69c38118ebf054c799dcd86c3759be5ecf6a8d1f6e52d4ec1f7aaf7767c3fd994936b22f2a134092d5dd198c610a89eb2325b5d0577916cf3988206b
6
+ metadata.gz: b01a2167abb48d16ef2ccd252d3ccd6ad7d62b93134532d5a1a7e36274ed33e8ad8caaec6bf2f80c6ff1ddcde3de444253959f3cce20c4aafec8c35f1e4c6a2f
7
+ data.tar.gz: 88bdc99205fc8708bf5150960555e2ef8d4f6fb4c6469274378d13e7004cb7be88ec99b495e375f60c2276fdf65c7c85c7daf5c59ce9bab689245b2554ed8434
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.13.0 (2023-05-30)
5
+ ------------------
6
+
7
+ * Feature - Amazon MemoryDB for Redis now supports AWS Identity and Access Management authentication access to Redis clusters starting with redis-engine version 7.0
8
+
4
9
  1.12.0 (2023-01-18)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.12.0
1
+ 1.13.0
@@ -1044,7 +1044,7 @@ module Aws::MemoryDB
1044
1044
  # resp = client.create_user({
1045
1045
  # user_name: "UserName", # required
1046
1046
  # authentication_mode: { # required
1047
- # type: "password", # accepts password
1047
+ # type: "password", # accepts password, iam
1048
1048
  # passwords: ["String"],
1049
1049
  # },
1050
1050
  # access_string: "AccessString", # required
@@ -1064,7 +1064,7 @@ module Aws::MemoryDB
1064
1064
  # resp.user.acl_names #=> Array
1065
1065
  # resp.user.acl_names[0] #=> String
1066
1066
  # resp.user.minimum_engine_version #=> String
1067
- # resp.user.authentication.type #=> String, one of "password", "no-password"
1067
+ # resp.user.authentication.type #=> String, one of "password", "no-password", "iam"
1068
1068
  # resp.user.authentication.password_count #=> Integer
1069
1069
  # resp.user.arn #=> String
1070
1070
  #
@@ -1346,7 +1346,7 @@ module Aws::MemoryDB
1346
1346
  # resp.user.acl_names #=> Array
1347
1347
  # resp.user.acl_names[0] #=> String
1348
1348
  # resp.user.minimum_engine_version #=> String
1349
- # resp.user.authentication.type #=> String, one of "password", "no-password"
1349
+ # resp.user.authentication.type #=> String, one of "password", "no-password", "iam"
1350
1350
  # resp.user.authentication.password_count #=> Integer
1351
1351
  # resp.user.arn #=> String
1352
1352
  #
@@ -2172,7 +2172,7 @@ module Aws::MemoryDB
2172
2172
  # resp.users[0].acl_names #=> Array
2173
2173
  # resp.users[0].acl_names[0] #=> String
2174
2174
  # resp.users[0].minimum_engine_version #=> String
2175
- # resp.users[0].authentication.type #=> String, one of "password", "no-password"
2175
+ # resp.users[0].authentication.type #=> String, one of "password", "no-password", "iam"
2176
2176
  # resp.users[0].authentication.password_count #=> Integer
2177
2177
  # resp.users[0].arn #=> String
2178
2178
  # resp.next_token #=> String
@@ -2860,7 +2860,7 @@ module Aws::MemoryDB
2860
2860
  # resp = client.update_user({
2861
2861
  # user_name: "UserName", # required
2862
2862
  # authentication_mode: {
2863
- # type: "password", # accepts password
2863
+ # type: "password", # accepts password, iam
2864
2864
  # passwords: ["String"],
2865
2865
  # },
2866
2866
  # access_string: "AccessString",
@@ -2874,7 +2874,7 @@ module Aws::MemoryDB
2874
2874
  # resp.user.acl_names #=> Array
2875
2875
  # resp.user.acl_names[0] #=> String
2876
2876
  # resp.user.minimum_engine_version #=> String
2877
- # resp.user.authentication.type #=> String, one of "password", "no-password"
2877
+ # resp.user.authentication.type #=> String, one of "password", "no-password", "iam"
2878
2878
  # resp.user.authentication.password_count #=> Integer
2879
2879
  # resp.user.arn #=> String
2880
2880
  #
@@ -2900,7 +2900,7 @@ module Aws::MemoryDB
2900
2900
  params: params,
2901
2901
  config: config)
2902
2902
  context[:gem_name] = 'aws-sdk-memorydb'
2903
- context[:gem_version] = '1.12.0'
2903
+ context[:gem_version] = '1.13.0'
2904
2904
  Seahorse::Client::Request.new(handlers, context)
2905
2905
  end
2906
2906
 
@@ -50,9 +50,6 @@ module Aws::MemoryDB
50
50
 
51
51
  def initialize(options = {})
52
52
  self[:region] = options[:region]
53
- if self[:region].nil?
54
- raise ArgumentError, "Missing required EndpointParameter: :region"
55
- end
56
53
  self[:use_dual_stack] = options[:use_dual_stack]
57
54
  self[:use_dual_stack] = false if self[:use_dual_stack].nil?
58
55
  if self[:use_dual_stack].nil?
@@ -14,39 +14,42 @@ module Aws::MemoryDB
14
14
  use_dual_stack = parameters.use_dual_stack
15
15
  use_fips = parameters.use_fips
16
16
  endpoint = parameters.endpoint
17
- if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
- if Aws::Endpoints::Matchers.set?(endpoint)
17
+ if Aws::Endpoints::Matchers.set?(endpoint)
18
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
19
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
20
+ end
21
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
22
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
23
+ end
24
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
25
+ end
26
+ if Aws::Endpoints::Matchers.set?(region)
27
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
28
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
29
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
30
+ return Aws::Endpoints::Endpoint.new(url: "https://memory-db-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
31
+ end
32
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
+ end
19
34
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
20
- raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
35
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
36
+ return Aws::Endpoints::Endpoint.new(url: "https://memory-db-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
+ end
38
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
21
39
  end
22
40
  if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
23
- raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
24
- end
25
- return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
26
- end
27
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
28
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
29
- return Aws::Endpoints::Endpoint.new(url: "https://memory-db-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
41
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
42
+ return Aws::Endpoints::Endpoint.new(url: "https://memory-db.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
43
+ end
44
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
30
45
  end
31
- raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
32
- end
33
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
34
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
- return Aws::Endpoints::Endpoint.new(url: "https://memory-db-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
46
+ if Aws::Endpoints::Matchers.string_equals?(region, "fips")
47
+ return Aws::Endpoints::Endpoint.new(url: "https://memory-db-fips.us-west-1.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"memorydb", "signingRegion"=>"us-west-1"}]})
36
48
  end
37
- raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
38
- end
39
- if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
40
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
41
- return Aws::Endpoints::Endpoint.new(url: "https://memory-db.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
42
- end
43
- raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
44
- end
45
- if Aws::Endpoints::Matchers.string_equals?(region, "fips")
46
- return Aws::Endpoints::Endpoint.new(url: "https://memory-db-fips.us-west-1.amazonaws.com", headers: {}, properties: {})
49
+ return Aws::Endpoints::Endpoint.new(url: "https://memory-db.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
47
50
  end
48
- return Aws::Endpoints::Endpoint.new(url: "https://memory-db.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
49
51
  end
52
+ raise ArgumentError, "Invalid Configuration: Missing Region"
50
53
  raise ArgumentError, 'No endpoint could be resolved'
51
54
 
52
55
  end
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-memorydb/customizations'
52
52
  # @!group service
53
53
  module Aws::MemoryDB
54
54
 
55
- GEM_VERSION = '1.12.0'
55
+ GEM_VERSION = '1.13.0'
56
56
 
57
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-memorydb
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.12.0
4
+ version: 1.13.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-01-18 00:00:00.000000000 Z
11
+ date: 2023-05-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core