aws-sdk-internetmonitor 1.8.0 → 1.10.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: e8844a9f6145cfe082619fe22135fdb02a15714a4e1b9910c90197cc29c4e3d1
4
- data.tar.gz: f99b5d76c49cd1d603bd5c4f7b3eafb33de832d2017d64d697b2161878052500
3
+ metadata.gz: 6d8a846b18f6295cfe1efdd93af1fa38b856888156d9ba8c60aebc0d8e8f392f
4
+ data.tar.gz: 4b7de2a58db7ddf8c054e488d094abfd0e6a610bcda3f8d918159ac5fd73203d
5
5
  SHA512:
6
- metadata.gz: bdd74612ef437146fa14768ffab3ef2a023f0fc5afa8ecd253dbc0f326f060fa2b6d178e47a551fd545dab0fcc29f83235815862415bba4f2f92efb993c15eaf
7
- data.tar.gz: 920075267d6495a3dc71787889e01c3bc212ec02f2cf2f8495f94d1f8d37be272c5fe68008d814e87f0c4185e9351628de4716269420385531750d3c99f2f59a
6
+ metadata.gz: b7b35f327cc2728f68f693cdeafa49ded6390513461490ed0865db6534790fc0d7073582f4cd9670952cdac5d69ce0a65a3519970795b9f4b8b0b668da992faa
7
+ data.tar.gz: 6089c568680ab6f7f395e97dab943a66ee9f4a5b6e28286457fda887f3fe33382dc7df65efd9414e6602ea0169d7c9f20d22c46dcd0c58f04a04583d3f930248
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.10.0 (2023-09-27)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.9.0 (2023-09-13)
10
+ ------------------
11
+
12
+ * Feature - This release updates the Amazon CloudWatch Internet Monitor API domain name.
13
+
4
14
  1.8.0 (2023-08-01)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.8.0
1
+ 1.10.0
@@ -1125,7 +1125,7 @@ module Aws::InternetMonitor
1125
1125
  params: params,
1126
1126
  config: config)
1127
1127
  context[:gem_name] = 'aws-sdk-internetmonitor'
1128
- context[:gem_version] = '1.8.0'
1128
+ context[:gem_version] = '1.10.0'
1129
1129
  Seahorse::Client::Request.new(handlers, context)
1130
1130
  end
1131
1131
 
@@ -15,6 +15,11 @@ module Aws::InternetMonitor
15
15
  #
16
16
  # @return [String]
17
17
  #
18
+ # @!attribute use_dual_stack
19
+ # When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.
20
+ #
21
+ # @return [Boolean]
22
+ #
18
23
  # @!attribute use_fips
19
24
  # When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.
20
25
  #
@@ -27,6 +32,7 @@ module Aws::InternetMonitor
27
32
  #
28
33
  EndpointParameters = Struct.new(
29
34
  :region,
35
+ :use_dual_stack,
30
36
  :use_fips,
31
37
  :endpoint,
32
38
  ) do
@@ -36,6 +42,7 @@ module Aws::InternetMonitor
36
42
  class << self
37
43
  PARAM_MAP = {
38
44
  'Region' => :region,
45
+ 'UseDualStack' => :use_dual_stack,
39
46
  'UseFIPS' => :use_fips,
40
47
  'Endpoint' => :endpoint,
41
48
  }.freeze
@@ -43,6 +50,11 @@ module Aws::InternetMonitor
43
50
 
44
51
  def initialize(options = {})
45
52
  self[:region] = options[:region]
53
+ self[:use_dual_stack] = options[:use_dual_stack]
54
+ self[:use_dual_stack] = false if self[:use_dual_stack].nil?
55
+ if self[:use_dual_stack].nil?
56
+ raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
57
+ end
46
58
  self[:use_fips] = options[:use_fips]
47
59
  self[:use_fips] = false if self[:use_fips].nil?
48
60
  if self[:use_fips].nil?
@@ -11,24 +11,25 @@ module Aws::InternetMonitor
11
11
  class EndpointProvider
12
12
  def resolve_endpoint(parameters)
13
13
  region = parameters.region
14
+ use_dual_stack = parameters.use_dual_stack
14
15
  use_fips = parameters.use_fips
15
16
  endpoint = parameters.endpoint
16
17
  if Aws::Endpoints::Matchers.set?(endpoint)
17
18
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
18
19
  raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
19
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
20
24
  return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
21
25
  end
22
26
  if Aws::Endpoints::Matchers.set?(region)
23
27
  if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
