aws-sdk-worklink 1.33.0 → 1.35.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: dbbbe137b031417eac86d113fe60b5c98b9088f2b4cbfef3313d83707317f2e8
4
- data.tar.gz: 97cd83ae53e28f4637142aa0a5073e2cb319eb66c8f1a3413c89a7a735283e36
3
+ metadata.gz: c8e9fbc905116a047ff8f31d6b4c1c762fc43f4baf68656db64c0b34d1f55d7a
4
+ data.tar.gz: 22f3c397691683d1fd07f44b4851ce249dde6894e4e7c112ce1abe5722a87e6c
5
5
  SHA512:
6
- metadata.gz: 9f59d60148be35d91a6fec64daaf0853907c2cf608a8a8273fb155e86884ba535b3c190719330541d2a56344bc0bd9bc8064c69987b64fd7545700f7f5b8a460
7
- data.tar.gz: 5117bad18a7e6e05802934cb11eb665e97af61873e45ee171031043412b0bfec18be5cdd0a44a6533ab1be6b48fca8164b2d99f3c109a50ee41f91683473603d
6
+ metadata.gz: 2282cbbf1b5075b86763699ad66087dea5a74c2499948712306fe3e3b4489ed6c8ac595fd4866f4ac01a61bc83029e0870d148b71c9b181d4dc2501982cc62b4
7
+ data.tar.gz: e270c82618e9f8df1faf382a3d12a7f0f382a6d3bcfdd5d112180ef93443019183d2bcaa19736ed7f11325afb094093735ea8f01223cc3e7a8a444515fe773fe
data/CHANGELOG.md CHANGED
@@ -1,6 +1,18 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.35.0 (2023-01-18)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ * Issue - Replace runtime endpoint resolution approach with generated ruby code.
10
+
11
+ 1.34.0 (2022-10-25)
12
+ ------------------
13
+
14
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
15
+
4
16
  1.33.0 (2022-04-19)
5
17
  ------------------
6
18
 
@@ -175,4 +187,4 @@ Unreleased Changes
175
187
  1.0.0 (2019-01-23)
176
188
  ------------------
177
189
 
178
- * Feature - Initial release of `aws-sdk-worklink`.
190
+ * Feature - Initial release of `aws-sdk-worklink`.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.33.0
1
+ 1.35.0
@@ -30,7 +30,7 @@ require 'aws-sdk-core/plugins/http_checksum.rb'
30
30
  require 'aws-sdk-core/plugins/checksum_algorithm.rb'
31
31
  require 'aws-sdk-core/plugins/defaults_mode.rb'
32
32
  require 'aws-sdk-core/plugins/recursion_detection.rb'
33
- require 'aws-sdk-core/plugins/signature_v4.rb'
33
+ require 'aws-sdk-core/plugins/sign.rb'
34
34
  require 'aws-sdk-core/plugins/protocols/rest_json.rb'
35
35
 
36
36
  Aws::Plugins::GlobalConfiguration.add_identifier(:worklink)
@@ -79,8 +79,9 @@ module Aws::WorkLink
79
79
  add_plugin(Aws::Plugins::ChecksumAlgorithm)
80
80
  add_plugin(Aws::Plugins::DefaultsMode)
81
81
  add_plugin(Aws::Plugins::RecursionDetection)
82
- add_plugin(Aws::Plugins::SignatureV4)
82
+ add_plugin(Aws::Plugins::Sign)
83
83
  add_plugin(Aws::Plugins::Protocols::RestJson)
84
+ add_plugin(Aws::WorkLink::Plugins::Endpoints)
84
85
 
85
86
  # @overload initialize(options)
86
87
  # @param [Hash] options
@@ -287,6 +288,19 @@ module Aws::WorkLink
287
288
  # ** Please note ** When response stubbing is enabled, no HTTP
288
289
  # requests are made, and retries are disabled.
289
290
  #
291
+ # @option options [Aws::TokenProvider] :token_provider
292
+ # A Bearer Token Provider. This can be an instance of any one of the
293
+ # following classes:
294
+ #
295
+ # * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
296
+ # tokens.
297
+ #
298
+ # * `Aws::SSOTokenProvider` - Used for loading tokens from AWS SSO using an
299
+ # access token generated from `aws login`.
300
+ #
301
+ # When `:token_provider` is not configured directly, the `Aws::TokenProviderChain`
302
+ # will be used to search for tokens configured for your profile in shared configuration files.
303
+ #
290
304
  # @option options [Boolean] :use_dualstack_endpoint
291
305
  # When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
292
306
  # will be used if available.
@@ -300,6 +314,9 @@ module Aws::WorkLink
300
314
  # When `true`, request parameters are validated before
301
315
  # sending the request.
302
316
  #
317
+ # @option options [Aws::WorkLink::EndpointProvider] :endpoint_provider
318
+ # The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::WorkLink::EndpointParameters`
319
+ #
303
320
  # @option options [URI::HTTP,String] :http_proxy A proxy to send
304
321
  # requests through. Formatted like 'http://proxy.com:123'.
305
322
  #
@@ -1493,7 +1510,7 @@ module Aws::WorkLink
1493
1510
  params: params,
1494
1511
  config: config)
1495
1512
  context[:gem_name] = 'aws-sdk-worklink'
1496
- context[:gem_version] = '1.33.0'
1513
+ context[:gem_version] = '1.35.0'
1497
1514
  Seahorse::Client::Request.new(handlers, context)
1498
1515
  end
1499
1516
 
@@ -0,0 +1,66 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::WorkLink
11
+ # Endpoint parameters used to influence endpoints per request.
12
+ #
13
+ # @!attribute region
14
+ # The AWS region used to dispatch the request.
15
+ #
16
+ # @return [String]
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
+ #
23
+ # @!attribute use_fips
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.
25
+ #
26
+ # @return [Boolean]
27
+ #
28
+ # @!attribute endpoint
29
+ # Override the endpoint used to send this request
30
+ #
31
+ # @return [String]
32
+ #
33
+ EndpointParameters = Struct.new(
34
+ :region,
35
+ :use_dual_stack,
36
+ :use_fips,
37
+ :endpoint,
38
+ ) do
39
+ include Aws::Structure
40
+
41
+ # @api private
42
+ class << self
43
+ PARAM_MAP = {
44
+ 'Region' => :region,
45
+ 'UseDualStack' => :use_dual_stack,
46
+ 'UseFIPS' => :use_fips,
47
+ 'Endpoint' => :endpoint,
48
+ }.freeze
49
+ end
50
+
51
+ def initialize(options = {})
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
58
+ self[:use_fips] = options[:use_fips]
59
+ self[:use_fips] = false if self[:use_fips].nil?
60
+ if self[:use_fips].nil?
61
+ raise ArgumentError, "Missing required EndpointParameter: :use_fips"
62
+ end
63
+ self[:endpoint] = options[:endpoint]
64
+ end
65
+ end
66
+ end
@@ -0,0 +1,51 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::WorkLink
11
+ class EndpointProvider
12
+ def resolve_endpoint(parameters)
13
+ region = parameters.region
14
+ use_dual_stack = parameters.use_dual_stack
15
+ use_fips = parameters.use_fips
16
+ endpoint = parameters.endpoint
17
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
+ if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
19
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
20
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
21
+ end
22
+ 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://worklink-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
30
+ 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://worklink-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
36
+ 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://worklink.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
42
+ end
43
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
44
+ end
45
+ return Aws::Endpoints::Endpoint.new(url: "https://worklink.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
46
+ end
47
+ raise ArgumentError, 'No endpoint could be resolved'
48
+
49
+ end
50
+ end
51
+ end
@@ -0,0 +1,477 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+
11
+ module Aws::WorkLink
12
+ module Endpoints
13
+
14
+ class AssociateDomain
15
+ def self.build(context)
16
+ unless context.config.regional_endpoint
17
+ endpoint = context.config.endpoint.to_s
18
+ end
19
+ Aws::WorkLink::EndpointParameters.new(
20
+ region: context.config.region,
21
+ use_dual_stack: context.config.use_dualstack_endpoint,
22
+ use_fips: context.config.use_fips_endpoint,
23
+ endpoint: endpoint,
24
+ )
25
+ end
26
+ end
27
+
28
+ class AssociateWebsiteAuthorizationProvider
29
+ def self.build(context)
30
+ unless context.config.regional_endpoint
31
+ endpoint = context.config.endpoint.to_s
32
+ end
33
+ Aws::WorkLink::EndpointParameters.new(
34
+ region: context.config.region,
35
+ use_dual_stack: context.config.use_dualstack_endpoint,
36
+ use_fips: context.config.use_fips_endpoint,
37
+ endpoint: endpoint,
38
+ )
39
+ end
40
+ end
41
+
42
+ class AssociateWebsiteCertificateAuthority
43
+ def self.build(context)
44
+ unless context.config.regional_endpoint
45
+ endpoint = context.config.endpoint.to_s
46
+ end
47
+ Aws::WorkLink::EndpointParameters.new(
48
+ region: context.config.region,
49
+ use_dual_stack: context.config.use_dualstack_endpoint,
50
+ use_fips: context.config.use_fips_endpoint,
51
+ endpoint: endpoint,
52
+ )
53
+ end
54
+ end
55
+
56
+ class CreateFleet
57
+ def self.build(context)
58
+ unless context.config.regional_endpoint
59
+ endpoint = context.config.endpoint.to_s
60
+ end
61
+ Aws::WorkLink::EndpointParameters.new(
62
+ region: context.config.region,
63
+ use_dual_stack: context.config.use_dualstack_endpoint,
64
+ use_fips: context.config.use_fips_endpoint,
65
+ endpoint: endpoint,
66
+ )
67
+ end
68
+ end
69
+
70
+ class DeleteFleet
71
+ def self.build(context)
72
+ unless context.config.regional_endpoint
73
+ endpoint = context.config.endpoint.to_s
74
+ end
75
+ Aws::WorkLink::EndpointParameters.new(
76
+ region: context.config.region,
77
+ use_dual_stack: context.config.use_dualstack_endpoint,
78
+ use_fips: context.config.use_fips_endpoint,
79
+ endpoint: endpoint,
80
+ )
81
+ end
82
+ end
83
+
84
+ class DescribeAuditStreamConfiguration
85
+ def self.build(context)
86
+ unless context.config.regional_endpoint
87
+ endpoint = context.config.endpoint.to_s
88
+ end
89
+ Aws::WorkLink::EndpointParameters.new(
90
+ region: context.config.region,
91
+ use_dual_stack: context.config.use_dualstack_endpoint,
92
+ use_fips: context.config.use_fips_endpoint,
93
+ endpoint: endpoint,
94
+ )
95
+ end
96
+ end
97
+
98
+ class DescribeCompanyNetworkConfiguration
99
+ def self.build(context)
100
+ unless context.config.regional_endpoint
101
+ endpoint = context.config.endpoint.to_s
102
+ end
103
+ Aws::WorkLink::EndpointParameters.new(
104
+ region: context.config.region,
105
+ use_dual_stack: context.config.use_dualstack_endpoint,
106
+ use_fips: context.config.use_fips_endpoint,
107
+ endpoint: endpoint,
108
+ )
109
+ end
110
+ end
111
+
112
+ class DescribeDevice
113
+ def self.build(context)
114
+ unless context.config.regional_endpoint
115
+ endpoint = context.config.endpoint.to_s
116
+ end
117
+ Aws::WorkLink::EndpointParameters.new(
118
+ region: context.config.region,
119
+ use_dual_stack: context.config.use_dualstack_endpoint,
120
+ use_fips: context.config.use_fips_endpoint,
121
+ endpoint: endpoint,
122
+ )
123
+ end
124
+ end
125
+
126
+ class DescribeDevicePolicyConfiguration
127
+ def self.build(context)
128
+ unless context.config.regional_endpoint
129
+ endpoint = context.config.endpoint.to_s
130
+ end
131
+ Aws::WorkLink::EndpointParameters.new(
132
+ region: context.config.region,
133
+ use_dual_stack: context.config.use_dualstack_endpoint,
134
+ use_fips: context.config.use_fips_endpoint,
135
+ endpoint: endpoint,
136
+ )
137
+ end
138
+ end
139
+
140
+ class DescribeDomain
141
+ def self.build(context)
142
+ unless context.config.regional_endpoint
143
+ endpoint = context.config.endpoint.to_s
144
+ end
145
+ Aws::WorkLink::EndpointParameters.new(
146
+ region: context.config.region,
147
+ use_dual_stack: context.config.use_dualstack_endpoint,
148
+ use_fips: context.config.use_fips_endpoint,
149
+ endpoint: endpoint,
150
+ )
151
+ end
152
+ end
153
+
154
+ class DescribeFleetMetadata
155
+ def self.build(context)
156
+ unless context.config.regional_endpoint
157
+ endpoint = context.config.endpoint.to_s
158
+ end
159
+ Aws::WorkLink::EndpointParameters.new(
160
+ region: context.config.region,
161
+ use_dual_stack: context.config.use_dualstack_endpoint,
162
+ use_fips: context.config.use_fips_endpoint,
163
+ endpoint: endpoint,
164
+ )
165
+ end
166
+ end
167
+
168
+ class DescribeIdentityProviderConfiguration
169
+ def self.build(context)
170
+ unless context.config.regional_endpoint
171
+ endpoint = context.config.endpoint.to_s
172
+ end
173
+ Aws::WorkLink::EndpointParameters.new(
174
+ region: context.config.region,
175
+ use_dual_stack: context.config.use_dualstack_endpoint,
176
+ use_fips: context.config.use_fips_endpoint,
177
+ endpoint: endpoint,
178
+ )
179
+ end
180
+ end
181
+
182
+ class DescribeWebsiteCertificateAuthority
183
+ def self.build(context)
184
+ unless context.config.regional_endpoint
185
+ endpoint = context.config.endpoint.to_s
186
+ end
187
+ Aws::WorkLink::EndpointParameters.new(
188
+ region: context.config.region,
189
+ use_dual_stack: context.config.use_dualstack_endpoint,
190
+ use_fips: context.config.use_fips_endpoint,
191
+ endpoint: endpoint,
192
+ )
193
+ end
194
+ end
195
+
196
+ class DisassociateDomain
197
+ def self.build(context)
198
+ unless context.config.regional_endpoint
199
+ endpoint = context.config.endpoint.to_s
200
+ end
201
+ Aws::WorkLink::EndpointParameters.new(
202
+ region: context.config.region,
203
+ use_dual_stack: context.config.use_dualstack_endpoint,
204
+ use_fips: context.config.use_fips_endpoint,
205
+ endpoint: endpoint,
206
+ )
207
+ end
208
+ end
209
+
210
+ class DisassociateWebsiteAuthorizationProvider
211
+ def self.build(context)
212
+ unless context.config.regional_endpoint
213
+ endpoint = context.config.endpoint.to_s
214
+ end
215
+ Aws::WorkLink::EndpointParameters.new(
216
+ region: context.config.region,
217
+ use_dual_stack: context.config.use_dualstack_endpoint,
218
+ use_fips: context.config.use_fips_endpoint,
219
+ endpoint: endpoint,
220
+ )
221
+ end
222
+ end
223
+
224
+ class DisassociateWebsiteCertificateAuthority
225
+ def self.build(context)
226
+ unless context.config.regional_endpoint
227
+ endpoint = context.config.endpoint.to_s
228
+ end
229
+ Aws::WorkLink::EndpointParameters.new(
230
+ region: context.config.region,
231
+ use_dual_stack: context.config.use_dualstack_endpoint,
232
+ use_fips: context.config.use_fips_endpoint,
233
+ endpoint: endpoint,
234
+ )
235
+ end
236
+ end
237
+
238
+ class ListDevices
239
+ def self.build(context)
240
+ unless context.config.regional_endpoint
241
+ endpoint = context.config.endpoint.to_s
242
+ end
243
+ Aws::WorkLink::EndpointParameters.new(
244
+ region: context.config.region,
245
+ use_dual_stack: context.config.use_dualstack_endpoint,
246
+ use_fips: context.config.use_fips_endpoint,
247
+ endpoint: endpoint,
248
+ )
249
+ end
250
+ end
251
+
252
+ class ListDomains
253
+ def self.build(context)
254
+ unless context.config.regional_endpoint
255
+ endpoint = context.config.endpoint.to_s
256
+ end
257
+ Aws::WorkLink::EndpointParameters.new(
258
+ region: context.config.region,
259
+ use_dual_stack: context.config.use_dualstack_endpoint,
260
+ use_fips: context.config.use_fips_endpoint,
261
+ endpoint: endpoint,
262
+ )
263
+ end
264
+ end
265
+
266
+ class ListFleets
267
+ def self.build(context)
268
+ unless context.config.regional_endpoint
269
+ endpoint = context.config.endpoint.to_s
270
+ end
271
+ Aws::WorkLink::EndpointParameters.new(
272
+ region: context.config.region,
273
+ use_dual_stack: context.config.use_dualstack_endpoint,
274
+ use_fips: context.config.use_fips_endpoint,
275
+ endpoint: endpoint,
276
+ )
277
+ end
278
+ end
279
+
280
+ class ListTagsForResource
281
+ def self.build(context)
282
+ unless context.config.regional_endpoint
283
+ endpoint = context.config.endpoint.to_s
284
+ end
285
+ Aws::WorkLink::EndpointParameters.new(
286
+ region: context.config.region,
287
+ use_dual_stack: context.config.use_dualstack_endpoint,
288
+ use_fips: context.config.use_fips_endpoint,
289
+ endpoint: endpoint,
290
+ )
291
+ end
292
+ end
293
+
294
+ class ListWebsiteAuthorizationProviders
295
+ def self.build(context)
296
+ unless context.config.regional_endpoint
297
+ endpoint = context.config.endpoint.to_s
298
+ end
299
+ Aws::WorkLink::EndpointParameters.new(
300
+ region: context.config.region,
301
+ use_dual_stack: context.config.use_dualstack_endpoint,
302
+ use_fips: context.config.use_fips_endpoint,
303
+ endpoint: endpoint,
304
+ )
305
+ end
306
+ end
307
+
308
+ class ListWebsiteCertificateAuthorities
309
+ def self.build(context)
310
+ unless context.config.regional_endpoint
311
+ endpoint = context.config.endpoint.to_s
312
+ end
313
+ Aws::WorkLink::EndpointParameters.new(
314
+ region: context.config.region,
315
+ use_dual_stack: context.config.use_dualstack_endpoint,
316
+ use_fips: context.config.use_fips_endpoint,
317
+ endpoint: endpoint,
318
+ )
319
+ end
320
+ end
321
+
322
+ class RestoreDomainAccess
323
+ def self.build(context)
324
+ unless context.config.regional_endpoint
325
+ endpoint = context.config.endpoint.to_s
326
+ end
327
+ Aws::WorkLink::EndpointParameters.new(
328
+ region: context.config.region,
329
+ use_dual_stack: context.config.use_dualstack_endpoint,
330
+ use_fips: context.config.use_fips_endpoint,
331
+ endpoint: endpoint,
332
+ )
333
+ end
334
+ end
335
+
336
+ class RevokeDomainAccess
337
+ def self.build(context)
338
+ unless context.config.regional_endpoint
339
+ endpoint = context.config.endpoint.to_s
340
+ end
341
+ Aws::WorkLink::EndpointParameters.new(
342
+ region: context.config.region,
343
+ use_dual_stack: context.config.use_dualstack_endpoint,
344
+ use_fips: context.config.use_fips_endpoint,
345
+ endpoint: endpoint,
346
+ )
347
+ end
348
+ end
349
+
350
+ class SignOutUser
351
+ def self.build(context)
352
+ unless context.config.regional_endpoint
353
+ endpoint = context.config.endpoint.to_s
354
+ end
355
+ Aws::WorkLink::EndpointParameters.new(
356
+ region: context.config.region,
357
+ use_dual_stack: context.config.use_dualstack_endpoint,
358
+ use_fips: context.config.use_fips_endpoint,
359
+ endpoint: endpoint,
360
+ )
361
+ end
362
+ end
363
+
364
+ class TagResource
365
+ def self.build(context)
366
+ unless context.config.regional_endpoint
367
+ endpoint = context.config.endpoint.to_s
368
+ end
369
+ Aws::WorkLink::EndpointParameters.new(
370
+ region: context.config.region,
371
+ use_dual_stack: context.config.use_dualstack_endpoint,
372
+ use_fips: context.config.use_fips_endpoint,
373
+ endpoint: endpoint,
374
+ )
375
+ end
376
+ end
377
+
378
+ class UntagResource
379
+ def self.build(context)
380
+ unless context.config.regional_endpoint
381
+ endpoint = context.config.endpoint.to_s
382
+ end
383
+ Aws::WorkLink::EndpointParameters.new(
384
+ region: context.config.region,
385
+ use_dual_stack: context.config.use_dualstack_endpoint,
386
+ use_fips: context.config.use_fips_endpoint,
387
+ endpoint: endpoint,
388
+ )
389
+ end
390
+ end
391
+
392
+ class UpdateAuditStreamConfiguration
393
+ def self.build(context)
394
+ unless context.config.regional_endpoint
395
+ endpoint = context.config.endpoint.to_s
396
+ end
397
+ Aws::WorkLink::EndpointParameters.new(
398
+ region: context.config.region,
399
+ use_dual_stack: context.config.use_dualstack_endpoint,
400
+ use_fips: context.config.use_fips_endpoint,
401
+ endpoint: endpoint,
402
+ )
403
+ end
404
+ end
405
+
406
+ class UpdateCompanyNetworkConfiguration
407
+ def self.build(context)
408
+ unless context.config.regional_endpoint
409
+ endpoint = context.config.endpoint.to_s
410
+ end
411
+ Aws::WorkLink::EndpointParameters.new(
412
+ region: context.config.region,
413
+ use_dual_stack: context.config.use_dualstack_endpoint,
414
+ use_fips: context.config.use_fips_endpoint,
415
+ endpoint: endpoint,
416
+ )
417
+ end
418
+ end
419
+
420
+ class UpdateDevicePolicyConfiguration
421
+ def self.build(context)
422
+ unless context.config.regional_endpoint
423
+ endpoint = context.config.endpoint.to_s
424
+ end
425
+ Aws::WorkLink::EndpointParameters.new(
426
+ region: context.config.region,
427
+ use_dual_stack: context.config.use_dualstack_endpoint,
428
+ use_fips: context.config.use_fips_endpoint,
429
+ endpoint: endpoint,
430
+ )
431
+ end
432
+ end
433
+
434
+ class UpdateDomainMetadata
435
+ def self.build(context)
436
+ unless context.config.regional_endpoint
437
+ endpoint = context.config.endpoint.to_s
438
+ end
439
+ Aws::WorkLink::EndpointParameters.new(
440
+ region: context.config.region,
441
+ use_dual_stack: context.config.use_dualstack_endpoint,
442
+ use_fips: context.config.use_fips_endpoint,
443
+ endpoint: endpoint,
444
+ )
445
+ end
446
+ end
447
+
448
+ class UpdateFleetMetadata
449
+ def self.build(context)
450
+ unless context.config.regional_endpoint
451
+ endpoint = context.config.endpoint.to_s
452
+ end
453
+ Aws::WorkLink::EndpointParameters.new(
454
+ region: context.config.region,
455
+ use_dual_stack: context.config.use_dualstack_endpoint,
456
+ use_fips: context.config.use_fips_endpoint,
457
+ endpoint: endpoint,
458
+ )
459
+ end
460
+ end
461
+
462
+ class UpdateIdentityProviderConfiguration
463
+ def self.build(context)
464
+ unless context.config.regional_endpoint
465
+ endpoint = context.config.endpoint.to_s
466
+ end
467
+ Aws::WorkLink::EndpointParameters.new(
468
+ region: context.config.region,
469
+ use_dual_stack: context.config.use_dualstack_endpoint,
470
+ use_fips: context.config.use_fips_endpoint,
471
+ endpoint: endpoint,
472
+ )
473
+ end
474
+ end
475
+
476
+ end
477
+ end
@@ -0,0 +1,134 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+
11
+ module Aws::WorkLink
12
+ module Plugins
13
+ class Endpoints < Seahorse::Client::Plugin
14
+ option(
15
+ :endpoint_provider,
16
+ doc_type: 'Aws::WorkLink::EndpointProvider',
17
+ docstring: 'The endpoint provider used to resolve endpoints. Any '\
18
+ 'object that responds to `#resolve_endpoint(parameters)` '\
19
+ 'where `parameters` is a Struct similar to '\
20
+ '`Aws::WorkLink::EndpointParameters`'
21
+ ) do |cfg|
22
+ Aws::WorkLink::EndpointProvider.new
23
+ end
24
+
25
+ # @api private
26
+ class Handler < Seahorse::Client::Handler
27
+ def call(context)
28
+ # If endpoint was discovered, do not resolve or apply the endpoint.
29
+ unless context[:discovered_endpoint]
30
+ params = parameters_for_operation(context)
31
+ endpoint = context.config.endpoint_provider.resolve_endpoint(params)
32
+
33
+ context.http_request.endpoint = endpoint.url
34
+ apply_endpoint_headers(context, endpoint.headers)
35
+ end
36
+
37
+ context[:endpoint_params] = params
38
+ context[:auth_scheme] =
39
+ Aws::Endpoints.resolve_auth_scheme(context, endpoint)
40
+
41
+ @handler.call(context)
42
+ end
43
+
44
+ private
45
+
46
+ def apply_endpoint_headers(context, headers)
47
+ headers.each do |key, values|
48
+ value = values
49
+ .compact
50
+ .map { |s| Seahorse::Util.escape_header_list_string(s.to_s) }
51
+ .join(',')
52
+
53
+ context.http_request.headers[key] = value
54
+ end
55
+ end
56
+
57
+ def parameters_for_operation(context)
58
+ case context.operation_name
59
+ when :associate_domain
60
+ Aws::WorkLink::Endpoints::AssociateDomain.build(context)
61
+ when :associate_website_authorization_provider
62
+ Aws::WorkLink::Endpoints::AssociateWebsiteAuthorizationProvider.build(context)
63
+ when :associate_website_certificate_authority
64
+ Aws::WorkLink::Endpoints::AssociateWebsiteCertificateAuthority.build(context)
65
+ when :create_fleet
66
+ Aws::WorkLink::Endpoints::CreateFleet.build(context)
67
+ when :delete_fleet
68
+ Aws::WorkLink::Endpoints::DeleteFleet.build(context)
69
+ when :describe_audit_stream_configuration
70
+ Aws::WorkLink::Endpoints::DescribeAuditStreamConfiguration.build(context)
71
+ when :describe_company_network_configuration
72
+ Aws::WorkLink::Endpoints::DescribeCompanyNetworkConfiguration.build(context)
73
+ when :describe_device
74
+ Aws::WorkLink::Endpoints::DescribeDevice.build(context)
75
+ when :describe_device_policy_configuration
76
+ Aws::WorkLink::Endpoints::DescribeDevicePolicyConfiguration.build(context)
77
+ when :describe_domain
78
+ Aws::WorkLink::Endpoints::DescribeDomain.build(context)
79
+ when :describe_fleet_metadata
80
+ Aws::WorkLink::Endpoints::DescribeFleetMetadata.build(context)
81
+ when :describe_identity_provider_configuration
82
+ Aws::WorkLink::Endpoints::DescribeIdentityProviderConfiguration.build(context)
83
+ when :describe_website_certificate_authority
84
+ Aws::WorkLink::Endpoints::DescribeWebsiteCertificateAuthority.build(context)
85
+ when :disassociate_domain
86
+ Aws::WorkLink::Endpoints::DisassociateDomain.build(context)
87
+ when :disassociate_website_authorization_provider
88
+ Aws::WorkLink::Endpoints::DisassociateWebsiteAuthorizationProvider.build(context)
89
+ when :disassociate_website_certificate_authority
90
+ Aws::WorkLink::Endpoints::DisassociateWebsiteCertificateAuthority.build(context)
91
+ when :list_devices
92
+ Aws::WorkLink::Endpoints::ListDevices.build(context)
93
+ when :list_domains
94
+ Aws::WorkLink::Endpoints::ListDomains.build(context)
95
+ when :list_fleets
96
+ Aws::WorkLink::Endpoints::ListFleets.build(context)
97
+ when :list_tags_for_resource
98
+ Aws::WorkLink::Endpoints::ListTagsForResource.build(context)
99
+ when :list_website_authorization_providers
100
+ Aws::WorkLink::Endpoints::ListWebsiteAuthorizationProviders.build(context)
101
+ when :list_website_certificate_authorities
102
+ Aws::WorkLink::Endpoints::ListWebsiteCertificateAuthorities.build(context)
103
+ when :restore_domain_access
104
+ Aws::WorkLink::Endpoints::RestoreDomainAccess.build(context)
105
+ when :revoke_domain_access
106
+ Aws::WorkLink::Endpoints::RevokeDomainAccess.build(context)
107
+ when :sign_out_user
108
+ Aws::WorkLink::Endpoints::SignOutUser.build(context)
109
+ when :tag_resource
110
+ Aws::WorkLink::Endpoints::TagResource.build(context)
111
+ when :untag_resource
112
+ Aws::WorkLink::Endpoints::UntagResource.build(context)
113
+ when :update_audit_stream_configuration
114
+ Aws::WorkLink::Endpoints::UpdateAuditStreamConfiguration.build(context)
115
+ when :update_company_network_configuration
116
+ Aws::WorkLink::Endpoints::UpdateCompanyNetworkConfiguration.build(context)
117
+ when :update_device_policy_configuration
118
+ Aws::WorkLink::Endpoints::UpdateDevicePolicyConfiguration.build(context)
119
+ when :update_domain_metadata
120
+ Aws::WorkLink::Endpoints::UpdateDomainMetadata.build(context)
121
+ when :update_fleet_metadata
122
+ Aws::WorkLink::Endpoints::UpdateFleetMetadata.build(context)
123
+ when :update_identity_provider_configuration
124
+ Aws::WorkLink::Endpoints::UpdateIdentityProviderConfiguration.build(context)
125
+ end
126
+ end
127
+ end
128
+
129
+ def add_handlers(handlers, _config)
130
+ handlers.add(Handler, step: :build, priority: 75)
131
+ end
132
+ end
133
+ end
134
+ end
@@ -10,16 +10,6 @@
10
10
  module Aws::WorkLink
11
11
  module Types
12
12
 
13
- # @note When making an API call, you may pass AssociateDomainRequest
14
- # data as a hash:
15
- #
16
- # {
17
- # fleet_arn: "FleetArn", # required
18
- # domain_name: "DomainName", # required
19
- # display_name: "DisplayName",
20
- # acm_certificate_arn: "AcmCertificateArn", # required
21
- # }
22
- #
23
13
  # @!attribute [rw] fleet_arn
24
14
  # The Amazon Resource Name (ARN) of the fleet.
25
15
  # @return [String]
@@ -52,15 +42,6 @@ module Aws::WorkLink
52
42
  #
53
43
  class AssociateDomainResponse < Aws::EmptyStructure; end
54
44
 
55
- # @note When making an API call, you may pass AssociateWebsiteAuthorizationProviderRequest
56
- # data as a hash:
57
- #
58
- # {
59
- # fleet_arn: "FleetArn", # required
60
- # authorization_provider_type: "SAML", # required, accepts SAML
61
- # domain_name: "DomainName",
62
- # }
63
- #
64
45
  # @!attribute [rw] fleet_arn
65
46
  # The ARN of the fleet.
66
47
  # @return [String]
@@ -96,15 +77,6 @@ module Aws::WorkLink
96
77
  include Aws::Structure
97
78
  end
98
79
 
99
- # @note When making an API call, you may pass AssociateWebsiteCertificateAuthorityRequest
100
- # data as a hash:
101
- #
102
- # {
103
- # fleet_arn: "FleetArn", # required
104
- # certificate: "Certificate", # required
105
- # display_name: "DisplayName",
106
- # }
107
- #
108
80
  # @!attribute [rw] fleet_arn
109
81
  # The ARN of the fleet.
110
82
  # @return [String]
@@ -139,18 +111,6 @@ module Aws::WorkLink
139
111
  include Aws::Structure
140
112
  end
141
113
 
142
- # @note When making an API call, you may pass CreateFleetRequest
143
- # data as a hash:
144
- #
145
- # {
146
- # fleet_name: "FleetName", # required
147
- # display_name: "DisplayName",
148
- # optimize_for_end_user_location: false,
149
- # tags: {
150
- # "TagKey" => "TagValue",
151
- # },
152
- # }
153
- #
154
114
  # @!attribute [rw] fleet_name
155
115
  # A unique name for the fleet.
156
116
  # @return [String]
@@ -192,13 +152,6 @@ module Aws::WorkLink
192
152
  include Aws::Structure
193
153
  end
194
154
 
195
- # @note When making an API call, you may pass DeleteFleetRequest
196
- # data as a hash:
197
- #
198
- # {
199
- # fleet_arn: "FleetArn", # required
200
- # }
201
- #
202
155
  # @!attribute [rw] fleet_arn
203
156
  # The ARN of the fleet.
204
157
  # @return [String]
@@ -215,13 +168,6 @@ module Aws::WorkLink
215
168
  #
216
169
  class DeleteFleetResponse < Aws::EmptyStructure; end
217
170
 
218
- # @note When making an API call, you may pass DescribeAuditStreamConfigurationRequest
219
- # data as a hash:
220
- #
221
- # {
222
- # fleet_arn: "FleetArn", # required
223
- # }
224
- #
225
171
  # @!attribute [rw] fleet_arn
226
172
  # The ARN of the fleet.
227
173
  # @return [String]
@@ -247,13 +193,6 @@ module Aws::WorkLink
247
193
  include Aws::Structure
248
194
  end
249
195
 
250
- # @note When making an API call, you may pass DescribeCompanyNetworkConfigurationRequest
251
- # data as a hash:
252
- #
253
- # {
254
- # fleet_arn: "FleetArn", # required
255
- # }
256
- #
257
196
  # @!attribute [rw] fleet_arn
258
197
  # The ARN of the fleet.
259
198
  # @return [String]
@@ -289,13 +228,6 @@ module Aws::WorkLink
289
228
  include Aws::Structure
290
229
  end
291
230
 
292
- # @note When making an API call, you may pass DescribeDevicePolicyConfigurationRequest
293
- # data as a hash:
294
- #
295
- # {
296
- # fleet_arn: "FleetArn", # required
297
- # }
298
- #
299
231
  # @!attribute [rw] fleet_arn
300
232
  # The ARN of the fleet.
301
233
  # @return [String]
@@ -322,14 +254,6 @@ module Aws::WorkLink
322
254
  include Aws::Structure
323
255
  end
324
256
 
325
- # @note When making an API call, you may pass DescribeDeviceRequest
326
- # data as a hash:
327
- #
328
- # {
329
- # fleet_arn: "FleetArn", # required
330
- # device_id: "Id", # required
331
- # }
332
- #
333
257
  # @!attribute [rw] fleet_arn
334
258
  # The ARN of the fleet.
335
259
  # @return [String]
@@ -399,14 +323,6 @@ module Aws::WorkLink
399
323
  include Aws::Structure
400
324
  end
401
325
 
402
- # @note When making an API call, you may pass DescribeDomainRequest
403
- # data as a hash:
404
- #
405
- # {
406
- # fleet_arn: "FleetArn", # required
407
- # domain_name: "DomainName", # required
408
- # }
409
- #
410
326
  # @!attribute [rw] fleet_arn
411
327
  # The ARN of the fleet.
412
328
  # @return [String]
@@ -457,13 +373,6 @@ module Aws::WorkLink
457
373
  include Aws::Structure
458
374
  end
459
375
 
460
- # @note When making an API call, you may pass DescribeFleetMetadataRequest
461
- # data as a hash:
462
- #
463
- # {
464
- # fleet_arn: "FleetArn", # required
465
- # }
466
- #
467
376
  # @!attribute [rw] fleet_arn
468
377
  # The Amazon Resource Name (ARN) of the fleet.
469
378
  # @return [String]
@@ -525,13 +434,6 @@ module Aws::WorkLink
525
434
  include Aws::Structure
526
435
  end
527
436
 
528
- # @note When making an API call, you may pass DescribeIdentityProviderConfigurationRequest
529
- # data as a hash:
530
- #
531
- # {
532
- # fleet_arn: "FleetArn", # required
533
- # }
534
- #
535
437
  # @!attribute [rw] fleet_arn
536
438
  # The ARN of the fleet.
537
439
  # @return [String]
@@ -566,14 +468,6 @@ module Aws::WorkLink
566
468
  include Aws::Structure
567
469
  end
568
470
 
569
- # @note When making an API call, you may pass DescribeWebsiteCertificateAuthorityRequest
570
- # data as a hash:
571
- #
572
- # {
573
- # fleet_arn: "FleetArn", # required
574
- # website_ca_id: "Id", # required
575
- # }
576
- #
577
471
  # @!attribute [rw] fleet_arn
578
472
  # The ARN of the fleet.
579
473
  # @return [String]
@@ -632,14 +526,6 @@ module Aws::WorkLink
632
526
  include Aws::Structure
633
527
  end
634
528
 
635
- # @note When making an API call, you may pass DisassociateDomainRequest
636
- # data as a hash:
637
- #
638
- # {
639
- # fleet_arn: "FleetArn", # required
640
- # domain_name: "DomainName", # required
641
- # }
642
- #
643
529
  # @!attribute [rw] fleet_arn
644
530
  # The ARN of the fleet.
645
531
  # @return [String]
@@ -661,14 +547,6 @@ module Aws::WorkLink
661
547
  #
662
548
  class DisassociateDomainResponse < Aws::EmptyStructure; end
663
549
 
664
- # @note When making an API call, you may pass DisassociateWebsiteAuthorizationProviderRequest
665
- # data as a hash:
666
- #
667
- # {
668
- # fleet_arn: "FleetArn", # required
669
- # authorization_provider_id: "Id", # required
670
- # }
671
- #
672
550
  # @!attribute [rw] fleet_arn
673
551
  # The ARN of the fleet.
674
552
  # @return [String]
@@ -690,14 +568,6 @@ module Aws::WorkLink
690
568
  #
691
569
  class DisassociateWebsiteAuthorizationProviderResponse < Aws::EmptyStructure; end
692
570
 
693
- # @note When making an API call, you may pass DisassociateWebsiteCertificateAuthorityRequest
694
- # data as a hash:
695
- #
696
- # {
697
- # fleet_arn: "FleetArn", # required
698
- # website_ca_id: "Id", # required
699
- # }
700
- #
701
571
  # @!attribute [rw] fleet_arn
702
572
  # The ARN of the fleet.
703
573
  # @return [String]
@@ -823,15 +693,6 @@ module Aws::WorkLink
823
693
  include Aws::Structure
824
694
  end
825
695
 
826
- # @note When making an API call, you may pass ListDevicesRequest
827
- # data as a hash:
828
- #
829
- # {
830
- # fleet_arn: "FleetArn", # required
831
- # next_token: "NextToken",
832
- # max_results: 1,
833
- # }
834
- #
835
696
  # @!attribute [rw] fleet_arn
836
697
  # The ARN of the fleet.
837
698
  # @return [String]
@@ -873,15 +734,6 @@ module Aws::WorkLink
873
734
  include Aws::Structure
874
735
  end
875
736
 
876
- # @note When making an API call, you may pass ListDomainsRequest
877
- # data as a hash:
878
- #
879
- # {
880
- # fleet_arn: "FleetArn", # required
881
- # next_token: "NextToken",
882
- # max_results: 1,
883
- # }
884
- #
885
737
  # @!attribute [rw] fleet_arn
886
738
  # The ARN of the fleet.
887
739
  # @return [String]
@@ -923,14 +775,6 @@ module Aws::WorkLink
923
775
  include Aws::Structure
924
776
  end
925
777
 
926
- # @note When making an API call, you may pass ListFleetsRequest
927
- # data as a hash:
928
- #
929
- # {
930
- # next_token: "NextToken",
931
- # max_results: 1,
932
- # }
933
- #
934
778
  # @!attribute [rw] next_token
935
779
  # The pagination token used to retrieve the next page of results for
936
780
  # this operation. If this value is null, it retrieves the first page.
@@ -967,13 +811,6 @@ module Aws::WorkLink
967
811
  include Aws::Structure
968
812
  end
969
813
 
970
- # @note When making an API call, you may pass ListTagsForResourceRequest
971
- # data as a hash:
972
- #
973
- # {
974
- # resource_arn: "FleetArn", # required
975
- # }
976
- #
977
814
  # @!attribute [rw] resource_arn
978
815
  # The Amazon Resource Name (ARN) of the fleet.
979
816
  # @return [String]
@@ -998,15 +835,6 @@ module Aws::WorkLink
998
835
  include Aws::Structure
999
836
  end
1000
837
 
1001
- # @note When making an API call, you may pass ListWebsiteAuthorizationProvidersRequest
1002
- # data as a hash:
1003
- #
1004
- # {
1005
- # fleet_arn: "FleetArn", # required
1006
- # next_token: "NextToken",
1007
- # max_results: 1,
1008
- # }
1009
- #
1010
838
  # @!attribute [rw] fleet_arn
1011
839
  # The ARN of the fleet.
1012
840
  # @return [String]
@@ -1048,15 +876,6 @@ module Aws::WorkLink
1048
876
  include Aws::Structure
1049
877
  end
1050
878
 
1051
- # @note When making an API call, you may pass ListWebsiteCertificateAuthoritiesRequest
1052
- # data as a hash:
1053
- #
1054
- # {
1055
- # fleet_arn: "FleetArn", # required
1056
- # max_results: 1,
1057
- # next_token: "NextToken",
1058
- # }
1059
- #
1060
879
  # @!attribute [rw] fleet_arn
1061
880
  # The ARN of the fleet.
1062
881
  # @return [String]
@@ -1124,14 +943,6 @@ module Aws::WorkLink
1124
943
  include Aws::Structure
1125
944
  end
1126
945
 
1127
- # @note When making an API call, you may pass RestoreDomainAccessRequest
1128
- # data as a hash:
1129
- #
1130
- # {
1131
- # fleet_arn: "FleetArn", # required
1132
- # domain_name: "DomainName", # required
1133
- # }
1134
- #
1135
946
  # @!attribute [rw] fleet_arn
1136
947
  # The ARN of the fleet.
1137
948
  # @return [String]
@@ -1153,14 +964,6 @@ module Aws::WorkLink
1153
964
  #
1154
965
  class RestoreDomainAccessResponse < Aws::EmptyStructure; end
1155
966
 
1156
- # @note When making an API call, you may pass RevokeDomainAccessRequest
1157
- # data as a hash:
1158
- #
1159
- # {
1160
- # fleet_arn: "FleetArn", # required
1161
- # domain_name: "DomainName", # required
1162
- # }
1163
- #
1164
967
  # @!attribute [rw] fleet_arn
1165
968
  # The ARN of the fleet.
1166
969
  # @return [String]
@@ -1182,14 +985,6 @@ module Aws::WorkLink
1182
985
  #
1183
986
  class RevokeDomainAccessResponse < Aws::EmptyStructure; end
1184
987
 
1185
- # @note When making an API call, you may pass SignOutUserRequest
1186
- # data as a hash:
1187
- #
1188
- # {
1189
- # fleet_arn: "FleetArn", # required
1190
- # username: "Username", # required
1191
- # }
1192
- #
1193
988
  # @!attribute [rw] fleet_arn
1194
989
  # The ARN of the fleet.
1195
990
  # @return [String]
@@ -1211,16 +1006,6 @@ module Aws::WorkLink
1211
1006
  #
1212
1007
  class SignOutUserResponse < Aws::EmptyStructure; end
1213
1008
 
1214
- # @note When making an API call, you may pass TagResourceRequest
1215
- # data as a hash:
1216
- #
1217
- # {
1218
- # resource_arn: "FleetArn", # required
1219
- # tags: { # required
1220
- # "TagKey" => "TagValue",
1221
- # },
1222
- # }
1223
- #
1224
1009
  # @!attribute [rw] resource_arn
1225
1010
  # The Amazon Resource Name (ARN) of the fleet.
1226
1011
  # @return [String]
@@ -1268,14 +1053,6 @@ module Aws::WorkLink
1268
1053
  include Aws::Structure
1269
1054
  end
1270
1055
 
1271
- # @note When making an API call, you may pass UntagResourceRequest
1272
- # data as a hash:
1273
- #
1274
- # {
1275
- # resource_arn: "FleetArn", # required
1276
- # tag_keys: ["TagKey"], # required
1277
- # }
1278
- #
1279
1056
  # @!attribute [rw] resource_arn
1280
1057
  # The Amazon Resource Name (ARN) of the fleet.
1281
1058
  # @return [String]
@@ -1297,14 +1074,6 @@ module Aws::WorkLink
1297
1074
  #
1298
1075
  class UntagResourceResponse < Aws::EmptyStructure; end
1299
1076
 
1300
- # @note When making an API call, you may pass UpdateAuditStreamConfigurationRequest
1301
- # data as a hash:
1302
- #
1303
- # {
1304
- # fleet_arn: "FleetArn", # required
1305
- # audit_stream_arn: "AuditStreamArn",
1306
- # }
1307
- #
1308
1077
  # @!attribute [rw] fleet_arn
1309
1078
  # The ARN of the fleet.
1310
1079
  # @return [String]
@@ -1327,16 +1096,6 @@ module Aws::WorkLink
1327
1096
  #
1328
1097
  class UpdateAuditStreamConfigurationResponse < Aws::EmptyStructure; end
1329
1098
 
1330
- # @note When making an API call, you may pass UpdateCompanyNetworkConfigurationRequest
1331
- # data as a hash:
1332
- #
1333
- # {
1334
- # fleet_arn: "FleetArn", # required
1335
- # vpc_id: "VpcId", # required
1336
- # subnet_ids: ["SubnetId"], # required
1337
- # security_group_ids: ["SecurityGroupId"], # required
1338
- # }
1339
- #
1340
1099
  # @!attribute [rw] fleet_arn
1341
1100
  # The ARN of the fleet.
1342
1101
  # @return [String]
@@ -1369,14 +1128,6 @@ module Aws::WorkLink
1369
1128
  #
1370
1129
  class UpdateCompanyNetworkConfigurationResponse < Aws::EmptyStructure; end
1371
1130
 
1372
- # @note When making an API call, you may pass UpdateDevicePolicyConfigurationRequest
1373
- # data as a hash:
1374
- #
1375
- # {
1376
- # fleet_arn: "FleetArn", # required
1377
- # device_ca_certificate: "CertificateChain",
1378
- # }
1379
- #
1380
1131
  # @!attribute [rw] fleet_arn
1381
1132
  # The ARN of the fleet.
1382
1133
  # @return [String]
@@ -1400,15 +1151,6 @@ module Aws::WorkLink
1400
1151
  #
1401
1152
  class UpdateDevicePolicyConfigurationResponse < Aws::EmptyStructure; end
1402
1153
 
1403
- # @note When making an API call, you may pass UpdateDomainMetadataRequest
1404
- # data as a hash:
1405
- #
1406
- # {
1407
- # fleet_arn: "FleetArn", # required
1408
- # domain_name: "DomainName", # required
1409
- # display_name: "DisplayName",
1410
- # }
1411
- #
1412
1154
  # @!attribute [rw] fleet_arn
1413
1155
  # The ARN of the fleet.
1414
1156
  # @return [String]
@@ -1435,15 +1177,6 @@ module Aws::WorkLink
1435
1177
  #
1436
1178
  class UpdateDomainMetadataResponse < Aws::EmptyStructure; end
1437
1179
 
1438
- # @note When making an API call, you may pass UpdateFleetMetadataRequest
1439
- # data as a hash:
1440
- #
1441
- # {
1442
- # fleet_arn: "FleetArn", # required
1443
- # display_name: "DisplayName",
1444
- # optimize_for_end_user_location: false,
1445
- # }
1446
- #
1447
1180
  # @!attribute [rw] fleet_arn
1448
1181
  # The ARN of the fleet.
1449
1182
  # @return [String]
@@ -1473,15 +1206,6 @@ module Aws::WorkLink
1473
1206
  #
1474
1207
  class UpdateFleetMetadataResponse < Aws::EmptyStructure; end
1475
1208
 
1476
- # @note When making an API call, you may pass UpdateIdentityProviderConfigurationRequest
1477
- # data as a hash:
1478
- #
1479
- # {
1480
- # fleet_arn: "FleetArn", # required
1481
- # identity_provider_type: "SAML", # required, accepts SAML
1482
- # identity_provider_saml_metadata: "SamlMetadata",
1483
- # }
1484
- #
1485
1209
  # @!attribute [rw] fleet_arn
1486
1210
  # The ARN of the fleet.
1487
1211
  # @return [String]
@@ -13,9 +13,13 @@ require 'aws-sigv4'
13
13
 
14
14
  require_relative 'aws-sdk-worklink/types'
15
15
  require_relative 'aws-sdk-worklink/client_api'
16
+ require_relative 'aws-sdk-worklink/plugins/endpoints.rb'
16
17
  require_relative 'aws-sdk-worklink/client'
17
18
  require_relative 'aws-sdk-worklink/errors'
18
19
  require_relative 'aws-sdk-worklink/resource'
20
+ require_relative 'aws-sdk-worklink/endpoint_parameters'
21
+ require_relative 'aws-sdk-worklink/endpoint_provider'
22
+ require_relative 'aws-sdk-worklink/endpoints'
19
23
  require_relative 'aws-sdk-worklink/customizations'
20
24
 
21
25
  # This module provides support for Amazon WorkLink. This module is available in the
@@ -48,6 +52,6 @@ require_relative 'aws-sdk-worklink/customizations'
48
52
  # @!group service
49
53
  module Aws::WorkLink
50
54
 
51
- GEM_VERSION = '1.33.0'
55
+ GEM_VERSION = '1.35.0'
52
56
 
53
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-worklink
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.33.0
4
+ version: 1.35.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: 2022-04-19 00:00:00.000000000 Z
11
+ date: 2023-01-18 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.127.0
22
+ version: 3.165.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.127.0
32
+ version: 3.165.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -59,7 +59,11 @@ files:
59
59
  - lib/aws-sdk-worklink/client.rb
60
60
  - lib/aws-sdk-worklink/client_api.rb
61
61
  - lib/aws-sdk-worklink/customizations.rb
62
+ - lib/aws-sdk-worklink/endpoint_parameters.rb
63
+ - lib/aws-sdk-worklink/endpoint_provider.rb
64
+ - lib/aws-sdk-worklink/endpoints.rb
62
65
  - lib/aws-sdk-worklink/errors.rb
66
+ - lib/aws-sdk-worklink/plugins/endpoints.rb
63
67
  - lib/aws-sdk-worklink/resource.rb
64
68
  - lib/aws-sdk-worklink/types.rb
65
69
  homepage: https://github.com/aws/aws-sdk-ruby