aws-sdk-chatbot 1.3.0 → 1.4.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: 114ab62f5d03912db41b3453a7418b44ca2085095e124fb095626916c7e79ae6
4
- data.tar.gz: 6bba631b5c5fc5a2fcb65a8edaaae2b3d630ed282f7b249817d3637d8686ef2f
3
+ metadata.gz: 515965b2f8f39a9db9ab189ac45691a91853efb36a1d7b0c1510c1e3cda7cfcb
4
+ data.tar.gz: 85e902189cb628cf28d2e48db2ade5c7e34710f94f7876ec2a596fbf89d8d5b3
5
5
  SHA512:
6
- metadata.gz: 506012cc256bfa3da8801f69cea26e3e3061071c177a6141ad4a21702ef741f740539fab608b2b86627d3ce831cdd9151f8ded9a8885923fbc82eb6413e37586
7
- data.tar.gz: 4bc668c5206fc1871f111b2ed8517d681017bdbd67374a64027a9d8129ec1c19d18e1b4819b310dfc6748db79974aa06f058dd6b8f9b067383c4f6a37691fd08
6
+ metadata.gz: 73509f4b3b03528c3c09917eb4ae135c4a10fc84c233718ef7cf6f2f3d9af5c4003c26cb39eb7c89e52fb4ffc149711acaced49ec789a2c1cf3e1598eadf6aeb
7
+ data.tar.gz: 850d45483307f516f4a1024ecf7884acd1099317911cb1a4bb3bbba0c9c0471e46abd91de5f60ad7fec428c8aaa98bab40258901bdc2f52762c0c556aab98be6
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.4.0 (2024-05-22)
5
+ ------------------
6
+
7
+ * Feature - This change adds support for tagging Chatbot configurations.
8
+
4
9
  1.3.0 (2024-05-13)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.3.0
1
+ 1.4.0
@@ -437,6 +437,9 @@ module Aws::Chatbot
437
437
  # @option params [String] :logging_level
438
438
  # Logging levels include ERROR, INFO, or NONE.
439
439
  #
440
+ # @option params [Array<Types::Tag>] :tags
441
+ # A list of tags to apply to the configuration.
442
+ #
440
443
  # @return [Types::CreateChimeWebhookConfigurationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
441
444
  #
442
445
  # * {Types::CreateChimeWebhookConfigurationResult#webhook_configuration #webhook_configuration} => Types::ChimeWebhookConfiguration
@@ -450,6 +453,12 @@ module Aws::Chatbot
450
453
  # iam_role_arn: "Arn", # required
451
454
  # configuration_name: "ConfigurationName", # required
452
455
  # logging_level: "CustomerCwLogLevel",
456
+ # tags: [
457
+ # {
458
+ # tag_key: "TagKey", # required
459
+ # tag_value: "TagValue", # required
460
+ # },
461
+ # ],
453
462
  # })
454
463
  #
455
464
  # @example Response structure
@@ -461,6 +470,9 @@ module Aws::Chatbot
461
470
  # resp.webhook_configuration.sns_topic_arns[0] #=> String
462
471
  # resp.webhook_configuration.configuration_name #=> String
463
472
  # resp.webhook_configuration.logging_level #=> String
473
+ # resp.webhook_configuration.tags #=> Array
474
+ # resp.webhook_configuration.tags[0].tag_key #=> String
475
+ # resp.webhook_configuration.tags[0].tag_value #=> String
464
476
  #
465
477
  # @see http://docs.aws.amazon.com/goto/WebAPI/chatbot-2017-10-11/CreateChimeWebhookConfiguration AWS API Documentation
466
478
  #
@@ -516,6 +528,9 @@ module Aws::Chatbot
516
528
  # @option params [Boolean] :user_authorization_required
517
529
  # Enables use of a user role requirement in your chat configuration.
518
530
  #
531
+ # @option params [Array<Types::Tag>] :tags
532
+ # A list of tags to apply to the configuration.
533
+ #
519
534
  # @return [Types::CreateTeamsChannelConfigurationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
520
535
  #
521
536
  # * {Types::CreateTeamsChannelConfigurationResult#channel_configuration #channel_configuration} => Types::TeamsChannelConfiguration
@@ -534,6 +549,12 @@ module Aws::Chatbot
534
549
  # logging_level: "CustomerCwLogLevel",
535
550
  # guardrail_policy_arns: ["GuardrailPolicyArn"],
536
551
  # user_authorization_required: false,
552
+ # tags: [
553
+ # {
554
+ # tag_key: "TagKey", # required
555
+ # tag_value: "TagValue", # required
556
+ # },
557
+ # ],
537
558
  # })
538
559
  #
539
560
  # @example Response structure
@@ -552,6 +573,9 @@ module Aws::Chatbot
552
573
  # resp.channel_configuration.guardrail_policy_arns #=> Array
553
574
  # resp.channel_configuration.guardrail_policy_arns[0] #=> String
554
575
  # resp.channel_configuration.user_authorization_required #=> Boolean
576
+ # resp.channel_configuration.tags #=> Array
577
+ # resp.channel_configuration.tags[0].tag_key #=> String
578
+ # resp.channel_configuration.tags[0].tag_value #=> String
555
579
  #
556
580
  # @see http://docs.aws.amazon.com/goto/WebAPI/chatbot-2017-10-11/CreateMicrosoftTeamsChannelConfiguration AWS API Documentation
557
581
  #
@@ -599,6 +623,9 @@ module Aws::Chatbot
599
623
  # @option params [Boolean] :user_authorization_required
600
624
  # Enables use of a user role requirement in your chat configuration.
601
625
  #
626
+ # @option params [Array<Types::Tag>] :tags
627
+ # A list of tags to apply to the configuration.
628
+ #
602
629
  # @return [Types::CreateSlackChannelConfigurationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
603
630
  #
604
631
  # * {Types::CreateSlackChannelConfigurationResult#channel_configuration #channel_configuration} => Types::SlackChannelConfiguration
@@ -615,6 +642,12 @@ module Aws::Chatbot
615
642
  # logging_level: "CustomerCwLogLevel",
616
643
  # guardrail_policy_arns: ["GuardrailPolicyArn"],
617
644
  # user_authorization_required: false,
645
+ # tags: [
646
+ # {
647
+ # tag_key: "TagKey", # required
648
+ # tag_value: "TagValue", # required
649
+ # },
650
+ # ],
618
651
  # })
619
652
  #
620
653
  # @example Response structure
@@ -632,6 +665,9 @@ module Aws::Chatbot
632
665
  # resp.channel_configuration.guardrail_policy_arns #=> Array
633
666
  # resp.channel_configuration.guardrail_policy_arns[0] #=> String
634
667
  # resp.channel_configuration.user_authorization_required #=> Boolean
668
+ # resp.channel_configuration.tags #=> Array
669
+ # resp.channel_configuration.tags[0].tag_key #=> String
670
+ # resp.channel_configuration.tags[0].tag_value #=> String
635
671
  #
636
672
  # @see http://docs.aws.amazon.com/goto/WebAPI/chatbot-2017-10-11/CreateSlackChannelConfiguration AWS API Documentation
637
673
  #
@@ -862,6 +898,9 @@ module Aws::Chatbot
862
898
  # resp.webhook_configurations[0].sns_topic_arns[0] #=> String
863
899
  # resp.webhook_configurations[0].configuration_name #=> String
