aws-sdk-qbusiness 1.26.0 → 1.28.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -49,6 +49,7 @@ module Aws::QBusiness
49
49
  Applications = Shapes::ListShape.new(name: 'Applications')
50
50
  AppliedAttachmentsConfiguration = Shapes::StructureShape.new(name: 'AppliedAttachmentsConfiguration')
51
51
  AppliedCreatorModeConfiguration = Shapes::StructureShape.new(name: 'AppliedCreatorModeConfiguration')
52
+ AppliedOrchestrationConfiguration = Shapes::StructureShape.new(name: 'AppliedOrchestrationConfiguration')
52
53
  AssociatePermissionRequest = Shapes::StructureShape.new(name: 'AssociatePermissionRequest')
53
54
  AssociatePermissionResponse = Shapes::StructureShape.new(name: 'AssociatePermissionResponse')
54
55
  Attachment = Shapes::StructureShape.new(name: 'Attachment')
@@ -91,6 +92,8 @@ module Aws::QBusiness
91
92
  BrowserExtension = Shapes::StringShape.new(name: 'BrowserExtension')
92
93
  BrowserExtensionConfiguration = Shapes::StructureShape.new(name: 'BrowserExtensionConfiguration')
93
94
  BrowserExtensionList = Shapes::ListShape.new(name: 'BrowserExtensionList')
95
+ CancelSubscriptionRequest = Shapes::StructureShape.new(name: 'CancelSubscriptionRequest')
96
+ CancelSubscriptionResponse = Shapes::StructureShape.new(name: 'CancelSubscriptionResponse')
94
97
  ChatInput = Shapes::StructureShape.new(name: 'ChatInput')
95
98
  ChatInputStream = Shapes::StructureShape.new(name: 'ChatInputStream')
96
99
  ChatMode = Shapes::StringShape.new(name: 'ChatMode')
@@ -127,6 +130,8 @@ module Aws::QBusiness
127
130
  CreatePluginResponse = Shapes::StructureShape.new(name: 'CreatePluginResponse')
128
131
  CreateRetrieverRequest = Shapes::StructureShape.new(name: 'CreateRetrieverRequest')
129
132
  CreateRetrieverResponse = Shapes::StructureShape.new(name: 'CreateRetrieverResponse')
133
+ CreateSubscriptionRequest = Shapes::StructureShape.new(name: 'CreateSubscriptionRequest')
134
+ CreateSubscriptionResponse = Shapes::StructureShape.new(name: 'CreateSubscriptionResponse')
130
135
  CreateUserRequest = Shapes::StructureShape.new(name: 'CreateUserRequest')
131
136
  CreateUserRequestUserAliasesList = Shapes::ListShape.new(name: 'CreateUserRequestUserAliasesList')
132
137
  CreateUserResponse = Shapes::StructureShape.new(name: 'CreateUserResponse')
@@ -248,6 +253,7 @@ module Aws::QBusiness
248
253
  GetUserResponse = Shapes::StructureShape.new(name: 'GetUserResponse')
249
254
  GetWebExperienceRequest = Shapes::StructureShape.new(name: 'GetWebExperienceRequest')
250
255
  GetWebExperienceResponse = Shapes::StructureShape.new(name: 'GetWebExperienceResponse')
256
+ GroupIdentifier = Shapes::StringShape.new(name: 'GroupIdentifier')
251
257
  GroupMembers = Shapes::StructureShape.new(name: 'GroupMembers')
252
258
  GroupName = Shapes::StringShape.new(name: 'GroupName')
253
259
  GroupStatus = Shapes::StringShape.new(name: 'GroupStatus')
@@ -316,6 +322,8 @@ module Aws::QBusiness
316
322
  ListPluginsResponse = Shapes::StructureShape.new(name: 'ListPluginsResponse')
317
323
  ListRetrieversRequest = Shapes::StructureShape.new(name: 'ListRetrieversRequest')
318
324
  ListRetrieversResponse = Shapes::StructureShape.new(name: 'ListRetrieversResponse')
325
+ ListSubscriptionsRequest = Shapes::StructureShape.new(name: 'ListSubscriptionsRequest')
326
+ ListSubscriptionsResponse = Shapes::StructureShape.new(name: 'ListSubscriptionsResponse')
319
327
  ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
320
328
  ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
321
329
  ListWebExperiencesRequest = Shapes::StructureShape.new(name: 'ListWebExperiencesRequest')
@@ -339,6 +347,7 @@ module Aws::QBusiness
339
347
  MaxResultsIntegerForListPluginTypeMetadata = Shapes::IntegerShape.new(name: 'MaxResultsIntegerForListPluginTypeMetadata')
340
348
  MaxResultsIntegerForListPlugins = Shapes::IntegerShape.new(name: 'MaxResultsIntegerForListPlugins')
341
349
  MaxResultsIntegerForListRetrieversRequest = Shapes::IntegerShape.new(name: 'MaxResultsIntegerForListRetrieversRequest')
350
+ MaxResultsIntegerForListSubscriptions = Shapes::IntegerShape.new(name: 'MaxResultsIntegerForListSubscriptions')
342
351
  MaxResultsIntegerForListWebExperiencesRequest = Shapes::IntegerShape.new(name: 'MaxResultsIntegerForListWebExperiencesRequest')
343
352
  MediaExtractionConfiguration = Shapes::StructureShape.new(name: 'MediaExtractionConfiguration')
344
353
  MediaId = Shapes::StringShape.new(name: 'MediaId')
@@ -368,6 +377,8 @@ module Aws::QBusiness
368
377
  NumberAttributeBoostingType = Shapes::StringShape.new(name: 'NumberAttributeBoostingType')
369
378
  OAuth2ClientCredentialConfiguration = Shapes::StructureShape.new(name: 'OAuth2ClientCredentialConfiguration')
370
379
  OpenIDConnectProviderConfiguration = Shapes::StructureShape.new(name: 'OpenIDConnectProviderConfiguration')
380
+ OrchestrationConfiguration = Shapes::StructureShape.new(name: 'OrchestrationConfiguration')
381
+ OrchestrationControl = Shapes::StringShape.new(name: 'OrchestrationControl')
371
382
  Origin = Shapes::StringShape.new(name: 'Origin')
372
383
  Payload = Shapes::StringShape.new(name: 'Payload')
373
384
  PersonalizationConfiguration = Shapes::StructureShape.new(name: 'PersonalizationConfiguration')
@@ -452,7 +463,13 @@ module Aws::QBusiness
452
463
  StringListAttributeBoostingConfiguration = Shapes::StructureShape.new(name: 'StringListAttributeBoostingConfiguration')
453
464
  SubnetId = Shapes::StringShape.new(name: 'SubnetId')
454
465
  SubnetIds = Shapes::ListShape.new(name: 'SubnetIds')
466
+ Subscription = Shapes::StructureShape.new(name: 'Subscription')
467
+ SubscriptionArn = Shapes::StringShape.new(name: 'SubscriptionArn')
468
+ SubscriptionDetails = Shapes::StructureShape.new(name: 'SubscriptionDetails')
469
+ SubscriptionId = Shapes::StringShape.new(name: 'SubscriptionId')
470
+ SubscriptionPrincipal = Shapes::UnionShape.new(name: 'SubscriptionPrincipal')
455
471
  SubscriptionType = Shapes::StringShape.new(name: 'SubscriptionType')
472
+ Subscriptions = Shapes::ListShape.new(name: 'Subscriptions')
456
473
  SyncSchedule = Shapes::StringShape.new(name: 'SyncSchedule')
457
474
  SystemMessageId = Shapes::StringShape.new(name: 'SystemMessageId')
458
475
  SystemMessageOverride = Shapes::StringShape.new(name: 'SystemMessageOverride')
@@ -491,6 +508,8 @@ module Aws::QBusiness
491
508
  UpdatePluginResponse = Shapes::StructureShape.new(name: 'UpdatePluginResponse')
492
509
  UpdateRetrieverRequest = Shapes::StructureShape.new(name: 'UpdateRetrieverRequest')
493
510
  UpdateRetrieverResponse = Shapes::StructureShape.new(name: 'UpdateRetrieverResponse')
511
+ UpdateSubscriptionRequest = Shapes::StructureShape.new(name: 'UpdateSubscriptionRequest')
512
+ UpdateSubscriptionResponse = Shapes::StructureShape.new(name: 'UpdateSubscriptionResponse')
494
513
  UpdateUserRequest = Shapes::StructureShape.new(name: 'UpdateUserRequest')
495
514
  UpdateUserResponse = Shapes::StructureShape.new(name: 'UpdateUserResponse')
496
515
  UpdateWebExperienceRequest = Shapes::StructureShape.new(name: 'UpdateWebExperienceRequest')
