aws-sdk-qapps 1.1.0 → 1.2.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: 71b17bdc56e94a7ac39d737ba5436ab37ba389962815286e974d4fb0e56351d8
4
- data.tar.gz: 04dd0204cf7effdea55607de28a8e45fb38aed6adff88abe137a5b1d346261d1
3
+ metadata.gz: 750352cdc6743431efb9f0df4183686a5a8fd05b70a173ced6d1cc94e61b5cf9
4
+ data.tar.gz: 7aeaf2d937a08562dffbd15f2739f943ca0ea93a5998b33e8fd4d1872edecb58
5
5
  SHA512:
6
- metadata.gz: 55fc947ce9f470d19a2e52f6b7340fa15a6949f126c4428745f35b19c68c11159ab7fcff796f9ad0c7e6f25a5d9e72fb2c46afffed8fbc34757b7fb2e926ae7a
7
- data.tar.gz: 84947ef18a23555d64c28fe506a3451a2c84afba58a37082bfab1d3e0b73adf9174b4dba117622312bae02b4c3accb07b48e44273210cbb758ec1f463518c0f3
6
+ metadata.gz: d9470a25084d3738cd1373f89886ff4829bddd86f901243210b4b4f382cdc5ba60a27ad60e9ec51fdd75a6f98404e2be72c6f90e6a8f198ab5ef6bbb73a81adb
7
+ data.tar.gz: 73bb8d58683159ef1ecc7ef59732eef5b67ab3555ed3494da613b9d6fd3ff5dfdb7aeb2a61bf65eb6376a4d4b87b8043b5cf2e1f8c7fed07e725026d96ae734a
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.2.0 (2024-09-06)
5
+ ------------------
6
+
7
+ * Feature - Adds UpdateLibraryItemMetadata api to change status of app for admin verification feature and returns isVerified field in any api returning the app or library item.
8
+
4
9
  1.1.0 (2024-09-03)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.0
1
+ 1.2.0
@@ -539,6 +539,7 @@ module Aws::QApps
539
539
  # * {Types::CreateLibraryItemOutput#updated_at #updated_at} => Time
540
540
  # * {Types::CreateLibraryItemOutput#updated_by #updated_by} => String
541
541
  # * {Types::CreateLibraryItemOutput#rating_count #rating_count} => Integer
542
+ # * {Types::CreateLibraryItemOutput#is_verified #is_verified} => Boolean
542
543
  #
543
544
  #
544
545
  # @example Example: Create a Library Item
@@ -556,6 +557,7 @@ module Aws::QApps
556
557
  # {
557
558
  # created_at: Time.parse("2024-05-21T23:17:27.350Z"),
558
559
  # created_by: "a841e300-40c1-7062-fa34-5b46dadbbaac",
560
+ # is_verified: false,
559
561
  # library_item_id: "cb9ecf72-8563-450d-9db9-994f98297316",
560
562
  # rating_count: 0,
561
563
  # status: "PUBLISHED",
@@ -581,6 +583,7 @@ module Aws::QApps
581
583
  # resp.updated_at #=> Time
582
584
  # resp.updated_by #=> String
583
585
  # resp.rating_count #=> Integer
586
+ # resp.is_verified #=> Boolean
584
587
  #
585
588
  # @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/CreateLibraryItem AWS API Documentation
586
589
  #
@@ -994,6 +997,7 @@ module Aws::QApps
994
997
  # * {Types::GetLibraryItemOutput#rating_count #rating_count} => Integer
995
998
  # * {Types::GetLibraryItemOutput#is_rated_by_user #is_rated_by_user} => Boolean
996
999
  # * {Types::GetLibraryItemOutput#user_count #user_count} => Integer
1000
+ # * {Types::GetLibraryItemOutput#is_verified #is_verified} => Boolean
997
1001
  #
998
1002
  #
999
1003
  # @example Example: Retrieve a library item
@@ -1024,6 +1028,7 @@ module Aws::QApps
1024
1028
  # created_at: Time.parse("2024-05-08T16:09:56.080Z"),
1025
1029
  # created_by: "a841e300-40c1-7062-fa34-5b46dadbbaac",