864
900
  # resp.webhook_configurations[0].logging_level #=> String
901
+ # resp.webhook_configurations[0].tags #=> Array
902
+ # resp.webhook_configurations[0].tags[0].tag_key #=> String
903
+ # resp.webhook_configurations[0].tags[0].tag_value #=> String
865
904
  #
866
905
  # @see http://docs.aws.amazon.com/goto/WebAPI/chatbot-2017-10-11/DescribeChimeWebhookConfigurations AWS API Documentation
867
906
  #
@@ -921,6 +960,9 @@ module Aws::Chatbot
921
960
  # resp.slack_channel_configurations[0].guardrail_policy_arns #=> Array
922
961
  # resp.slack_channel_configurations[0].guardrail_policy_arns[0] #=> String
923
962
  # resp.slack_channel_configurations[0].user_authorization_required #=> Boolean
963
+ # resp.slack_channel_configurations[0].tags #=> Array
964
+ # resp.slack_channel_configurations[0].tags[0].tag_key #=> String
965
+ # resp.slack_channel_configurations[0].tags[0].tag_value #=> String
924
966
  #
925
967
  # @see http://docs.aws.amazon.com/goto/WebAPI/chatbot-2017-10-11/DescribeSlackChannelConfigurations AWS API Documentation
926
968
  #
@@ -1076,6 +1118,9 @@ module Aws::Chatbot
1076
1118
  # resp.channel_configuration.guardrail_policy_arns #=> Array
1077
1119
  # resp.channel_configuration.guardrail_policy_arns[0] #=> String
1078
1120
  # resp.channel_configuration.user_authorization_required #=> Boolean
1121
+ # resp.channel_configuration.tags #=> Array
1122
+ # resp.channel_configuration.tags[0].tag_key #=> String
1123
+ # resp.channel_configuration.tags[0].tag_value #=> String
1079
1124
  #
1080
1125
  # @see http://docs.aws.amazon.com/goto/WebAPI/chatbot-2017-10-11/GetMicrosoftTeamsChannelConfiguration AWS API Documentation
1081
1126
  #
@@ -1140,6 +1185,9 @@ module Aws::Chatbot
1140
1185
  # resp.team_channel_configurations[0].guardrail_policy_arns #=> Array
1141
1186
  # resp.team_channel_configurations[0].guardrail_policy_arns[0] #=> String
1142
1187
  # resp.team_channel_configurations[0].user_authorization_required #=> Boolean
1188
+ # resp.team_channel_configurations[0].tags #=> Array
1189
+ # resp.team_channel_configurations[0].tags[0].tag_key #=> String
1190
+ # resp.team_channel_configurations[0].tags[0].tag_value #=> String
1143
1191
  #
1144
1192
  # @see http://docs.aws.amazon.com/goto/WebAPI/chatbot-2017-10-11/ListMicrosoftTeamsChannelConfigurations AWS API Documentation
1145
1193
  #
@@ -1247,6 +1295,93 @@ module Aws::Chatbot
1247
1295
  req.send_request(options)
1248
1296
  end
1249
1297
 
1298
+ # Retrieves the list of tags applied to a configuration.
1299
+ #
1300
+ # @option params [required, String] :resource_arn
1301
+ # The ARN of the configuration.
1302
+ #
1303
+ # @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1304
+ #
1305
+ # * {Types::ListTagsForResourceResponse#tags #tags} => Array&lt;Types::Tag&gt;
1306
+ #
1307
+ # @example Request syntax with placeholder values
1308
+ #
1309
+ # resp = client.list_tags_for_resource({
1310
+ # resource_arn: "AmazonResourceName", # required
1311
+ # })
1312
+ #
1313
+ # @example Response structure
1314
+ #
1315
+ # resp.tags #=> Array
1316
+ # resp.tags[0].tag_key #=> String
1317
+ # resp.tags[0].tag_value #=> String
1318
+ #
1319
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chatbot-2017-10-11/ListTagsForResource AWS API Documentation
1320
+ #
1321
+ # @overload list_tags_for_resource(params = {})
1322
+ # @param [Hash] params ({})
1323
+ def list_tags_for_resource(params = {}, options = {})
1324
+ req = build_request(:list_tags_for_resource, params)
1325
+ req.send_request(options)
1326
+ end
1327
+
1328
+ # Applies the supplied tags to a configuration.
1329
+ #
1330
+ # @option params [required, String] :resource_arn
1331
+ # The ARN of the configuration.
1332
+ #
1333
+ # @option params [required, Array<Types::Tag>] :tags
1334
+ # A list of tags to apply to the configuration.
1335
+ #
1336
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1337
+ #
1338
+ # @example Request syntax with placeholder values
1339
+ #
1340
+ # resp = client.tag_resource({
1341
+ # resource_arn: "AmazonResourceName", # required
1342
+ # tags: [ # required
1343
+ # {
1344
+ # tag_key: "TagKey", # required
1345
+ # tag_value: "TagValue", # required
1346
+ # },
1347
+ # ],
1348
+ # })
1349
+ #
1350
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chatbot-2017-10-11/TagResource AWS API Documentation
1351
+ #
1352
+ # @overload tag_resource(params = {})
1353
+ # @param [Hash] params ({})
1354
+ def tag_resource(params = {}, options = {})
1355
+ req = build_request(:tag_resource, params)
1356
+ req.send_request(options)
1357
+ end
1358
+
1359
+ # Removes the supplied tags from a configuration
1360
+ #
1361
+ # @option params [required, String] :resource_arn
1362
+ # The ARN of the configuration.
1363
+ #
1364
+ # @option params [required, Array<String>] :tag_keys
1365
+ # A list of tag keys to remove from the configuration.
1366
+ #
1367
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1368
+ #
1369
+ # @example Request syntax with placeholder values
1370
+ #
1371
+ # resp = client.untag_resource({
1372
+ # resource_arn: "AmazonResourceName", # required
1373
+ # tag_keys: ["TagKey"], # required
1374
+ # })
1375
+ #
1376
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chatbot-2017-10-11/UntagResource AWS API Documentation
1377
+ #
1378
+ # @overload untag_resource(params = {})
1379
+ # @param [Hash] params ({})
1380
+ def untag_resource(params = {}, options = {})
1381
+ req = build_request(:untag_resource, params)
1382
+ req.send_request(options)
1383
+ end
1384
+
1250
1385
  # Update Chatbot account level preferences
1251
1386
  #
1252
1387
  # @option params [Boolean] :user_authorization_required
@@ -1338,6 +1473,9 @@ module Aws::Chatbot
1338
1473
  # resp.webhook_configuration.sns_topic_arns[0] #=> String
1339
1474
  # resp.webhook_configuration.configuration_name #=> String
1340
1475
  # resp.webhook_configuration.logging_level #=> String
1476
+ # resp.webhook_configuration.tags #=> Array
1477
+ # resp.webhook_configuration.tags[0].tag_key #=> String
1478
+ # resp.webhook_configuration.tags[0].tag_value #=> String
1341
1479
  #
1342
1480
  # @see http://docs.aws.amazon.com/goto/WebAPI/chatbot-2017-10-11/UpdateChimeWebhookConfiguration AWS API Documentation
1343
1481
  #
@@ -1412,6 +1550,9 @@ module Aws::Chatbot
1412
1550
  # resp.channel_configuration.guardrail_policy_arns #=> Array
1413
1551
  # resp.channel_configuration.guardrail_policy_arns[0] #=> String
1414
1552
  # resp.channel_configuration.user_authorization_required #=> Boolean
1553
+ # resp.channel_configuration.tags #=> Array
1554
+ # resp.channel_configuration.tags[0].tag_key #=> String
1555
+ # resp.channel_configuration.tags[0].tag_value #=> String
1415
1556
  #
1416
1557
  # @see http://docs.aws.amazon.com/goto/WebAPI/chatbot-2017-10-11/UpdateMicrosoftTeamsChannelConfiguration AWS API Documentation
1417
1558
  #
@@ -1488,6 +1629,9 @@ module Aws::Chatbot
1488
1629
  # resp.channel_configuration.guardrail_policy_arns #=> Array
1489
1630
  # resp.channel_configuration.guardrail_policy_arns[0] #=> String
1490
1631
  # resp.channel_configuration.user_authorization_required #=> Boolean
1632
+ # resp.channel_configuration.tags #=> Array
1633
+ # resp.channel_configuration.tags[0].tag_key #=> String
1634
+ # resp.channel_configuration.tags[0].tag_value #=> String
1491
1635
  #
1492
1636
  # @see http://docs.aws.amazon.com/goto/WebAPI/chatbot-2017-10-11/UpdateSlackChannelConfiguration AWS API Documentation
1493
1637
  #
@@ -1511,7 +1655,7 @@ module Aws::Chatbot
1511
1655
  params: params,
1512
1656
  config: config)
1513
1657
  context[:gem_name] = 'aws-sdk-chatbot'
1514
- context[:gem_version] = '1.3.0'
1658
+ context[:gem_version] = '1.4.0'
1515
1659
  Seahorse::Client::Request.new(handlers, context)
1516
1660
  end
1517
1661
 
@@ -14,6 +14,7 @@ module Aws::Chatbot
14
14
  include Seahorse::Model
15
15
 
16
16
  AccountPreferences = Shapes::StructureShape.new(name: 'AccountPreferences')
17
+ AmazonResourceName = Shapes::StringShape.new(name: 'AmazonResourceName')
17
18
  Arn = Shapes::StringShape.new(name: 'Arn')
18
19
  AwsUserIdentity = Shapes::StringShape.new(name: 'AwsUserIdentity')
19
20
  BooleanAccountPreference = Shapes::BooleanShape.new(name: 'BooleanAccountPreference')
@@ -77,6 +78,7 @@ module Aws::Chatbot
77
78
  GetTeamsChannelConfigurationResult = Shapes::StructureShape.new(name: 'GetTeamsChannelConfigurationResult')
78
79
  GuardrailPolicyArn = Shapes::StringShape.new(name: 'GuardrailPolicyArn')
79
80
  GuardrailPolicyArnList = Shapes::ListShape.new(name: 'GuardrailPolicyArnList')
81
+ InternalServiceError = Shapes::StructureShape.new(name: 'InternalServiceError')
80
82
  InvalidParameterException = Shapes::StructureShape.new(name: 'InvalidParameterException')
81
83
  InvalidRequestException = Shapes::StructureShape.new(name: 'InvalidRequestException')
82
84
  LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
@@ -86,12 +88,15 @@ module Aws::Chatbot
86
88
  ListMicrosoftTeamsUserIdentitiesException = Shapes::StructureShape.new(name: 'ListMicrosoftTeamsUserIdentitiesException')
87
89
  ListMicrosoftTeamsUserIdentitiesRequest = Shapes::StructureShape.new(name: 'ListMicrosoftTeamsUserIdentitiesRequest')
88
90
  ListMicrosoftTeamsUserIdentitiesResult = Shapes::StructureShape.new(name: 'ListMicrosoftTeamsUserIdentitiesResult')
91
+ ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
92
+ ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
89
93
  ListTeamsChannelConfigurationsException = Shapes::StructureShape.new(name: 'ListTeamsChannelConfigurationsException')
90
94
  ListTeamsChannelConfigurationsRequest = Shapes::StructureShape.new(name: 'ListTeamsChannelConfigurationsRequest')
91
95
  ListTeamsChannelConfigurationsResult = Shapes::StructureShape.new(name: 'ListTeamsChannelConfigurationsResult')
92
96
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
93
97
  PaginationToken = Shapes::StringShape.new(name: 'PaginationToken')
94
98
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
99
+ ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
95
100
  SlackChannelConfiguration = Shapes::StructureShape.new(name: 'SlackChannelConfiguration')
96
101
  SlackChannelConfigurationList = Shapes::ListShape.new(name: 'SlackChannelConfigurationList')
97
102
  SlackChannelDisplayName = Shapes::StringShape.new(name: 'SlackChannelDisplayName')
@@ -105,6 +110,14 @@ module Aws::Chatbot
105
110
  SlackWorkspacesList = Shapes::ListShape.new(name: 'SlackWorkspacesList')
106
111
  SnsTopicArnList = Shapes::ListShape.new(name: 'SnsTopicArnList')
107
112
  String = Shapes::StringShape.new(name: 'String')
113
+ Tag = Shapes::StructureShape.new(name: 'Tag')
114
+ TagKey = Shapes::StringShape.new(name: 'TagKey')
115
+ TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
116
+ TagList = Shapes::ListShape.new(name: 'TagList')
117
+ TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
118
+ TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
119
+ TagValue = Shapes::StringShape.new(name: 'TagValue')
120
+ Tags = Shapes::ListShape.new(name: 'Tags')
108
121
  TeamChannelConfigurationsList = Shapes::ListShape.new(name: 'TeamChannelConfigurationsList')
109
122
  TeamName = Shapes::StringShape.new(name: 'TeamName')
110
123
  TeamsChannelConfiguration = Shapes::StructureShape.new(name: 'TeamsChannelConfiguration')
@@ -112,7 +125,10 @@ module Aws::Chatbot
112
125
  TeamsChannelName = Shapes::StringShape.new(name: 'TeamsChannelName')
113
126
  TeamsUserIdentitiesList = Shapes::ListShape.new(name: 'TeamsUserIdentitiesList')
114
127
  TeamsUserIdentity = Shapes::StructureShape.new(name: 'TeamsUserIdentity')
128
+ TooManyTagsException = Shapes::StructureShape.new(name: 'TooManyTagsException')
115
129
  UUID = Shapes::StringShape.new(name: 'UUID')
130
+ UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
131
+ UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
116
132
  UpdateAccountPreferencesException = Shapes::StructureShape.new(name: 'UpdateAccountPreferencesException')
117
133
  UpdateAccountPreferencesRequest = Shapes::StructureShape.new(name: 'UpdateAccountPreferencesRequest')
118
134
  UpdateAccountPreferencesResult = Shapes::StructureShape.new(name: 'UpdateAccountPreferencesResult')
@@ -136,6 +152,7 @@ module Aws::Chatbot
136
152
  ChimeWebhookConfiguration.add_member(:sns_topic_arns, Shapes::ShapeRef.new(shape: SnsTopicArnList, required: true, location_name: "SnsTopicArns"))
137
153
  ChimeWebhookConfiguration.add_member(:configuration_name, Shapes::ShapeRef.new(shape: ConfigurationName, location_name: "ConfigurationName"))
138
154
  ChimeWebhookConfiguration.add_member(:logging_level, Shapes::ShapeRef.new(shape: CustomerCwLogLevel, location_name: "LoggingLevel"))