@@ -500,6 +519,7 @@ module Aws::QBusiness
500
519
  UserAliases = Shapes::ListShape.new(name: 'UserAliases')
501
520
  UserGroups = Shapes::ListShape.new(name: 'UserGroups')
502
521
  UserId = Shapes::StringShape.new(name: 'UserId')
522
+ UserIdentifier = Shapes::StringShape.new(name: 'UserIdentifier')
503
523
  UserIds = Shapes::ListShape.new(name: 'UserIds')
504
524
  UserMessage = Shapes::StringShape.new(name: 'UserMessage')
505
525
  UsersAndGroups = Shapes::StructureShape.new(name: 'UsersAndGroups')
@@ -625,6 +645,9 @@ module Aws::QBusiness
625
645
  AppliedCreatorModeConfiguration.add_member(:creator_mode_control, Shapes::ShapeRef.new(shape: CreatorModeControl, required: true, location_name: "creatorModeControl"))
626
646
  AppliedCreatorModeConfiguration.struct_class = Types::AppliedCreatorModeConfiguration
627
647
 
648
+ AppliedOrchestrationConfiguration.add_member(:control, Shapes::ShapeRef.new(shape: OrchestrationControl, required: true, location_name: "control"))
649
+ AppliedOrchestrationConfiguration.struct_class = Types::AppliedOrchestrationConfiguration
650
+
628
651
  AssociatePermissionRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location: "uri", location_name: "applicationId"))
629
652
  AssociatePermissionRequest.add_member(:statement_id, Shapes::ShapeRef.new(shape: StatementId, required: true, location_name: "statementId"))
630
653
  AssociatePermissionRequest.add_member(:actions, Shapes::ShapeRef.new(shape: QIamActions, required: true, location_name: "actions"))
@@ -742,6 +765,15 @@ module Aws::QBusiness
742
765
 
743
766
  BrowserExtensionList.member = Shapes::ShapeRef.new(shape: BrowserExtension)
744
767
 
768
+ CancelSubscriptionRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location: "uri", location_name: "applicationId"))
769
+ CancelSubscriptionRequest.add_member(:subscription_id, Shapes::ShapeRef.new(shape: SubscriptionId, required: true, location: "uri", location_name: "subscriptionId"))
770
+ CancelSubscriptionRequest.struct_class = Types::CancelSubscriptionRequest
771
+
772
+ CancelSubscriptionResponse.add_member(:subscription_arn, Shapes::ShapeRef.new(shape: SubscriptionArn, location_name: "subscriptionArn"))
773
+ CancelSubscriptionResponse.add_member(:current_subscription, Shapes::ShapeRef.new(shape: SubscriptionDetails, location_name: "currentSubscription"))
774
+ CancelSubscriptionResponse.add_member(:next_subscription, Shapes::ShapeRef.new(shape: SubscriptionDetails, location_name: "nextSubscription"))
775
+ CancelSubscriptionResponse.struct_class = Types::CancelSubscriptionResponse
776
+
745
777
  ChatInput.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location: "uri", location_name: "applicationId"))
746
778
  ChatInput.add_member(:user_id, Shapes::ShapeRef.new(shape: UserId, location: "querystring", location_name: "userId"))
747
779
  ChatInput.add_member(:user_groups, Shapes::ShapeRef.new(shape: UserGroups, location: "querystring", location_name: "userGroups"))
@@ -937,6 +969,18 @@ module Aws::QBusiness
937
969
  CreateRetrieverResponse.add_member(:retriever_arn, Shapes::ShapeRef.new(shape: RetrieverArn, location_name: "retrieverArn"))
938
970
  CreateRetrieverResponse.struct_class = Types::CreateRetrieverResponse
939
971
 
972
+ CreateSubscriptionRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location: "uri", location_name: "applicationId"))
973
+ CreateSubscriptionRequest.add_member(:principal, Shapes::ShapeRef.new(shape: SubscriptionPrincipal, required: true, location_name: "principal"))
974
+ CreateSubscriptionRequest.add_member(:type, Shapes::ShapeRef.new(shape: SubscriptionType, required: true, location_name: "type"))
975
+ CreateSubscriptionRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
976
+ CreateSubscriptionRequest.struct_class = Types::CreateSubscriptionRequest
977
+
978
+ CreateSubscriptionResponse.add_member(:subscription_id, Shapes::ShapeRef.new(shape: SubscriptionId, location_name: "subscriptionId"))
979
+ CreateSubscriptionResponse.add_member(:subscription_arn, Shapes::ShapeRef.new(shape: SubscriptionArn, location_name: "subscriptionArn"))
980
+ CreateSubscriptionResponse.add_member(:current_subscription, Shapes::ShapeRef.new(shape: SubscriptionDetails, location_name: "currentSubscription"))
981
+ CreateSubscriptionResponse.add_member(:next_subscription, Shapes::ShapeRef.new(shape: SubscriptionDetails, location_name: "nextSubscription"))
982
+ CreateSubscriptionResponse.struct_class = Types::CreateSubscriptionResponse
983
+
940
984
  CreateUserRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location: "uri", location_name: "applicationId"))
