aws-sdk-honeycode 1.13.0 → 1.14.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: 7e5a0965bace1190242206356475a318d33c0ec826e1b5edfd6128e57031e769
4
- data.tar.gz: ff0444bd2a851190a1689fc014910b3a4a921486dee022b66304150c0894d418
3
+ metadata.gz: ff754ed6875284e4a0e7538b05bcbbc1dca39a1344b9cf96f1dd15eaab6b1bcb
4
+ data.tar.gz: b851a13c93b5087e81e6b29803285415285173e2958857fd2353274959905049
5
5
  SHA512:
6
- metadata.gz: d082a41db464587f961b6bdcb9108ed0f04e4fe80740f0cee57735411302f28f84d61972791155e606737037fd574d96ed701aaa442fdd9eeda3c232bad809e4
7
- data.tar.gz: b62e09bfa1c90e7a0bcad1b80c89d03131cfec4beab9f300b28798115a2f56eda03e3f85574821f3f7a5f3a0332a322efdc5d6a40df233358bd12c3f8ce30757
6
+ metadata.gz: ca7f6d56f02ed213bf32f9d8c2e283b838f1548490705917b01b69ff566fc59ce953a0d4780406b471440cf2fe4b7e2d9def0a8cee65e82c088b591ccf111c44
7
+ data.tar.gz: cfae8632f96f39876457cc6ea523dff47723293853816ee60c283c4b57734b99eead1309b8b6d53e19c014103383c29670156a106f8d7b5a2b4700416e9646ea
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.14.0 (2022-01-12)
5
+ ------------------
6
+
7
+ * Feature - Honeycode is releasing new APIs to allow user to create, delete and list tags on resources.
8
+
4
9
  1.13.0 (2021-12-21)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.13.0
1
+ 1.14.0
@@ -745,7 +745,7 @@ module Aws::Honeycode
745
745
  # The ID of the workbook that contains the screen.
746
746
  #
747
747
  # @option params [required, String] :app_id
748
- # The ID of the app that contains the screem.
748
+ # The ID of the app that contains the screen.
749
749
  #
750
750
  # @option params [required, String] :screen_id
751
751
  # The ID of the screen.
@@ -1080,6 +1080,35 @@ module Aws::Honeycode
1080
1080
  req.send_request(options)
1081
1081
  end
1082
1082
 
1083
+ # The ListTagsForResource API allows you to return a resource's tags.
1084
+ #
1085
+ # @option params [required, String] :resource_arn
1086
+ # The resource's Amazon Resource Name (ARN).
1087
+ #
1088
+ # @return [Types::ListTagsForResourceResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1089
+ #
1090
+ # * {Types::ListTagsForResourceResult#tags #tags} => Hash<String,String>
1091
+ #
1092
+ # @example Request syntax with placeholder values
1093
+ #
1094
+ # resp = client.list_tags_for_resource({
1095
+ # resource_arn: "ResourceArn", # required
1096
+ # })
1097
+ #
1098
+ # @example Response structure
1099
+ #
1100
+ # resp.tags #=> Hash
1101
+ # resp.tags["TagKey"] #=> String
1102
+ #
1103
+ # @see http://docs.aws.amazon.com/goto/WebAPI/honeycode-2020-03-01/ListTagsForResource AWS API Documentation
1104
+ #
1105
+ # @overload list_tags_for_resource(params = {})
1106
+ # @param [Hash] params ({})
1107
+ def list_tags_for_resource(params = {}, options = {})
1108
+ req = build_request(:list_tags_for_resource, params)
1109
+ req.send_request(options)
1110
+ end
1111
+
1083
1112
  # The QueryTableRows API allows you to use a filter formula to query for
1084
1113
  # specific rows in a table.
1085
1114
  #
@@ -1243,6 +1272,63 @@ module Aws::Honeycode
1243
1272
  req.send_request(options)
1244
1273
  end
1245
1274
 
1275
+ # The TagResource API allows you to add tags to an ARN-able resource.
1276
+ # Resource includes workbook, table, screen and screen-automation.
1277
+ #
1278
+ # @option params [required, String] :resource_arn
1279
+ # The resource's Amazon Resource Name (ARN).
1280
+ #
1281
+ # @option params [required, Hash<String,String>] :tags
1282
+ # A list of tags to apply to the resource.
1283
+ #
1284
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1285
+ #
1286
+ # @example Request syntax with placeholder values
1287
+ #
1288
+ # resp = client.tag_resource({
1289
+ # resource_arn: "ResourceArn", # required
1290
+ # tags: { # required
1291
+ # "TagKey" => "TagValue",
1292
+ # },
1293
+ # })
1294
+ #
1295
+ # @see http://docs.aws.amazon.com/goto/WebAPI/honeycode-2020-03-01/TagResource AWS API Documentation
1296
+ #
1297
+ # @overload tag_resource(params = {})
1298
+ # @param [Hash] params ({})
1299
+ def tag_resource(params = {}, options = {})
1300
+ req = build_request(:tag_resource, params)
1301
+ req.send_request(options)
1302
+ end
1303
+
1304
+ # The UntagResource API allows you to removes tags from an ARN-able
1305
+ # resource. Resource includes workbook, table, screen and
1306
+ # screen-automation.
1307
+ #
1308
+ # @option params [required, String] :resource_arn
1309
+ # The resource's Amazon Resource Name (ARN).
1310
+ #
1311
+ # @option params [required, Array<String>] :tag_keys
1312
+ # A list of tag keys to remove from the resource.
1313
+ #
1314
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1315
+ #
1316
+ # @example Request syntax with placeholder values
1317
+ #
1318
+ # resp = client.untag_resource({
1319
+ # resource_arn: "ResourceArn", # required
1320
+ # tag_keys: ["TagKey"], # required
1321
+ # })
1322
+ #
1323
+ # @see http://docs.aws.amazon.com/goto/WebAPI/honeycode-2020-03-01/UntagResource AWS API Documentation
1324
+ #
1325
+ # @overload untag_resource(params = {})
1326
+ # @param [Hash] params ({})
1327
+ def untag_resource(params = {}, options = {})
1328
+ req = build_request(:untag_resource, params)
1329
+ req.send_request(options)
1330
+ end
1331
+
1246
1332
  # @!endgroup
1247
1333
 
1248
1334
  # @param params ({})
@@ -1256,7 +1342,7 @@ module Aws::Honeycode
1256
1342
  params: params,
1257
1343
  config: config)
1258
1344
  context[:gem_name] = 'aws-sdk-honeycode'
1259
- context[:gem_version] = '1.13.0'
1345
+ context[:gem_version] = '1.14.0'
1260
1346
  Seahorse::Client::Request.new(handlers, context)
1261
1347
  end
1262
1348
 
@@ -72,6 +72,8 @@ module Aws::Honeycode
72
72
  ListTableRowsResult = Shapes::StructureShape.new(name: 'ListTableRowsResult')
73
73
  ListTablesRequest = Shapes::StructureShape.new(name: 'ListTablesRequest')
74
74
  ListTablesResult = Shapes::StructureShape.new(name: 'ListTablesResult')
75
+ ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
76
+ ListTagsForResourceResult = Shapes::StructureShape.new(name: 'ListTagsForResourceResult')
75
77
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
76
78
  Name = Shapes::StringShape.new(name: 'Name')
77
79
  PaginationToken = Shapes::StringShape.new(name: 'PaginationToken')
@@ -79,6 +81,7 @@ module Aws::Honeycode
79
81
  QueryTableRowsResult = Shapes::StructureShape.new(name: 'QueryTableRowsResult')
80
82
  RawValue = Shapes::StringShape.new(name: 'RawValue')
81
83
  RequestTimeoutException = Shapes::StructureShape.new(name: 'RequestTimeoutException')
84
+ ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
82
85
  ResourceId = Shapes::StringShape.new(name: 'ResourceId')
83
86
  ResourceIds = Shapes::ListShape.new(name: 'ResourceIds')
84
87
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
@@ -108,8 +111,16 @@ module Aws::Honeycode
108
111
  TableRow = Shapes::StructureShape.new(name: 'TableRow')
109
112
  TableRows = Shapes::ListShape.new(name: 'TableRows')
110
113
  Tables = Shapes::ListShape.new(name: 'Tables')
114
+ TagKey = Shapes::StringShape.new(name: 'TagKey')
115
+ TagKeysList = Shapes::ListShape.new(name: 'TagKeysList')
116
+ TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
117
+ TagResourceResult = Shapes::StructureShape.new(name: 'TagResourceResult')
118
+ TagValue = Shapes::StringShape.new(name: 'TagValue')
119
+ TagsMap = Shapes::MapShape.new(name: 'TagsMap')
111
120
  ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
112
121
  TimestampInMillis = Shapes::TimestampShape.new(name: 'TimestampInMillis')
122
+ UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
123
+ UntagResourceResult = Shapes::StructureShape.new(name: 'UntagResourceResult')
113
124
  UpdateRowData = Shapes::StructureShape.new(name: 'UpdateRowData')
114
125
  UpdateRowDataList = Shapes::ListShape.new(name: 'UpdateRowDataList')
115
126
  UpsertAction = Shapes::StringShape.new(name: 'UpsertAction')
@@ -313,6 +324,12 @@ module Aws::Honeycode
313
324
  ListTablesResult.add_member(:workbook_cursor, Shapes::ShapeRef.new(shape: WorkbookCursor, location_name: "workbookCursor"))