155
+ ChimeWebhookConfiguration.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
139
156
  ChimeWebhookConfiguration.struct_class = Types::ChimeWebhookConfiguration
140
157
 
141
158
  ChimeWebhookConfigurationList.member = Shapes::ShapeRef.new(shape: ChimeWebhookConfiguration)
@@ -157,6 +174,7 @@ module Aws::Chatbot
157
174
  CreateChimeWebhookConfigurationRequest.add_member(:iam_role_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "IamRoleArn"))
158
175
  CreateChimeWebhookConfigurationRequest.add_member(:configuration_name, Shapes::ShapeRef.new(shape: ConfigurationName, required: true, location_name: "ConfigurationName"))
159
176
  CreateChimeWebhookConfigurationRequest.add_member(:logging_level, Shapes::ShapeRef.new(shape: CustomerCwLogLevel, location_name: "LoggingLevel"))
177
+ CreateChimeWebhookConfigurationRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
160
178
  CreateChimeWebhookConfigurationRequest.struct_class = Types::CreateChimeWebhookConfigurationRequest
161
179
 
162
180
  CreateChimeWebhookConfigurationResult.add_member(:webhook_configuration, Shapes::ShapeRef.new(shape: ChimeWebhookConfiguration, location_name: "WebhookConfiguration"))
@@ -173,6 +191,7 @@ module Aws::Chatbot
173
191
  CreateSlackChannelConfigurationRequest.add_member(:logging_level, Shapes::ShapeRef.new(shape: CustomerCwLogLevel, location_name: "LoggingLevel"))
174
192
  CreateSlackChannelConfigurationRequest.add_member(:guardrail_policy_arns, Shapes::ShapeRef.new(shape: GuardrailPolicyArnList, location_name: "GuardrailPolicyArns"))
175
193
  CreateSlackChannelConfigurationRequest.add_member(:user_authorization_required, Shapes::ShapeRef.new(shape: BooleanAccountPreference, location_name: "UserAuthorizationRequired"))
194
+ CreateSlackChannelConfigurationRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
176
195
  CreateSlackChannelConfigurationRequest.struct_class = Types::CreateSlackChannelConfigurationRequest
177
196
 
178
197
  CreateSlackChannelConfigurationResult.add_member(:channel_configuration, Shapes::ShapeRef.new(shape: SlackChannelConfiguration, location_name: "ChannelConfiguration"))
@@ -191,6 +210,7 @@ module Aws::Chatbot
191
210
  CreateTeamsChannelConfigurationRequest.add_member(:logging_level, Shapes::ShapeRef.new(shape: CustomerCwLogLevel, location_name: "LoggingLevel"))
192
211
  CreateTeamsChannelConfigurationRequest.add_member(:guardrail_policy_arns, Shapes::ShapeRef.new(shape: GuardrailPolicyArnList, location_name: "GuardrailPolicyArns"))
193
212
  CreateTeamsChannelConfigurationRequest.add_member(:user_authorization_required, Shapes::ShapeRef.new(shape: BooleanAccountPreference, location_name: "UserAuthorizationRequired"))
213
+ CreateTeamsChannelConfigurationRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
194
214
  CreateTeamsChannelConfigurationRequest.struct_class = Types::CreateTeamsChannelConfigurationRequest
195
215
 
196
216
  CreateTeamsChannelConfigurationResult.add_member(:channel_configuration, Shapes::ShapeRef.new(shape: TeamsChannelConfiguration, location_name: "ChannelConfiguration"))
@@ -308,6 +328,8 @@ module Aws::Chatbot
308
328
 
309
329
  GuardrailPolicyArnList.member = Shapes::ShapeRef.new(shape: GuardrailPolicyArn)
310
330
 
331
+ InternalServiceError.struct_class = Types::InternalServiceError
332
+
311
333
  InvalidParameterException.struct_class = Types::InvalidParameterException
312
334
 
313
335
  InvalidRequestException.struct_class = Types::InvalidRequestException
@@ -335,6 +357,12 @@ module Aws::Chatbot
335
357
  ListMicrosoftTeamsUserIdentitiesResult.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
336
358
  ListMicrosoftTeamsUserIdentitiesResult.struct_class = Types::ListMicrosoftTeamsUserIdentitiesResult
337
359
 
360
+ ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "ResourceARN"))
361
+ ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
362
+
363
+ ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
364
+ ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
365
+
338
366
  ListTeamsChannelConfigurationsException.struct_class = Types::ListTeamsChannelConfigurationsException
339
367
 
340
368
  ListTeamsChannelConfigurationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults", metadata: {"box"=>true}))
@@ -348,6 +376,8 @@ module Aws::Chatbot
348
376
 
349
377
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
350
378
 
379
+ ServiceUnavailableException.struct_class = Types::ServiceUnavailableException
380
+
351
381
  SlackChannelConfiguration.add_member(:slack_team_name, Shapes::ShapeRef.new(shape: SlackTeamName, required: true, location_name: "SlackTeamName"))
352
382
  SlackChannelConfiguration.add_member(:slack_team_id, Shapes::ShapeRef.new(shape: SlackTeamId, required: true, location_name: "SlackTeamId"))
353
383
  SlackChannelConfiguration.add_member(:slack_channel_id, Shapes::ShapeRef.new(shape: SlackChannelId, required: true, location_name: "SlackChannelId"))
@@ -359,6 +389,7 @@ module Aws::Chatbot
359
389
  SlackChannelConfiguration.add_member(:logging_level, Shapes::ShapeRef.new(shape: CustomerCwLogLevel, location_name: "LoggingLevel"))
360
390
  SlackChannelConfiguration.add_member(:guardrail_policy_arns, Shapes::ShapeRef.new(shape: GuardrailPolicyArnList, location_name: "GuardrailPolicyArns"))
361
391
  SlackChannelConfiguration.add_member(:user_authorization_required, Shapes::ShapeRef.new(shape: BooleanAccountPreference, location_name: "UserAuthorizationRequired"))
392
+ SlackChannelConfiguration.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
362
393
  SlackChannelConfiguration.struct_class = Types::SlackChannelConfiguration
363
394
 
364
395
  SlackChannelConfigurationList.member = Shapes::ShapeRef.new(shape: SlackChannelConfiguration)
@@ -380,6 +411,22 @@ module Aws::Chatbot
380
411
 
381
412
  SnsTopicArnList.member = Shapes::ShapeRef.new(shape: Arn)
382
413
 
414
+ Tag.add_member(:tag_key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "TagKey"))
415
+ Tag.add_member(:tag_value, Shapes::ShapeRef.new(shape: TagValue, required: true, location_name: "TagValue"))
416
+ Tag.struct_class = Types::Tag
417
+
418
+ TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
419
+
420
+ TagList.member = Shapes::ShapeRef.new(shape: Tag)
421
+
422
+ TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "ResourceARN"))
423
+ TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, required: true, location_name: "Tags"))
424
+ TagResourceRequest.struct_class = Types::TagResourceRequest
425
+
426
+ TagResourceResponse.struct_class = Types::TagResourceResponse
427
+
428
+ Tags.member = Shapes::ShapeRef.new(shape: Tag)
429
+
383
430
  TeamChannelConfigurationsList.member = Shapes::ShapeRef.new(shape: TeamsChannelConfiguration)
384
431
 
385
432
  TeamsChannelConfiguration.add_member(:channel_id, Shapes::ShapeRef.new(shape: TeamsChannelId, required: true, location_name: "ChannelId"))
@@ -394,6 +441,7 @@ module Aws::Chatbot
394
441
  TeamsChannelConfiguration.add_member(:logging_level, Shapes::ShapeRef.new(shape: CustomerCwLogLevel, location_name: "LoggingLevel"))
395
442
  TeamsChannelConfiguration.add_member(:guardrail_policy_arns, Shapes::ShapeRef.new(shape: GuardrailPolicyArnList, location_name: "GuardrailPolicyArns"))
396
443
  TeamsChannelConfiguration.add_member(:user_authorization_required, Shapes::ShapeRef.new(shape: BooleanAccountPreference, location_name: "UserAuthorizationRequired"))
444
+ TeamsChannelConfiguration.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
397
445
  TeamsChannelConfiguration.struct_class = Types::TeamsChannelConfiguration
398
446
 
399
447
  TeamsUserIdentitiesList.member = Shapes::ShapeRef.new(shape: TeamsUserIdentity)
@@ -407,6 +455,14 @@ module Aws::Chatbot
407
455
  TeamsUserIdentity.add_member(:teams_tenant_id, Shapes::ShapeRef.new(shape: UUID, location_name: "TeamsTenantId"))
408
456
  TeamsUserIdentity.struct_class = Types::TeamsUserIdentity
409
457
 
458
+ TooManyTagsException.struct_class = Types::TooManyTagsException
459
+
460
+ UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "ResourceARN"))
461
+ UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location_name: "TagKeys"))
462
+ UntagResourceRequest.struct_class = Types::UntagResourceRequest
463
+
464
+ UntagResourceResponse.struct_class = Types::UntagResourceResponse
465
+
410
466
  UpdateAccountPreferencesException.struct_class = Types::UpdateAccountPreferencesException
411
467
 
412
468
  UpdateAccountPreferencesRequest.add_member(:user_authorization_required, Shapes::ShapeRef.new(shape: BooleanAccountPreference, location_name: "UserAuthorizationRequired"))
@@ -470,6 +526,7 @@ module Aws::Chatbot
470
526
  "endpointPrefix" => "chatbot",
471
527
  "jsonVersion" => "1.1",
472
528
  "protocol" => "rest-json",
529
+ "protocols" => ["rest-json"],
473
530
  "serviceFullName" => "AWS Chatbot",
474
531
  "serviceId" => "chatbot",
475
532
  "signatureVersion" => "v4",
@@ -733,6 +790,40 @@ module Aws::Chatbot
733
790
  )
734
791
  end)
735
792
 
793
+ api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
794
+ o.name = "ListTagsForResource"
795
+ o.http_method = "POST"
796
+ o.http_request_uri = "/list-tags-for-resource"
797
+ o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
798
+ o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
799
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceError)
800
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
801
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
802
+ end)
803
+
804
+ api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
805
+ o.name = "TagResource"
806
+ o.http_method = "POST"
807
+ o.http_request_uri = "/tag-resource"
808
+ o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
809
+ o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
810
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceError)
811
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
812
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
813
+ o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
814
+ end)
815
+
816
+ api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
817
+ o.name = "UntagResource"
818
+ o.http_method = "POST"
819
+ o.http_request_uri = "/untag-resource"
820
+ o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
821
+ o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
822
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceError)
823
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
824
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
825
+ end)
826
+
736
827
  api.add_operation(:update_account_preferences, Seahorse::Model::Operation.new.tap do |o|
737
828
  o.name = "UpdateAccountPreferences"
738
829
  o.http_method = "POST"
@@ -278,6 +278,48 @@ module Aws::Chatbot
278
278
  end
279
279
  end
280
280
 
281
+ class ListTagsForResource
282
+ def self.build(context)
283
+ unless context.config.regional_endpoint
284
+ endpoint = context.config.endpoint.to_s
285
+ end
286
+ Aws::Chatbot::EndpointParameters.new(
287
+ region: context.config.region,
288
+ use_dual_stack: context.config.use_dualstack_endpoint,
289
+ use_fips: context.config.use_fips_endpoint,
290
+ endpoint: endpoint,
291
+ )
292
+ end
293
+ end
294
+
295
+ class TagResource
296
+ def self.build(context)
297
+ unless context.config.regional_endpoint
298
+ endpoint = context.config.endpoint.to_s
299
+ end
300
+ Aws::Chatbot::EndpointParameters.new(
301
+ region: context.config.region,
302
+ use_dual_stack: context.config.use_dualstack_endpoint,
303
+ use_fips: context.config.use_fips_endpoint,
304
+ endpoint: endpoint,
305
+ )
306
+ end
307
+ end
308
+
309
+ class UntagResource
310
+ def self.build(context)
311
+ unless context.config.regional_endpoint
312
+ endpoint = context.config.endpoint.to_s
313
+ end
314
+ Aws::Chatbot::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
+
281
323
  class UpdateAccountPreferences
282
324
  def self.build(context)
283
325
  unless context.config.regional_endpoint
@@ -44,6 +44,7 @@ module Aws::Chatbot
44
44
  # * {DescribeSlackWorkspacesException}
45
45
  # * {GetAccountPreferencesException}
46
46
  # * {GetTeamsChannelConfigurationException}
47
+ # * {InternalServiceError}
47
48
  # * {InvalidParameterException}
48
49
  # * {InvalidRequestException}
49
50
  # * {LimitExceededException}
@@ -51,6 +52,8 @@ module Aws::Chatbot
51
52
  # * {ListMicrosoftTeamsUserIdentitiesException}
52
53
  # * {ListTeamsChannelConfigurationsException}
53
54
  # * {ResourceNotFoundException}
55
+ # * {ServiceUnavailableException}
56
+ # * {TooManyTagsException}
54
57
  # * {UpdateAccountPreferencesException}
55
58
  # * {UpdateChimeWebhookConfigurationException}
56
59
  # * {UpdateSlackChannelConfigurationException}
@@ -232,6 +235,16 @@ module Aws::Chatbot
232
235
  end
233
236
  end
234
237
 
238
+ class InternalServiceError < ServiceError
239
+
240
+ # @param [Seahorse::Client::RequestContext] context
241
+ # @param [String] message
242
+ # @param [Aws::Chatbot::Types::InternalServiceError] data
243
+ def initialize(context, message, data = Aws::EmptyStructure.new)
244
+ super(context, message, data)
245
+ end
246
+ end
247
+
235
248
  class InvalidParameterException < ServiceError
236
249
 
237
250
  # @param [Seahorse::Client::RequestContext] context
@@ -302,6 +315,26 @@ module Aws::Chatbot
302
315
  end
303
316
  end
304
317
 
318
+ class ServiceUnavailableException < ServiceError
319
+
320
+ # @param [Seahorse::Client::RequestContext] context
321
+ # @param [String] message
322
+ # @param [Aws::Chatbot::Types::ServiceUnavailableException] data
323
+ def initialize(context, message, data = Aws::EmptyStructure.new)
324
+ super(context, message, data)
325
+ end
326
+ end
327
+
328
+ class TooManyTagsException < ServiceError
329
+
330
+ # @param [Seahorse::Client::RequestContext] context
331
+ # @param [String] message
332
+ # @param [Aws::Chatbot::Types::TooManyTagsException] data
333
+ def initialize(context, message, data = Aws::EmptyStructure.new)
334
+ super(context, message, data)
335
+ end
336
+ end
337
+
305
338
  class UpdateAccountPreferencesException < ServiceError
306
339
 
307
340
  # @param [Seahorse::Client::RequestContext] context
@@ -96,6 +96,12 @@ module Aws::Chatbot
96
96
  Aws::Chatbot::Endpoints::ListMicrosoftTeamsConfiguredTeams.build(context)
97
97
  when :list_microsoft_teams_user_identities
98
98
  Aws::Chatbot::Endpoints::ListMicrosoftTeamsUserIdentities.build(context)
99
+ when :list_tags_for_resource
100
+ Aws::Chatbot::Endpoints::ListTagsForResource.build(context)
101
+ when :tag_resource
102
+ Aws::Chatbot::Endpoints::TagResource.build(context)
103
+ when :untag_resource
104
+ Aws::Chatbot::Endpoints::UntagResource.build(context)
99
105
  when :update_account_preferences
100
106
  Aws::Chatbot::Endpoints::UpdateAccountPreferences.build(context)
101
107
  when :update_chime_webhook_configuration
@@ -73,6 +73,10 @@ module Aws::Chatbot
73
73
  # levels include ERROR, INFO, or NONE.
74
74
  # @return [String]
75
75
  #
76
+ # @!attribute [rw] tags
77
+ # A list of tags applied to the configuration.
78
+ # @return [Array<Types::Tag>]
79
+ #
76
80
  # @see http://docs.aws.amazon.com/goto/WebAPI/chatbot-2017-10-11/ChimeWebhookConfiguration AWS API Documentation
77
81
  #
78
82
  class ChimeWebhookConfiguration < Struct.new(
@@ -81,7 +85,8 @@ module Aws::Chatbot
81
85
  :iam_role_arn,
82
86
  :sns_topic_arns,
83
87
  :configuration_name,
84
- :logging_level)
88
+ :logging_level,
89
+ :tags)
85
90
  SENSITIVE = []
86
91
  include Aws::Structure
87
92
  end
@@ -157,6 +162,10 @@ module Aws::Chatbot
157
162
  # Logging levels include ERROR, INFO, or NONE.
158
163
  # @return [String]
159
164
  #
165
+ # @!attribute [rw] tags
166
+ # A list of tags to apply to the configuration.
167
+ # @return [Array<Types::Tag>]
168
+ #
160
169
  # @see http://docs.aws.amazon.com/goto/WebAPI/chatbot-2017-10-11/CreateChimeWebhookConfigurationRequest AWS API Documentation
161
170
  #
162
171
  class CreateChimeWebhookConfigurationRequest < Struct.new(
@@ -165,7 +174,8 @@ module Aws::Chatbot
165
174
  :sns_topic_arns,
166
175
  :iam_role_arn,
167
176
  :configuration_name,
168
- :logging_level)
177
+ :logging_level,
178
+ :tags)
169
179
  SENSITIVE = []
170
180
  include Aws::Structure
171
181
  end
@@ -234,6 +244,10 @@ module Aws::Chatbot
234
244
  # Enables use of a user role requirement in your chat configuration.
235
245
  # @return [Boolean]
236
246
  #
247
+ # @!attribute [rw] tags
248
+ # A list of tags to apply to the configuration.
249
+ # @return [Array<Types::Tag>]
250
+ #
237
251
  # @see http://docs.aws.amazon.com/goto/WebAPI/chatbot-2017-10-11/CreateSlackChannelConfigurationRequest AWS API Documentation
238
252
  #
239
253
  class CreateSlackChannelConfigurationRequest < Struct.new(
@@ -245,7 +259,8 @@ module Aws::Chatbot
245
259
  :configuration_name,
246
260
  :logging_level,
247
261
  :guardrail_policy_arns,
248
- :user_authorization_required)
262
+ :user_authorization_required,
263
+ :tags)
249
264
  SENSITIVE = []
250
265
  include Aws::Structure
251
266
  end
@@ -324,6 +339,10 @@ module Aws::Chatbot
324
339
  # Enables use of a user role requirement in your chat configuration.
325
340
  # @return [Boolean]
326
341
  #
342
+ # @!attribute [rw] tags
343
+ # A list of tags to apply to the configuration.
344
+ # @return [Array<Types::Tag>]
345
+ #
327
346
  # @see http://docs.aws.amazon.com/goto/WebAPI/chatbot-2017-10-11/CreateTeamsChannelConfigurationRequest AWS API Documentation
328
347
  #
329
348
  class CreateTeamsChannelConfigurationRequest < Struct.new(
@@ -337,7 +356,8 @@ module Aws::Chatbot
337
356
  :configuration_name,
338
357
  :logging_level,
339
358
  :guardrail_policy_arns,
340
- :user_authorization_required)
359
+ :user_authorization_required,
360
+ :tags)
341
361
  SENSITIVE = []
342
362
  include Aws::Structure
343
363
  end
@@ -811,6 +831,13 @@ module Aws::Chatbot
811
831
  include Aws::Structure
812
832
  end
813
833
 
834
+ # Customer/consumer-facing internal service exception.
835
+ # https://w.amazon.com/index.php/AWS/API\_Standards/Exceptions#InternalServiceError
836
+ #
837
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chatbot-2017-10-11/InternalServiceError AWS API Documentation
838
+ #
839
+ class InternalServiceError < Aws::EmptyStructure; end
840
+
814
841
  # Your request input doesn't meet the constraints that AWS Chatbot
815
842
  # requires.
816
843
  #
@@ -938,6 +965,30 @@ module Aws::Chatbot
938
965
  include Aws::Structure
939
966
  end
940
967
 
968
+ # @!attribute [rw] resource_arn
969
+ # The ARN of the configuration.
970
+ # @return [String]
971
+ #
972
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chatbot-2017-10-11/ListTagsForResourceRequest AWS API Documentation
973
+ #
974
+ class ListTagsForResourceRequest < Struct.new(
975
+ :resource_arn)
976
+ SENSITIVE = []
977
+ include Aws::Structure
978
+ end
979
+
980
+ # @!attribute [rw] tags
981
+ # A list of tags applied to the configuration.
982
+ # @return [Array<Types::Tag>]
983
+ #
984
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chatbot-2017-10-11/ListTagsForResourceResponse AWS API Documentation
985
+ #
986
+ class ListTagsForResourceResponse < Struct.new(
987
+ :tags)
988
+ SENSITIVE = []
989
+ include Aws::Structure
990
+ end
991
+
941
992
  # We can’t process your request right now because of a server issue. Try
942
993
  # again later.
943
994
  #
@@ -1004,6 +1055,13 @@ module Aws::Chatbot
1004
1055
  #
1005
1056
  class ResourceNotFoundException < Aws::EmptyStructure; end
1006
1057
 
1058
+ # We can’t process your request right now because of a server issue. Try
1059
+ # again later.
1060
+ #
1061
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chatbot-2017-10-11/ServiceUnavailableException AWS API Documentation
1062
+ #
1063
+ class ServiceUnavailableException < Aws::EmptyStructure; end
1064
+
1007
1065
  # An AWS Chatbot configuration for Slack.
1008
1066
  #
1009
1067
  # @!attribute [rw] slack_team_name
@@ -1059,6 +1117,10 @@ module Aws::Chatbot
1059
1117
  # Enables use of a user role requirement in your chat configuration.
1060
1118
  # @return [Boolean]
1061
1119
  #
1120
+ # @!attribute [rw] tags
1121
+ # A list of tags applied to the configuration.
1122
+ # @return [Array<Types::Tag>]
1123
+ #
1062
1124
  # @see http://docs.aws.amazon.com/goto/WebAPI/chatbot-2017-10-11/SlackChannelConfiguration AWS API Documentation
1063
1125
  #
1064
1126
  class SlackChannelConfiguration < Struct.new(
@@ -1072,7 +1134,8 @@ module Aws::Chatbot
1072
1134
  :configuration_name,
1073
1135
  :logging_level,
1074
1136
  :guardrail_policy_arns,
1075
- :user_authorization_required)
1137
+ :user_authorization_required,
1138
+ :tags)
1076
1139
  SENSITIVE = []
1077
1140
  include Aws::Structure
1078
1141
  end
@@ -1135,6 +1198,46 @@ module Aws::Chatbot
1135
1198
  include Aws::Structure
1136
1199
  end
1137
1200
 
1201
+ # A tag applied to the configuration.
1202
+ #
1203
+ # @!attribute [rw] tag_key
1204
+ # The tag key.
1205
+ # @return [String]
1206
+ #
1207
+ # @!attribute [rw] tag_value
1208
+ # The tag value.
1209
+ # @return [String]
1210
+ #
1211
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chatbot-2017-10-11/Tag AWS API Documentation
1212
+ #
1213
+ class Tag < Struct.new(
1214
+ :tag_key,
1215
+ :tag_value)
1216
+ SENSITIVE = []
1217
+ include Aws::Structure
1218
+ end
1219
+
1220
+ # @!attribute [rw] resource_arn
1221
+ # The ARN of the configuration.
1222
+ # @return [String]
1223
+ #
1224
+ # @!attribute [rw] tags
1225
+ # A list of tags to apply to the configuration.
1226
+ # @return [Array<Types::Tag>]
1227
+ #
1228
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chatbot-2017-10-11/TagResourceRequest AWS API Documentation
1229
+ #
1230
+ class TagResourceRequest < Struct.new(
1231
+ :resource_arn,
1232
+ :tags)
1233
+ SENSITIVE = []
1234
+ include Aws::Structure
1235
+ end
1236
+
1237
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chatbot-2017-10-11/TagResourceResponse AWS API Documentation
1238
+ #
1239
+ class TagResourceResponse < Aws::EmptyStructure; end
1240
+
1138
1241
  # An AWS Chatbot configuration for Microsoft Teams.
1139
1242
  #
1140
1243
  # @!attribute [rw] channel_id
@@ -1196,6 +1299,10 @@ module Aws::Chatbot
1196
1299
  # Enables use of a user role requirement in your chat configuration.
1197
1300
  # @return [Boolean]
1198
1301
  #
1302
+ # @!attribute [rw] tags
1303
+ # A list of tags applied to the configuration.
1304
+ # @return [Array<Types::Tag>]
1305
+ #
1199
1306
  # @see http://docs.aws.amazon.com/goto/WebAPI/chatbot-2017-10-11/TeamsChannelConfiguration AWS API Documentation
1200
1307
  #
1201
1308
  class TeamsChannelConfiguration < Struct.new(
@@ -1210,7 +1317,8 @@ module Aws::Chatbot
1210
1317
  :configuration_name,
1211
1318
  :logging_level,
1212
1319
  :guardrail_policy_arns,
1213
- :user_authorization_required)
1320
+ :user_authorization_required,
1321
+ :tags)
1214
1322
  SENSITIVE = []
1215
1323
  include Aws::Structure
1216
1324
  end
@@ -1269,6 +1377,33 @@ module Aws::Chatbot
1269
1377
  include Aws::Structure
1270
1378
  end
1271
1379
 
1380
+ # The supplied list of tags contains too many tags.
1381
+ #
1382
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chatbot-2017-10-11/TooManyTagsException AWS API Documentation
1383
+ #
1384
+ class TooManyTagsException < Aws::EmptyStructure; end
1385
+
1386
+ # @!attribute [rw] resource_arn
1387
+ # The ARN of the configuration.
1388
+ # @return [String]
1389
+ #
1390
+ # @!attribute [rw] tag_keys
1391
+ # A list of tag keys to remove from the configuration.
1392
+ # @return [Array<String>]
1393
+ #
1394
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chatbot-2017-10-11/UntagResourceRequest AWS API Documentation
1395
+ #
1396
+ class UntagResourceRequest < Struct.new(
1397
+ :resource_arn,
1398
+ :tag_keys)
1399
+ SENSITIVE = []
1400
+ include Aws::Structure
1401
+ end
1402
+
1403
+ # @see http://docs.aws.amazon.com/goto/WebAPI/chatbot-2017-10-11/UntagResourceResponse AWS API Documentation
1404
+ #
1405
+ class UntagResourceResponse < Aws::EmptyStructure; end
1406
+
1272
1407
  # We can’t process your request right now because of a server issue. Try
1273
1408
  # again later.
1274
1409
  #
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-chatbot/customizations'
52
52
  # @!group service
53
53
  module Aws::Chatbot
54
54
 
55
- GEM_VERSION = '1.3.0'
55
+ GEM_VERSION = '1.4.0'
56
56
 
57
57
  end
data/sig/client.rbs CHANGED
@@ -83,7 +83,13 @@ module Aws
83
83
  sns_topic_arns: Array[::String],
84
84
  iam_role_arn: ::String,
85
85
  configuration_name: ::String,
86
- ?logging_level: ::String
86
+ ?logging_level: ::String,
87
+ ?tags: Array[
88
+ {
89
+ tag_key: ::String,
90
+ tag_value: ::String
91
+ },
92
+ ]
87
93
  ) -> _CreateChimeWebhookConfigurationResponseSuccess
88
94
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateChimeWebhookConfigurationResponseSuccess
89
95
 
@@ -103,7 +109,13 @@ module Aws
103
109
  configuration_name: ::String,
104
110
  ?logging_level: ::String,
105
111
  ?guardrail_policy_arns: Array[::String],
106
- ?user_authorization_required: bool
112
+ ?user_authorization_required: bool,
113
+ ?tags: Array[
114
+ {
115
+ tag_key: ::String,
116
+ tag_value: ::String
117
+ },
118
+ ]
107
119
  ) -> _CreateMicrosoftTeamsChannelConfigurationResponseSuccess
108
120
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateMicrosoftTeamsChannelConfigurationResponseSuccess
109
121
 
@@ -121,7 +133,13 @@ module Aws
121
133
  configuration_name: ::String,
122
134
  ?logging_level: ::String,
123
135
  ?guardrail_policy_arns: Array[::String],
124
- ?user_authorization_required: bool
136
+ ?user_authorization_required: bool,
137
+ ?tags: Array[
138
+ {
139
+ tag_key: ::String,
140
+ tag_value: ::String
141
+ },
142
+ ]
125
143
  ) -> _CreateSlackChannelConfigurationResponseSuccess
126
144
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateSlackChannelConfigurationResponseSuccess
127
145
 
@@ -299,6 +317,41 @@ module Aws
299
317
  ) -> _ListMicrosoftTeamsUserIdentitiesResponseSuccess
300
318
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListMicrosoftTeamsUserIdentitiesResponseSuccess
301
319
 
