aws-sdk-wellarchitected 1.2.0 → 1.3.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: e6862d6ea8dc4599bddf6fa0aca3a1403c40bf4801761c8117fe29f3dac56307
4
- data.tar.gz: 276b92ec49af42393c66022d4f35b7b1af3cae49123b949a72d689613f3a02d1
3
+ metadata.gz: d58239f53a348aacc5f8aa2ffa02572c98709d419e1c4642f286d9626631669d
4
+ data.tar.gz: c535ef86a488de958f19b68081cf1e027a33f0742dfbf38133a6de95b3383a75
5
5
  SHA512:
6
- metadata.gz: c754a120f8fef14872b00be51980c959c8146721db01bbd88c4869f51eee61832e98144771314c26b78a73e91cd752cd3083ca842057fd36a853de48afbee8f0
7
- data.tar.gz: '09c358cfecd9ebfeef207bf21614c876d163dd52ae6b519079125f7bb57edd23d35f6d9f2a09eb2f4de94e27b8a116699ddd5eb4af85cdc2b8937ff3231bf67e'
6
+ metadata.gz: 7f78a0843f70b90857d9417086ef6ac28a51377dfc417e121b84fd559b069d11a4feca2bd1ff40e15f681c9fcf4f61748ef4fa045ffae9ed05d5469888c1da56
7
+ data.tar.gz: 407b8cb61cf469e384fc68513be617e1c66f4c27a480b62c51d178f7eb9bc49ea0917ce6abbc2d5d119ac5c950146e111f58fd82fa9cb210b9ffa6052bfda09f
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-wellarchitected/customizations'
48
48
  # @!group service
49
49
  module Aws::WellArchitected
50
50
 
51
- GEM_VERSION = '1.2.0'
51
+ GEM_VERSION = '1.3.0'
52
52
 
53
53
  end
@@ -545,6 +545,9 @@ module Aws::WellArchitected
545
545
  # **A suitable default value is auto-generated.** You should normally
546
546
  # not need to pass this option.**
547
547
  #
548
+ # @option params [Hash<String,String>] :tags
549
+ # The tags to be associated with the workload.
550
+ #
548
551
  # @return [Types::CreateWorkloadOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
549
552
  #
550
553
  # * {Types::CreateWorkloadOutput#workload_id #workload_id} => String
@@ -567,6 +570,9 @@ module Aws::WellArchitected
567
570
  # lenses: ["LensAlias"], # required
568
571
  # notes: "Notes",
569
572
  # client_request_token: "ClientRequestToken", # required
573
+ # tags: {
574
+ # "TagKey" => "TagValue",
575
+ # },
570
576
  # })
571
577
  #
572
578
  # @example Response structure
@@ -1044,6 +1050,8 @@ module Aws::WellArchitected
1044
1050
  # resp.milestone.workload.lenses[0] #=> String
1045
1051
  # resp.milestone.workload.owner #=> String
1046
1052
  # resp.milestone.workload.share_invitation_id #=> String
1053
+ # resp.milestone.workload.tags #=> Hash
1054
+ # resp.milestone.workload.tags["TagKey"] #=> String
1047
1055
  #
1048
1056
  # @see http://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/GetMilestone AWS API Documentation
1049
1057
  #
@@ -1100,6 +1108,8 @@ module Aws::WellArchitected
1100
1108
  # resp.workload.lenses[0] #=> String
1101
1109
  # resp.workload.owner #=> String
1102
1110
  # resp.workload.share_invitation_id #=> String
1111
+ # resp.workload.tags #=> Hash
1112
+ # resp.workload.tags["TagKey"] #=> String
1103
1113
  #
1104
1114
  # @see http://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/GetWorkload AWS API Documentation
1105
1115
  #
@@ -1504,6 +1514,35 @@ module Aws::WellArchitected
1504
1514
  req.send_request(options)
1505
1515
  end
1506
1516
 
1517
+ # List the tags for a resource.
1518
+ #
1519
+ # @option params [required, String] :workload_arn
1520
+ # The ARN for the workload.
1521
+ #
1522
+ # @return [Types::ListTagsForResourceOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1523
+ #
1524
+ # * {Types::ListTagsForResourceOutput#tags #tags} => Hash&lt;String,String&gt;
1525
+ #
1526
+ # @example Request syntax with placeholder values
1527
+ #
1528
+ # resp = client.list_tags_for_resource({
1529
+ # workload_arn: "WorkloadArn", # required
1530
+ # })
1531
+ #
1532
+ # @example Response structure
1533
+ #
1534
+ # resp.tags #=> Hash
1535
+ # resp.tags["TagKey"] #=> String
1536
+ #
1537
+ # @see http://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/ListTagsForResource AWS API Documentation
1538
+ #
1539
+ # @overload list_tags_for_resource(params = {})
1540
+ # @param [Hash] params ({})
1541
+ def list_tags_for_resource(params = {}, options = {})
1542
+ req = build_request(:list_tags_for_resource, params)
1543
+ req.send_request(options)
1544
+ end
1545
+
1507
1546
  # List the workload shares associated with the workload.
1508
1547
  #
1509
1548
  # @option params [required, String] :workload_id
@@ -1606,7 +1645,61 @@ module Aws::WellArchitected
1606
1645
  req.send_request(options)
1607
1646
  end
1608
1647
 
1609
- # Update the answer.
1648
+ # Adds one or more tags to the specified resource.
1649
+ #
1650
+ # @option params [required, String] :workload_arn
1651
+ # The ARN for the workload.
1652
+ #
1653
+ # @option params [required, Hash<String,String>] :tags
1654
+ # The tags for the resource.
1655
+ #
1656
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1657
+ #
1658
+ # @example Request syntax with placeholder values
1659
+ #
1660
+ # resp = client.tag_resource({
1661
+ # workload_arn: "WorkloadArn", # required
1662
+ # tags: { # required
1663
+ # "TagKey" => "TagValue",
1664
+ # },
1665
+ # })
1666
+ #
1667
+ # @see http://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/TagResource AWS API Documentation
1668
+ #
1669
+ # @overload tag_resource(params = {})
1670
+ # @param [Hash] params ({})
1671
+ def tag_resource(params = {}, options = {})
1672
+ req = build_request(:tag_resource, params)
1673
+ req.send_request(options)
1674
+ end
1675
+
1676
+ # Deletes specified tags from a resource.
1677
+ #
1678
+ # @option params [required, String] :workload_arn
1679
+ # The ARN for the workload.
1680
+ #
1681
+ # @option params [required, Array<String>] :tag_keys
1682
+ # The keys of the tags to be removed.
1683
+ #
1684
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1685
+ #
1686
+ # @example Request syntax with placeholder values
1687
+ #
1688
+ # resp = client.untag_resource({
1689
+ # workload_arn: "WorkloadArn", # required
1690
+ # tag_keys: ["TagKey"], # required
1691
+ # })
1692
+ #
1693
+ # @see http://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/UntagResource AWS API Documentation
1694
+ #
1695
+ # @overload untag_resource(params = {})
1696
+ # @param [Hash] params ({})
1697
+ def untag_resource(params = {}, options = {})
1698
+ req = build_request(:untag_resource, params)
1699
+ req.send_request(options)
1700
+ end
1701
+
1702
+ # Update the answer to a specific question in a workload review.
1610
1703
  #
1611
1704
  # @option params [required, String] :workload_id
1612
1705
  # The ID assigned to the workload. This ID is unique within an AWS
@@ -1942,6 +2035,8 @@ module Aws::WellArchitected
1942
2035
  # resp.workload.lenses[0] #=> String
1943
2036
  # resp.workload.owner #=> String
1944
2037
  # resp.workload.share_invitation_id #=> String
2038
+ # resp.workload.tags #=> Hash
2039
+ # resp.workload.tags["TagKey"] #=> String
1945
2040
  #
1946
2041
  # @see http://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/UpdateWorkload AWS API Documentation
1947
2042
  #
@@ -2060,7 +2155,7 @@ module Aws::WellArchitected
2060
2155
  params: params,
2061
2156
  config: config)
2062
2157
  context[:gem_name] = 'aws-sdk-wellarchitected'
2063
- context[:gem_version] = '1.2.0'
2158
+ context[:gem_version] = '1.3.0'
2064
2159
  Seahorse::Client::Request.new(handlers, context)
2065
2160
  end
2066
2161
 
@@ -92,6 +92,8 @@ module Aws::WellArchitected
92
92
  ListShareInvitationsInput = Shapes::StructureShape.new(name: 'ListShareInvitationsInput')
93
93
  ListShareInvitationsMaxResults = Shapes::IntegerShape.new(name: 'ListShareInvitationsMaxResults')
94
94
  ListShareInvitationsOutput = Shapes::StructureShape.new(name: 'ListShareInvitationsOutput')
95
+ ListTagsForResourceInput = Shapes::StructureShape.new(name: 'ListTagsForResourceInput')
96
+ ListTagsForResourceOutput = Shapes::StructureShape.new(name: 'ListTagsForResourceOutput')
95
97
  ListWorkloadSharesInput = Shapes::StructureShape.new(name: 'ListWorkloadSharesInput')
96
98
  ListWorkloadSharesMaxResults = Shapes::IntegerShape.new(name: 'ListWorkloadSharesMaxResults')
97
99
  ListWorkloadSharesOutput = Shapes::StructureShape.new(name: 'ListWorkloadSharesOutput')
@@ -138,8 +140,16 @@ module Aws::WellArchitected
138
140
  ShareStatus = Shapes::StringShape.new(name: 'ShareStatus')
139
141
  SharedWith = Shapes::StringShape.new(name: 'SharedWith')
140
142
  SharedWithPrefix = Shapes::StringShape.new(name: 'SharedWithPrefix')
143
+ TagKey = Shapes::StringShape.new(name: 'TagKey')
144
+ TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
145
+ TagMap = Shapes::MapShape.new(name: 'TagMap')
146
+ TagResourceInput = Shapes::StructureShape.new(name: 'TagResourceInput')
147
+ TagResourceOutput = Shapes::StructureShape.new(name: 'TagResourceOutput')
148
+ TagValue = Shapes::StringShape.new(name: 'TagValue')
141
149
  ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
142
150
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
151
+ UntagResourceInput = Shapes::StructureShape.new(name: 'UntagResourceInput')
152
+ UntagResourceOutput = Shapes::StructureShape.new(name: 'UntagResourceOutput')
143
153
  UpdateAnswerInput = Shapes::StructureShape.new(name: 'UpdateAnswerInput')
144
154
  UpdateAnswerOutput = Shapes::StructureShape.new(name: 'UpdateAnswerOutput')
145
155
  UpdateLensReviewInput = Shapes::StructureShape.new(name: 'UpdateLensReviewInput')
@@ -247,6 +257,7 @@ module Aws::WellArchitected
247
257
  CreateWorkloadInput.add_member(:lenses, Shapes::ShapeRef.new(shape: WorkloadLenses, required: true, location_name: "Lenses"))
248
258
  CreateWorkloadInput.add_member(:notes, Shapes::ShapeRef.new(shape: Notes, location_name: "Notes"))
249
259
  CreateWorkloadInput.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, required: true, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
260
+ CreateWorkloadInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
250
261
  CreateWorkloadInput.struct_class = Types::CreateWorkloadInput
251
262
 
252
263
  CreateWorkloadOutput.add_member(:workload_id, Shapes::ShapeRef.new(shape: WorkloadId, location_name: "WorkloadId"))
@@ -464,6 +475,12 @@ module Aws::WellArchitected
464
475
  ListShareInvitationsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
465
476
  ListShareInvitationsOutput.struct_class = Types::ListShareInvitationsOutput
466
477
 
478
+ ListTagsForResourceInput.add_member(:workload_arn, Shapes::ShapeRef.new(shape: WorkloadArn, required: true, location: "uri", location_name: "WorkloadArn"))
479
+ ListTagsForResourceInput.struct_class = Types::ListTagsForResourceInput
480
+
481
+ ListTagsForResourceOutput.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
482
+ ListTagsForResourceOutput.struct_class = Types::ListTagsForResourceOutput
483
+
467
484
  ListWorkloadSharesInput.add_member(:workload_id, Shapes::ShapeRef.new(shape: WorkloadId, required: true, location: "uri", location_name: "WorkloadId"))
468
485
  ListWorkloadSharesInput.add_member(:shared_with_prefix, Shapes::ShapeRef.new(shape: SharedWithPrefix, location: "querystring", location_name: "SharedWithPrefix"))
469
486
  ListWorkloadSharesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "NextToken"))
@@ -560,11 +577,28 @@ module Aws::WellArchitected
560
577
  ShareInvitationSummary.add_member(:workload_id, Shapes::ShapeRef.new(shape: WorkloadId, location_name: "WorkloadId"))
561
578
  ShareInvitationSummary.struct_class = Types::ShareInvitationSummary
562
579
 
580
+ TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
581
+
582
+ TagMap.key = Shapes::ShapeRef.new(shape: TagKey)
583
+ TagMap.value = Shapes::ShapeRef.new(shape: TagValue)
584
+
585
+ TagResourceInput.add_member(:workload_arn, Shapes::ShapeRef.new(shape: WorkloadArn, required: true, location: "uri", location_name: "WorkloadArn"))
586
+ TagResourceInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, required: true, location_name: "Tags"))
587
+ TagResourceInput.struct_class = Types::TagResourceInput
588
+
589
+ TagResourceOutput.struct_class = Types::TagResourceOutput
590
+
563
591
  ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, required: true, location_name: "Message"))
564
592
  ThrottlingException.add_member(:quota_code, Shapes::ShapeRef.new(shape: QuotaCode, location_name: "QuotaCode"))
565
593
  ThrottlingException.add_member(:service_code, Shapes::ShapeRef.new(shape: ServiceCode, location_name: "ServiceCode"))
566
594
  ThrottlingException.struct_class = Types::ThrottlingException
567
595
 
596
+ UntagResourceInput.add_member(:workload_arn, Shapes::ShapeRef.new(shape: WorkloadArn, required: true, location: "uri", location_name: "WorkloadArn"))
597
+ UntagResourceInput.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location: "querystring", location_name: "tagKeys"))
598
+ UntagResourceInput.struct_class = Types::UntagResourceInput
599
+
600
+ UntagResourceOutput.struct_class = Types::UntagResourceOutput
601
+
568
602
  UpdateAnswerInput.add_member(:workload_id, Shapes::ShapeRef.new(shape: WorkloadId, required: true, location: "uri", location_name: "WorkloadId"))
569
603
  UpdateAnswerInput.add_member(:lens_alias, Shapes::ShapeRef.new(shape: LensAlias, required: true, location: "uri", location_name: "LensAlias"))
570
604
  UpdateAnswerInput.add_member(:question_id, Shapes::ShapeRef.new(shape: QuestionId, required: true, location: "uri", location_name: "QuestionId"))
@@ -666,6 +700,7 @@ module Aws::WellArchitected
666
700
  Workload.add_member(:lenses, Shapes::ShapeRef.new(shape: WorkloadLenses, location_name: "Lenses"))
667
701
  Workload.add_member(:owner, Shapes::ShapeRef.new(shape: AwsAccountId, location_name: "Owner"))
668
702
  Workload.add_member(:share_invitation_id, Shapes::ShapeRef.new(shape: ShareInvitationId, location_name: "ShareInvitationId"))
703
+ Workload.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
669
704
  Workload.struct_class = Types::Workload
670
705
 
671
706
  WorkloadAccountIds.member = Shapes::ShapeRef.new(shape: AwsAccountId)
@@ -1034,6 +1069,16 @@ module Aws::WellArchitected
1034
1069
  )
1035
1070
  end)
1036
1071
 
1072
+ api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
1073
+ o.name = "ListTagsForResource"
1074
+ o.http_method = "GET"
1075
+ o.http_request_uri = "/tags/{WorkloadArn}"
1076
+ o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceInput)
1077
+ o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceOutput)
1078
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1079
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1080
+ end)
1081
+
1037
1082
  api.add_operation(:list_workload_shares, Seahorse::Model::Operation.new.tap do |o|
1038
1083
  o.name = "ListWorkloadShares"
1039
1084
  o.http_method = "GET"
@@ -1071,6 +1116,26 @@ module Aws::WellArchitected
1071
1116
  )
1072
1117
  end)
1073
1118
 
1119
+ api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
1120
+ o.name = "TagResource"
1121
+ o.http_method = "POST"
1122
+ o.http_request_uri = "/tags/{WorkloadArn}"
1123
+ o.input = Shapes::ShapeRef.new(shape: TagResourceInput)
1124
+ o.output = Shapes::ShapeRef.new(shape: TagResourceOutput)
1125
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1126
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1127
+ end)
1128
+
1129
+ api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
1130
+ o.name = "UntagResource"
1131
+ o.http_method = "DELETE"
1132
+ o.http_request_uri = "/tags/{WorkloadArn}"
1133
+ o.input = Shapes::ShapeRef.new(shape: UntagResourceInput)
1134
+ o.output = Shapes::ShapeRef.new(shape: UntagResourceOutput)
1135
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1136
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1137
+ end)
1138
+
1074
1139
  api.add_operation(:update_answer, Seahorse::Model::Operation.new.tap do |o|
1075
1140
  o.name = "UpdateAnswer"
1076
1141
  o.http_method = "PATCH"
@@ -310,6 +310,9 @@ module Aws::WellArchitected
310
310
  # lenses: ["LensAlias"], # required
311
311
  # notes: "Notes",
312
312
  # client_request_token: "ClientRequestToken", # required
313
+ # tags: {
314
+ # "TagKey" => "TagValue",
315
+ # },
313
316
  # }
314
317
  #
315
318
  # @!attribute [rw] workload_name
@@ -447,6 +450,10 @@ module Aws::WellArchitected
447
450
  # not need to pass this option.
448
451
  # @return [String]
449
452
  #
453
+ # @!attribute [rw] tags
454
+ # The tags to be associated with the workload.
455
+ # @return [Hash<String,String>]
456
+ #
450
457
  # @see http://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/CreateWorkloadInput AWS API Documentation
451
458
  #
452
459
  class CreateWorkloadInput < Struct.new(
@@ -463,7 +470,8 @@ module Aws::WellArchitected
463
470
  :industry,
464
471
  :lenses,
465
472
  :notes,
466
- :client_request_token)
473
+ :client_request_token,
474
+ :tags)
467
475
  SENSITIVE = []
468
476
  include Aws::Structure
469
477
  end
@@ -1750,6 +1758,37 @@ module Aws::WellArchitected
1750
1758
  include Aws::Structure
1751
1759
  end
1752
1760
 
1761
+ # @note When making an API call, you may pass ListTagsForResourceInput
1762
+ # data as a hash:
1763
+ #
1764
+ # {
1765
+ # workload_arn: "WorkloadArn", # required
1766
+ # }
1767
+ #
1768
+ # @!attribute [rw] workload_arn
1769
+ # The ARN for the workload.
1770
+ # @return [String]
1771
+ #
1772
+ # @see http://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/ListTagsForResourceInput AWS API Documentation
1773
+ #
1774
+ class ListTagsForResourceInput < Struct.new(
1775
+ :workload_arn)
1776
+ SENSITIVE = []
1777
+ include Aws::Structure
1778
+ end
1779
+
1780
+ # @!attribute [rw] tags
1781
+ # The tags for the resource.
1782
+ # @return [Hash<String,String>]
1783
+ #
1784
+ # @see http://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/ListTagsForResourceOutput AWS API Documentation
1785
+ #
1786
+ class ListTagsForResourceOutput < Struct.new(
1787
+ :tags)
1788
+ SENSITIVE = []
1789
+ include Aws::Structure
1790
+ end
1791
+
1753
1792
  # Input for List Workload Share
1754
1793
  #
1755
1794
  # @note When making an API call, you may pass ListWorkloadSharesInput
@@ -2156,6 +2195,37 @@ module Aws::WellArchitected
2156
2195
  include Aws::Structure
2157
2196
  end
2158
2197
 
2198
+ # @note When making an API call, you may pass TagResourceInput
2199
+ # data as a hash:
2200
+ #
2201
+ # {
2202
+ # workload_arn: "WorkloadArn", # required
2203
+ # tags: { # required
2204
+ # "TagKey" => "TagValue",
2205
+ # },
2206
+ # }
2207
+ #
2208
+ # @!attribute [rw] workload_arn
2209
+ # The ARN for the workload.
2210
+ # @return [String]
2211
+ #
2212
+ # @!attribute [rw] tags
2213
+ # The tags for the resource.
2214
+ # @return [Hash<String,String>]
2215
+ #
2216
+ # @see http://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/TagResourceInput AWS API Documentation
2217
+ #
2218
+ class TagResourceInput < Struct.new(
2219
+ :workload_arn,
2220
+ :tags)
2221
+ SENSITIVE = []
2222
+ include Aws::Structure
2223
+ end
2224
+
2225
+ # @see http://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/TagResourceOutput AWS API Documentation
2226
+ #
2227
+ class TagResourceOutput < Aws::EmptyStructure; end
2228
+
2159
2229
  # Request was denied due to request throttling.
2160
2230
  #
2161
2231
  # @!attribute [rw] message
@@ -2180,6 +2250,35 @@ module Aws::WellArchitected
2180
2250
  include Aws::Structure
2181
2251
  end
2182
2252
 
2253
+ # @note When making an API call, you may pass UntagResourceInput
2254
+ # data as a hash:
2255
+ #
2256
+ # {
2257
+ # workload_arn: "WorkloadArn", # required
2258
+ # tag_keys: ["TagKey"], # required
2259
+ # }
2260
+ #
2261
+ # @!attribute [rw] workload_arn
2262
+ # The ARN for the workload.
2263
+ # @return [String]
2264
+ #
2265
+ # @!attribute [rw] tag_keys
2266
+ # The keys of the tags to be removed.
2267
+ # @return [Array<String>]
2268
+ #
2269
+ # @see http://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/UntagResourceInput AWS API Documentation
2270
+ #
2271
+ class UntagResourceInput < Struct.new(
2272
+ :workload_arn,
2273
+ :tag_keys)
2274
+ SENSITIVE = []
2275
+ include Aws::Structure
2276
+ end
2277
+
2278
+ # @see http://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/UntagResourceOutput AWS API Documentation
2279
+ #
2280
+ class UntagResourceOutput < Aws::EmptyStructure; end
2281
+
2183
2282
  # Input to update answer.
2184
2283
  #
2185
2284
  # @note When making an API call, you may pass UpdateAnswerInput
@@ -2882,6 +2981,10 @@ module Aws::WellArchitected
2882
2981
  # The ID assigned to the share invitation.
2883
2982
  # @return [String]
2884
2983
  #
2984
+ # @!attribute [rw] tags
2985
+ # The tags associated with the workload.
2986
+ # @return [Hash<String,String>]
2987
+ #
2885
2988
  # @see http://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/Workload AWS API Documentation
2886
2989
  #
2887
2990
  class Workload < Struct.new(
@@ -2906,7 +3009,8 @@ module Aws::WellArchitected
2906
3009
  :pillar_priorities,
2907
3010
  :lenses,
2908
3011
  :owner,
2909
- :share_invitation_id)
3012
+ :share_invitation_id,
3013
+ :tags)
2910
3014
  SENSITIVE = []
2911
3015
  include Aws::Structure
2912
3016
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-wellarchitected
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.3.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: 2021-02-02 00:00:00.000000000 Z
11
+ date: 2021-03-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core