24
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
25
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
26
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
27
- return Aws::Endpoints::Endpoint.new(url: "https://internetmonitor-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
28
- end
29
- raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
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://internetmonitor-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
30
31
  end
31
- return Aws::Endpoints::Endpoint.new(url: "https://internetmonitor.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
32
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
32
33
  end
33
34
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
34
35
  if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
@@ -36,6 +37,12 @@ module Aws::InternetMonitor
36
37
  end
37
38
  raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
38
39
  end
40
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
41
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
42
+ return Aws::Endpoints::Endpoint.new(url: "https://internetmonitor.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
43
+ end
44
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
45
+ end
39
46
  return Aws::Endpoints::Endpoint.new(url: "https://internetmonitor.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
40
47
  end
41
48
  end
@@ -19,6 +19,7 @@ module Aws::InternetMonitor
19
19
  end
20
20
  Aws::InternetMonitor::EndpointParameters.new(
21
21
  region: context.config.region,
22
+ use_dual_stack: context.config.use_dualstack_endpoint,
22
23
  use_fips: context.config.use_fips_endpoint,
23
24
  endpoint: endpoint,
24
25
  )
@@ -32,6 +33,7 @@ module Aws::InternetMonitor
32
33
  end
33
34
  Aws::InternetMonitor::EndpointParameters.new(
34
35
  region: context.config.region,
36
+ use_dual_stack: context.config.use_dualstack_endpoint,
35
37
  use_fips: context.config.use_fips_endpoint,
36
38
  endpoint: endpoint,
37
39
  )
@@ -45,6 +47,7 @@ module Aws::InternetMonitor
45
47
  end
46
48
  Aws::InternetMonitor::EndpointParameters.new(
47
49
  region: context.config.region,
50
+ use_dual_stack: context.config.use_dualstack_endpoint,
48
51
  use_fips: context.config.use_fips_endpoint,
49
52
  endpoint: endpoint,
50
53
  )
@@ -58,6 +61,7 @@ module Aws::InternetMonitor
58
61
  end
59
62
  Aws::InternetMonitor::EndpointParameters.new(
60
63
  region: context.config.region,
64
+ use_dual_stack: context.config.use_dualstack_endpoint,
61
65
  use_fips: context.config.use_fips_endpoint,
62
66
  endpoint: endpoint,
63
67
  )
@@ -71,6 +75,7 @@ module Aws::InternetMonitor
71
75
  end
72
76
  Aws::InternetMonitor::EndpointParameters.new(
73
77
  region: context.config.region,
78
+ use_dual_stack: context.config.use_dualstack_endpoint,
74
79
  use_fips: context.config.use_fips_endpoint,
75
80
  endpoint: endpoint,
76
81
  )
@@ -84,6 +89,7 @@ module Aws::InternetMonitor
84
89
  end
85
90
  Aws::InternetMonitor::EndpointParameters.new(
86
91
  region: context.config.region,
92
+ use_dual_stack: context.config.use_dualstack_endpoint,
87
93
  use_fips: context.config.use_fips_endpoint,
88
94
  endpoint: endpoint,
89
95
  )
@@ -97,6 +103,7 @@ module Aws::InternetMonitor
97
103
  end
98
104
  Aws::InternetMonitor::EndpointParameters.new(
99
105
  region: context.config.region,
106
+ use_dual_stack: context.config.use_dualstack_endpoint,
100
107
  use_fips: context.config.use_fips_endpoint,
101
108
  endpoint: endpoint,
102
109
  )
@@ -110,6 +117,7 @@ module Aws::InternetMonitor
110
117
  end
111
118
  Aws::InternetMonitor::EndpointParameters.new(
112
119
  region: context.config.region,
120
+ use_dual_stack: context.config.use_dualstack_endpoint,
113
121
  use_fips: context.config.use_fips_endpoint,
114
122
  endpoint: endpoint,
115
123
  )
@@ -123,6 +131,7 @@ module Aws::InternetMonitor
123
131
  end
124
132
  Aws::InternetMonitor::EndpointParameters.new(
125
133
  region: context.config.region,
134
+ use_dual_stack: context.config.use_dualstack_endpoint,
126
135
  use_fips: context.config.use_fips_endpoint,
127
136
  endpoint: endpoint,
128
137
  )
@@ -136,6 +145,7 @@ module Aws::InternetMonitor
136
145
  end
137
146
  Aws::InternetMonitor::EndpointParameters.new(
138
147
  region: context.config.region,
148
+ use_dual_stack: context.config.use_dualstack_endpoint,
139
149
  use_fips: context.config.use_fips_endpoint,
140
150
  endpoint: endpoint,
141
151
  )
@@ -53,6 +53,6 @@ require_relative 'aws-sdk-internetmonitor/customizations'
53
53
  # @!group service
54
54
  module Aws::InternetMonitor
55
55
 
56
- GEM_VERSION = '1.8.0'
56
+ GEM_VERSION = '1.10.0'
57
57
 
58
58
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-internetmonitor
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.0
4
+ version: 1.10.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-08-01 00:00:00.000000000 Z
11
+ date: 2023-09-27 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.177.0
22
+ version: 3.184.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.177.0
32
+ version: 3.184.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement