aws-sdk-qbusiness 1.36.0 → 1.37.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f1266de04bc0aa4b1e9c78811490a2e783484983bbccf57d444f4c8bd46509a3
4
- data.tar.gz: 1d3047a4ea8808fab59d3abad23aa889437cc8e21248e20b955b95aafa20f8de
3
+ metadata.gz: f6ca1f60c3a014b2450eccf0c8eb40043fa1951700123ad68ef9cca1c25ede35
4
+ data.tar.gz: cce6c893e069a2e628c8eafc54aab6219a3cfb2432f0bce138809ea48669101d
5
5
  SHA512:
6
- metadata.gz: f664e18f6386912821c94702c8081652c028283b8aeee4c434243e967b4d9d2c2e35a50b493f5ff7a7354f2acd96e3bde055855f604b31cfe0481c9fe7a953ba
7
- data.tar.gz: 0a97d51d297a277393dc08ce746dcaa96506c38ef6b534abff0e27b44725b83826dbf883fbf5020ab01431175f83fab6dcc49f04c21448d5bef299f33a7197c8
6
+ metadata.gz: 57eb0ac97847576b003c82ff45bdb974396c4a977104332ea99f89eaa96157fe2e673ea3a9431a07cccfdb96a6bb7a48809eefeb029dca9a2b6ce5abf51c1c68
7
+ data.tar.gz: 2483ded6df586e5bfa99fde430325b2736a5787fbd9ecbb2a4e017624a689cd1f0ed285893ff92ea49110c70884e353ee6febd086ab4ceae57a0017272cb1be9
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.37.0 (2025-04-29)
5
+ ------------------
6
+
7
+ * Feature - Add support for anonymous user access for Q Business applications
8
+
4
9
  1.36.0 (2025-04-28)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.36.0
1
+ 1.37.0
@@ -673,7 +673,7 @@ module Aws::QBusiness
673
673
  tracer: tracer
674
674
  )
675
675
  context[:gem_name] = 'aws-sdk-qbusiness'
676
- context[:gem_version] = '1.36.0'
676
+ context[:gem_version] = '1.37.0'
677
677
  Seahorse::Client::Request.new(handlers, context)
678
678
  end
679
679
 
@@ -1154,6 +1154,46 @@ module Aws::QBusiness
1154
1154
  req.send_request(options)
1155
1155
  end
1156
1156
 
1157
+ # Creates a unique URL for anonymous Amazon Q Business web experience.
1158
+ # This URL can only be used once and must be used within 5 minutes after
1159
+ # it's generated.
1160
+ #
1161
+ # @option params [required, String] :application_id
1162
+ # The identifier of the Amazon Q Business application environment
1163
+ # attached to the web experience.
1164
+ #
1165
+ # @option params [required, String] :web_experience_id
1166
+ # The identifier of the web experience.
1167
+ #
1168
+ # @option params [Integer] :session_duration_in_minutes
1169
+ # The duration of the session associated with the unique URL for the web
1170
+ # experience.
1171
+ #
1172
+ # @return [Types::CreateAnonymousWebExperienceUrlResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1173
+ #
1174
+ # * {Types::CreateAnonymousWebExperienceUrlResponse#anonymous_url #anonymous_url} => String
1175
+ #
1176
+ # @example Request syntax with placeholder values
1177
+ #
1178
+ # resp = client.create_anonymous_web_experience_url({
1179
+ # application_id: "ApplicationId", # required
1180
+ # web_experience_id: "WebExperienceId", # required
1181
+ # session_duration_in_minutes: 1,
1182
+ # })
1183
+ #
1184
+ # @example Response structure
1185
+ #
1186
+ # resp.anonymous_url #=> String
1187
+ #
1188
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qbusiness-2023-11-27/CreateAnonymousWebExperienceUrl AWS API Documentation
1189
+ #
1190
+ # @overload create_anonymous_web_experience_url(params = {})
1191
+ # @param [Hash] params ({})
1192
+ def create_anonymous_web_experience_url(params = {}, options = {})
1193
+ req = build_request(:create_anonymous_web_experience_url, params)
1194
+ req.send_request(options)
1195
+ end
1196
+
1157
1197
  # Creates an Amazon Q Business application.
1158
1198
  #
