aws-sdk-memorydb 1.12.0 → 1.14.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: ec8db3ef79071370a561112c046198e6ec3d3574f102cacc3a4553636f5d39a1
4
+ data.tar.gz: c6083cd55afa2e6c6f301c90cd5430308f66a1e127a405c97c53b668311a80f2
5
5
  SHA512:
6
- metadata.gz: fd3fc812402a88688bc00b249ea7352e8407443cdd4af979f8d24b9029b3ea9621fe247992aff6da8ff05a1b1ede08b3cf88555c4bad853d6e17b7fdb73d7e4e
7
- data.tar.gz: 6b0818bd69c38118ebf054c799dcd86c3759be5ecf6a8d1f6e52d4ec1f7aaf7767c3fd994936b22f2a134092d5dd198c610a89eb2325b5d0577916cf3988206b
6
+ metadata.gz: d5f4cd0d6812c05120fc84a683b8fa3621824b0e52ba32a8526ebf8fec0f3e538502f2d13dc5177887ce20651e6da4dce45390c3af3392f1ae12b72c7f182bee
7
+ data.tar.gz: 37411e511aa211730ee005373aece6fa19dbfbf4bf336cf4c743e5f154c5f18b8e5764fdda674c69b015612c03a145376f9d5b9444aa117fb67b6c59792dbd60
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.14.0 (2023-05-31)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.13.0 (2023-05-30)
10
+ ------------------
11
+
12
+ * Feature - Amazon MemoryDB for Redis now supports AWS Identity and Access Management authentication access to Redis clusters starting with redis-engine version 7.0
13
+
4
14
  1.12.0 (2023-01-18)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.12.0
1
+ 1.14.0
@@ -275,6 +275,11 @@ module Aws::MemoryDB
275
275
  # in the future.
276
276
  #
277
277
  #
278
+ # @option options [String] :sdk_ua_app_id
279
+ # A unique and opaque application ID that is appended to the
280
+ # User-Agent header as app/<sdk_ua_app_id>. It should have a
281
+ # maximum length of 50.
282
+ #
278
283
  # @option options [String] :secret_access_key
279
284
  #
280
285
  # @option options [String] :session_token
@@ -1044,7 +1049,7 @@ module Aws::MemoryDB
1044
1049
  # resp = client.create_user({
1045
1050
  # user_name: "UserName", # required
1046
1051
  # authentication_mode: { # required
1047
- # type: "password", # accepts password
1052
+ # type: "password", # accepts password, iam
1048
1053
  # passwords: ["String"],
1049
1054
  # },
1050
1055
  # access_string: "AccessString", # required
@@ -1064,7 +1069,7 @@ module Aws::MemoryDB
1064
1069
  # resp.user.acl_names #=> Array
1065
1070
  # resp.user.acl_names[0] #=> String
1066
1071
  # resp.user.minimum_engine_version #=> String
1067
- # resp.user.authentication.type #=> String, one of "password", "no-password"
1072
+ # resp.user.authentication.type #=> String, one of "password", "no-password", "iam"
1068
1073
  # resp.user.authentication.password_count #=> Integer
1069
1074
  # resp.user.arn #=> String
1070
1075
  #
@@ -1346,7 +1351,7 @@ module Aws::MemoryDB
1346
1351
  # resp.user.acl_names #=> Array
1347
1352
  # resp.user.acl_names[0] #=> String
1348
1353
  # resp.user.minimum_engine_version #=> String
1349
- # resp.user.authentication.type #=> String, one of "password", "no-password"
1354
+ # resp.user.authentication.type #=> String, one of "password", "no-password", "iam"
1350
1355
  # resp.user.authentication.password_count #=> Integer
1351
1356
  # resp.user.arn #=> String
1352
1357
  #
@@ -2172,7 +2177,7 @@ module Aws::MemoryDB
2172
2177
  # resp.users[0].acl_names #=> Array
2173
2178
  # resp.users[0].acl_names[0] #=> String
2174
2179
  # resp.users[0].minimum_engine_version #=> String
2175
- # resp.users[0].authentication.type #=> String, one of "password", "no-password"
2180
+ # resp.users[0].authentication.type #=> String, one of "password", "no-password", "iam"
2176
2181
  # resp.users[0].authentication.password_count #=> Integer
2177
2182
  # resp.users[0].arn #=> String
2178
2183
  # resp.next_token #=> String
@@ -2860,7 +2865,7 @@ module Aws::MemoryDB
2860
2865
  # resp = client.update_user({
2861
2866
  # user_name: "UserName", # required
2862
2867
  # authentication_mode: {
2863
- # type: "password", # accepts password
2868
+ # type: "password", # accepts password, iam
2864
2869
  # passwords: ["String"],
2865
2870
  # },
2866
2871
  # access_string: "AccessString",
@@ -2874,7 +2879,7 @@ module Aws::MemoryDB
2874
2879
  # resp.user.acl_names #=> Array
2875
2880
  # resp.user.acl_names[0] #=> String
2876
2881
  # resp.user.minimum_engine_version #=> String
2877
- # resp.user.authentication.type #=> String, one of "password", "no-password"
2882
+ # resp.user.authentication.type #=> String, one of "password", "no-password", "iam"
2878
2883
  # resp.user.authentication.password_count #=> Integer
2879
2884
  # resp.user.arn #=> String
2880
2885
  #
@@ -2900,7 +2905,7 @@ module Aws::MemoryDB
2900
2905
  params: params,
2901
2906
  config: config)
2902
2907
  context[:gem_name] = 'aws-sdk-memorydb'
2903
- context[:gem_version] = '1.12.0'
2908
+ context[:gem_version] = '1.14.0'
2904
2909
  Seahorse::Client::Request.new(handlers, context)
2905
2910
  end
2906
2911
 
@@ -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.14.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.14.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-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.165.0
22
+ version: 3.174.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.165.0
32
+ version: 3.174.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement