aws-sdk-worklink 1.11.0 → 1.16.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/aws-sdk-worklink.rb +7 -4
- data/lib/aws-sdk-worklink/client.rb +176 -15
- data/lib/aws-sdk-worklink/client_api.rb +64 -0
- data/lib/aws-sdk-worklink/errors.rb +28 -6
- data/lib/aws-sdk-worklink/resource.rb +1 -0
- data/lib/aws-sdk-worklink/types.rb +112 -7
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 1aa72cc6e8e9584b9c2e31f548e87514c32244a295f877ee0003c0be6df95dc9
|
4
|
+
data.tar.gz: 6f1cc2ba6efc0f1b6e5dfdc8942887e410b5fc7374071a8cf8b62cbf33f2d0a0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2b4d5dfee555ef4b8dd05f062acc2050292d4fa046ed8d899f3ff643fe1cbf409d89a14795055f8c54744f69610f2e3105dcba6dc0fee53bc2afdb982166b7c5
|
7
|
+
data.tar.gz: 645061b0edb7d16e5b887d7cc084c727b4dcf5c4bafa9d15d967b3754c88f23d49f0abe928abd28df7ee9b780276bb2035335f2e0d63ce0373774fa142ea9dd2
|
data/lib/aws-sdk-worklink.rb
CHANGED
@@ -24,17 +24,20 @@ require_relative 'aws-sdk-worklink/customizations'
|
|
24
24
|
# methods each accept a hash of request parameters and return a response
|
25
25
|
# structure.
|
26
26
|
#
|
27
|
+
# work_link = Aws::WorkLink::Client.new
|
28
|
+
# resp = work_link.associate_domain(params)
|
29
|
+
#
|
27
30
|
# See {Client} for more information.
|
28
31
|
#
|
29
32
|
# # Errors
|
30
33
|
#
|
31
|
-
# Errors returned from Amazon WorkLink
|
32
|
-
# extend {Errors::ServiceError}.
|
34
|
+
# Errors returned from Amazon WorkLink are defined in the
|
35
|
+
# {Errors} module and all extend {Errors::ServiceError}.
|
33
36
|
#
|
34
37
|
# begin
|
35
38
|
# # do stuff
|
36
39
|
# rescue Aws::WorkLink::Errors::ServiceError
|
37
|
-
# # rescues all
|
40
|
+
# # rescues all Amazon WorkLink API errors
|
38
41
|
# end
|
39
42
|
#
|
40
43
|
# See {Errors} for more information.
|
@@ -42,6 +45,6 @@ require_relative 'aws-sdk-worklink/customizations'
|
|
42
45
|
# @service
|
43
46
|
module Aws::WorkLink
|
44
47
|
|
45
|
-
GEM_VERSION = '1.
|
48
|
+
GEM_VERSION = '1.16.0'
|
46
49
|
|
47
50
|
end
|
@@ -30,6 +30,18 @@ require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
|
30
30
|
Aws::Plugins::GlobalConfiguration.add_identifier(:worklink)
|
31
31
|
|
32
32
|
module Aws::WorkLink
|
33
|
+
# An API client for WorkLink. To construct a client, you need to configure a `:region` and `:credentials`.
|
34
|
+
#
|
35
|
+
# client = Aws::WorkLink::Client.new(
|
36
|
+
# region: region_name,
|
37
|
+
# credentials: credentials,
|
38
|
+
# # ...
|
39
|
+
# )
|
40
|
+
#
|
41
|
+
# For details on configuring region and credentials see
|
42
|
+
# the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
|
43
|
+
#
|
44
|
+
# See {#initialize} for a full list of supported configuration options.
|
33
45
|
class Client < Seahorse::Client::Base
|
34
46
|
|
35
47
|
include Aws::ClientStubs
|
@@ -93,7 +105,7 @@ module Aws::WorkLink
|
|
93
105
|
# @option options [required, String] :region
|
94
106
|
# The AWS region to connect to. The configured `:region` is
|
95
107
|
# used to determine the service `:endpoint`. When not passed,
|
96
|
-
# a default `:region` is
|
108
|
+
# a default `:region` is searched for in the following locations:
|
97
109
|
#
|
98
110
|
# * `Aws.config[:region]`
|
99
111
|
# * `ENV['AWS_REGION']`
|
@@ -108,6 +120,12 @@ module Aws::WorkLink
|
|
108
120
|
# When set to `true`, a thread polling for endpoints will be running in
|
109
121
|
# the background every 60 secs (default). Defaults to `false`.
|
110
122
|
#
|
123
|
+
# @option options [Boolean] :adaptive_retry_wait_to_fill (true)
|
124
|
+
# Used only in `adaptive` retry mode. When true, the request will sleep
|
125
|
+
# until there is sufficent client side capacity to retry the request.
|
126
|
+
# When false, the request will raise a `RetryCapacityNotAvailableError` and will
|
127
|
+
# not retry instead of sleeping.
|
128
|
+
#
|
111
129
|
# @option options [Boolean] :client_side_monitoring (false)
|
112
130
|
# When `true`, client-side metrics will be collected for all API requests from
|
113
131
|
# this client.
|
@@ -132,6 +150,10 @@ module Aws::WorkLink
|
|
132
150
|
# When `true`, an attempt is made to coerce request parameters into
|
133
151
|
# the required types.
|
134
152
|
#
|
153
|
+
# @option options [Boolean] :correct_clock_skew (true)
|
154
|
+
# Used only in `standard` and adaptive retry modes. Specifies whether to apply
|
155
|
+
# a clock skew correction and retry requests with skewed client clocks.
|
156
|
+
#
|
135
157
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
136
158
|
# Set to true to disable SDK automatically adding host prefix
|
137
159
|
# to default service endpoint when available.
|
@@ -139,7 +161,7 @@ module Aws::WorkLink
|
|
139
161
|
# @option options [String] :endpoint
|
140
162
|
# The client endpoint is normally constructed from the `:region`
|
141
163
|
# option. You should only configure an `:endpoint` when connecting
|
142
|
-
# to test endpoints. This should be
|
164
|
+
# to test endpoints. This should be a valid HTTP(S) URI.
|
143
165
|
#
|
144
166
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
145
167
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -154,7 +176,7 @@ module Aws::WorkLink
|
|
154
176
|
# requests fetching endpoints information. Defaults to 60 sec.
|
155
177
|
#
|
156
178
|
# @option options [Boolean] :endpoint_discovery (false)
|
157
|
-
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
179
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
158
180
|
#
|
159
181
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
160
182
|
# The log formatter.
|
@@ -166,15 +188,29 @@ module Aws::WorkLink
|
|
166
188
|
# The Logger instance to send log messages to. If this option
|
167
189
|
# is not set, logging will be disabled.
|
168
190
|
#
|
191
|
+
# @option options [Integer] :max_attempts (3)
|
192
|
+
# An integer representing the maximum number attempts that will be made for
|
193
|
+
# a single request, including the initial attempt. For example,
|
194
|
+
# setting this value to 5 will result in a request being retried up to
|
195
|
+
# 4 times. Used in `standard` and `adaptive` retry modes.
|
196
|
+
#
|
169
197
|
# @option options [String] :profile ("default")
|
170
198
|
# Used when loading credentials from the shared credentials file
|
171
199
|
# at HOME/.aws/credentials. When not specified, 'default' is used.
|
172
200
|
#
|
201
|
+
# @option options [Proc] :retry_backoff
|
202
|
+
# A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
|
203
|
+
# This option is only used in the `legacy` retry mode.
|
204
|
+
#
|
173
205
|
# @option options [Float] :retry_base_delay (0.3)
|
174
|
-
# The base delay in seconds used by the default backoff function.
|
206
|
+
# The base delay in seconds used by the default backoff function. This option
|
207
|
+
# is only used in the `legacy` retry mode.
|
175
208
|
#
|
176
209
|
# @option options [Symbol] :retry_jitter (:none)
|
177
|
-
# A delay randomiser function used by the default backoff function.
|
210
|
+
# A delay randomiser function used by the default backoff function.
|
211
|
+
# Some predefined functions can be referenced by name - :none, :equal, :full,
|
212
|
+
# otherwise a Proc that takes and returns a number. This option is only used
|
213
|
+
# in the `legacy` retry mode.
|
178
214
|
#
|
179
215
|
# @see https://www.awsarchitectureblog.com/2015/03/backoff.html
|
180
216
|
#
|
@@ -182,11 +218,30 @@ module Aws::WorkLink
|
|
182
218
|
# The maximum number of times to retry failed requests. Only
|
183
219
|
# ~ 500 level server errors and certain ~ 400 level client errors
|
184
220
|
# are retried. Generally, these are throttling errors, data
|
185
|
-
# checksum errors, networking errors, timeout errors
|
186
|
-
# errors from expired credentials.
|
221
|
+
# checksum errors, networking errors, timeout errors, auth errors,
|
222
|
+
# endpoint discovery, and errors from expired credentials.
|
223
|
+
# This option is only used in the `legacy` retry mode.
|
187
224
|
#
|
188
225
|
# @option options [Integer] :retry_max_delay (0)
|
189
|
-
# The maximum number of seconds to delay between retries (0 for no limit)
|
226
|
+
# The maximum number of seconds to delay between retries (0 for no limit)
|
227
|
+
# used by the default backoff function. This option is only used in the
|
228
|
+
# `legacy` retry mode.
|
229
|
+
#
|
230
|
+
# @option options [String] :retry_mode ("legacy")
|
231
|
+
# Specifies which retry algorithm to use. Values are:
|
232
|
+
#
|
233
|
+
# * `legacy` - The pre-existing retry behavior. This is default value if
|
234
|
+
# no retry mode is provided.
|
235
|
+
#
|
236
|
+
# * `standard` - A standardized set of retry rules across the AWS SDKs.
|
237
|
+
# This includes support for retry quotas, which limit the number of
|
238
|
+
# unsuccessful retries a client can make.
|
239
|
+
#
|
240
|
+
# * `adaptive` - An experimental retry mode that includes all the
|
241
|
+
# functionality of `standard` mode along with automatic client side
|
242
|
+
# throttling. This is a provisional mode that may change behavior
|
243
|
+
# in the future.
|
244
|
+
#
|
190
245
|
#
|
191
246
|
# @option options [String] :secret_access_key
|
192
247
|
#
|
@@ -209,16 +264,15 @@ module Aws::WorkLink
|
|
209
264
|
# requests through. Formatted like 'http://proxy.com:123'.
|
210
265
|
#
|
211
266
|
# @option options [Float] :http_open_timeout (15) The number of
|
212
|
-
# seconds to wait when opening a HTTP session before
|
267
|
+
# seconds to wait when opening a HTTP session before raising a
|
213
268
|
# `Timeout::Error`.
|
214
269
|
#
|
215
270
|
# @option options [Integer] :http_read_timeout (60) The default
|
216
271
|
# number of seconds to wait for response data. This value can
|
217
|
-
# safely be set
|
218
|
-
# per-request on the session yeidled by {#session_for}.
|
272
|
+
# safely be set per-request on the session.
|
219
273
|
#
|
220
274
|
# @option options [Float] :http_idle_timeout (5) The number of
|
221
|
-
# seconds a connection is allowed to sit
|
275
|
+
# seconds a connection is allowed to sit idle before it is
|
222
276
|
# considered stale. Stale connections are closed and removed
|
223
277
|
# from the pool before making a request.
|
224
278
|
#
|
@@ -227,7 +281,7 @@ module Aws::WorkLink
|
|
227
281
|
# request body. This option has no effect unless the request has
|
228
282
|
# "Expect" header set to "100-continue". Defaults to `nil` which
|
229
283
|
# disables this behaviour. This value can safely be set per
|
230
|
-
# request on the session
|
284
|
+
# request on the session.
|
231
285
|
#
|
232
286
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
233
287
|
# HTTP debug output will be sent to the `:logger`.
|
@@ -381,6 +435,9 @@ module Aws::WorkLink
|
|
381
435
|
# through the closest AWS Region to users, which may be outside of your
|
382
436
|
# home Region.
|
383
437
|
#
|
438
|
+
# @option params [Hash<String,String>] :tags
|
439
|
+
# The tags to add to the resource. A tag is a key-value pair.
|
440
|
+
#
|
384
441
|
# @return [Types::CreateFleetResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
385
442
|
#
|
386
443
|
# * {Types::CreateFleetResponse#fleet_arn #fleet_arn} => String
|
@@ -391,6 +448,9 @@ module Aws::WorkLink
|
|
391
448
|
# fleet_name: "FleetName", # required
|
392
449
|
# display_name: "DisplayName",
|
393
450
|
# optimize_for_end_user_location: false,
|
451
|
+
# tags: {
|
452
|
+
# "TagKey" => "TagValue",
|
453
|
+
# },
|
394
454
|
# })
|
395
455
|
#
|
396
456
|
# @example Response structure
|
@@ -613,7 +673,7 @@ module Aws::WorkLink
|
|
613
673
|
# provider, networking, and device configuration details.
|
614
674
|
#
|
615
675
|
# @option params [required, String] :fleet_arn
|
616
|
-
# The ARN of the fleet.
|
676
|
+
# The Amazon Resource Name (ARN) of the fleet.
|
617
677
|
#
|
618
678
|
# @return [Types::DescribeFleetMetadataResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
619
679
|
#
|
@@ -624,6 +684,7 @@ module Aws::WorkLink
|
|
624
684
|
# * {Types::DescribeFleetMetadataResponse#optimize_for_end_user_location #optimize_for_end_user_location} => Boolean
|
625
685
|
# * {Types::DescribeFleetMetadataResponse#company_code #company_code} => String
|
626
686
|
# * {Types::DescribeFleetMetadataResponse#fleet_status #fleet_status} => String
|
687
|
+
# * {Types::DescribeFleetMetadataResponse#tags #tags} => Hash<String,String>
|
627
688
|
#
|
628
689
|
# @example Request syntax with placeholder values
|
629
690
|
#
|
@@ -640,6 +701,8 @@ module Aws::WorkLink
|
|
640
701
|
# resp.optimize_for_end_user_location #=> Boolean
|
641
702
|
# resp.company_code #=> String
|
642
703
|
# resp.fleet_status #=> String, one of "CREATING", "ACTIVE", "DELETING", "DELETED", "FAILED_TO_CREATE", "FAILED_TO_DELETE"
|
704
|
+
# resp.tags #=> Hash
|
705
|
+
# resp.tags["TagKey"] #=> String
|
643
706
|
#
|
644
707
|
# @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DescribeFleetMetadata AWS API Documentation
|
645
708
|
#
|
@@ -816,6 +879,8 @@ module Aws::WorkLink
|
|
816
879
|
# * {Types::ListDevicesResponse#devices #devices} => Array<Types::DeviceSummary>
|
817
880
|
# * {Types::ListDevicesResponse#next_token #next_token} => String
|
818
881
|
#
|
882
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
883
|
+
#
|
819
884
|
# @example Request syntax with placeholder values
|
820
885
|
#
|
821
886
|
# resp = client.list_devices({
|
@@ -857,6 +922,8 @@ module Aws::WorkLink
|
|
857
922
|
# * {Types::ListDomainsResponse#domains #domains} => Array<Types::DomainSummary>
|
858
923
|
# * {Types::ListDomainsResponse#next_token #next_token} => String
|
859
924
|
#
|
925
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
926
|
+
#
|
860
927
|
# @example Request syntax with placeholder values
|
861
928
|
#
|
862
929
|
# resp = client.list_domains({
|
@@ -897,6 +964,8 @@ module Aws::WorkLink
|
|
897
964
|
# * {Types::ListFleetsResponse#fleet_summary_list #fleet_summary_list} => Array<Types::FleetSummary>
|
898
965
|
# * {Types::ListFleetsResponse#next_token #next_token} => String
|
899
966
|
#
|
967
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
968
|
+
#
|
900
969
|
# @example Request syntax with placeholder values
|
901
970
|
#
|
902
971
|
# resp = client.list_fleets({
|
@@ -914,6 +983,8 @@ module Aws::WorkLink
|
|
914
983
|
# resp.fleet_summary_list[0].display_name #=> String
|
915
984
|
# resp.fleet_summary_list[0].company_code #=> String
|
916
985
|
# resp.fleet_summary_list[0].fleet_status #=> String, one of "CREATING", "ACTIVE", "DELETING", "DELETED", "FAILED_TO_CREATE", "FAILED_TO_DELETE"
|
986
|
+
# resp.fleet_summary_list[0].tags #=> Hash
|
987
|
+
# resp.fleet_summary_list[0].tags["TagKey"] #=> String
|
917
988
|
# resp.next_token #=> String
|
918
989
|
#
|
919
990
|
# @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/ListFleets AWS API Documentation
|
@@ -925,6 +996,35 @@ module Aws::WorkLink
|
|
925
996
|
req.send_request(options)
|
926
997
|
end
|
927
998
|
|
999
|
+
# Retrieves a list of tags for the specified resource.
|
1000
|
+
#
|
1001
|
+
# @option params [required, String] :resource_arn
|
1002
|
+
# The Amazon Resource Name (ARN) of the fleet.
|
1003
|
+
#
|
1004
|
+
# @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1005
|
+
#
|
1006
|
+
# * {Types::ListTagsForResourceResponse#tags #tags} => Hash<String,String>
|
1007
|
+
#
|
1008
|
+
# @example Request syntax with placeholder values
|
1009
|
+
#
|
1010
|
+
# resp = client.list_tags_for_resource({
|
1011
|
+
# resource_arn: "FleetArn", # required
|
1012
|
+
# })
|
1013
|
+
#
|
1014
|
+
# @example Response structure
|
1015
|
+
#
|
1016
|
+
# resp.tags #=> Hash
|
1017
|
+
# resp.tags["TagKey"] #=> String
|
1018
|
+
#
|
1019
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/ListTagsForResource AWS API Documentation
|
1020
|
+
#
|
1021
|
+
# @overload list_tags_for_resource(params = {})
|
1022
|
+
# @param [Hash] params ({})
|
1023
|
+
def list_tags_for_resource(params = {}, options = {})
|
1024
|
+
req = build_request(:list_tags_for_resource, params)
|
1025
|
+
req.send_request(options)
|
1026
|
+
end
|
1027
|
+
|
928
1028
|
# Retrieves a list of website authorization providers associated with a
|
929
1029
|
# specified fleet.
|
930
1030
|
#
|
@@ -943,6 +1043,8 @@ module Aws::WorkLink
|
|
943
1043
|
# * {Types::ListWebsiteAuthorizationProvidersResponse#website_authorization_providers #website_authorization_providers} => Array<Types::WebsiteAuthorizationProviderSummary>
|
944
1044
|
# * {Types::ListWebsiteAuthorizationProvidersResponse#next_token #next_token} => String
|
945
1045
|
#
|
1046
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1047
|
+
#
|
946
1048
|
# @example Request syntax with placeholder values
|
947
1049
|
#
|
948
1050
|
# resp = client.list_website_authorization_providers({
|
@@ -987,6 +1089,8 @@ module Aws::WorkLink
|
|
987
1089
|
# * {Types::ListWebsiteCertificateAuthoritiesResponse#website_certificate_authorities #website_certificate_authorities} => Array<Types::WebsiteCaSummary>
|
988
1090
|
# * {Types::ListWebsiteCertificateAuthoritiesResponse#next_token #next_token} => String
|
989
1091
|
#
|
1092
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1093
|
+
#
|
990
1094
|
# @example Request syntax with placeholder values
|
991
1095
|
#
|
992
1096
|
# resp = client.list_website_certificate_authorities({
|
@@ -1091,6 +1195,63 @@ module Aws::WorkLink
|
|
1091
1195
|
req.send_request(options)
|
1092
1196
|
end
|
1093
1197
|
|
1198
|
+
# Adds or overwrites one or more tags for the specified resource, such
|
1199
|
+
# as a fleet. Each tag consists of a key and an optional value. If a
|
1200
|
+
# resource already has a tag with the same key, this operation updates
|
1201
|
+
# its value.
|
1202
|
+
#
|
1203
|
+
# @option params [required, String] :resource_arn
|
1204
|
+
# The Amazon Resource Name (ARN) of the fleet.
|
1205
|
+
#
|
1206
|
+
# @option params [required, Hash<String,String>] :tags
|
1207
|
+
# The tags to add to the resource. A tag is a key-value pair.
|
1208
|
+
#
|
1209
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1210
|
+
#
|
1211
|
+
# @example Request syntax with placeholder values
|
1212
|
+
#
|
1213
|
+
# resp = client.tag_resource({
|
1214
|
+
# resource_arn: "FleetArn", # required
|
1215
|
+
# tags: { # required
|
1216
|
+
# "TagKey" => "TagValue",
|
1217
|
+
# },
|
1218
|
+
# })
|
1219
|
+
#
|
1220
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/TagResource AWS API Documentation
|
1221
|
+
#
|
1222
|
+
# @overload tag_resource(params = {})
|
1223
|
+
# @param [Hash] params ({})
|
1224
|
+
def tag_resource(params = {}, options = {})
|
1225
|
+
req = build_request(:tag_resource, params)
|
1226
|
+
req.send_request(options)
|
1227
|
+
end
|
1228
|
+
|
1229
|
+
# Removes one or more tags from the specified resource.
|
1230
|
+
#
|
1231
|
+
# @option params [required, String] :resource_arn
|
1232
|
+
# The Amazon Resource Name (ARN) of the fleet.
|
1233
|
+
#
|
1234
|
+
# @option params [required, Array<String>] :tag_keys
|
1235
|
+
# The list of tag keys to remove from the resource.
|
1236
|
+
#
|
1237
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1238
|
+
#
|
1239
|
+
# @example Request syntax with placeholder values
|
1240
|
+
#
|
1241
|
+
# resp = client.untag_resource({
|
1242
|
+
# resource_arn: "FleetArn", # required
|
1243
|
+
# tag_keys: ["TagKey"], # required
|
1244
|
+
# })
|
1245
|
+
#
|
1246
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/UntagResource AWS API Documentation
|
1247
|
+
#
|
1248
|
+
# @overload untag_resource(params = {})
|
1249
|
+
# @param [Hash] params ({})
|
1250
|
+
def untag_resource(params = {}, options = {})
|
1251
|
+
req = build_request(:untag_resource, params)
|
1252
|
+
req.send_request(options)
|
1253
|
+
end
|
1254
|
+
|
1094
1255
|
# Updates the audit stream configuration for the fleet.
|
1095
1256
|
#
|
1096
1257
|
# @option params [required, String] :fleet_arn
|
@@ -1289,7 +1450,7 @@ module Aws::WorkLink
|
|
1289
1450
|
params: params,
|
1290
1451
|
config: config)
|
1291
1452
|
context[:gem_name] = 'aws-sdk-worklink'
|
1292
|
-
context[:gem_version] = '1.
|
1453
|
+
context[:gem_version] = '1.16.0'
|
1293
1454
|
Seahorse::Client::Request.new(handlers, context)
|
1294
1455
|
end
|
1295
1456
|
|
@@ -80,6 +80,8 @@ module Aws::WorkLink
|
|
80
80
|
ListDomainsResponse = Shapes::StructureShape.new(name: 'ListDomainsResponse')
|
81
81
|
ListFleetsRequest = Shapes::StructureShape.new(name: 'ListFleetsRequest')
|
82
82
|
ListFleetsResponse = Shapes::StructureShape.new(name: 'ListFleetsResponse')
|
83
|
+
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
84
|
+
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
83
85
|
ListWebsiteAuthorizationProvidersRequest = Shapes::StructureShape.new(name: 'ListWebsiteAuthorizationProvidersRequest')
|
84
86
|
ListWebsiteAuthorizationProvidersResponse = Shapes::StructureShape.new(name: 'ListWebsiteAuthorizationProvidersResponse')
|
85
87
|
ListWebsiteCertificateAuthoritiesRequest = Shapes::StructureShape.new(name: 'ListWebsiteCertificateAuthoritiesRequest')
|
@@ -99,8 +101,16 @@ module Aws::WorkLink
|
|
99
101
|
SignOutUserResponse = Shapes::StructureShape.new(name: 'SignOutUserResponse')
|
100
102
|
SubnetId = Shapes::StringShape.new(name: 'SubnetId')
|
101
103
|
SubnetIds = Shapes::ListShape.new(name: 'SubnetIds')
|
104
|
+
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
105
|
+
TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
|
106
|
+
TagMap = Shapes::MapShape.new(name: 'TagMap')
|
107
|
+
TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
|
108
|
+
TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
|
109
|
+
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
102
110
|
TooManyRequestsException = Shapes::StructureShape.new(name: 'TooManyRequestsException')
|
103
111
|
UnauthorizedException = Shapes::StructureShape.new(name: 'UnauthorizedException')
|
112
|
+
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
113
|
+
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
104
114
|
UpdateAuditStreamConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateAuditStreamConfigurationRequest')
|
105
115
|
UpdateAuditStreamConfigurationResponse = Shapes::StructureShape.new(name: 'UpdateAuditStreamConfigurationResponse')
|
106
116
|
UpdateCompanyNetworkConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateCompanyNetworkConfigurationRequest')
|
@@ -147,6 +157,7 @@ module Aws::WorkLink
|
|
147
157
|
CreateFleetRequest.add_member(:fleet_name, Shapes::ShapeRef.new(shape: FleetName, required: true, location_name: "FleetName"))
|
148
158
|
CreateFleetRequest.add_member(:display_name, Shapes::ShapeRef.new(shape: DisplayName, location_name: "DisplayName"))
|
149
159
|
CreateFleetRequest.add_member(:optimize_for_end_user_location, Shapes::ShapeRef.new(shape: Boolean, location_name: "OptimizeForEndUserLocation"))
|
160
|
+
CreateFleetRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
150
161
|
CreateFleetRequest.struct_class = Types::CreateFleetRequest
|
151
162
|
|
152
163
|
CreateFleetResponse.add_member(:fleet_arn, Shapes::ShapeRef.new(shape: FleetArn, location_name: "FleetArn"))
|
@@ -213,6 +224,7 @@ module Aws::WorkLink
|
|
213
224
|
DescribeFleetMetadataResponse.add_member(:optimize_for_end_user_location, Shapes::ShapeRef.new(shape: Boolean, location_name: "OptimizeForEndUserLocation"))
|
214
225
|
DescribeFleetMetadataResponse.add_member(:company_code, Shapes::ShapeRef.new(shape: CompanyCode, location_name: "CompanyCode"))
|
215
226
|
DescribeFleetMetadataResponse.add_member(:fleet_status, Shapes::ShapeRef.new(shape: FleetStatus, location_name: "FleetStatus"))
|
227
|
+
DescribeFleetMetadataResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
216
228
|
DescribeFleetMetadataResponse.struct_class = Types::DescribeFleetMetadataResponse
|
217
229
|
|
218
230
|
DescribeIdentityProviderConfigurationRequest.add_member(:fleet_arn, Shapes::ShapeRef.new(shape: FleetArn, required: true, location_name: "FleetArn"))
|
@@ -271,6 +283,7 @@ module Aws::WorkLink
|
|
271
283
|
FleetSummary.add_member(:display_name, Shapes::ShapeRef.new(shape: DisplayName, location_name: "DisplayName"))
|
272
284
|
FleetSummary.add_member(:company_code, Shapes::ShapeRef.new(shape: CompanyCode, location_name: "CompanyCode"))
|
273
285
|
FleetSummary.add_member(:fleet_status, Shapes::ShapeRef.new(shape: FleetStatus, location_name: "FleetStatus"))
|
286
|
+
FleetSummary.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
274
287
|
FleetSummary.struct_class = Types::FleetSummary
|
275
288
|
|
276
289
|
FleetSummaryList.member = Shapes::ShapeRef.new(shape: FleetSummary)
|
@@ -307,6 +320,12 @@ module Aws::WorkLink
|
|
307
320
|
ListFleetsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
308
321
|
ListFleetsResponse.struct_class = Types::ListFleetsResponse
|
309
322
|
|
323
|
+
ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: FleetArn, required: true, location: "uri", location_name: "ResourceArn"))
|
324
|
+
ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
|
325
|
+
|
326
|
+
ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
327
|
+
ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
|
328
|
+
|
310
329
|
ListWebsiteAuthorizationProvidersRequest.add_member(:fleet_arn, Shapes::ShapeRef.new(shape: FleetArn, required: true, location_name: "FleetArn"))
|
311
330
|
ListWebsiteAuthorizationProvidersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
312
331
|
ListWebsiteAuthorizationProvidersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
@@ -353,12 +372,29 @@ module Aws::WorkLink
|
|
353
372
|
|
354
373
|
SubnetIds.member = Shapes::ShapeRef.new(shape: SubnetId)
|
355
374
|
|
375
|
+
TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
|
376
|
+
|
377
|
+
TagMap.key = Shapes::ShapeRef.new(shape: TagKey)
|
378
|
+
TagMap.value = Shapes::ShapeRef.new(shape: TagValue)
|
379
|
+
|
380
|
+
TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: FleetArn, required: true, location: "uri", location_name: "ResourceArn"))
|
381
|
+
TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, required: true, location_name: "Tags"))
|
382
|
+
TagResourceRequest.struct_class = Types::TagResourceRequest
|
383
|
+
|
384
|
+
TagResourceResponse.struct_class = Types::TagResourceResponse
|
385
|
+
|
356
386
|
TooManyRequestsException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
|
357
387
|
TooManyRequestsException.struct_class = Types::TooManyRequestsException
|
358
388
|
|
359
389
|
UnauthorizedException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
|
360
390
|
UnauthorizedException.struct_class = Types::UnauthorizedException
|
361
391
|
|
392
|
+
UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: FleetArn, required: true, location: "uri", location_name: "ResourceArn"))
|
393
|
+
UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location: "querystring", location_name: "tagKeys"))
|
394
|
+
UntagResourceRequest.struct_class = Types::UntagResourceRequest
|
395
|
+
|
396
|
+
UntagResourceResponse.struct_class = Types::UntagResourceResponse
|
397
|
+
|
362
398
|
UpdateAuditStreamConfigurationRequest.add_member(:fleet_arn, Shapes::ShapeRef.new(shape: FleetArn, required: true, location_name: "FleetArn"))
|
363
399
|
UpdateAuditStreamConfigurationRequest.add_member(:audit_stream_arn, Shapes::ShapeRef.new(shape: AuditStreamArn, location_name: "AuditStreamArn"))
|
364
400
|
UpdateAuditStreamConfigurationRequest.struct_class = Types::UpdateAuditStreamConfigurationRequest
|
@@ -675,6 +711,7 @@ module Aws::WorkLink
|
|
675
711
|
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
676
712
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
677
713
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
714
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
678
715
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
679
716
|
o[:pager] = Aws::Pager.new(
|
680
717
|
limit_key: "max_results",
|
@@ -702,6 +739,15 @@ module Aws::WorkLink
|
|
702
739
|
)
|
703
740
|
end)
|
704
741
|
|
742
|
+
api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
|
743
|
+
o.name = "ListTagsForResource"
|
744
|
+
o.http_method = "GET"
|
745
|
+
o.http_request_uri = "/tags/{ResourceArn}"
|
746
|
+
o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
|
747
|
+
o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
|
748
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
749
|
+
end)
|
750
|
+
|
705
751
|
api.add_operation(:list_website_authorization_providers, Seahorse::Model::Operation.new.tap do |o|
|
706
752
|
o.name = "ListWebsiteAuthorizationProviders"
|
707
753
|
o.http_method = "POST"
|
@@ -778,6 +824,24 @@ module Aws::WorkLink
|
|
778
824
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
779
825
|
end)
|
780
826
|
|
827
|
+
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
828
|
+
o.name = "TagResource"
|
829
|
+
o.http_method = "POST"
|
830
|
+
o.http_request_uri = "/tags/{ResourceArn}"
|
831
|
+
o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
|
832
|
+
o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
|
833
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
834
|
+
end)
|
835
|
+
|
836
|
+
api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
|
837
|
+
o.name = "UntagResource"
|
838
|
+
o.http_method = "DELETE"
|
839
|
+
o.http_request_uri = "/tags/{ResourceArn}"
|
840
|
+
o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
|
841
|
+
o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
|
842
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
843
|
+
end)
|
844
|
+
|
781
845
|
api.add_operation(:update_audit_stream_configuration, Seahorse::Model::Operation.new.tap do |o|
|
782
846
|
o.name = "UpdateAuditStreamConfiguration"
|
783
847
|
o.http_method = "POST"
|
@@ -6,6 +6,34 @@
|
|
6
6
|
# WARNING ABOUT GENERATED CODE
|
7
7
|
|
8
8
|
module Aws::WorkLink
|
9
|
+
|
10
|
+
# When WorkLink returns an error response, the Ruby SDK constructs and raises an error.
|
11
|
+
# These errors all extend Aws::WorkLink::Errors::ServiceError < {Aws::Errors::ServiceError}
|
12
|
+
#
|
13
|
+
# You can rescue all WorkLink errors using ServiceError:
|
14
|
+
#
|
15
|
+
# begin
|
16
|
+
# # do stuff
|
17
|
+
# rescue Aws::WorkLink::Errors::ServiceError
|
18
|
+
# # rescues all WorkLink API errors
|
19
|
+
# end
|
20
|
+
#
|
21
|
+
#
|
22
|
+
# ## Request Context
|
23
|
+
# ServiceError objects have a {Aws::Errors::ServiceError#context #context} method that returns
|
24
|
+
# information about the request that generated the error.
|
25
|
+
# See {Seahorse::Client::RequestContext} for more information.
|
26
|
+
#
|
27
|
+
# ## Error Classes
|
28
|
+
# * {InternalServerErrorException}
|
29
|
+
# * {InvalidRequestException}
|
30
|
+
# * {ResourceAlreadyExistsException}
|
31
|
+
# * {ResourceNotFoundException}
|
32
|
+
# * {TooManyRequestsException}
|
33
|
+
# * {UnauthorizedException}
|
34
|
+
#
|
35
|
+
# Additionally, error classes are dynamically generated for service errors based on the error code
|
36
|
+
# if they are not defined above.
|
9
37
|
module Errors
|
10
38
|
|
11
39
|
extend Aws::Errors::DynamicErrors
|
@@ -23,7 +51,6 @@ module Aws::WorkLink
|
|
23
51
|
def message
|
24
52
|
@message || @data[:message]
|
25
53
|
end
|
26
|
-
|
27
54
|
end
|
28
55
|
|
29
56
|
class InvalidRequestException < ServiceError
|
@@ -39,7 +66,6 @@ module Aws::WorkLink
|
|
39
66
|
def message
|
40
67
|
@message || @data[:message]
|
41
68
|
end
|
42
|
-
|
43
69
|
end
|
44
70
|
|
45
71
|
class ResourceAlreadyExistsException < ServiceError
|
@@ -55,7 +81,6 @@ module Aws::WorkLink
|
|
55
81
|
def message
|
56
82
|
@message || @data[:message]
|
57
83
|
end
|
58
|
-
|
59
84
|
end
|
60
85
|
|
61
86
|
class ResourceNotFoundException < ServiceError
|
@@ -71,7 +96,6 @@ module Aws::WorkLink
|
|
71
96
|
def message
|
72
97
|
@message || @data[:message]
|
73
98
|
end
|
74
|
-
|
75
99
|
end
|
76
100
|
|
77
101
|
class TooManyRequestsException < ServiceError
|
@@ -87,7 +111,6 @@ module Aws::WorkLink
|
|
87
111
|
def message
|
88
112
|
@message || @data[:message]
|
89
113
|
end
|
90
|
-
|
91
114
|
end
|
92
115
|
|
93
116
|
class UnauthorizedException < ServiceError
|
@@ -103,7 +126,6 @@ module Aws::WorkLink
|
|
103
126
|
def message
|
104
127
|
@message || @data[:message]
|
105
128
|
end
|
106
|
-
|
107
129
|
end
|
108
130
|
|
109
131
|
end
|
@@ -139,6 +139,9 @@ module Aws::WorkLink
|
|
139
139
|
# fleet_name: "FleetName", # required
|
140
140
|
# display_name: "DisplayName",
|
141
141
|
# optimize_for_end_user_location: false,
|
142
|
+
# tags: {
|
143
|
+
# "TagKey" => "TagValue",
|
144
|
+
# },
|
142
145
|
# }
|
143
146
|
#
|
144
147
|
# @!attribute [rw] fleet_name
|
@@ -155,17 +158,22 @@ module Aws::WorkLink
|
|
155
158
|
# your home Region.
|
156
159
|
# @return [Boolean]
|
157
160
|
#
|
161
|
+
# @!attribute [rw] tags
|
162
|
+
# The tags to add to the resource. A tag is a key-value pair.
|
163
|
+
# @return [Hash<String,String>]
|
164
|
+
#
|
158
165
|
# @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/CreateFleetRequest AWS API Documentation
|
159
166
|
#
|
160
167
|
class CreateFleetRequest < Struct.new(
|
161
168
|
:fleet_name,
|
162
169
|
:display_name,
|
163
|
-
:optimize_for_end_user_location
|
170
|
+
:optimize_for_end_user_location,
|
171
|
+
:tags)
|
164
172
|
include Aws::Structure
|
165
173
|
end
|
166
174
|
|
167
175
|
# @!attribute [rw] fleet_arn
|
168
|
-
# The ARN of the fleet.
|
176
|
+
# The Amazon Resource Name (ARN) of the fleet.
|
169
177
|
# @return [String]
|
170
178
|
#
|
171
179
|
# @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/CreateFleetResponse AWS API Documentation
|
@@ -437,7 +445,7 @@ module Aws::WorkLink
|
|
437
445
|
# }
|
438
446
|
#
|
439
447
|
# @!attribute [rw] fleet_arn
|
440
|
-
# The ARN of the fleet.
|
448
|
+
# The Amazon Resource Name (ARN) of the fleet.
|
441
449
|
# @return [String]
|
442
450
|
#
|
443
451
|
# @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DescribeFleetMetadataRequest AWS API Documentation
|
@@ -477,6 +485,10 @@ module Aws::WorkLink
|
|
477
485
|
# The current state of the fleet.
|
478
486
|
# @return [String]
|
479
487
|
#
|
488
|
+
# @!attribute [rw] tags
|
489
|
+
# The tags attached to the resource. A tag is a key-value pair.
|
490
|
+
# @return [Hash<String,String>]
|
491
|
+
#
|
480
492
|
# @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DescribeFleetMetadataResponse AWS API Documentation
|
481
493
|
#
|
482
494
|
class DescribeFleetMetadataResponse < Struct.new(
|
@@ -486,7 +498,8 @@ module Aws::WorkLink
|
|
486
498
|
:display_name,
|
487
499
|
:optimize_for_end_user_location,
|
488
500
|
:company_code,
|
489
|
-
:fleet_status
|
501
|
+
:fleet_status,
|
502
|
+
:tags)
|
490
503
|
include Aws::Structure
|
491
504
|
end
|
492
505
|
|
@@ -707,7 +720,7 @@ module Aws::WorkLink
|
|
707
720
|
# The summary of the fleet.
|
708
721
|
#
|
709
722
|
# @!attribute [rw] fleet_arn
|
710
|
-
# The ARN of the fleet.
|
723
|
+
# The Amazon Resource Name (ARN) of the fleet.
|
711
724
|
# @return [String]
|
712
725
|
#
|
713
726
|
# @!attribute [rw] created_time
|
@@ -723,7 +736,7 @@ module Aws::WorkLink
|
|
723
736
|
# @return [String]
|
724
737
|
#
|
725
738
|
# @!attribute [rw] display_name
|
726
|
-
# The name to display.
|
739
|
+
# The name of the fleet to display.
|
727
740
|
# @return [String]
|
728
741
|
#
|
729
742
|
# @!attribute [rw] company_code
|
@@ -734,6 +747,10 @@ module Aws::WorkLink
|
|
734
747
|
# The status of the fleet.
|
735
748
|
# @return [String]
|
736
749
|
#
|
750
|
+
# @!attribute [rw] tags
|
751
|
+
# The tags attached to the resource. A tag is a key-value pair.
|
752
|
+
# @return [Hash<String,String>]
|
753
|
+
#
|
737
754
|
# @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/FleetSummary AWS API Documentation
|
738
755
|
#
|
739
756
|
class FleetSummary < Struct.new(
|
@@ -743,7 +760,8 @@ module Aws::WorkLink
|
|
743
760
|
:fleet_name,
|
744
761
|
:display_name,
|
745
762
|
:company_code,
|
746
|
-
:fleet_status
|
763
|
+
:fleet_status,
|
764
|
+
:tags)
|
747
765
|
include Aws::Structure
|
748
766
|
end
|
749
767
|
|
@@ -909,6 +927,35 @@ module Aws::WorkLink
|
|
909
927
|
include Aws::Structure
|
910
928
|
end
|
911
929
|
|
930
|
+
# @note When making an API call, you may pass ListTagsForResourceRequest
|
931
|
+
# data as a hash:
|
932
|
+
#
|
933
|
+
# {
|
934
|
+
# resource_arn: "FleetArn", # required
|
935
|
+
# }
|
936
|
+
#
|
937
|
+
# @!attribute [rw] resource_arn
|
938
|
+
# The Amazon Resource Name (ARN) of the fleet.
|
939
|
+
# @return [String]
|
940
|
+
#
|
941
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/ListTagsForResourceRequest AWS API Documentation
|
942
|
+
#
|
943
|
+
class ListTagsForResourceRequest < Struct.new(
|
944
|
+
:resource_arn)
|
945
|
+
include Aws::Structure
|
946
|
+
end
|
947
|
+
|
948
|
+
# @!attribute [rw] tags
|
949
|
+
# The tags attached to the resource. A tag is a key-value pair.
|
950
|
+
# @return [Hash<String,String>]
|
951
|
+
#
|
952
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/ListTagsForResourceResponse AWS API Documentation
|
953
|
+
#
|
954
|
+
class ListTagsForResourceResponse < Struct.new(
|
955
|
+
:tags)
|
956
|
+
include Aws::Structure
|
957
|
+
end
|
958
|
+
|
912
959
|
# @note When making an API call, you may pass ListWebsiteAuthorizationProvidersRequest
|
913
960
|
# data as a hash:
|
914
961
|
#
|
@@ -1113,6 +1160,36 @@ module Aws::WorkLink
|
|
1113
1160
|
#
|
1114
1161
|
class SignOutUserResponse < Aws::EmptyStructure; end
|
1115
1162
|
|
1163
|
+
# @note When making an API call, you may pass TagResourceRequest
|
1164
|
+
# data as a hash:
|
1165
|
+
#
|
1166
|
+
# {
|
1167
|
+
# resource_arn: "FleetArn", # required
|
1168
|
+
# tags: { # required
|
1169
|
+
# "TagKey" => "TagValue",
|
1170
|
+
# },
|
1171
|
+
# }
|
1172
|
+
#
|
1173
|
+
# @!attribute [rw] resource_arn
|
1174
|
+
# The Amazon Resource Name (ARN) of the fleet.
|
1175
|
+
# @return [String]
|
1176
|
+
#
|
1177
|
+
# @!attribute [rw] tags
|
1178
|
+
# The tags to add to the resource. A tag is a key-value pair.
|
1179
|
+
# @return [Hash<String,String>]
|
1180
|
+
#
|
1181
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/TagResourceRequest AWS API Documentation
|
1182
|
+
#
|
1183
|
+
class TagResourceRequest < Struct.new(
|
1184
|
+
:resource_arn,
|
1185
|
+
:tags)
|
1186
|
+
include Aws::Structure
|
1187
|
+
end
|
1188
|
+
|
1189
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/TagResourceResponse AWS API Documentation
|
1190
|
+
#
|
1191
|
+
class TagResourceResponse < Aws::EmptyStructure; end
|
1192
|
+
|
1116
1193
|
# The number of requests exceeds the limit.
|
1117
1194
|
#
|
1118
1195
|
# @!attribute [rw] message
|
@@ -1137,6 +1214,34 @@ module Aws::WorkLink
|
|
1137
1214
|
include Aws::Structure
|
1138
1215
|
end
|
1139
1216
|
|
1217
|
+
# @note When making an API call, you may pass UntagResourceRequest
|
1218
|
+
# data as a hash:
|
1219
|
+
#
|
1220
|
+
# {
|
1221
|
+
# resource_arn: "FleetArn", # required
|
1222
|
+
# tag_keys: ["TagKey"], # required
|
1223
|
+
# }
|
1224
|
+
#
|
1225
|
+
# @!attribute [rw] resource_arn
|
1226
|
+
# The Amazon Resource Name (ARN) of the fleet.
|
1227
|
+
# @return [String]
|
1228
|
+
#
|
1229
|
+
# @!attribute [rw] tag_keys
|
1230
|
+
# The list of tag keys to remove from the resource.
|
1231
|
+
# @return [Array<String>]
|
1232
|
+
#
|
1233
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/UntagResourceRequest AWS API Documentation
|
1234
|
+
#
|
1235
|
+
class UntagResourceRequest < Struct.new(
|
1236
|
+
:resource_arn,
|
1237
|
+
:tag_keys)
|
1238
|
+
include Aws::Structure
|
1239
|
+
end
|
1240
|
+
|
1241
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/UntagResourceResponse AWS API Documentation
|
1242
|
+
#
|
1243
|
+
class UntagResourceResponse < Aws::EmptyStructure; end
|
1244
|
+
|
1140
1245
|
# @note When making an API call, you may pass UpdateAuditStreamConfigurationRequest
|
1141
1246
|
# data as a hash:
|
1142
1247
|
#
|
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.
|
4
|
+
version: 1.16.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:
|
11
|
+
date: 2020-06-01 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.
|
22
|
+
version: 3.71.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.
|
32
|
+
version: 3.71.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -81,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
81
81
|
version: '0'
|
82
82
|
requirements: []
|
83
83
|
rubyforge_project:
|
84
|
-
rubygems_version: 2.
|
84
|
+
rubygems_version: 2.7.6.2
|
85
85
|
signing_key:
|
86
86
|
specification_version: 4
|
87
87
|
summary: AWS SDK for Ruby - WorkLink
|