1159
1199
  # <note markdown="1"> There are new tiers for Amazon Q Business. Not all features in Amazon
@@ -1266,7 +1306,7 @@ module Aws::QBusiness
1266
1306
  # resp = client.create_application({
1267
1307
  # display_name: "ApplicationName", # required
1268
1308
  # role_arn: "RoleArn",
1269
- # identity_type: "AWS_IAM_IDP_SAML", # accepts AWS_IAM_IDP_SAML, AWS_IAM_IDP_OIDC, AWS_IAM_IDC, AWS_QUICKSIGHT_IDP
1309
+ # identity_type: "AWS_IAM_IDP_SAML", # accepts AWS_IAM_IDP_SAML, AWS_IAM_IDP_OIDC, AWS_IAM_IDC, AWS_QUICKSIGHT_IDP, ANONYMOUS
1270
1310
  # iam_identity_provider_arn: "IAMIdentityProviderArn",
1271
1311
  # identity_center_instance_arn: "InstanceArn",
1272
1312
  # client_ids_for_oidc: ["ClientIdForOIDC"],
@@ -2645,7 +2685,7 @@ module Aws::QBusiness
2645
2685
  # resp.display_name #=> String
2646
2686
  # resp.application_id #=> String
2647
2687
  # resp.application_arn #=> String
2648
- # resp.identity_type #=> String, one of "AWS_IAM_IDP_SAML", "AWS_IAM_IDP_OIDC", "AWS_IAM_IDC", "AWS_QUICKSIGHT_IDP"
2688
+ # resp.identity_type #=> String, one of "AWS_IAM_IDP_SAML", "AWS_IAM_IDP_OIDC", "AWS_IAM_IDC", "AWS_QUICKSIGHT_IDP", "ANONYMOUS"
2649
2689
  # resp.iam_identity_provider_arn #=> String
2650
2690
  # resp.identity_center_application_arn #=> String
2651
2691
  # resp.role_arn #=> String
@@ -3443,7 +3483,7 @@ module Aws::QBusiness
3443
3483
  # resp.applications[0].created_at #=> Time
3444
3484
  # resp.applications[0].updated_at #=> Time
3445
3485
  # resp.applications[0].status #=> String, one of "CREATING", "ACTIVE", "DELETING", "FAILED", "UPDATING"
3446
- # resp.applications[0].identity_type #=> String, one of "AWS_IAM_IDP_SAML", "AWS_IAM_IDP_OIDC", "AWS_IAM_IDC", "AWS_QUICKSIGHT_IDP"
3486
+ # resp.applications[0].identity_type #=> String, one of "AWS_IAM_IDP_SAML", "AWS_IAM_IDP_OIDC", "AWS_IAM_IDC", "AWS_QUICKSIGHT_IDP", "ANONYMOUS"
3447
3487
  # resp.applications[0].quick_sight_configuration.client_namespace #=> String
3448
3488
  #
3449
3489
  # @see http://docs.aws.amazon.com/goto/WebAPI/qbusiness-2023-11-27/ListApplications AWS API Documentation
@@ -5785,7 +5825,7 @@ module Aws::QBusiness
5785
5825
  tracer: tracer
5786
5826
  )
5787
5827
  context[:gem_name] = 'aws-sdk-qbusiness'
5788
- context[:gem_version] = '1.36.0'
5828
+ context[:gem_version] = '1.37.0'
5789
5829
  Seahorse::Client::Request.new(handlers, context)
5790
5830
  end
5791
5831
 
@@ -128,6 +128,8 @@ module Aws::QBusiness
128
128
  ConversationTitle = Shapes::StringShape.new(name: 'ConversationTitle')
129
129
  Conversations = Shapes::ListShape.new(name: 'Conversations')
130
130
  CopyFromSource = Shapes::UnionShape.new(name: 'CopyFromSource')
131
+ CreateAnonymousWebExperienceUrlRequest = Shapes::StructureShape.new(name: 'CreateAnonymousWebExperienceUrlRequest')
132
+ CreateAnonymousWebExperienceUrlResponse = Shapes::StructureShape.new(name: 'CreateAnonymousWebExperienceUrlResponse')
131
133
  CreateApplicationRequest = Shapes::StructureShape.new(name: 'CreateApplicationRequest')
132
134
  CreateApplicationResponse = Shapes::StructureShape.new(name: 'CreateApplicationResponse')