941
985
  CreateUserRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "userId"))
942
986
  CreateUserRequest.add_member(:user_aliases, Shapes::ShapeRef.new(shape: CreateUserRequestUserAliasesList, location_name: "userAliases"))
@@ -1256,6 +1300,7 @@ module Aws::QBusiness
1256
1300
  GetChatControlsConfigurationRequest.struct_class = Types::GetChatControlsConfigurationRequest
1257
1301
 
1258
1302
  GetChatControlsConfigurationResponse.add_member(:response_scope, Shapes::ShapeRef.new(shape: ResponseScope, location_name: "responseScope"))
1303
+ GetChatControlsConfigurationResponse.add_member(:orchestration_configuration, Shapes::ShapeRef.new(shape: AppliedOrchestrationConfiguration, location_name: "orchestrationConfiguration"))
1259
1304
  GetChatControlsConfigurationResponse.add_member(:blocked_phrases, Shapes::ShapeRef.new(shape: BlockedPhrasesConfiguration, location_name: "blockedPhrases"))
1260
1305
  GetChatControlsConfigurationResponse.add_member(:topic_configurations, Shapes::ShapeRef.new(shape: TopicConfigurations, location_name: "topicConfigurations"))
1261
1306
  GetChatControlsConfigurationResponse.add_member(:creator_mode_configuration, Shapes::ShapeRef.new(shape: AppliedCreatorModeConfiguration, location_name: "creatorModeConfiguration"))
@@ -1632,6 +1677,15 @@ module Aws::QBusiness
1632
1677
  ListRetrieversResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
1633
1678
  ListRetrieversResponse.struct_class = Types::ListRetrieversResponse
1634
1679
 
1680
+ ListSubscriptionsRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location: "uri", location_name: "applicationId"))
1681
+ ListSubscriptionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
1682
+ ListSubscriptionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResultsIntegerForListSubscriptions, location: "querystring", location_name: "maxResults"))
1683
+ ListSubscriptionsRequest.struct_class = Types::ListSubscriptionsRequest
1684
+
1685
+ ListSubscriptionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
1686
+ ListSubscriptionsResponse.add_member(:subscriptions, Shapes::ShapeRef.new(shape: Subscriptions, location_name: "subscriptions"))
1687
+ ListSubscriptionsResponse.struct_class = Types::ListSubscriptionsResponse
1688
+
1635
1689
  ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location: "uri", location_name: "resourceARN"))
1636
1690
  ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
1637
1691
 
@@ -1710,6 +1764,9 @@ module Aws::QBusiness
1710
1764
  OpenIDConnectProviderConfiguration.add_member(:secrets_role, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "secretsRole"))
1711
1765
  OpenIDConnectProviderConfiguration.struct_class = Types::OpenIDConnectProviderConfiguration
1712
1766
 
1767
+ OrchestrationConfiguration.add_member(:control, Shapes::ShapeRef.new(shape: OrchestrationControl, required: true, location_name: "control"))
1768
+ OrchestrationConfiguration.struct_class = Types::OrchestrationConfiguration
1769
+
1713
1770
  PersonalizationConfiguration.add_member(:personalization_control_mode, Shapes::ShapeRef.new(shape: PersonalizationControlMode, required: true, location_name: "personalizationControlMode"))
1714
1771
  PersonalizationConfiguration.struct_class = Types::PersonalizationConfiguration
1715
1772
 
@@ -1918,6 +1975,26 @@ module Aws::QBusiness
1918
1975
 
1919
1976
  SubnetIds.member = Shapes::ShapeRef.new(shape: SubnetId)
1920
1977
 
1978
+ Subscription.add_member(:subscription_id, Shapes::ShapeRef.new(shape: SubscriptionId, location_name: "subscriptionId"))
1979
+ Subscription.add_member(:subscription_arn, Shapes::ShapeRef.new(shape: SubscriptionArn, location_name: "subscriptionArn"))
1980
+ Subscription.add_member(:principal, Shapes::ShapeRef.new(shape: SubscriptionPrincipal, location_name: "principal"))
1981
+ Subscription.add_member(:current_subscription, Shapes::ShapeRef.new(shape: SubscriptionDetails, location_name: "currentSubscription"))
1982
+ Subscription.add_member(:next_subscription, Shapes::ShapeRef.new(shape: SubscriptionDetails, location_name: "nextSubscription"))
1983
+ Subscription.struct_class = Types::Subscription
1984
+
1985
+ SubscriptionDetails.add_member(:type, Shapes::ShapeRef.new(shape: SubscriptionType, location_name: "type"))
1986
+ SubscriptionDetails.struct_class = Types::SubscriptionDetails
1987
+
1988
+ SubscriptionPrincipal.add_member(:user, Shapes::ShapeRef.new(shape: UserIdentifier, location_name: "user"))
1989
+ SubscriptionPrincipal.add_member(:group, Shapes::ShapeRef.new(shape: GroupIdentifier, location_name: "group"))
1990
+ SubscriptionPrincipal.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
1991
+ SubscriptionPrincipal.add_member_subclass(:user, Types::SubscriptionPrincipal::User)
1992
+ SubscriptionPrincipal.add_member_subclass(:group, Types::SubscriptionPrincipal::Group)
1993
+ SubscriptionPrincipal.add_member_subclass(:unknown, Types::SubscriptionPrincipal::Unknown)
1994
+ SubscriptionPrincipal.struct_class = Types::SubscriptionPrincipal
1995
+
1996
+ Subscriptions.member = Shapes::ShapeRef.new(shape: Subscription)
1997
+
1921
1998
  Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "key"))
1922
1999
  Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, required: true, location_name: "value"))
1923
2000
  Tag.struct_class = Types::Tag
@@ -1987,6 +2064,7 @@ module Aws::QBusiness
1987
2064
  UpdateChatControlsConfigurationRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location: "uri", location_name: "applicationId"))
1988
2065
  UpdateChatControlsConfigurationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
1989
2066
  UpdateChatControlsConfigurationRequest.add_member(:response_scope, Shapes::ShapeRef.new(shape: ResponseScope, location_name: "responseScope"))
2067
+ UpdateChatControlsConfigurationRequest.add_member(:orchestration_configuration, Shapes::ShapeRef.new(shape: OrchestrationConfiguration, location_name: "orchestrationConfiguration"))
1990
2068
  UpdateChatControlsConfigurationRequest.add_member(:blocked_phrases_configuration_update, Shapes::ShapeRef.new(shape: BlockedPhrasesConfigurationUpdate, location_name: "blockedPhrasesConfigurationUpdate"))
1991
2069
  UpdateChatControlsConfigurationRequest.add_member(:topic_configurations_to_create_or_update, Shapes::ShapeRef.new(shape: TopicConfigurations, location_name: "topicConfigurationsToCreateOrUpdate"))
1992
2070
  UpdateChatControlsConfigurationRequest.add_member(:topic_configurations_to_delete, Shapes::ShapeRef.new(shape: TopicConfigurations, location_name: "topicConfigurationsToDelete"))
@@ -2048,6 +2126,16 @@ module Aws::QBusiness
2048
2126
 
2049
2127
  UpdateRetrieverResponse.struct_class = Types::UpdateRetrieverResponse
2050
2128
 
2129
+ UpdateSubscriptionRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location: "uri", location_name: "applicationId"))
2130
+ UpdateSubscriptionRequest.add_member(:subscription_id, Shapes::ShapeRef.new(shape: SubscriptionId, required: true, location: "uri", location_name: "subscriptionId"))
2131
+ UpdateSubscriptionRequest.add_member(:type, Shapes::ShapeRef.new(shape: SubscriptionType, required: true, location_name: "type"))
2132
+ UpdateSubscriptionRequest.struct_class = Types::UpdateSubscriptionRequest
2133
+
2134
+ UpdateSubscriptionResponse.add_member(:subscription_arn, Shapes::ShapeRef.new(shape: SubscriptionArn, location_name: "subscriptionArn"))
2135
+ UpdateSubscriptionResponse.add_member(:current_subscription, Shapes::ShapeRef.new(shape: SubscriptionDetails, location_name: "currentSubscription"))
2136
+ UpdateSubscriptionResponse.add_member(:next_subscription, Shapes::ShapeRef.new(shape: SubscriptionDetails, location_name: "nextSubscription"))
2137
+ UpdateSubscriptionResponse.struct_class = Types::UpdateSubscriptionResponse
2138
+
2051
2139
  UpdateUserRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location: "uri", location_name: "applicationId"))