1026
1030
  # is_rated_by_user: false,
1031
+ # is_verified: false,
1027
1032
  # library_item_id: "18cbebaa-196a-4aa5-a840-88d548e07f8f",
1028
1033
  # rating_count: 0,
1029
1034
  # status: "PUBLISHED",
@@ -1056,6 +1061,7 @@ module Aws::QApps
1056
1061
  # resp.rating_count #=> Integer
1057
1062
  # resp.is_rated_by_user #=> Boolean
1058
1063
  # resp.user_count #=> Integer
1064
+ # resp.is_verified #=> Boolean
1059
1065
  #
1060
1066
  # @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/GetLibraryItem AWS API Documentation
1061
1067
  #
@@ -1462,6 +1468,7 @@ module Aws::QApps
1462
1468
  # created_at: Time.parse("2024-05-21T23:17:27.350Z"),
1463
1469
  # created_by: "a841e300-40c1-7062-fa34-5b46dadbbaac",
1464
1470
  # is_rated_by_user: true,
1471
+ # is_verified: false,
1465
1472
  # library_item_id: "cb9ecf72-8563-450d-9db9-994f98297316",
1466
1473
  # rating_count: 3,
1467
1474
  # status: "PUBLISHED",
@@ -1481,6 +1488,7 @@ module Aws::QApps
1481
1488
  # created_at: Time.parse("2024-05-08T16:09:56.080Z"),
1482
1489
  # created_by: "a841e300-40c1-7062-fa34-5b46dadbbaac",
1483
1490
  # is_rated_by_user: false,
1491
+ # is_verified: false,
1484
1492
  # library_item_id: "18cbebaa-196a-4aa5-a840-88d548e07f8f",
1485
1493
  # rating_count: 5,
1486
1494
  # status: "PUBLISHED",
@@ -1500,6 +1508,7 @@ module Aws::QApps
1500
1508
  # created_at: Time.parse("2024-05-07T22:57:59.327Z"),
1501
1509
  # created_by: "a841e300-40c1-7062-fa34-5b46dadbbaac",
1502
1510
  # is_rated_by_user: false,
1511
+ # is_verified: false,
1503
1512
  # library_item_id: "549abfe0-f5c4-45a2-bb9b-c05987a49c6d",
1504
1513
  # rating_count: 8,
1505
1514
  # status: "PUBLISHED",
@@ -1537,6 +1546,7 @@ module Aws::QApps
1537
1546
  # resp.library_items[0].rating_count #=> Integer
1538
1547
  # resp.library_items[0].is_rated_by_user #=> Boolean
1539
1548
  # resp.library_items[0].user_count #=> Integer
1549
+ # resp.library_items[0].is_verified #=> Boolean
1540
1550
  # resp.next_token #=> String
1541
1551
  #
1542
1552
  # @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/ListLibraryItems AWS API Documentation
@@ -1586,6 +1596,7 @@ module Aws::QApps
1586
1596
  # app_id: "7b9fe303-18bb-4643-952c-bfcf9f4c427f",
1587
1597
  # created_at: Time.parse("2024-05-21T04:09:10.401Z"),
1588
1598
  # description: "Description 1",
1599
+ # is_verified: false,
1589
1600
  # status: "DRAFT",
1590
1601
  # title: "App 1",
1591
1602
  # },
@@ -1594,6 +1605,7 @@ module Aws::QApps
1594
1605
  # app_id: "dd178fd6-ad3d-49b3-a32d-e915cf423e37",
1595
1606
  # created_at: Time.parse("2024-05-21T04:09:10.401Z"),
1596
1607
  # description: "Description 2",
1608
+ # is_verified: true,
1597
1609
  # status: "PUBLISHED",
1598
1610
  # title: "App 2",
1599
1611
  # },
@@ -1602,6 +1614,7 @@ module Aws::QApps
1602
1614
  # app_id: "3274b744-1a13-4aad-953f-eda2e4149e6e",
1603
1615
  # created_at: Time.parse("2024-05-21T04:09:10.401Z"),
1604
1616
  # description: "Description 3",
1617
+ # is_verified: false,
1605
1618
  # status: "DRAFT",
1606
1619
  # title: "App 3",
1607
1620
  # },
@@ -1625,6 +1638,7 @@ module Aws::QApps
1625
1638
  # app_id: "bec8ee64-2635-41e8-aace-e1e418f4f295",
1626
1639
  # created_at: Time.parse("2024-05-21T04:09:10.401Z"),
1627
1640
  # description: "Description 4",
1641
+ # is_verified: true,
1628
1642
  # status: "PUBLISHED",
1629
1643
  # title: "App 4",
1630
1644
  # },
@@ -1633,6 +1647,7 @@ module Aws::QApps
1633
1647
  # app_id: "c380a45d-bd77-45b0-a0e5-8a266c1d8bc4",
1634
1648
  # created_at: Time.parse("2024-05-21T04:09:10.401Z"),
1635
1649
  # description: "Description 5",
1650
+ # is_verified: false,
1636
1651
  # status: "PUBLISHED",
1637
1652
  # title: "App 5",
1638
1653
  # },
@@ -1641,6 +1656,7 @@ module Aws::QApps
1641
1656
  # app_id: "afc4ee80-9722-4396-85a6-7aeaff52c177",
1642
1657
  # created_at: Time.parse("2024-05-21T04:09:10.401Z"),
1643
1658
  # description: "Description 6",
1659
+ # is_verified: false,
1644
1660
  # status: "PUBLISHED",
1645
1661
  # title: "App 6",
1646
1662
  # },
@@ -1666,6 +1682,7 @@ module Aws::QApps
1666
1682
  # resp.apps[0].created_at #=> Time
1667
1683
  # resp.apps[0].can_edit #=> Boolean
1668
1684
  # resp.apps[0].status #=> String
1685
+ # resp.apps[0].is_verified #=> Boolean
1669
1686
  # resp.next_token #=> String
1670
1687
  #
1671
1688
  # @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/ListQApps AWS API Documentation
@@ -2024,7 +2041,7 @@ module Aws::QApps
2024
2041
  req.send_request(options)
2025
2042
  end
2026
2043
 
2027
- # Updates the metadata and status of a library item for an Amazon Q App.
2044
+ # Updates the library item for an Amazon Q App.
2028
2045
  #
2029
2046
  # @option params [required, String] :instance_id
2030
2047
  # The unique identifier of the Amazon Q Business application environment
@@ -2054,6 +2071,7 @@ module Aws::QApps
2054
2071
  # * {Types::UpdateLibraryItemOutput#rating_count #rating_count} => Integer
2055
2072
  # * {Types::UpdateLibraryItemOutput#is_rated_by_user #is_rated_by_user} => Boolean
2056
2073
  # * {Types::UpdateLibraryItemOutput#user_count #user_count} => Integer
2074
+ # * {Types::UpdateLibraryItemOutput#is_verified #is_verified} => Boolean
2057
2075
  #
2058
2076
  #
2059
2077
  # @example Example: Sets the status of a library item to DISABLED
@@ -2084,6 +2102,7 @@ module Aws::QApps
2084
2102
  # ],
2085
2103
  # created_at: Time.parse("2024-05-21T23:17:27.350Z"),
2086
2104
  # created_by: "a841e300-40c1-7062-fa34-5b46dadbbaac",
2105
+ # is_verified: false,
2087
2106
  # library_item_id: "cb9ecf72-8563-450d-9db9-994f98297316",
2088
2107
  # rating_count: 24,
2089
2108
  # status: "DISABLED",
@@ -2116,6 +2135,7 @@ module Aws::QApps
2116
2135
  # resp.rating_count #=> Integer
2117
2136
  # resp.is_rated_by_user #=> Boolean
2118
2137
  # resp.user_count #=> Integer
2138
+ # resp.is_verified #=> Boolean
2119
2139
  #
2120
2140
  # @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/UpdateLibraryItem AWS API Documentation
2121
2141
  #
@@ -2126,6 +2146,46 @@ module Aws::QApps
2126
2146
  req.send_request(options)
2127
2147
  end
2128
2148
 
2149
+ # Updates the verification status of a library item for an Amazon Q App.
2150
+ #
2151
+ # @option params [required, String] :instance_id
2152
+ # The unique identifier of the Amazon Q Business application environment
2153
+ # instance.
2154
+ #
2155
+ # @option params [required, String] :library_item_id
2156
+ # The unique identifier of the updated library item.
2157
+ #
2158
+ # @option params [Boolean] :is_verified
2159
+ # The verification status of the library item
2160
+ #
2161
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2162
+ #
2163
+ #
2164
+ # @example Example: Update a library item to be verified
2165
+ #
2166
+ # resp = client.update_library_item_metadata({
2167
+ # instance_id: "0b95c9c4-89cc-4aa8-9aae-aa91cbec699f",
2168
+ # is_verified: true,
2169
+ # library_item_id: "cb9ecf72-8563-450d-9db9-994f98297316",
2170
+ # })
2171
+ #
2172
+ # @example Request syntax with placeholder values
2173
+ #
2174
+ # resp = client.update_library_item_metadata({
2175
+ # instance_id: "InstanceId", # required
2176
+ # library_item_id: "UUID", # required
2177
+ # is_verified: false,
2178
+ # })
2179
+ #
2180
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/UpdateLibraryItemMetadata AWS API Documentation
2181
+ #
2182
+ # @overload update_library_item_metadata(params = {})
2183
+ # @param [Hash] params ({})
2184
+ def update_library_item_metadata(params = {}, options = {})
2185
+ req = build_request(:update_library_item_metadata, params)
2186
+ req.send_request(options)
2187
+ end
2188
+
2129
2189
  # Updates an existing Amazon Q App, allowing modifications to its title,
2130
2190
  # description, and definition.
2131
2191
  #
@@ -2435,7 +2495,7 @@ module Aws::QApps
2435
2495
  tracer: tracer
2436
2496
  )
2437
2497
  context[:gem_name] = 'aws-sdk-qapps'
2438
- context[:gem_version] = '1.1.0'
2498
+ context[:gem_version] = '1.2.0'
2439
2499
  Seahorse::Client::Request.new(handlers, context)
2440
2500
  end
2441
2501
 
@@ -130,6 +130,7 @@ module Aws::QApps
130
130
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
131
131
  UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
132
132
  UpdateLibraryItemInput = Shapes::StructureShape.new(name: 'UpdateLibraryItemInput')
133
+ UpdateLibraryItemMetadataInput = Shapes::StructureShape.new(name: 'UpdateLibraryItemMetadataInput')
133
134
  UpdateLibraryItemOutput = Shapes::StructureShape.new(name: 'UpdateLibraryItemOutput')
134
135
  UpdateQAppInput = Shapes::StructureShape.new(name: 'UpdateQAppInput')
135
136
  UpdateQAppOutput = Shapes::StructureShape.new(name: 'UpdateQAppOutput')
@@ -251,6 +252,7 @@ module Aws::QApps
251
252
  CreateLibraryItemOutput.add_member(:updated_at, Shapes::ShapeRef.new(shape: QAppsTimestamp, location_name: "updatedAt"))
252
253
  CreateLibraryItemOutput.add_member(:updated_by, Shapes::ShapeRef.new(shape: String, location_name: "updatedBy"))
253
254
  CreateLibraryItemOutput.add_member(:rating_count, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "ratingCount"))
255
+ CreateLibraryItemOutput.add_member(:is_verified, Shapes::ShapeRef.new(shape: Boolean, location_name: "isVerified"))
254
256
  CreateLibraryItemOutput.struct_class = Types::CreateLibraryItemOutput
255
257
 
256
258
  CreateQAppInput.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "header", location_name: "instance-id"))
@@ -344,6 +346,7 @@ module Aws::QApps
344
346
  GetLibraryItemOutput.add_member(:rating_count, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "ratingCount"))
345
347
  GetLibraryItemOutput.add_member(:is_rated_by_user, Shapes::ShapeRef.new(shape: Boolean, location_name: "isRatedByUser"))
346
348
  GetLibraryItemOutput.add_member(:user_count, Shapes::ShapeRef.new(shape: Integer, location_name: "userCount"))
349
+ GetLibraryItemOutput.add_member(:is_verified, Shapes::ShapeRef.new(shape: Boolean, location_name: "isVerified"))
347
350
  GetLibraryItemOutput.struct_class = Types::GetLibraryItemOutput
348
351
 
349
352
  GetQAppInput.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "header", location_name: "instance-id"))
@@ -405,6 +408,7 @@ module Aws::QApps
405
408
  LibraryItemMember.add_member(:rating_count, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "ratingCount"))
406
409
  LibraryItemMember.add_member(:is_rated_by_user, Shapes::ShapeRef.new(shape: Boolean, location_name: "isRatedByUser"))
407
410
  LibraryItemMember.add_member(:user_count, Shapes::ShapeRef.new(shape: Integer, location_name: "userCount"))
411
+ LibraryItemMember.add_member(:is_verified, Shapes::ShapeRef.new(shape: Boolean, location_name: "isVerified"))
408
412
  LibraryItemMember.struct_class = Types::LibraryItemMember
409
413
 
410
414
  ListLibraryItemsInput.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "header", location_name: "instance-id"))
@@ -565,6 +569,11 @@ module Aws::QApps
565
569
  UpdateLibraryItemInput.add_member(:categories, Shapes::ShapeRef.new(shape: CategoryIdList, location_name: "categories"))
566
570
  UpdateLibraryItemInput.struct_class = Types::UpdateLibraryItemInput
567
571
 
572
+ UpdateLibraryItemMetadataInput.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "header", location_name: "instance-id"))
573
+ UpdateLibraryItemMetadataInput.add_member(:library_item_id, Shapes::ShapeRef.new(shape: UUID, required: true, location_name: "libraryItemId"))
574
+ UpdateLibraryItemMetadataInput.add_member(:is_verified, Shapes::ShapeRef.new(shape: Boolean, location_name: "isVerified"))
575
+ UpdateLibraryItemMetadataInput.struct_class = Types::UpdateLibraryItemMetadataInput
576
+
568
577
  UpdateLibraryItemOutput.add_member(:library_item_id, Shapes::ShapeRef.new(shape: UUID, required: true, location_name: "libraryItemId"))
569
578
  UpdateLibraryItemOutput.add_member(:app_id, Shapes::ShapeRef.new(shape: UUID, required: true, location_name: "appId"))
570
579
  UpdateLibraryItemOutput.add_member(:app_version, Shapes::ShapeRef.new(shape: AppVersion, required: true, location_name: "appVersion"))
@@ -577,6 +586,7 @@ module Aws::QApps
577
586
  UpdateLibraryItemOutput.add_member(:rating_count, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "ratingCount"))
578
587
  UpdateLibraryItemOutput.add_member(:is_rated_by_user, Shapes::ShapeRef.new(shape: Boolean, location_name: "isRatedByUser"))
579
588
  UpdateLibraryItemOutput.add_member(:user_count, Shapes::ShapeRef.new(shape: Integer, location_name: "userCount"))
589
+ UpdateLibraryItemOutput.add_member(:is_verified, Shapes::ShapeRef.new(shape: Boolean, location_name: "isVerified"))
580
590
  UpdateLibraryItemOutput.struct_class = Types::UpdateLibraryItemOutput
581
591
 
582
592
  UpdateQAppInput.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "header", location_name: "instance-id"))
@@ -616,6 +626,7 @@ module Aws::QApps
616
626
  UserAppItem.add_member(:created_at, Shapes::ShapeRef.new(shape: QAppsTimestamp, required: true, location_name: "createdAt"))
617
627
  UserAppItem.add_member(:can_edit, Shapes::ShapeRef.new(shape: Boolean, location_name: "canEdit"))
618
628
  UserAppItem.add_member(:status, Shapes::ShapeRef.new(shape: String, location_name: "status"))
629
+ UserAppItem.add_member(:is_verified, Shapes::ShapeRef.new(shape: Boolean, location_name: "isVerified"))
619
630
  UserAppItem.struct_class = Types::UserAppItem
620
631
 
621
632
  UserAppsList.member = Shapes::ShapeRef.new(shape: UserAppItem)
@@ -650,6 +661,7 @@ module Aws::QApps
650
661
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
651
662
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
652
663
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
664
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
653
665
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
654
666
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
655
667
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
@@ -740,6 +752,7 @@ module Aws::QApps
740
752
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
741
753
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
742
754
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
755
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
743
756
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
744
757
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
745
758
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
@@ -950,6 +963,22 @@ module Aws::QApps
950
963
  o.output = Shapes::ShapeRef.new(shape: UpdateLibraryItemOutput)
951
964
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
952
965
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
966
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
967
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
968
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
969
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
970
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
971
+ end)
972
+
973
+ api.add_operation(:update_library_item_metadata, Seahorse::Model::Operation.new.tap do |o|
974
+ o.name = "UpdateLibraryItemMetadata"
975
+ o.http_method = "POST"
976
+ o.http_request_uri = "/catalog.updateItemMetadata"
977
+ o.input = Shapes::ShapeRef.new(shape: UpdateLibraryItemMetadataInput)
978
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
979
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
980
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
981
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
953
982
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
954
983
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
955
984
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
@@ -306,6 +306,20 @@ module Aws::QApps
306
306
  end
307
307
  end
308
308
 
309
+ class UpdateLibraryItemMetadata
310
+ def self.build(context)
311
+ unless context.config.regional_endpoint
312
+ endpoint = context.config.endpoint.to_s
313
+ end
314
+ Aws::QApps::EndpointParameters.new(
315
+ region: context.config.region,
316
+ use_dual_stack: context.config.use_dualstack_endpoint,
317
+ use_fips: context.config.use_fips_endpoint,
318
+ endpoint: endpoint,
319
+ )
320
+ end
321
+ end
322
+
309
323
  class UpdateQApp
310
324
  def self.build(context)
311
325
  unless context.config.regional_endpoint
@@ -100,6 +100,8 @@ module Aws::QApps
100
100
  Aws::QApps::Endpoints::UntagResource.build(context)
101
101
  when :update_library_item
102
102
  Aws::QApps::Endpoints::UpdateLibraryItem.build(context)
103
+ when :update_library_item_metadata
104
+ Aws::QApps::Endpoints::UpdateLibraryItemMetadata.build(context)
103
105
  when :update_q_app
104
106
  Aws::QApps::Endpoints::UpdateQApp.build(context)
105
107
  when :update_q_app_session
@@ -472,6 +472,10 @@ module Aws::QApps
472
472
  # The number of ratings the library item has received from users.
473
473
  # @return [Integer]
474
474
  #
475
+ # @!attribute [rw] is_verified
476
+ # Indicates whether the library item has been verified.
477
+ # @return [Boolean]
478
+ #
475
479
  # @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/CreateLibraryItemOutput AWS API Documentation
476
480
  #
477
481
  class CreateLibraryItemOutput < Struct.new(
@@ -481,7 +485,8 @@ module Aws::QApps
481
485
  :created_by,
482
486
  :updated_at,
483
487
  :updated_by,
484
- :rating_count)
488
+ :rating_count,
489
+ :is_verified)
485
490
  SENSITIVE = []
486
491
  include Aws::Structure
487
492
  end
@@ -885,6 +890,10 @@ module Aws::QApps
885
890
  # account.
886
891
  # @return [Integer]
887
892
  #
893
+ # @!attribute [rw] is_verified
894
+ # Indicates whether the library item has been verified.
895
+ # @return [Boolean]
896
+ #
888
897
  # @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/GetLibraryItemOutput AWS API Documentation
889
898
  #
890
899
  class GetLibraryItemOutput < Struct.new(
@@ -899,7 +908,8 @@ module Aws::QApps
899
908
  :updated_by,
900
909
  :rating_count,
901
910
  :is_rated_by_user,
902
- :user_count)
911
+ :user_count,
912
+ :is_verified)
903
913
  SENSITIVE = []
904
914
  include Aws::Structure
905
915
  end
