aws-sdk-worklink 1.12.0 → 1.17.1
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 +5 -5
- data/lib/aws-sdk-worklink.rb +7 -4
- data/lib/aws-sdk-worklink/client.rb +178 -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: de4f18671e2ff5eb1549a9c27c92f09c0a2d27fdff7faedfbf12085b369ad962
|
4
|
+
data.tar.gz: ac64ff28b90f9f355feaf265753e0c658b4ad931bf2cfe0a7fcaa66c0d91ca45
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6e9a8d067bddae990d566ed35ee7a0cd5ce004892a983ccac607bf1b0820833bcb9a07342ac3dbfe3ff16e524e771cb151961ba278d061f5cfe55221795857ec
|
7
|
+
data.tar.gz: 957153dc003cdf2e75900d9000b015f489213c585156127d0f5a722ac1ad9f3d48b28832cf80c05a3b1bb1dfb77672eaefd62571a31838e7b22ec20b570666fa
|
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.17.1'
|
46
49
|
|
47
50
|
end
|
@@ -24,12 +24,25 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
|
24
24
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
25
25
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
26
26
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
27
|
+
require 'aws-sdk-core/plugins/http_checksum.rb'
|
27
28
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
28
29
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
29
30
|
|
30
31
|
Aws::Plugins::GlobalConfiguration.add_identifier(:worklink)
|
31
32
|
|
32
33
|
module Aws::WorkLink
|
34
|
+
# An API client for WorkLink. To construct a client, you need to configure a `:region` and `:credentials`.
|
35
|
+
#
|
36
|
+
# client = Aws::WorkLink::Client.new(
|
37
|
+
# region: region_name,
|
38
|
+
# credentials: credentials,
|
39
|
+
# # ...
|
40
|
+
# )
|
41
|
+
#
|
42
|
+
# For details on configuring region and credentials see
|
43
|
+
# the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
|
44
|
+
#
|
45
|
+
# See {#initialize} for a full list of supported configuration options.
|
33
46
|
class Client < Seahorse::Client::Base
|
34
47
|
|
35
48
|
include Aws::ClientStubs
|
@@ -57,6 +70,7 @@ module Aws::WorkLink
|
|
57
70
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
58
71
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
59
72
|
add_plugin(Aws::Plugins::TransferEncoding)
|
73
|
+
add_plugin(Aws::Plugins::HttpChecksum)
|
60
74
|
add_plugin(Aws::Plugins::SignatureV4)
|
61
75
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
62
76
|
|
@@ -93,7 +107,7 @@ module Aws::WorkLink
|
|
93
107
|
# @option options [required, String] :region
|
94
108
|
# The AWS region to connect to. The configured `:region` is
|
95
109
|
# used to determine the service `:endpoint`. When not passed,
|
96
|
-
# a default `:region` is
|
110
|
+
# a default `:region` is searched for in the following locations:
|
97
111
|
#
|
98
112
|
# * `Aws.config[:region]`
|
99
113
|
# * `ENV['AWS_REGION']`
|
@@ -108,6 +122,12 @@ module Aws::WorkLink
|
|
108
122
|
# When set to `true`, a thread polling for endpoints will be running in
|
109
123
|
# the background every 60 secs (default). Defaults to `false`.
|
110
124
|
#
|
125
|
+
# @option options [Boolean] :adaptive_retry_wait_to_fill (true)
|
126
|
+
# Used only in `adaptive` retry mode. When true, the request will sleep
|
127
|
+
# until there is sufficent client side capacity to retry the request.
|
128
|
+
# When false, the request will raise a `RetryCapacityNotAvailableError` and will
|
129
|
+
# not retry instead of sleeping.
|
130
|
+
#
|
111
131
|
# @option options [Boolean] :client_side_monitoring (false)
|
112
132
|
# When `true`, client-side metrics will be collected for all API requests from
|
113
133
|
# this client.
|
@@ -132,6 +152,10 @@ module Aws::WorkLink
|
|
132
152
|
# When `true`, an attempt is made to coerce request parameters into
|
133
153
|
# the required types.
|
134
154
|
#
|
155
|
+
# @option options [Boolean] :correct_clock_skew (true)
|
156
|
+
# Used only in `standard` and adaptive retry modes. Specifies whether to apply
|
157
|
+
# a clock skew correction and retry requests with skewed client clocks.
|
158
|
+
#
|
135
159
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
136
160
|
# Set to true to disable SDK automatically adding host prefix
|
137
161
|
# to default service endpoint when available.
|
@@ -139,7 +163,7 @@ module Aws::WorkLink
|
|
139
163
|
# @option options [String] :endpoint
|
140
164
|
# The client endpoint is normally constructed from the `:region`
|
141
165
|
# option. You should only configure an `:endpoint` when connecting
|
142
|
-
# to test endpoints. This should be
|
166
|
+
# to test or custom endpoints. This should be a valid HTTP(S) URI.
|
143
167
|
#
|
144
168
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
145
169
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -154,7 +178,7 @@ module Aws::WorkLink
|
|
154
178
|
# requests fetching endpoints information. Defaults to 60 sec.
|
155
179
|
#
|
156
180
|
# @option options [Boolean] :endpoint_discovery (false)
|
157
|
-
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
181
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
158
182
|
#
|
159
183
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
160
184
|
# The log formatter.
|
@@ -166,15 +190,29 @@ module Aws::WorkLink
|
|
166
190
|
# The Logger instance to send log messages to. If this option
|
167
191
|
# is not set, logging will be disabled.
|
168
192
|
#
|
193
|
+
# @option options [Integer] :max_attempts (3)
|
194
|
+
# An integer representing the maximum number attempts that will be made for
|
195
|
+
# a single request, including the initial attempt. For example,
|
196
|
+
# setting this value to 5 will result in a request being retried up to
|
197
|
+
# 4 times. Used in `standard` and `adaptive` retry modes.
|
198
|
+
#
|
169
199
|
# @option options [String] :profile ("default")
|
170
200
|
# Used when loading credentials from the shared credentials file
|
171
201
|
# at HOME/.aws/credentials. When not specified, 'default' is used.
|
172
202
|
#
|
203
|
+
# @option options [Proc] :retry_backoff
|
204
|
+
# A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
|
205
|
+
# This option is only used in the `legacy` retry mode.
|
206
|
+
#
|
173
207
|
# @option options [Float] :retry_base_delay (0.3)
|
174
|
-
# The base delay in seconds used by the default backoff function.
|
208
|
+
# The base delay in seconds used by the default backoff function. This option
|
209
|
+
# is only used in the `legacy` retry mode.
|
175
210
|
#
|
176
211
|
# @option options [Symbol] :retry_jitter (:none)
|
177
|
-
# A delay randomiser function used by the default backoff function.
|
212
|
+
# A delay randomiser function used by the default backoff function.
|
213
|
+
# Some predefined functions can be referenced by name - :none, :equal, :full,
|
214
|
+
# otherwise a Proc that takes and returns a number. This option is only used
|
215
|
+
# in the `legacy` retry mode.
|
178
216
|
#
|
179
217
|
# @see https://www.awsarchitectureblog.com/2015/03/backoff.html
|
180
218
|
#
|
@@ -182,11 +220,30 @@ module Aws::WorkLink
|
|
182
220
|
# The maximum number of times to retry failed requests. Only
|
183
221
|
# ~ 500 level server errors and certain ~ 400 level client errors
|
184
222
|
# are retried. Generally, these are throttling errors, data
|
185
|
-
# checksum errors, networking errors, timeout errors
|
186
|
-
# errors from expired credentials.
|
223
|
+
# checksum errors, networking errors, timeout errors, auth errors,
|
224
|
+
# endpoint discovery, and errors from expired credentials.
|
225
|
+
# This option is only used in the `legacy` retry mode.
|
187
226
|
#
|
188
227
|
# @option options [Integer] :retry_max_delay (0)
|
189
|
-
# The maximum number of seconds to delay between retries (0 for no limit)
|
228
|
+
# The maximum number of seconds to delay between retries (0 for no limit)
|
229
|
+
# used by the default backoff function. This option is only used in the
|
230
|
+
# `legacy` retry mode.
|
231
|
+
#
|
232
|
+
# @option options [String] :retry_mode ("legacy")
|
233
|
+
# Specifies which retry algorithm to use. Values are:
|
234
|
+
#
|
235
|
+
# * `legacy` - The pre-existing retry behavior. This is default value if
|
236
|
+
# no retry mode is provided.
|
237
|
+
#
|
238
|
+
# * `standard` - A standardized set of retry rules across the AWS SDKs.
|
239
|
+
# This includes support for retry quotas, which limit the number of
|
240
|
+
# unsuccessful retries a client can make.
|
241
|
+
#
|
242
|
+
# * `adaptive` - An experimental retry mode that includes all the
|
243
|
+
# functionality of `standard` mode along with automatic client side
|
244
|
+
# throttling. This is a provisional mode that may change behavior
|
245
|
+
# in the future.
|
246
|
+
#
|
190
247
|
#
|
191
248
|
# @option options [String] :secret_access_key
|
192
249
|
#
|
@@ -209,16 +266,15 @@ module Aws::WorkLink
|
|
209
266
|
# requests through. Formatted like 'http://proxy.com:123'.
|
210
267
|
#
|
211
268
|
# @option options [Float] :http_open_timeout (15) The number of
|
212
|
-
# seconds to wait when opening a HTTP session before
|
269
|
+
# seconds to wait when opening a HTTP session before raising a
|
213
270
|
# `Timeout::Error`.
|
214
271
|
#
|
215
272
|
# @option options [Integer] :http_read_timeout (60) The default
|
216
273
|
# 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}.
|
274
|
+
# safely be set per-request on the session.
|
219
275
|
#
|
220
276
|
# @option options [Float] :http_idle_timeout (5) The number of
|
221
|
-
# seconds a connection is allowed to sit
|
277
|
+
# seconds a connection is allowed to sit idle before it is
|
222
278
|
# considered stale. Stale connections are closed and removed
|
223
279
|
# from the pool before making a request.
|
224
280
|
#
|
@@ -227,7 +283,7 @@ module Aws::WorkLink
|
|
227
283
|
# request body. This option has no effect unless the request has
|
228
284
|
# "Expect" header set to "100-continue". Defaults to `nil` which
|
229
285
|
# disables this behaviour. This value can safely be set per
|
230
|
-
# request on the session
|
286
|
+
# request on the session.
|
231
287
|
#
|
232
288
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
233
289
|
# HTTP debug output will be sent to the `:logger`.
|
@@ -381,6 +437,9 @@ module Aws::WorkLink
|
|
381
437
|
# through the closest AWS Region to users, which may be outside of your
|
382
438
|
# home Region.
|
383
439
|
#
|
440
|
+
# @option params [Hash<String,String>] :tags
|
441
|
+
# The tags to add to the resource. A tag is a key-value pair.
|
442
|
+
#
|
384
443
|
# @return [Types::CreateFleetResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
385
444
|
#
|
386
445
|
# * {Types::CreateFleetResponse#fleet_arn #fleet_arn} => String
|
@@ -391,6 +450,9 @@ module Aws::WorkLink
|
|
391
450
|
# fleet_name: "FleetName", # required
|
392
451
|
# display_name: "DisplayName",
|
393
452
|
# optimize_for_end_user_location: false,
|
453
|
+
# tags: {
|
454
|
+
# "TagKey" => "TagValue",
|
455
|
+
# },
|
394
456
|
# })
|
395
457
|
#
|
396
458
|
# @example Response structure
|
@@ -613,7 +675,7 @@ module Aws::WorkLink
|
|
613
675
|
# provider, networking, and device configuration details.
|
614
676
|
#
|
615
677
|
# @option params [required, String] :fleet_arn
|
616
|
-
# The ARN of the fleet.
|
678
|
+
# The Amazon Resource Name (ARN) of the fleet.
|
617
679
|
#
|
618
680
|
# @return [Types::DescribeFleetMetadataResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
619
681
|
#
|
@@ -624,6 +686,7 @@ module Aws::WorkLink
|
|
624
686
|
# * {Types::DescribeFleetMetadataResponse#optimize_for_end_user_location #optimize_for_end_user_location} => Boolean
|
625
687
|
# * {Types::DescribeFleetMetadataResponse#company_code #company_code} => String
|
626
688
|
# * {Types::DescribeFleetMetadataResponse#fleet_status #fleet_status} => String
|
689
|
+
# * {Types::DescribeFleetMetadataResponse#tags #tags} => Hash<String,String>
|
627
690
|
#
|
628
691
|
# @example Request syntax with placeholder values
|
629
692
|
#
|
@@ -640,6 +703,8 @@ module Aws::WorkLink
|
|
640
703
|
# resp.optimize_for_end_user_location #=> Boolean
|
641
704
|
# resp.company_code #=> String
|
642
705
|
# resp.fleet_status #=> String, one of "CREATING", "ACTIVE", "DELETING", "DELETED", "FAILED_TO_CREATE", "FAILED_TO_DELETE"
|
706
|
+
# resp.tags #=> Hash
|
707
|
+
# resp.tags["TagKey"] #=> String
|
643
708
|
#
|
644
709
|
# @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DescribeFleetMetadata AWS API Documentation
|
645
710
|
#
|
@@ -816,6 +881,8 @@ module Aws::WorkLink
|
|
816
881
|
# * {Types::ListDevicesResponse#devices #devices} => Array<Types::DeviceSummary>
|
817
882
|
# * {Types::ListDevicesResponse#next_token #next_token} => String
|
818
883
|
#
|
884
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
885
|
+
#
|
819
886
|
# @example Request syntax with placeholder values
|
820
887
|
#
|
821
888
|
# resp = client.list_devices({
|
@@ -857,6 +924,8 @@ module Aws::WorkLink
|
|
857
924
|
# * {Types::ListDomainsResponse#domains #domains} => Array<Types::DomainSummary>
|
858
925
|
# * {Types::ListDomainsResponse#next_token #next_token} => String
|
859
926
|
#
|
927
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
928
|
+
#
|
860
929
|
# @example Request syntax with placeholder values
|
861
930
|
#
|
862
931
|
# resp = client.list_domains({
|
@@ -897,6 +966,8 @@ module Aws::WorkLink
|
|
897
966
|
# * {Types::ListFleetsResponse#fleet_summary_list #fleet_summary_list} => Array<Types::FleetSummary>
|
898
967
|
# * {Types::ListFleetsResponse#next_token #next_token} => String
|
899
968
|
#
|
969
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
970
|
+
#
|
900
971
|
# @example Request syntax with placeholder values
|
901
972
|
#
|
902
973
|
# resp = client.list_fleets({
|
@@ -914,6 +985,8 @@ module Aws::WorkLink
|
|
914
985
|
# resp.fleet_summary_list[0].display_name #=> String
|
915
986
|
# resp.fleet_summary_list[0].company_code #=> String
|
916
987
|
# resp.fleet_summary_list[0].fleet_status #=> String, one of "CREATING", "ACTIVE", "DELETING", "DELETED", "FAILED_TO_CREATE", "FAILED_TO_DELETE"
|
988
|
+
# resp.fleet_summary_list[0].tags #=> Hash
|
989
|
+
# resp.fleet_summary_list[0].tags["TagKey"] #=> String
|
917
990
|
# resp.next_token #=> String
|
918
991
|
#
|
919
992
|
# @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/ListFleets AWS API Documentation
|
@@ -925,6 +998,35 @@ module Aws::WorkLink
|
|
925
998
|
req.send_request(options)
|
926
999
|
end
|
927
1000
|
|
1001
|
+
# Retrieves a list of tags for the specified resource.
|
1002
|
+
#
|
1003
|
+
# @option params [required, String] :resource_arn
|
1004
|
+
# The Amazon Resource Name (ARN) of the fleet.
|
1005
|
+
#
|
1006
|
+
# @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1007
|
+
#
|
1008
|
+
# * {Types::ListTagsForResourceResponse#tags #tags} => Hash<String,String>
|
1009
|
+
#
|
1010
|
+
# @example Request syntax with placeholder values
|
1011
|
+
#
|
1012
|
+
# resp = client.list_tags_for_resource({
|
1013
|
+
# resource_arn: "FleetArn", # required
|
1014
|
+
# })
|
1015
|
+
#
|
1016
|
+
# @example Response structure
|
1017
|
+
#
|
1018
|
+
# resp.tags #=> Hash
|
1019
|
+
# resp.tags["TagKey"] #=> String
|
1020
|
+
#
|
1021
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/ListTagsForResource AWS API Documentation
|
1022
|
+
#
|
1023
|
+
# @overload list_tags_for_resource(params = {})
|
1024
|
+
# @param [Hash] params ({})
|
1025
|
+
def list_tags_for_resource(params = {}, options = {})
|
1026
|
+
req = build_request(:list_tags_for_resource, params)
|
1027
|
+
req.send_request(options)
|
1028
|
+
end
|
1029
|
+
|
928
1030
|
# Retrieves a list of website authorization providers associated with a
|
929
1031
|
# specified fleet.
|
930
1032
|
#
|
@@ -943,6 +1045,8 @@ module Aws::WorkLink
|
|
943
1045
|
# * {Types::ListWebsiteAuthorizationProvidersResponse#website_authorization_providers #website_authorization_providers} => Array<Types::WebsiteAuthorizationProviderSummary>
|
944
1046
|
# * {Types::ListWebsiteAuthorizationProvidersResponse#next_token #next_token} => String
|
945
1047
|
#
|
1048
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1049
|
+
#
|
946
1050
|
# @example Request syntax with placeholder values
|
947
1051
|
#
|
948
1052
|
# resp = client.list_website_authorization_providers({
|
@@ -987,6 +1091,8 @@ module Aws::WorkLink
|
|
987
1091
|
# * {Types::ListWebsiteCertificateAuthoritiesResponse#website_certificate_authorities #website_certificate_authorities} => Array<Types::WebsiteCaSummary>
|
988
1092
|
# * {Types::ListWebsiteCertificateAuthoritiesResponse#next_token #next_token} => String
|
989
1093
|
#
|
1094
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1095
|
+
#
|
990
1096
|
# @example Request syntax with placeholder values
|
991
1097
|
#
|
992
1098
|
# resp = client.list_website_certificate_authorities({
|
@@ -1091,6 +1197,63 @@ module Aws::WorkLink
|
|
1091
1197
|
req.send_request(options)
|
1092
1198
|
end
|
1093
1199
|
|
1200
|
+
# Adds or overwrites one or more tags for the specified resource, such
|
1201
|
+
# as a fleet. Each tag consists of a key and an optional value. If a
|
1202
|
+
# resource already has a tag with the same key, this operation updates
|
1203
|
+
# its value.
|
1204
|
+
#
|
1205
|
+
# @option params [required, String] :resource_arn
|
1206
|
+
# The Amazon Resource Name (ARN) of the fleet.
|
1207
|
+
#
|
1208
|
+
# @option params [required, Hash<String,String>] :tags
|
1209
|
+
# The tags to add to the resource. A tag is a key-value pair.
|
1210
|
+
#
|
1211
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1212
|
+
#
|
1213
|
+
# @example Request syntax with placeholder values
|
1214
|
+
#
|
1215
|
+
# resp = client.tag_resource({
|
1216
|
+
# resource_arn: "FleetArn", # required
|
1217
|
+
# tags: { # required
|
1218
|
+
# "TagKey" => "TagValue",
|
1219
|
+
# },
|
1220
|
+
# })
|
1221
|
+
#
|
1222
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/TagResource AWS API Documentation
|
1223
|
+
#
|
1224
|
+
# @overload tag_resource(params = {})
|
1225
|
+
# @param [Hash] params ({})
|
1226
|
+
def tag_resource(params = {}, options = {})
|
1227
|
+
req = build_request(:tag_resource, params)
|
1228
|
+
req.send_request(options)
|
1229
|
+
end
|
1230
|
+
|
1231
|
+
# Removes one or more tags from the specified resource.
|
1232
|
+
#
|
1233
|
+
# @option params [required, String] :resource_arn
|
1234
|
+
# The Amazon Resource Name (ARN) of the fleet.
|
1235
|
+
#
|
1236
|
+
# @option params [required, Array<String>] :tag_keys
|
1237
|
+
# The list of tag keys to remove from the resource.
|
1238
|
+
#
|
1239
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1240
|
+
#
|
1241
|
+
# @example Request syntax with placeholder values
|
1242
|
+
#
|
1243
|
+
# resp = client.untag_resource({
|
1244
|
+
# resource_arn: "FleetArn", # required
|
1245
|
+
# tag_keys: ["TagKey"], # required
|
1246
|
+
# })
|
1247
|
+
#
|
1248
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/UntagResource AWS API Documentation
|
1249
|
+
#
|
1250
|
+
# @overload untag_resource(params = {})
|
1251
|
+
# @param [Hash] params ({})
|
1252
|
+
def untag_resource(params = {}, options = {})
|
1253
|
+
req = build_request(:untag_resource, params)
|
1254
|
+
req.send_request(options)
|
1255
|
+
end
|
1256
|
+
|
1094
1257
|
# Updates the audit stream configuration for the fleet.
|
1095
1258
|
#
|
1096
1259
|
# @option params [required, String] :fleet_arn
|
@@ -1289,7 +1452,7 @@ module Aws::WorkLink
|
|
1289
1452
|
params: params,
|
1290
1453
|
config: config)
|
1291
1454
|
context[:gem_name] = 'aws-sdk-worklink'
|
1292
|
-
context[:gem_version] = '1.
|
1455
|
+
context[:gem_version] = '1.17.1'
|
1293
1456
|
Seahorse::Client::Request.new(handlers, context)
|
1294
1457
|
end
|
1295
1458
|
|
@@ -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.17.1
|
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-11 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.99.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.99.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
|