133
135
  CreateDataAccessorRequest = Shapes::StructureShape.new(name: 'CreateDataAccessorRequest')
@@ -468,6 +470,7 @@ module Aws::QBusiness
468
470
  SecurityGroupId = Shapes::StringShape.new(name: 'SecurityGroupId')
469
471
  SecurityGroupIds = Shapes::ListShape.new(name: 'SecurityGroupIds')
470
472
  ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
473
+ SessionDurationInMinutes = Shapes::IntegerShape.new(name: 'SessionDurationInMinutes')
471
474
  SnippetExcerpt = Shapes::StructureShape.new(name: 'SnippetExcerpt')
472
475
  SnippetExcerptText = Shapes::StringShape.new(name: 'SnippetExcerptText')
473
476
  SourceAttribution = Shapes::StructureShape.new(name: 'SourceAttribution')
@@ -941,6 +944,14 @@ module Aws::QBusiness
941
944
  CopyFromSource.add_member_subclass(:unknown, Types::CopyFromSource::Unknown)
942
945
  CopyFromSource.struct_class = Types::CopyFromSource
943
946
 
947
+ CreateAnonymousWebExperienceUrlRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location: "uri", location_name: "applicationId"))
948
+ CreateAnonymousWebExperienceUrlRequest.add_member(:web_experience_id, Shapes::ShapeRef.new(shape: WebExperienceId, required: true, location: "uri", location_name: "webExperienceId"))
949
+ CreateAnonymousWebExperienceUrlRequest.add_member(:session_duration_in_minutes, Shapes::ShapeRef.new(shape: SessionDurationInMinutes, location_name: "sessionDurationInMinutes"))
950
+ CreateAnonymousWebExperienceUrlRequest.struct_class = Types::CreateAnonymousWebExperienceUrlRequest
951
+
952
+ CreateAnonymousWebExperienceUrlResponse.add_member(:anonymous_url, Shapes::ShapeRef.new(shape: Url, location_name: "anonymousUrl"))
953
+ CreateAnonymousWebExperienceUrlResponse.struct_class = Types::CreateAnonymousWebExperienceUrlResponse
954
+
944
955
  CreateApplicationRequest.add_member(:display_name, Shapes::ShapeRef.new(shape: ApplicationName, required: true, location_name: "displayName"))
945
956
  CreateApplicationRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "roleArn"))
946
957
  CreateApplicationRequest.add_member(:identity_type, Shapes::ShapeRef.new(shape: IdentityType, location_name: "identityType"))
@@ -2461,6 +2472,20 @@ module Aws::QBusiness
2461
2472
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2462
2473
  end)
2463
2474
 
