aws-sdk-qapps 1.1.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: 71b17bdc56e94a7ac39d737ba5436ab37ba389962815286e974d4fb0e56351d8
4
- data.tar.gz: 04dd0204cf7effdea55607de28a8e45fb38aed6adff88abe137a5b1d346261d1
3
+ metadata.gz: 7bc3baa4d03aaa6ae74045b79b95fe2e0019a2fe2210a21a6cb52c8ddcd307bf
4
+ data.tar.gz: 4365f1ad07ad750f02c2b7669d1ac6037fd767d5ae7c3aa002acba8f73ca8640
5
5
  SHA512:
6
- metadata.gz: 55fc947ce9f470d19a2e52f6b7340fa15a6949f126c4428745f35b19c68c11159ab7fcff796f9ad0c7e6f25a5d9e72fb2c46afffed8fbc34757b7fb2e926ae7a
7
- data.tar.gz: 84947ef18a23555d64c28fe506a3451a2c84afba58a37082bfab1d3e0b73adf9174b4dba117622312bae02b4c3accb07b48e44273210cbb758ec1f463518c0f3
6
+ metadata.gz: d80e207cc6b88f8adfd764c7f224d07cfac77e4cb1fe16d276f6c2a1693f1a9a99ba7fe6d6f0aa921b194d840b97be0c2b4fce69c11433e4916881e9eaa43ae3
7
+ data.tar.gz: e60a77a7a659ff8f79e86ca03486b9b5fd1412e243aa1ea8a9877227a05e181d06786ff7f1a977d02d0762646dd71b29d8fcc217df8973cbe3e1c38756ae21ec
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.3.0 (2024-09-10)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.2.0 (2024-09-06)
10
+ ------------------
11
+
12
+ * 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.
13
+
4
14
  1.1.0 (2024-09-03)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.0
1
+ 1.3.0
@@ -425,6 +425,12 @@ module Aws::QApps
425
425
  # @option options [String] :ssl_ca_store
426
426
  # Sets the X509::Store to verify peer certificate.
427
427
  #
428
+ # @option options [OpenSSL::X509::Certificate] :ssl_cert
429
+ # Sets a client certificate when creating http connections.
430
+ #
431
+ # @option options [OpenSSL::PKey] :ssl_key
432
+ # Sets a client key when creating http connections.
433
+ #
428
434
  # @option options [Float] :ssl_timeout
429
435
  # Sets the SSL timeout in seconds
430
436
  #
@@ -539,6 +545,7 @@ module Aws::QApps
539
545
  # * {Types::CreateLibraryItemOutput#updated_at #updated_at} => Time
540
546
  # * {Types::CreateLibraryItemOutput#updated_by #updated_by} => String
541
547
  # * {Types::CreateLibraryItemOutput#rating_count #rating_count} => Integer
548
+ # * {Types::CreateLibraryItemOutput#is_verified #is_verified} => Boolean
542
549
  #
543
550
  #
544
551
  # @example Example: Create a Library Item
@@ -556,6 +563,7 @@ module Aws::QApps
556
563
  # {
557
564
  # created_at: Time.parse("2024-05-21T23:17:27.350Z"),
558
565
  # created_by: "a841e300-40c1-7062-fa34-5b46dadbbaac",
566
+ # is_verified: false,
559
567
  # library_item_id: "cb9ecf72-8563-450d-9db9-994f98297316",
560
568
  # rating_count: 0,
561
569
  # status: "PUBLISHED",
@@ -581,6 +589,7 @@ module Aws::QApps
581
589
  # resp.updated_at #=> Time
582
590
  # resp.updated_by #=> String
583
591
  # resp.rating_count #=> Integer
592
+ # resp.is_verified #=> Boolean
584
593
  #
585
594
  # @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/CreateLibraryItem AWS API Documentation
586
595
  #
@@ -994,6 +1003,7 @@ module Aws::QApps
994
1003
  # * {Types::GetLibraryItemOutput#rating_count #rating_count} => Integer
995
1004
  # * {Types::GetLibraryItemOutput#is_rated_by_user #is_rated_by_user} => Boolean
996
1005
  # * {Types::GetLibraryItemOutput#user_count #user_count} => Integer
1006
+ # * {Types::GetLibraryItemOutput#is_verified #is_verified} => Boolean
997
1007
  #
998
1008
  #
999
1009
  # @example Example: Retrieve a library item
@@ -1024,6 +1034,7 @@ module Aws::QApps
1024
1034
  # created_at: Time.parse("2024-05-08T16:09:56.080Z"),
1025
1035
  # created_by: "a841e300-40c1-7062-fa34-5b46dadbbaac",
1026
1036
  # is_rated_by_user: false,
1037
+ # is_verified: false,
1027
1038
  # library_item_id: "18cbebaa-196a-4aa5-a840-88d548e07f8f",
1028
1039
  # rating_count: 0,
1029
1040
  # status: "PUBLISHED",
@@ -1056,6 +1067,7 @@ module Aws::QApps
1056
1067
  # resp.rating_count #=> Integer
1057
1068
  # resp.is_rated_by_user #=> Boolean
1058
1069
  # resp.user_count #=> Integer
1070
+ # resp.is_verified #=> Boolean
1059
1071
  #
1060
1072
  # @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/GetLibraryItem AWS API Documentation
1061
1073
  #
@@ -1462,6 +1474,7 @@ module Aws::QApps
1462
1474
  # created_at: Time.parse("2024-05-21T23:17:27.350Z"),
1463
1475
  # created_by: "a841e300-40c1-7062-fa34-5b46dadbbaac",
1464
1476
  # is_rated_by_user: true,
1477
+ # is_verified: false,
1465
1478
  # library_item_id: "cb9ecf72-8563-450d-9db9-994f98297316",
1466
1479
  # rating_count: 3,
1467
1480
  # status: "PUBLISHED",
@@ -1481,6 +1494,7 @@ module Aws::QApps
1481
1494
  # created_at: Time.parse("2024-05-08T16:09:56.080Z"),
1482
1495
  # created_by: "a841e300-40c1-7062-fa34-5b46dadbbaac",
1483
1496
  # is_rated_by_user: false,
1497
+ # is_verified: false,
1484
1498
  # library_item_id: "18cbebaa-196a-4aa5-a840-88d548e07f8f",
1485
1499
  # rating_count: 5,
1486
1500
  # status: "PUBLISHED",
@@ -1500,6 +1514,7 @@ module Aws::QApps
1500
1514
  # created_at: Time.parse("2024-05-07T22:57:59.327Z"),
1501
1515
  # created_by: "a841e300-40c1-7062-fa34-5b46dadbbaac",
1502
1516
  # is_rated_by_user: false,
1517
+ # is_verified: false,
1503
1518
  # library_item_id: "549abfe0-f5c4-45a2-bb9b-c05987a49c6d",
1504
1519
  # rating_count: 8,
1505
1520
  # status: "PUBLISHED",
@@ -1537,6 +1552,7 @@ module Aws::QApps
1537
1552
  # resp.library_items[0].rating_count #=> Integer
1538
1553
  # resp.library_items[0].is_rated_by_user #=> Boolean
1539
1554
  # resp.library_items[0].user_count #=> Integer
1555
+ # resp.library_items[0].is_verified #=> Boolean
1540
1556
  # resp.next_token #=> String
1541
1557
  #
1542
1558
  # @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/ListLibraryItems AWS API Documentation
@@ -1586,6 +1602,7 @@ module Aws::QApps
1586
1602
  # app_id: "7b9fe303-18bb-4643-952c-bfcf9f4c427f",
1587
1603
  # created_at: Time.parse("2024-05-21T04:09:10.401Z"),
1588
1604
  # description: "Description 1",
1605
+ # is_verified: false,
1589
1606
  # status: "DRAFT",
1590
1607
  # title: "App 1",
1591
1608
  # },
@@ -1594,6 +1611,7 @@ module Aws::QApps
1594
1611
  # app_id: "dd178fd6-ad3d-49b3-a32d-e915cf423e37",
1595
1612
  # created_at: Time.parse("2024-05-21T04:09:10.401Z"),
1596
1613
  # description: "Description 2",
1614
+ # is_verified: true,
1597
1615
  # status: "PUBLISHED",
1598
1616
  # title: "App 2",
1599
1617
  # },
@@ -1602,6 +1620,7 @@ module Aws::QApps
1602
1620
  # app_id: "3274b744-1a13-4aad-953f-eda2e4149e6e",
1603
1621
  # created_at: Time.parse("2024-05-21T04:09:10.401Z"),
1604
1622
  # description: "Description 3",
1623
+ # is_verified: false,
1605
1624
  # status: "DRAFT",
1606
1625
  # title: "App 3",
1607
1626
  # },
@@ -1625,6 +1644,7 @@ module Aws::QApps
1625
1644
  # app_id: "bec8ee64-2635-41e8-aace-e1e418f4f295",
1626
1645
  # created_at: Time.parse("2024-05-21T04:09:10.401Z"),
1627
1646
  # description: "Description 4",
1647
+ # is_verified: true,
1628
1648
  # status: "PUBLISHED",
1629
1649
  # title: "App 4",
1630
1650
  # },
@@ -1633,6 +1653,7 @@ module Aws::QApps
1633
1653
  # app_id: "c380a45d-bd77-45b0-a0e5-8a266c1d8bc4",
1634
1654
  # created_at: Time.parse("2024-05-21T04:09:10.401Z"),
1635
1655
  # description: "Description 5",
1656
+ # is_verified: false,
1636
1657
  # status: "PUBLISHED",
1637
1658
  # title: "App 5",
1638
1659
  # },
@@ -1641,6 +1662,7 @@ module Aws::QApps
1641
1662
  # app_id: "afc4ee80-9722-4396-85a6-7aeaff52c177",
1642
1663
  # created_at: Time.parse("2024-05-21T04:09:10.401Z"),
1643
1664
  # description: "Description 6",