@@ -1168,6 +1178,10 @@ module Aws::QApps
1168
1178
  # The number of users who have the associated Q App.
1169
1179
  # @return [Integer]
1170
1180
  #
1181
+ # @!attribute [rw] is_verified
1182
+ # Indicates whether the library item has been verified.
1183
+ # @return [Boolean]
1184
+ #
1171
1185
  # @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/LibraryItemMember AWS API Documentation
1172
1186
  #
1173
1187
  class LibraryItemMember < Struct.new(
@@ -1182,7 +1196,8 @@ module Aws::QApps
1182
1196
  :updated_by,
1183
1197
  :rating_count,
1184
1198
  :is_rated_by_user,
1185
- :user_count)
1199
+ :user_count,
1200
+ :is_verified)
1186
1201
  SENSITIVE = []
1187
1202
  include Aws::Structure
1188
1203
  end
@@ -1865,6 +1880,29 @@ module Aws::QApps
1865
1880
  include Aws::Structure
1866
1881
  end
1867
1882
 
1883
+ # @!attribute [rw] instance_id
1884
+ # The unique identifier of the Amazon Q Business application
1885
+ # environment instance.
1886
+ # @return [String]
1887
+ #
1888
+ # @!attribute [rw] library_item_id
1889
+ # The unique identifier of the updated library item.
1890
+ # @return [String]
1891
+ #
1892
+ # @!attribute [rw] is_verified
1893
+ # The verification status of the library item
1894
+ # @return [Boolean]
1895
+ #
1896
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/UpdateLibraryItemMetadataInput AWS API Documentation
1897
+ #
1898
+ class UpdateLibraryItemMetadataInput < Struct.new(
1899
+ :instance_id,
1900
+ :library_item_id,
1901
+ :is_verified)
1902
+ SENSITIVE = []
1903
+ include Aws::Structure
1904
+ end
1905
+
1868
1906
  # @!attribute [rw] library_item_id
1869
1907
  # The unique identifier of the updated library item.
1870
1908
  # @return [String]
@@ -1913,6 +1951,10 @@ module Aws::QApps
1913
1951
  # The number of users who have the associated Q App.
1914
1952
  # @return [Integer]
1915
1953
  #
1954
+ # @!attribute [rw] is_verified
1955
+ # Indicates whether the library item has been verified.
1956
+ # @return [Boolean]
1957
+ #
1916
1958
  # @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/UpdateLibraryItemOutput AWS API Documentation
1917
1959
  #
1918
1960
  class UpdateLibraryItemOutput < Struct.new(
@@ -1927,7 +1969,8 @@ module Aws::QApps
1927
1969
  :updated_by,
1928
1970
  :rating_count,
1929
1971
  :is_rated_by_user,
1930
- :user_count)
1972
+ :user_count,
1973
+ :is_verified)
1931
1974
  SENSITIVE = []
1932
1975
  include Aws::Structure
1933
1976
  end
@@ -2105,6 +2148,10 @@ module Aws::QApps
2105
2148
  # The status of the user's association with the Q App.
2106
2149
  # @return [String]
2107
2150
  #
2151
+ # @!attribute [rw] is_verified
2152
+ # Indicates whether the Q App has been verified.
2153
+ # @return [Boolean]
2154
+ #
2108
2155
  # @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/UserAppItem AWS API Documentation
2109
2156
  #
2110
2157
  class UserAppItem < Struct.new(
@@ -2114,7 +2161,8 @@ module Aws::QApps
2114
2161
  :description,
2115
2162
  :created_at,
2116
2163
  :can_edit,
2117
- :status)
2164
+ :status,
2165
+ :is_verified)
2118
2166
  SENSITIVE = []
2119
2167
  include Aws::Structure
2120
2168
  end
data/lib/aws-sdk-qapps.rb CHANGED
@@ -53,6 +53,6 @@ require_relative 'aws-sdk-qapps/customizations'
53
53
  # @!group service
54
54
  module Aws::QApps
55
55
 
56
- GEM_VERSION = '1.1.0'
56
+ GEM_VERSION = '1.2.0'
57
57
 
58
58
  end
data/sig/client.rbs CHANGED
@@ -97,6 +97,7 @@ module Aws
97
97
  def updated_at: () -> ::Time
98
98
  def updated_by: () -> ::String
99
99
  def rating_count: () -> ::Integer
100
+ def is_verified: () -> bool
100
101
  end
101
102
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QApps/Client.html#create_library_item-instance_method
102
103
  def create_library_item: (
@@ -281,6 +282,7 @@ module Aws
281
282
  def rating_count: () -> ::Integer
282
283
  def is_rated_by_user: () -> bool
283
284
  def user_count: () -> ::Integer
285
+ def is_verified: () -> bool
284
286
  end
285
287
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QApps/Client.html#get_library_item-instance_method
286
288
  def get_library_item: (
@@ -461,6 +463,7 @@ module Aws
461
463
  def rating_count: () -> ::Integer
462
464
  def is_rated_by_user: () -> bool
463
465
  def user_count: () -> ::Integer
466
+ def is_verified: () -> bool
464
467
  end
465
468
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QApps/Client.html#update_library_item-instance_method
466
469
  def update_library_item: (
@@ -471,6 +474,14 @@ module Aws
471
474
  ) -> _UpdateLibraryItemResponseSuccess
472
475
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateLibraryItemResponseSuccess
473
476
 
477
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QApps/Client.html#update_library_item_metadata-instance_method
478
+ def update_library_item_metadata: (
479
+ instance_id: ::String,
480
+ library_item_id: ::String,
481
+ ?is_verified: bool
482
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
483
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
484
+
474
485
  interface _UpdateQAppResponseSuccess
475
486
  include ::Seahorse::Client::_ResponseSuccess[Types::UpdateQAppOutput]
476
487
  def app_id: () -> ::String
data/sig/types.rbs CHANGED
@@ -146,6 +146,7 @@ module Aws::QApps
146
146
  attr_accessor updated_at: ::Time
147
147
  attr_accessor updated_by: ::String
148
148
  attr_accessor rating_count: ::Integer
149
+ attr_accessor is_verified: bool
149
150
  SENSITIVE: []
150
151
  end
151
152
 
@@ -265,6 +266,7 @@ module Aws::QApps
265
266
  attr_accessor rating_count: ::Integer
266
267
  attr_accessor is_rated_by_user: bool
267
268
  attr_accessor user_count: ::Integer
269
+ attr_accessor is_verified: bool
268
270
  SENSITIVE: []
269
271
  end
270
272
 
@@ -340,6 +342,7 @@ module Aws::QApps
340
342
  attr_accessor rating_count: ::Integer
341
343
  attr_accessor is_rated_by_user: bool
342
344
  attr_accessor user_count: ::Integer
345
+ attr_accessor is_verified: bool
343
346
  SENSITIVE: []
344
347
  end
345
348
 
@@ -549,6 +552,13 @@ module Aws::QApps
549
552
  SENSITIVE: []
550
553
  end
551
554
 
555
+ class UpdateLibraryItemMetadataInput
556
+ attr_accessor instance_id: ::String
557
+ attr_accessor library_item_id: ::String
558
+ attr_accessor is_verified: bool
559
+ SENSITIVE: []
560
+ end
561
+
552
562
  class UpdateLibraryItemOutput
553
563
  attr_accessor library_item_id: ::String
554
564
  attr_accessor app_id: ::String
@@ -562,6 +572,7 @@ module Aws::QApps
562
572
  attr_accessor rating_count: ::Integer
563
573
  attr_accessor is_rated_by_user: bool
564
574
  attr_accessor user_count: ::Integer
575
+ attr_accessor is_verified: bool
565
576
  SENSITIVE: []
566
577
  end
567
578
 
@@ -611,6 +622,7 @@ module Aws::QApps
611
622
  attr_accessor created_at: ::Time
612
623
  attr_accessor can_edit: bool
613
624
  attr_accessor status: ::String
625
+ attr_accessor is_verified: bool
614
626
  SENSITIVE: []
615
627
  end
616
628
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-qapps
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.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: 2024-09-03 00:00:00.000000000 Z
11
+ date: 2024-09-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core