320
+ interface _ListTagsForResourceResponseSuccess
321
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
322
+ def tags: () -> ::Array[Types::Tag]
323
+ end
324
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Chatbot/Client.html#list_tags_for_resource-instance_method
325
+ def list_tags_for_resource: (
326
+ resource_arn: ::String
327
+ ) -> _ListTagsForResourceResponseSuccess
328
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
329
+
330
+ interface _TagResourceResponseSuccess
331
+ include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
332
+ end
333
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Chatbot/Client.html#tag_resource-instance_method
334
+ def tag_resource: (
335
+ resource_arn: ::String,
336
+ tags: Array[
337
+ {
338
+ tag_key: ::String,
339
+ tag_value: ::String
340
+ },
341
+ ]
342
+ ) -> _TagResourceResponseSuccess
343
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
344
+
345
+ interface _UntagResourceResponseSuccess
346
+ include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
347
+ end
348
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Chatbot/Client.html#untag_resource-instance_method
349
+ def untag_resource: (
350
+ resource_arn: ::String,
351
+ tag_keys: Array[::String]
352
+ ) -> _UntagResourceResponseSuccess
353
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
354
+
302
355
  interface _UpdateAccountPreferencesResponseSuccess
303
356
  include ::Seahorse::Client::_ResponseSuccess[Types::UpdateAccountPreferencesResult]
304
357
  def account_preferences: () -> Types::AccountPreferences
data/sig/errors.rbs CHANGED
@@ -45,6 +45,8 @@ module Aws
45
45
  end
46
46
  class GetTeamsChannelConfigurationException < ::Aws::Errors::ServiceError
47
47
  end
48
+ class InternalServiceError < ::Aws::Errors::ServiceError
49
+ end
48
50
  class InvalidParameterException < ::Aws::Errors::ServiceError
49
51
  end
50
52
  class InvalidRequestException < ::Aws::Errors::ServiceError
@@ -59,6 +61,10 @@ module Aws
59
61
  end
60
62
  class ResourceNotFoundException < ::Aws::Errors::ServiceError
61
63
  end
64
+ class ServiceUnavailableException < ::Aws::Errors::ServiceError
65
+ end
66
+ class TooManyTagsException < ::Aws::Errors::ServiceError
67
+ end
62
68
  class UpdateAccountPreferencesException < ::Aws::Errors::ServiceError
63
69
  end
64
70
  class UpdateChimeWebhookConfigurationException < ::Aws::Errors::ServiceError
data/sig/types.rbs CHANGED
@@ -21,6 +21,7 @@ module Aws::Chatbot
21
21
  attr_accessor sns_topic_arns: ::Array[::String]
22
22
  attr_accessor configuration_name: ::String
23
23
  attr_accessor logging_level: ::String
24
+ attr_accessor tags: ::Array[Types::Tag]
24
25
  SENSITIVE: []
25
26
  end
26
27
 
@@ -44,6 +45,7 @@ module Aws::Chatbot
44
45
  attr_accessor iam_role_arn: ::String
45
46
  attr_accessor configuration_name: ::String
46
47
  attr_accessor logging_level: ::String
48
+ attr_accessor tags: ::Array[Types::Tag]
47
49
  SENSITIVE: []
48
50
  end
49
51
 
@@ -65,6 +67,7 @@ module Aws::Chatbot
65
67
  attr_accessor logging_level: ::String
66
68
  attr_accessor guardrail_policy_arns: ::Array[::String]
67
69
  attr_accessor user_authorization_required: bool
70
+ attr_accessor tags: ::Array[Types::Tag]
68
71
  SENSITIVE: []
69
72
  end
70
73
 
@@ -88,6 +91,7 @@ module Aws::Chatbot
88
91
  attr_accessor logging_level: ::String
89
92
  attr_accessor guardrail_policy_arns: ::Array[::String]
90
93
  attr_accessor user_authorization_required: bool
94
+ attr_accessor tags: ::Array[Types::Tag]
91
95
  SENSITIVE: []
92
96
  end
93
97
 
@@ -263,6 +267,9 @@ module Aws::Chatbot
263
267
  SENSITIVE: []
264
268
  end
265
269
 
270
+ class InternalServiceError < Aws::EmptyStructure
271
+ end
272
+
266
273
  class InvalidParameterException < Aws::EmptyStructure
267
274
  end
268
275
 
@@ -303,6 +310,16 @@ module Aws::Chatbot
303
310
  SENSITIVE: []
304
311
  end
305
312
 
313
+ class ListTagsForResourceRequest
314
+ attr_accessor resource_arn: ::String
315
+ SENSITIVE: []
316
+ end
317
+
318
+ class ListTagsForResourceResponse
319
+ attr_accessor tags: ::Array[Types::Tag]
320
+ SENSITIVE: []
321
+ end
322
+
306
323
  class ListTeamsChannelConfigurationsException < Aws::EmptyStructure
307
324
  end
308
325
 
@@ -322,6 +339,9 @@ module Aws::Chatbot
322
339
  class ResourceNotFoundException < Aws::EmptyStructure
323
340
  end
324
341
 
342
+ class ServiceUnavailableException < Aws::EmptyStructure
343
+ end
344
+
325
345
  class SlackChannelConfiguration
326
346
  attr_accessor slack_team_name: ::String
327
347
  attr_accessor slack_team_id: ::String
@@ -334,6 +354,7 @@ module Aws::Chatbot
334
354
  attr_accessor logging_level: ::String
335
355
  attr_accessor guardrail_policy_arns: ::Array[::String]
336
356
  attr_accessor user_authorization_required: bool
357
+ attr_accessor tags: ::Array[Types::Tag]
337
358
  SENSITIVE: []
338
359
  end
339
360
 
@@ -352,6 +373,21 @@ module Aws::Chatbot
352
373
  SENSITIVE: []
353
374
  end
354
375
 
376
+ class Tag
377
+ attr_accessor tag_key: ::String
378
+ attr_accessor tag_value: ::String
379
+ SENSITIVE: []
380
+ end
381
+
382
+ class TagResourceRequest
383
+ attr_accessor resource_arn: ::String
384
+ attr_accessor tags: ::Array[Types::Tag]
385
+ SENSITIVE: []
386
+ end
387
+
388
+ class TagResourceResponse < Aws::EmptyStructure
389
+ end
390
+
355
391
  class TeamsChannelConfiguration
356
392
  attr_accessor channel_id: ::String
357
393
  attr_accessor channel_name: ::String
@@ -365,6 +401,7 @@ module Aws::Chatbot
365
401
  attr_accessor logging_level: ::String
366
402
  attr_accessor guardrail_policy_arns: ::Array[::String]
367
403
  attr_accessor user_authorization_required: bool
404
+ attr_accessor tags: ::Array[Types::Tag]
368
405
  SENSITIVE: []
369
406
  end
370
407
 
@@ -379,6 +416,18 @@ module Aws::Chatbot
379
416
  SENSITIVE: []
380
417
  end
381
418
 
419
+ class TooManyTagsException < Aws::EmptyStructure
420
+ end
421
+
422
+ class UntagResourceRequest
423
+ attr_accessor resource_arn: ::String
424
+ attr_accessor tag_keys: ::Array[::String]
425
+ SENSITIVE: []
426
+ end
427
+
428
+ class UntagResourceResponse < Aws::EmptyStructure
429
+ end
430
+
382
431
  class UpdateAccountPreferencesException < Aws::EmptyStructure
383
432
  end
384
433
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-chatbot
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.4.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-05-13 00:00:00.000000000 Z
11
+ date: 2024-05-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core