aws-sdk-worklink 1.15.0 → 1.16.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: c4244be0393f970cc95e20f74c2791233ded3810c9e50bc265d0a8c286b0502a
4
- data.tar.gz: a8798a8820a45f575f8e54dd9f0db10eab9317602d99437203734c38f1ac915a
3
+ metadata.gz: 1aa72cc6e8e9584b9c2e31f548e87514c32244a295f877ee0003c0be6df95dc9
4
+ data.tar.gz: 6f1cc2ba6efc0f1b6e5dfdc8942887e410b5fc7374071a8cf8b62cbf33f2d0a0
5
5
  SHA512:
6
- metadata.gz: f558fbd07b6b21b2b2f4ea3d3daa66d94ba5d9d82f8005a0c30e82e7144c9621114644b66d486b0bedd75e4f71b861b7b076f6da96ea3b326b8e94cd782d0835
7
- data.tar.gz: ba170ce3f329fd9e28f4911dfdc140f66454ba94265a1579b36649bd1d8777cb63e8a7b876c120777250975e6482fe4fcc12e0fa99bad89c007c971cc529d7b9
6
+ metadata.gz: 2b4d5dfee555ef4b8dd05f062acc2050292d4fa046ed8d899f3ff643fe1cbf409d89a14795055f8c54744f69610f2e3105dcba6dc0fee53bc2afdb982166b7c5
7
+ data.tar.gz: 645061b0edb7d16e5b887d7cc084c727b4dcf5c4bafa9d15d967b3754c88f23d49f0abe928abd28df7ee9b780276bb2035335f2e0d63ce0373774fa142ea9dd2
@@ -45,6 +45,6 @@ require_relative 'aws-sdk-worklink/customizations'
45
45
  # @service
46
46
  module Aws::WorkLink
47
47
 
48
- GEM_VERSION = '1.15.0'
48
+ GEM_VERSION = '1.16.0'
49
49
 
50
50
  end
@@ -435,6 +435,9 @@ module Aws::WorkLink
435
435
  # through the closest AWS Region to users, which may be outside of your
436
436
  # home Region.
437
437
  #
438
+ # @option params [Hash<String,String>] :tags
439
+ # The tags to add to the resource. A tag is a key-value pair.
440
+ #
438
441
  # @return [Types::CreateFleetResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
439
442
  #
440
443
  # * {Types::CreateFleetResponse#fleet_arn #fleet_arn} => String
@@ -445,6 +448,9 @@ module Aws::WorkLink
445
448
  # fleet_name: "FleetName", # required
446
449
  # display_name: "DisplayName",
447
450
  # optimize_for_end_user_location: false,
451
+ # tags: {
452
+ # "TagKey" => "TagValue",
453
+ # },
448
454
  # })
449
455
  #
450
456
  # @example Response structure
@@ -667,7 +673,7 @@ module Aws::WorkLink
667
673
  # provider, networking, and device configuration details.
668
674
  #
669
675
  # @option params [required, String] :fleet_arn
670
- # The ARN of the fleet.
676
+ # The Amazon Resource Name (ARN) of the fleet.
671
677
  #
672
678
  # @return [Types::DescribeFleetMetadataResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
673
679
  #
@@ -678,6 +684,7 @@ module Aws::WorkLink
678
684
  # * {Types::DescribeFleetMetadataResponse#optimize_for_end_user_location #optimize_for_end_user_location} => Boolean
679
685
  # * {Types::DescribeFleetMetadataResponse#company_code #company_code} => String
680
686
  # * {Types::DescribeFleetMetadataResponse#fleet_status #fleet_status} => String
687
+ # * {Types::DescribeFleetMetadataResponse#tags #tags} => Hash&lt;String,String&gt;
681
688
  #
682
689
  # @example Request syntax with placeholder values
683
690
  #
@@ -694,6 +701,8 @@ module Aws::WorkLink
694
701
  # resp.optimize_for_end_user_location #=> Boolean
695
702
  # resp.company_code #=> String
696
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
697
706
  #
698
707
  # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DescribeFleetMetadata AWS API Documentation
699
708
  #
@@ -974,6 +983,8 @@ module Aws::WorkLink
974
983
  # resp.fleet_summary_list[0].display_name #=> String
975
984
  # resp.fleet_summary_list[0].company_code #=> String
976
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
977
988
  # resp.next_token #=> String
978
989
  #
979
990
  # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/ListFleets AWS API Documentation
@@ -985,6 +996,35 @@ module Aws::WorkLink
985
996
  req.send_request(options)
986
997
  end
987
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&lt;String,String&gt;
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
+
988
1028
  # Retrieves a list of website authorization providers associated with a
989
1029
  # specified fleet.
990
1030
  #
@@ -1155,6 +1195,63 @@ module Aws::WorkLink
1155
1195
  req.send_request(options)
1156
1196
  end
1157
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
+
1158
1255
  # Updates the audit stream configuration for the fleet.
1159
1256
  #
1160
1257
  # @option params [required, String] :fleet_arn
@@ -1353,7 +1450,7 @@ module Aws::WorkLink
1353
1450
  params: params,
1354
1451
  config: config)
1355
1452
  context[:gem_name] = 'aws-sdk-worklink'
1356
- context[:gem_version] = '1.15.0'
1453
+ context[:gem_version] = '1.16.0'
1357
1454
  Seahorse::Client::Request.new(handlers, context)
1358
1455
  end
1359
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"
@@ -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.15.0
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: 2020-05-28 00:00:00.000000000 Z
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