1665
+ # is_verified: false,
1644
1666
  # status: "PUBLISHED",
1645
1667
  # title: "App 6",
1646
1668
  # },
@@ -1666,6 +1688,7 @@ module Aws::QApps
1666
1688
  # resp.apps[0].created_at #=> Time
1667
1689
  # resp.apps[0].can_edit #=> Boolean
1668
1690
  # resp.apps[0].status #=> String
1691
+ # resp.apps[0].is_verified #=> Boolean
1669
1692
  # resp.next_token #=> String
1670
1693
  #
1671
1694
  # @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/ListQApps AWS API Documentation
@@ -2024,7 +2047,7 @@ module Aws::QApps
2024
2047
  req.send_request(options)
2025
2048
  end
2026
2049
 
2027
- # Updates the metadata and status of a library item for an Amazon Q App.
2050
+ # Updates the library item for an Amazon Q App.
2028
2051
  #
2029
2052
  # @option params [required, String] :instance_id
2030
2053
  # The unique identifier of the Amazon Q Business application environment
@@ -2054,6 +2077,7 @@ module Aws::QApps
2054
2077
  # * {Types::UpdateLibraryItemOutput#rating_count #rating_count} => Integer
2055
2078
  # * {Types::UpdateLibraryItemOutput#is_rated_by_user #is_rated_by_user} => Boolean
2056
2079
  # * {Types::UpdateLibraryItemOutput#user_count #user_count} => Integer
2080
+ # * {Types::UpdateLibraryItemOutput#is_verified #is_verified} => Boolean
2057
2081
  #
2058
2082
  #
2059
2083
  # @example Example: Sets the status of a library item to DISABLED
@@ -2084,6 +2108,7 @@ module Aws::QApps
2084
2108
  # ],
2085
2109
  # created_at: Time.parse("2024-05-21T23:17:27.350Z"),
2086
2110
  # created_by: "a841e300-40c1-7062-fa34-5b46dadbbaac",
2111
+ # is_verified: false,
2087
2112
  # library_item_id: "cb9ecf72-8563-450d-9db9-994f98297316",
2088
2113
  # rating_count: 24,
2089
2114
  # status: "DISABLED",
@@ -2116,6 +2141,7 @@ module Aws::QApps
2116
2141
  # resp.rating_count #=> Integer
2117
2142
  # resp.is_rated_by_user #=> Boolean
2118
2143
  # resp.user_count #=> Integer
2144
+ # resp.is_verified #=> Boolean
2119
2145
  #
2120
2146
  # @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/UpdateLibraryItem AWS API Documentation
2121
2147
  #
@@ -2126,6 +2152,46 @@ module Aws::QApps
2126
2152
  req.send_request(options)
2127
2153
  end
2128
2154
 
2155
+ # Updates the verification status of a library item for an Amazon Q App.
2156
+ #
2157
+ # @option params [required, String] :instance_id
2158
+ # The unique identifier of the Amazon Q Business application environment
2159
+ # instance.
2160
+ #
2161
+ # @option params [required, String] :library_item_id
2162
+ # The unique identifier of the updated library item.
2163
+ #
2164
+ # @option params [Boolean] :is_verified
2165
+ # The verification status of the library item
2166
+ #
2167
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2168
+ #
2169
+ #
2170
+ # @example Example: Update a library item to be verified
2171
+ #
2172
+ # resp = client.update_library_item_metadata({
2173
+ # instance_id: "0b95c9c4-89cc-4aa8-9aae-aa91cbec699f",
2174
+ # is_verified: true,
2175
+ # library_item_id: "cb9ecf72-8563-450d-9db9-994f98297316",
2176
+ # })
2177
+ #
2178
+ # @example Request syntax with placeholder values
2179
+ #
2180
+ # resp = client.update_library_item_metadata({
2181
+ # instance_id: "InstanceId", # required
2182
+ # library_item_id: "UUID", # required
2183
+ # is_verified: false,
2184
+ # })
2185
+ #
2186
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/UpdateLibraryItemMetadata AWS API Documentation
2187
+ #
2188
+ # @overload update_library_item_metadata(params = {})
2189
+ # @param [Hash] params ({})
2190
+ def update_library_item_metadata(params = {}, options = {})
2191
+ req = build_request(:update_library_item_metadata, params)
2192
+ req.send_request(options)
2193
+ end
2194
+
2129
2195
  # Updates an existing Amazon Q App, allowing modifications to its title,
2130
2196
  # description, and definition.
2131
2197
  #
@@ -2435,7 +2501,7 @@ module Aws::QApps
2435
2501
  tracer: tracer
2436
2502
  )
2437
2503
  context[:gem_name] = 'aws-sdk-qapps'
2438
- context[:gem_version] = '1.1.0'
2504
+ context[:gem_version] = '1.3.0'
2439
2505
  Seahorse::Client::Request.new(handlers, context)
2440
2506
  end
2441
2507
 
@@ -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.3.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.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: 2024-09-03 00:00:00.000000000 Z
11
+ date: 2024-09-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core