aws-sdk-qapps 1.0.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-qapps/client.rb +80 -3
- data/lib/aws-sdk-qapps/client_api.rb +29 -0
- data/lib/aws-sdk-qapps/endpoints.rb +14 -0
- data/lib/aws-sdk-qapps/plugins/endpoints.rb +2 -0
- data/lib/aws-sdk-qapps/types.rb +53 -5
- data/lib/aws-sdk-qapps.rb +1 -1
- data/sig/client.rbs +12 -0
- data/sig/resource.rbs +1 -0
- data/sig/types.rbs +12 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 750352cdc6743431efb9f0df4183686a5a8fd05b70a173ced6d1cc94e61b5cf9
|
4
|
+
data.tar.gz: 7aeaf2d937a08562dffbd15f2739f943ca0ea93a5998b33e8fd4d1872edecb58
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d9470a25084d3738cd1373f89886ff4829bddd86f901243210b4b4f382cdc5ba60a27ad60e9ec51fdd75a6f98404e2be72c6f90e6a8f198ab5ef6bbb73a81adb
|
7
|
+
data.tar.gz: 73bb8d58683159ef1ecc7ef59732eef5b67ab3555ed3494da613b9d6fd3ff5dfdb7aeb2a61bf65eb6376a4d4b87b8043b5cf2e1f8c7fed07e725026d96ae734a
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
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
|
+
|
9
|
+
1.1.0 (2024-09-03)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.0.0 (2024-07-08)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.2.0
|
data/lib/aws-sdk-qapps/client.rb
CHANGED
@@ -32,6 +32,7 @@ require 'aws-sdk-core/plugins/checksum_algorithm.rb'
|
|
32
32
|
require 'aws-sdk-core/plugins/request_compression.rb'
|
33
33
|
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
34
34
|
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
35
|
+
require 'aws-sdk-core/plugins/telemetry.rb'
|
35
36
|
require 'aws-sdk-core/plugins/sign.rb'
|
36
37
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
37
38
|
|
@@ -83,6 +84,7 @@ module Aws::QApps
|
|
83
84
|
add_plugin(Aws::Plugins::RequestCompression)
|
84
85
|
add_plugin(Aws::Plugins::DefaultsMode)
|
85
86
|
add_plugin(Aws::Plugins::RecursionDetection)
|
87
|
+
add_plugin(Aws::Plugins::Telemetry)
|
86
88
|
add_plugin(Aws::Plugins::Sign)
|
87
89
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
88
90
|
add_plugin(Aws::QApps::Plugins::Endpoints)
|
@@ -330,6 +332,16 @@ module Aws::QApps
|
|
330
332
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
331
333
|
# requests are made, and retries are disabled.
|
332
334
|
#
|
335
|
+
# @option options [Aws::Telemetry::TelemetryProviderBase] :telemetry_provider (Aws::Telemetry::NoOpTelemetryProvider)
|
336
|
+
# Allows you to provide a telemetry provider, which is used to
|
337
|
+
# emit telemetry data. By default, uses `NoOpTelemetryProvider` which
|
338
|
+
# will not record or emit any telemetry data. The SDK supports the
|
339
|
+
# following telemetry providers:
|
340
|
+
#
|
341
|
+
# * OpenTelemetry (OTel) - To use the OTel provider, install and require the
|
342
|
+
# `opentelemetry-sdk` gem and then, pass in an instance of a
|
343
|
+
# `Aws::Telemetry::OTelProvider` for telemetry provider.
|
344
|
+
#
|
333
345
|
# @option options [Aws::TokenProvider] :token_provider
|
334
346
|
# A Bearer Token Provider. This can be an instance of any one of the
|
335
347
|
# following classes:
|
@@ -527,6 +539,7 @@ module Aws::QApps
|
|
527
539
|
# * {Types::CreateLibraryItemOutput#updated_at #updated_at} => Time
|
528
540
|
# * {Types::CreateLibraryItemOutput#updated_by #updated_by} => String
|
529
541
|
# * {Types::CreateLibraryItemOutput#rating_count #rating_count} => Integer
|
542
|
+
# * {Types::CreateLibraryItemOutput#is_verified #is_verified} => Boolean
|
530
543
|
#
|
531
544
|
#
|
532
545
|
# @example Example: Create a Library Item
|
@@ -544,6 +557,7 @@ module Aws::QApps
|
|
544
557
|
# {
|
545
558
|
# created_at: Time.parse("2024-05-21T23:17:27.350Z"),
|
546
559
|
# created_by: "a841e300-40c1-7062-fa34-5b46dadbbaac",
|
560
|
+
# is_verified: false,
|
547
561
|
# library_item_id: "cb9ecf72-8563-450d-9db9-994f98297316",
|
548
562
|
# rating_count: 0,
|
549
563
|
# status: "PUBLISHED",
|
@@ -569,6 +583,7 @@ module Aws::QApps
|
|
569
583
|
# resp.updated_at #=> Time
|
570
584
|
# resp.updated_by #=> String
|
571
585
|
# resp.rating_count #=> Integer
|
586
|
+
# resp.is_verified #=> Boolean
|
572
587
|
#
|
573
588
|
# @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/CreateLibraryItem AWS API Documentation
|
574
589
|
#
|
@@ -982,6 +997,7 @@ module Aws::QApps
|
|
982
997
|
# * {Types::GetLibraryItemOutput#rating_count #rating_count} => Integer
|
983
998
|
# * {Types::GetLibraryItemOutput#is_rated_by_user #is_rated_by_user} => Boolean
|
984
999
|
# * {Types::GetLibraryItemOutput#user_count #user_count} => Integer
|
1000
|
+
# * {Types::GetLibraryItemOutput#is_verified #is_verified} => Boolean
|
985
1001
|
#
|
986
1002
|
#
|
987
1003
|
# @example Example: Retrieve a library item
|
@@ -1012,6 +1028,7 @@ module Aws::QApps
|
|
1012
1028
|
# created_at: Time.parse("2024-05-08T16:09:56.080Z"),
|
1013
1029
|
# created_by: "a841e300-40c1-7062-fa34-5b46dadbbaac",
|
1014
1030
|
# is_rated_by_user: false,
|
1031
|
+
# is_verified: false,
|
1015
1032
|
# library_item_id: "18cbebaa-196a-4aa5-a840-88d548e07f8f",
|
1016
1033
|
# rating_count: 0,
|
1017
1034
|
# status: "PUBLISHED",
|
@@ -1044,6 +1061,7 @@ module Aws::QApps
|
|
1044
1061
|
# resp.rating_count #=> Integer
|
1045
1062
|
# resp.is_rated_by_user #=> Boolean
|
1046
1063
|
# resp.user_count #=> Integer
|
1064
|
+
# resp.is_verified #=> Boolean
|
1047
1065
|
#
|
1048
1066
|
# @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/GetLibraryItem AWS API Documentation
|
1049
1067
|
#
|
@@ -1450,6 +1468,7 @@ module Aws::QApps
|
|
1450
1468
|
# created_at: Time.parse("2024-05-21T23:17:27.350Z"),
|
1451
1469
|
# created_by: "a841e300-40c1-7062-fa34-5b46dadbbaac",
|
1452
1470
|
# is_rated_by_user: true,
|
1471
|
+
# is_verified: false,
|
1453
1472
|
# library_item_id: "cb9ecf72-8563-450d-9db9-994f98297316",
|
1454
1473
|
# rating_count: 3,
|
1455
1474
|
# status: "PUBLISHED",
|
@@ -1469,6 +1488,7 @@ module Aws::QApps
|
|
1469
1488
|
# created_at: Time.parse("2024-05-08T16:09:56.080Z"),
|
1470
1489
|
# created_by: "a841e300-40c1-7062-fa34-5b46dadbbaac",
|
1471
1490
|
# is_rated_by_user: false,
|
1491
|
+
# is_verified: false,
|
1472
1492
|
# library_item_id: "18cbebaa-196a-4aa5-a840-88d548e07f8f",
|
1473
1493
|
# rating_count: 5,
|
1474
1494
|
# status: "PUBLISHED",
|
@@ -1488,6 +1508,7 @@ module Aws::QApps
|
|
1488
1508
|
# created_at: Time.parse("2024-05-07T22:57:59.327Z"),
|
1489
1509
|
# created_by: "a841e300-40c1-7062-fa34-5b46dadbbaac",
|
1490
1510
|
# is_rated_by_user: false,
|
1511
|
+
# is_verified: false,
|
1491
1512
|
# library_item_id: "549abfe0-f5c4-45a2-bb9b-c05987a49c6d",
|
1492
1513
|
# rating_count: 8,
|
1493
1514
|
# status: "PUBLISHED",
|
@@ -1525,6 +1546,7 @@ module Aws::QApps
|
|
1525
1546
|
# resp.library_items[0].rating_count #=> Integer
|
1526
1547
|
# resp.library_items[0].is_rated_by_user #=> Boolean
|
1527
1548
|
# resp.library_items[0].user_count #=> Integer
|
1549
|
+
# resp.library_items[0].is_verified #=> Boolean
|
1528
1550
|
# resp.next_token #=> String
|
1529
1551
|
#
|
1530
1552
|
# @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/ListLibraryItems AWS API Documentation
|
@@ -1574,6 +1596,7 @@ module Aws::QApps
|
|
1574
1596
|
# app_id: "7b9fe303-18bb-4643-952c-bfcf9f4c427f",
|
1575
1597
|
# created_at: Time.parse("2024-05-21T04:09:10.401Z"),
|
1576
1598
|
# description: "Description 1",
|
1599
|
+
# is_verified: false,
|
1577
1600
|
# status: "DRAFT",
|
1578
1601
|
# title: "App 1",
|
1579
1602
|
# },
|
@@ -1582,6 +1605,7 @@ module Aws::QApps
|
|
1582
1605
|
# app_id: "dd178fd6-ad3d-49b3-a32d-e915cf423e37",
|
1583
1606
|
# created_at: Time.parse("2024-05-21T04:09:10.401Z"),
|
1584
1607
|
# description: "Description 2",
|
1608
|
+
# is_verified: true,
|
1585
1609
|
# status: "PUBLISHED",
|
1586
1610
|
# title: "App 2",
|
1587
1611
|
# },
|
@@ -1590,6 +1614,7 @@ module Aws::QApps
|
|
1590
1614
|
# app_id: "3274b744-1a13-4aad-953f-eda2e4149e6e",
|
1591
1615
|
# created_at: Time.parse("2024-05-21T04:09:10.401Z"),
|
1592
1616
|
# description: "Description 3",
|
1617
|
+
# is_verified: false,
|
1593
1618
|
# status: "DRAFT",
|
1594
1619
|
# title: "App 3",
|
1595
1620
|
# },
|
@@ -1613,6 +1638,7 @@ module Aws::QApps
|
|
1613
1638
|
# app_id: "bec8ee64-2635-41e8-aace-e1e418f4f295",
|
1614
1639
|
# created_at: Time.parse("2024-05-21T04:09:10.401Z"),
|
1615
1640
|
# description: "Description 4",
|
1641
|
+
# is_verified: true,
|
1616
1642
|
# status: "PUBLISHED",
|
1617
1643
|
# title: "App 4",
|
1618
1644
|
# },
|
@@ -1621,6 +1647,7 @@ module Aws::QApps
|
|
1621
1647
|
# app_id: "c380a45d-bd77-45b0-a0e5-8a266c1d8bc4",
|
1622
1648
|
# created_at: Time.parse("2024-05-21T04:09:10.401Z"),
|
1623
1649
|
# description: "Description 5",
|
1650
|
+
# is_verified: false,
|
1624
1651
|
# status: "PUBLISHED",
|
1625
1652
|
# title: "App 5",
|
1626
1653
|
# },
|
@@ -1629,6 +1656,7 @@ module Aws::QApps
|
|
1629
1656
|
# app_id: "afc4ee80-9722-4396-85a6-7aeaff52c177",
|
1630
1657
|
# created_at: Time.parse("2024-05-21T04:09:10.401Z"),
|
1631
1658
|
# description: "Description 6",
|
1659
|
+
# is_verified: false,
|
1632
1660
|
# status: "PUBLISHED",
|
1633
1661
|
# title: "App 6",
|
1634
1662
|
# },
|
@@ -1654,6 +1682,7 @@ module Aws::QApps
|
|
1654
1682
|
# resp.apps[0].created_at #=> Time
|
1655
1683
|
# resp.apps[0].can_edit #=> Boolean
|
1656
1684
|
# resp.apps[0].status #=> String
|
1685
|
+
# resp.apps[0].is_verified #=> Boolean
|
1657
1686
|
# resp.next_token #=> String
|
1658
1687
|
#
|
1659
1688
|
# @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/ListQApps AWS API Documentation
|
@@ -2012,7 +2041,7 @@ module Aws::QApps
|
|
2012
2041
|
req.send_request(options)
|
2013
2042
|
end
|
2014
2043
|
|
2015
|
-
# Updates the
|
2044
|
+
# Updates the library item for an Amazon Q App.
|
2016
2045
|
#
|
2017
2046
|
# @option params [required, String] :instance_id
|
2018
2047
|
# The unique identifier of the Amazon Q Business application environment
|
@@ -2042,6 +2071,7 @@ module Aws::QApps
|
|
2042
2071
|
# * {Types::UpdateLibraryItemOutput#rating_count #rating_count} => Integer
|
2043
2072
|
# * {Types::UpdateLibraryItemOutput#is_rated_by_user #is_rated_by_user} => Boolean
|
2044
2073
|
# * {Types::UpdateLibraryItemOutput#user_count #user_count} => Integer
|
2074
|
+
# * {Types::UpdateLibraryItemOutput#is_verified #is_verified} => Boolean
|
2045
2075
|
#
|
2046
2076
|
#
|
2047
2077
|
# @example Example: Sets the status of a library item to DISABLED
|
@@ -2072,6 +2102,7 @@ module Aws::QApps
|
|
2072
2102
|
# ],
|
2073
2103
|
# created_at: Time.parse("2024-05-21T23:17:27.350Z"),
|
2074
2104
|
# created_by: "a841e300-40c1-7062-fa34-5b46dadbbaac",
|
2105
|
+
# is_verified: false,
|
2075
2106
|
# library_item_id: "cb9ecf72-8563-450d-9db9-994f98297316",
|
2076
2107
|
# rating_count: 24,
|
2077
2108
|
# status: "DISABLED",
|
@@ -2104,6 +2135,7 @@ module Aws::QApps
|
|
2104
2135
|
# resp.rating_count #=> Integer
|
2105
2136
|
# resp.is_rated_by_user #=> Boolean
|
2106
2137
|
# resp.user_count #=> Integer
|
2138
|
+
# resp.is_verified #=> Boolean
|
2107
2139
|
#
|
2108
2140
|
# @see http://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/UpdateLibraryItem AWS API Documentation
|
2109
2141
|
#
|
@@ -2114,6 +2146,46 @@ module Aws::QApps
|
|
2114
2146
|
req.send_request(options)
|
2115
2147
|
end
|
2116
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
|
+
|
2117
2189
|
# Updates an existing Amazon Q App, allowing modifications to its title,
|
2118
2190
|
# description, and definition.
|
2119
2191
|
#
|
@@ -2411,14 +2483,19 @@ module Aws::QApps
|
|
2411
2483
|
# @api private
|
2412
2484
|
def build_request(operation_name, params = {})
|
2413
2485
|
handlers = @handlers.for(operation_name)
|
2486
|
+
tracer = config.telemetry_provider.tracer_provider.tracer(
|
2487
|
+
Aws::Telemetry.module_to_tracer_name('Aws::QApps')
|
2488
|
+
)
|
2414
2489
|
context = Seahorse::Client::RequestContext.new(
|
2415
2490
|
operation_name: operation_name,
|
2416
2491
|
operation: config.api.operation(operation_name),
|
2417
2492
|
client: self,
|
2418
2493
|
params: params,
|
2419
|
-
config: config
|
2494
|
+
config: config,
|
2495
|
+
tracer: tracer
|
2496
|
+
)
|
2420
2497
|
context[:gem_name] = 'aws-sdk-qapps'
|
2421
|
-
context[:gem_version] = '1.
|
2498
|
+
context[:gem_version] = '1.2.0'
|
2422
2499
|
Seahorse::Client::Request.new(handlers, context)
|
2423
2500
|
end
|
2424
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
|
data/lib/aws-sdk-qapps/types.rb
CHANGED
@@ -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
data/sig/client.rbs
CHANGED
@@ -50,6 +50,7 @@ module Aws
|
|
50
50
|
?session_token: String,
|
51
51
|
?sigv4a_signing_region_set: Array[String],
|
52
52
|
?stub_responses: untyped,
|
53
|
+
?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
|
53
54
|
?token_provider: untyped,
|
54
55
|
?use_dualstack_endpoint: bool,
|
55
56
|
?use_fips_endpoint: bool,
|
@@ -96,6 +97,7 @@ module Aws
|
|
96
97
|
def updated_at: () -> ::Time
|
97
98
|
def updated_by: () -> ::String
|
98
99
|
def rating_count: () -> ::Integer
|
100
|
+
def is_verified: () -> bool
|
99
101
|
end
|
100
102
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QApps/Client.html#create_library_item-instance_method
|
101
103
|
def create_library_item: (
|
@@ -280,6 +282,7 @@ module Aws
|
|
280
282
|
def rating_count: () -> ::Integer
|
281
283
|
def is_rated_by_user: () -> bool
|
282
284
|
def user_count: () -> ::Integer
|
285
|
+
def is_verified: () -> bool
|
283
286
|
end
|
284
287
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QApps/Client.html#get_library_item-instance_method
|
285
288
|
def get_library_item: (
|
@@ -460,6 +463,7 @@ module Aws
|
|
460
463
|
def rating_count: () -> ::Integer
|
461
464
|
def is_rated_by_user: () -> bool
|
462
465
|
def user_count: () -> ::Integer
|
466
|
+
def is_verified: () -> bool
|
463
467
|
end
|
464
468
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QApps/Client.html#update_library_item-instance_method
|
465
469
|
def update_library_item: (
|
@@ -470,6 +474,14 @@ module Aws
|
|
470
474
|
) -> _UpdateLibraryItemResponseSuccess
|
471
475
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateLibraryItemResponseSuccess
|
472
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
|
+
|
473
485
|
interface _UpdateQAppResponseSuccess
|
474
486
|
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateQAppOutput]
|
475
487
|
def app_id: () -> ::String
|
data/sig/resource.rbs
CHANGED
@@ -50,6 +50,7 @@ module Aws
|
|
50
50
|
?session_token: String,
|
51
51
|
?sigv4a_signing_region_set: Array[String],
|
52
52
|
?stub_responses: untyped,
|
53
|
+
?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
|
53
54
|
?token_provider: untyped,
|
54
55
|
?use_dualstack_endpoint: bool,
|
55
56
|
?use_fips_endpoint: bool,
|
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.
|
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-
|
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
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.203.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.203.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|