2475
+ api.add_operation(:create_anonymous_web_experience_url, Seahorse::Model::Operation.new.tap do |o|
2476
+ o.name = "CreateAnonymousWebExperienceUrl"
2477
+ o.http_method = "POST"
2478
+ o.http_request_uri = "/applications/{applicationId}/experiences/{webExperienceId}/anonymous-url"
2479
+ o.input = Shapes::ShapeRef.new(shape: CreateAnonymousWebExperienceUrlRequest)
2480
+ o.output = Shapes::ShapeRef.new(shape: CreateAnonymousWebExperienceUrlResponse)
2481
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2482
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2483
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2484
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2485
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2486
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
2487
+ end)
2488
+
2464
2489
  api.add_operation(:create_application, Seahorse::Model::Operation.new.tap do |o|
2465
2490
  o.name = "CreateApplication"
2466
2491
  o.http_method = "POST"
@@ -1785,6 +1785,45 @@ module Aws::QBusiness
1785
1785
  class Unknown < CopyFromSource; end
1786
1786
  end
1787
1787
 
1788
+ # @!attribute [rw] application_id
1789
+ # The identifier of the Amazon Q Business application environment
1790
+ # attached to the web experience.
1791
+ # @return [String]
1792
+ #
1793
+ # @!attribute [rw] web_experience_id
1794
+ # The identifier of the web experience.
1795
+ # @return [String]
1796
+ #
1797
+ # @!attribute [rw] session_duration_in_minutes
1798
+ # The duration of the session associated with the unique URL for the
1799
+ # web experience.
1800
+ # @return [Integer]
1801
+ #
1802
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qbusiness-2023-11-27/CreateAnonymousWebExperienceUrlRequest AWS API Documentation
1803
+ #
1804
+ class CreateAnonymousWebExperienceUrlRequest < Struct.new(
1805
+ :application_id,
1806
+ :web_experience_id,
1807
+ :session_duration_in_minutes)
1808
+ SENSITIVE = []
1809
+ include Aws::Structure
1810
+ end
1811
+
1812
+ # @!attribute [rw] anonymous_url
1813
+ # The unique URL for accessing the web experience.
1814
+ #
1815
+ # This URL can only be used once and must be used within 5 minutes
1816
+ # after it's generated.
1817
+ # @return [String]
1818
+ #
1819
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qbusiness-2023-11-27/CreateAnonymousWebExperienceUrlResponse AWS API Documentation
1820
+ #
1821
+ class CreateAnonymousWebExperienceUrlResponse < Struct.new(
1822
+ :anonymous_url)
1823
+ SENSITIVE = []
1824
+ include Aws::Structure
1825
+ end
1826
+
1788
1827
  # @!attribute [rw] display_name
1789
1828
  # A name for the Amazon Q Business application.
1790
1829
  # @return [String]
@@ -4978,14 +5017,17 @@ module Aws::QBusiness
4978
5017
  end
4979
5018
 
4980
5019
  # Configuration information required to setup hallucination reduction.
4981
- # For more information, see [hallucination
4982
- # reduction](amazonq/latest/qbusiness-ug/hallucination-reduction.html).
5020
+ # For more information, see [ hallucination reduction][1].
4983
5021
  #
4984
5022
  # <note markdown="1"> The hallucination reduction feature won't work if chat orchestration
4985
5023
  # controls are enabled for your application.
4986
5024
  #
4987
5025
  # </note>
4988
5026
  #
5027
+ #
5028
+ #
5029
+ # [1]: https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/hallucination-reduction.html
5030
+ #
4989
5031
  # @!attribute [rw] hallucination_reduction_control
4990
5032
  # Controls whether hallucination reduction has been enabled or
4991
5033
  # disabled for your application. The default status is `DISABLED`.
@@ -57,7 +57,7 @@ module Aws::QBusiness
57
57
  autoload :AsyncClient, 'aws-sdk-qbusiness/async_client'
58
58
  autoload :EventStreams, 'aws-sdk-qbusiness/event_streams'
59
59
 
60
- GEM_VERSION = '1.36.0'
60
+ GEM_VERSION = '1.37.0'
61
61
 
62
62
  end
63
63
 
data/sig/client.rbs CHANGED
@@ -392,6 +392,18 @@ module Aws
392
392
  ) -> _CheckDocumentAccessResponseSuccess
393
393
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CheckDocumentAccessResponseSuccess
394
394
 
395
+ interface _CreateAnonymousWebExperienceUrlResponseSuccess
396
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateAnonymousWebExperienceUrlResponse]
397
+ def anonymous_url: () -> ::String
398
+ end
399
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QBusiness/Client.html#create_anonymous_web_experience_url-instance_method
400
+ def create_anonymous_web_experience_url: (
401
+ application_id: ::String,
402
+ web_experience_id: ::String,
403
+ ?session_duration_in_minutes: ::Integer
404
+ ) -> _CreateAnonymousWebExperienceUrlResponseSuccess
405
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateAnonymousWebExperienceUrlResponseSuccess
406
+
395
407
  interface _CreateApplicationResponseSuccess
396
408
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateApplicationResponse]
397
409
  def application_id: () -> ::String