314
325
  ListTablesResult.struct_class = Types::ListTablesResult
315
326
 
327
+ ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location: "uri", location_name: "resourceArn"))
328
+ ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
329
+
330
+ ListTagsForResourceResult.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, location_name: "tags"))
331
+ ListTagsForResourceResult.struct_class = Types::ListTagsForResourceResult
332
+
316
333
  QueryTableRowsRequest.add_member(:workbook_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location: "uri", location_name: "workbookId"))
317
334
  QueryTableRowsRequest.add_member(:table_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location: "uri", location_name: "tableId"))
318
335
  QueryTableRowsRequest.add_member(:filter_formula, Shapes::ShapeRef.new(shape: Filter, required: true, location_name: "filterFormula"))
@@ -400,9 +417,26 @@ module Aws::Honeycode
400
417
 
401
418
  Tables.member = Shapes::ShapeRef.new(shape: Table)
402
419
 
420
+ TagKeysList.member = Shapes::ShapeRef.new(shape: TagKey)
421
+
422
+ TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location: "uri", location_name: "resourceArn"))
423
+ TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, required: true, location_name: "tags"))
424
+ TagResourceRequest.struct_class = Types::TagResourceRequest
425
+
426
+ TagResourceResult.struct_class = Types::TagResourceResult
427
+
428
+ TagsMap.key = Shapes::ShapeRef.new(shape: TagKey)
429
+ TagsMap.value = Shapes::ShapeRef.new(shape: TagValue)
430
+
403
431
  ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
404
432
  ThrottlingException.struct_class = Types::ThrottlingException
405
433
 
434
+ UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location: "uri", location_name: "resourceArn"))
435
+ UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeysList, required: true, location: "querystring", location_name: "tagKeys"))
436
+ UntagResourceRequest.struct_class = Types::UntagResourceRequest
437
+
438
+ UntagResourceResult.struct_class = Types::UntagResourceResult
439
+
406
440
  UpdateRowData.add_member(:row_id, Shapes::ShapeRef.new(shape: RowId, required: true, location_name: "rowId"))
407
441
  UpdateRowData.add_member(:cells_to_update, Shapes::ShapeRef.new(shape: RowDataInput, required: true, location_name: "cellsToUpdate"))
408
442
  UpdateRowData.struct_class = Types::UpdateRowData
@@ -621,6 +655,21 @@ module Aws::Honeycode
621
655
  )
622
656
  end)
623
657
 
658
+ api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
659
+ o.name = "ListTagsForResource"
660
+ o.http_method = "GET"
661
+ o.http_request_uri = "/tags/{resourceArn}"
662
+ o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
663
+ o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResult)
664
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
665
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
666
+ o.errors << Shapes::ShapeRef.new(shape: RequestTimeoutException)
667
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
668
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
669
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
670
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
671
+ end)
672
+
624
673
  api.add_operation(:query_table_rows, Seahorse::Model::Operation.new.tap do |o|
625
674
  o.name = "QueryTableRows"
626
675
  o.http_method = "POST"
@@ -655,6 +704,36 @@ module Aws::Honeycode
655
704
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
656
705
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
657
706
  end)
707
+
708
+ api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
709
+ o.name = "TagResource"
710
+ o.http_method = "POST"
711
+ o.http_request_uri = "/tags/{resourceArn}"
712
+ o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
713
+ o.output = Shapes::ShapeRef.new(shape: TagResourceResult)
714
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
715
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
716
+ o.errors << Shapes::ShapeRef.new(shape: RequestTimeoutException)
717
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
718
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
719
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
720
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
721
+ end)
722
+
723
+ api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
724
+ o.name = "UntagResource"
725
+ o.http_method = "DELETE"
726
+ o.http_request_uri = "/tags/{resourceArn}"
727
+ o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
728
+ o.output = Shapes::ShapeRef.new(shape: UntagResourceResult)
729
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
730
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
731
+ o.errors << Shapes::ShapeRef.new(shape: RequestTimeoutException)
732
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
733
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
734
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
735
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
736
+ end)
658
737
  end
659
738
 
660
739
  end
@@ -820,7 +820,7 @@ module Aws::Honeycode
820
820
  # @return [String]
821
821
  #
822
822
  # @!attribute [rw] app_id
823
- # The ID of the app that contains the screem.
823
+ # The ID of the app that contains the screen.
824
824
  # @return [String]
825
825
  #
826
826
  # @!attribute [rw] screen_id
@@ -1331,6 +1331,37 @@ module Aws::Honeycode
1331
1331
  include Aws::Structure
1332
1332
  end
1333
1333
 
1334
+ # @note When making an API call, you may pass ListTagsForResourceRequest
1335
+ # data as a hash:
1336
+ #
1337
+ # {
1338
+ # resource_arn: "ResourceArn", # required
1339
+ # }
1340
+ #
1341
+ # @!attribute [rw] resource_arn
1342
+ # The resource's Amazon Resource Name (ARN).
1343
+ # @return [String]
1344
+ #
1345
+ # @see http://docs.aws.amazon.com/goto/WebAPI/honeycode-2020-03-01/ListTagsForResourceRequest AWS API Documentation
1346
+ #
1347
+ class ListTagsForResourceRequest < Struct.new(
1348
+ :resource_arn)
1349
+ SENSITIVE = []
1350
+ include Aws::Structure
1351
+ end
1352
+
1353
+ # @!attribute [rw] tags
1354
+ # The resource's tags.
1355
+ # @return [Hash<String,String>]
1356
+ #
1357
+ # @see http://docs.aws.amazon.com/goto/WebAPI/honeycode-2020-03-01/ListTagsForResourceResult AWS API Documentation
1358
+ #
1359
+ class ListTagsForResourceResult < Struct.new(
1360
+ :tags)
1361
+ SENSITIVE = []
1362
+ include Aws::Structure
1363
+ end
1364
+
1334
1365
  # @note When making an API call, you may pass QueryTableRowsRequest
1335
1366
  # data as a hash:
1336
1367
  #
@@ -1752,6 +1783,37 @@ module Aws::Honeycode
1752
1783
  include Aws::Structure
1753
1784
  end
1754
1785
 
1786
+ # @note When making an API call, you may pass TagResourceRequest
1787
+ # data as a hash:
1788
+ #
1789
+ # {
1790
+ # resource_arn: "ResourceArn", # required
1791
+ # tags: { # required
1792
+ # "TagKey" => "TagValue",
1793
+ # },
1794
+ # }
1795
+ #
1796
+ # @!attribute [rw] resource_arn
1797
+ # The resource's Amazon Resource Name (ARN).
1798
+ # @return [String]
1799
+ #
1800
+ # @!attribute [rw] tags
1801
+ # A list of tags to apply to the resource.
1802
+ # @return [Hash<String,String>]
1803
+ #
1804
+ # @see http://docs.aws.amazon.com/goto/WebAPI/honeycode-2020-03-01/TagResourceRequest AWS API Documentation
1805
+ #
1806
+ class TagResourceRequest < Struct.new(
1807
+ :resource_arn,
1808
+ :tags)
1809
+ SENSITIVE = []
1810
+ include Aws::Structure
1811
+ end
1812
+
1813
+ # @see http://docs.aws.amazon.com/goto/WebAPI/honeycode-2020-03-01/TagResourceResult AWS API Documentation
1814
+ #
1815
+ class TagResourceResult < Aws::EmptyStructure; end
1816
+
1755
1817
  # Tps(transactions per second) rate reached.
1756
1818
  #
1757
1819
  # @!attribute [rw] message
@@ -1765,6 +1827,35 @@ module Aws::Honeycode
1765
1827
  include Aws::Structure
1766
1828
  end
1767
1829
 
1830
+ # @note When making an API call, you may pass UntagResourceRequest
1831
+ # data as a hash:
1832
+ #
1833
+ # {
1834
+ # resource_arn: "ResourceArn", # required
1835
+ # tag_keys: ["TagKey"], # required
1836
+ # }
1837
+ #
1838
+ # @!attribute [rw] resource_arn
1839
+ # The resource's Amazon Resource Name (ARN).
1840
+ # @return [String]
1841
+ #
1842
+ # @!attribute [rw] tag_keys
1843
+ # A list of tag keys to remove from the resource.
1844
+ # @return [Array<String>]
1845
+ #
1846
+ # @see http://docs.aws.amazon.com/goto/WebAPI/honeycode-2020-03-01/UntagResourceRequest AWS API Documentation
1847
+ #
1848
+ class UntagResourceRequest < Struct.new(
1849
+ :resource_arn,
1850
+ :tag_keys)
1851
+ SENSITIVE = []
1852
+ include Aws::Structure
1853
+ end
1854
+
1855
+ # @see http://docs.aws.amazon.com/goto/WebAPI/honeycode-2020-03-01/UntagResourceResult AWS API Documentation
1856
+ #
1857
+ class UntagResourceResult < Aws::EmptyStructure; end
1858
+
1768
1859
  # Data needed to create a single row in a table as part of the
1769
1860
  # BatchCreateTableRows request.
1770
1861
  #
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-honeycode/customizations'
48
48
  # @!group service
49
49
  module Aws::Honeycode
50
50
 
51
- GEM_VERSION = '1.13.0'
51
+ GEM_VERSION = '1.14.0'
52
52
 
53
53
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-honeycode
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.13.0
4
+ version: 1.14.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-12-21 00:00:00.000000000 Z
11
+ date: 2022-01-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core