2052
2140
  UpdateUserRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "userId"))
2053
2141
  UpdateUserRequest.add_member(:user_aliases_to_update, Shapes::ShapeRef.new(shape: UserAliases, location_name: "userAliasesToUpdate"))
@@ -2182,6 +2270,19 @@ module Aws::QBusiness
2182
2270
  o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
2183
2271
  end)
2184
2272
 
2273
+ api.add_operation(:cancel_subscription, Seahorse::Model::Operation.new.tap do |o|
2274
+ o.name = "CancelSubscription"
2275
+ o.http_method = "DELETE"
2276
+ o.http_request_uri = "/applications/{applicationId}/subscriptions/{subscriptionId}"
2277
+ o.input = Shapes::ShapeRef.new(shape: CancelSubscriptionRequest)
2278
+ o.output = Shapes::ShapeRef.new(shape: CancelSubscriptionResponse)
2279
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2280
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2281
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2282
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2283
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2284
+ end)
2285
+
2185
2286
  api.add_operation(:chat, Seahorse::Model::Operation.new.tap do |o|
2186
2287
  o.name = "Chat"
2187
2288
  o.http_method = "POST"
@@ -2305,6 +2406,20 @@ module Aws::QBusiness
2305
2406
  o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
2306
2407
  end)
2307
2408
 
2409
+ api.add_operation(:create_subscription, Seahorse::Model::Operation.new.tap do |o|
2410
+ o.name = "CreateSubscription"
2411
+ o.http_method = "POST"
2412
+ o.http_request_uri = "/applications/{applicationId}/subscriptions"
2413
+ o.input = Shapes::ShapeRef.new(shape: CreateSubscriptionRequest)
2414
+ o.output = Shapes::ShapeRef.new(shape: CreateSubscriptionResponse)
2415
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2416
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2417
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2418
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2419
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2420
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2421
+ end)
2422
+
2308
2423
  api.add_operation(:create_user, Seahorse::Model::Operation.new.tap do |o|
2309
2424
  o.name = "CreateUser"
2310
2425
  o.http_method = "POST"
@@ -2955,6 +3070,26 @@ module Aws::QBusiness
2955
3070
  )
2956
3071
  end)
2957
3072
 
3073
+ api.add_operation(:list_subscriptions, Seahorse::Model::Operation.new.tap do |o|
3074
+ o.name = "ListSubscriptions"
3075
+ o.http_method = "GET"
3076
+ o.http_request_uri = "/applications/{applicationId}/subscriptions"
3077
+ o.input = Shapes::ShapeRef.new(shape: ListSubscriptionsRequest)
3078
+ o.output = Shapes::ShapeRef.new(shape: ListSubscriptionsResponse)
3079
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3080
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
3081
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
3082
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3083
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
3084
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
3085
+ o[:pager] = Aws::Pager.new(
3086
+ limit_key: "max_results",
3087
+ tokens: {
3088
+ "next_token" => "next_token"
3089
+ }
3090
+ )
3091
+ end)
3092
+
2958
3093
  api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
2959
3094
  o.name = "ListTagsForResource"
2960
3095
  o.http_method = "GET"
@@ -3193,6 +3328,20 @@ module Aws::QBusiness
3193
3328
  o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
3194
3329
  end)
3195
3330
 
3331
+ api.add_operation(:update_subscription, Seahorse::Model::Operation.new.tap do |o|
3332
+ o.name = "UpdateSubscription"
3333
+ o.http_method = "PUT"
3334
+ o.http_request_uri = "/applications/{applicationId}/subscriptions/{subscriptionId}"
3335
+ o.input = Shapes::ShapeRef.new(shape: UpdateSubscriptionRequest)
3336
+ o.output = Shapes::ShapeRef.new(shape: UpdateSubscriptionResponse)
3337
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3338
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
3339
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
3340
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3341
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
3342
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
3343
+ end)
3344
+
3196
3345
  api.add_operation(:update_user, Seahorse::Model::Operation.new.tap do |o|
3197
3346
  o.name = "UpdateUser"
3198
3347
  o.http_method = "PUT"