@@ -401,7 +413,7 @@ module Aws
401
413
  def create_application: (
402
414
  display_name: ::String,
403
415
  ?role_arn: ::String,
404
- ?identity_type: ("AWS_IAM_IDP_SAML" | "AWS_IAM_IDP_OIDC" | "AWS_IAM_IDC" | "AWS_QUICKSIGHT_IDP"),
416
+ ?identity_type: ("AWS_IAM_IDP_SAML" | "AWS_IAM_IDP_OIDC" | "AWS_IAM_IDC" | "AWS_QUICKSIGHT_IDP" | "ANONYMOUS"),
405
417
  ?iam_identity_provider_arn: ::String,
406
418
  ?identity_center_instance_arn: ::String,
407
419
  ?client_ids_for_oidc: Array[::String],
@@ -967,7 +979,7 @@ module Aws
967
979
  def display_name: () -> ::String
968
980
  def application_id: () -> ::String
969
981
  def application_arn: () -> ::String
970
- def identity_type: () -> ("AWS_IAM_IDP_SAML" | "AWS_IAM_IDP_OIDC" | "AWS_IAM_IDC" | "AWS_QUICKSIGHT_IDP")
982
+ def identity_type: () -> ("AWS_IAM_IDP_SAML" | "AWS_IAM_IDP_OIDC" | "AWS_IAM_IDC" | "AWS_QUICKSIGHT_IDP" | "ANONYMOUS")
971
983
  def iam_identity_provider_arn: () -> ::String
972
984
  def identity_center_application_arn: () -> ::String
973
985
  def role_arn: () -> ::String
data/sig/types.rbs CHANGED
@@ -123,7 +123,7 @@ module Aws::QBusiness
123
123
  attr_accessor created_at: ::Time
124
124
  attr_accessor updated_at: ::Time
125
125
  attr_accessor status: ("CREATING" | "ACTIVE" | "DELETING" | "FAILED" | "UPDATING")
126
- attr_accessor identity_type: ("AWS_IAM_IDP_SAML" | "AWS_IAM_IDP_OIDC" | "AWS_IAM_IDC" | "AWS_QUICKSIGHT_IDP")
126
+ attr_accessor identity_type: ("AWS_IAM_IDP_SAML" | "AWS_IAM_IDP_OIDC" | "AWS_IAM_IDC" | "AWS_QUICKSIGHT_IDP" | "ANONYMOUS")
127
127
  attr_accessor quick_sight_configuration: Types::QuickSightConfiguration
128
128
  SENSITIVE: []
129
129
  end
@@ -462,10 +462,22 @@ module Aws::QBusiness
462
462
  end
463
463
  end
464
464
 
465
+ class CreateAnonymousWebExperienceUrlRequest
466
+ attr_accessor application_id: ::String
467
+ attr_accessor web_experience_id: ::String
468
+ attr_accessor session_duration_in_minutes: ::Integer
469
+ SENSITIVE: []
470
+ end
471
+
472
+ class CreateAnonymousWebExperienceUrlResponse
473
+ attr_accessor anonymous_url: ::String
474
+ SENSITIVE: []
475
+ end
476
+
465
477
  class CreateApplicationRequest
466
478
  attr_accessor display_name: ::String
467
479
  attr_accessor role_arn: ::String
468
- attr_accessor identity_type: ("AWS_IAM_IDP_SAML" | "AWS_IAM_IDP_OIDC" | "AWS_IAM_IDC" | "AWS_QUICKSIGHT_IDP")
480
+ attr_accessor identity_type: ("AWS_IAM_IDP_SAML" | "AWS_IAM_IDP_OIDC" | "AWS_IAM_IDC" | "AWS_QUICKSIGHT_IDP" | "ANONYMOUS")
469
481
  attr_accessor iam_identity_provider_arn: ::String
470
482
  attr_accessor identity_center_instance_arn: ::String
471
483
  attr_accessor client_ids_for_oidc: ::Array[::String]
@@ -1018,7 +1030,7 @@ module Aws::QBusiness
1018
1030
  attr_accessor display_name: ::String
1019
1031
  attr_accessor application_id: ::String
1020
1032
  attr_accessor application_arn: ::String
1021
- attr_accessor identity_type: ("AWS_IAM_IDP_SAML" | "AWS_IAM_IDP_OIDC" | "AWS_IAM_IDC" | "AWS_QUICKSIGHT_IDP")
1033
+ attr_accessor identity_type: ("AWS_IAM_IDP_SAML" | "AWS_IAM_IDP_OIDC" | "AWS_IAM_IDC" | "AWS_QUICKSIGHT_IDP" | "ANONYMOUS")
1022
1034
  attr_accessor iam_identity_provider_arn: ::String
1023
1035
  attr_accessor identity_center_application_arn: ::String
1024
1036
  attr_accessor role_arn: ::String
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-qbusiness
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.36.0
4
+ version: 1.37.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: 2025-04-28 00:00:00.000000000 Z
11
+ date: 2025-04-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core