aws-sdk-chimesdkidentity 1.10.0 → 1.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-chimesdkidentity/client.rb +283 -15
- data/lib/aws-sdk-chimesdkidentity/client_api.rb +204 -2
- data/lib/aws-sdk-chimesdkidentity/endpoint_provider.rb +38 -96
- data/lib/aws-sdk-chimesdkidentity/endpoints.rb +84 -0
- data/lib/aws-sdk-chimesdkidentity/errors.rb +21 -0
- data/lib/aws-sdk-chimesdkidentity/plugins/endpoints.rb +12 -0
- data/lib/aws-sdk-chimesdkidentity/types.rb +383 -263
- data/lib/aws-sdk-chimesdkidentity.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6df293c96d41957fc201fe6ba4a09341a19c2dadd3e5b87037ed5365998b928c
|
4
|
+
data.tar.gz: d3e31c58b03732ac199bde89e6fe86b4886c32867e5c9a095b707dc9dd9f1404
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9c30f6cd178edf6e1bfe238a70ca1c10ffbb209a7379adb9518f61feb3f3d8e61d57520e434644540f2255579180c18fa246b21e57d418d2ad201167eaa1f062
|
7
|
+
data.tar.gz: fc4167fbf23cd7189ae10bb73ef160a613108810aaad34c9fc026e9a39a63635beb1ea6a47cbf813e9021f3df544115650b2bdb6c393970cb2c14cfc428d0ca2
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,18 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.12.0 (2023-03-23)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - AppInstanceBots can be used to add a bot powered by Amazon Lex to chat channels. ExpirationSettings provides automatic resource deletion for AppInstanceUsers.
|
8
|
+
|
9
|
+
1.11.0 (2023-01-18)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
* Issue - Replace runtime endpoint resolution approach with generated ruby code.
|
15
|
+
|
4
16
|
1.10.0 (2022-10-25)
|
5
17
|
------------------
|
6
18
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.12.0
|
@@ -382,13 +382,14 @@ module Aws::ChimeSDKIdentity
|
|
382
382
|
# The metadata of the `AppInstance`. Limited to a 1KB string in UTF-8.
|
383
383
|
#
|
384
384
|
# @option params [required, String] :client_request_token
|
385
|
-
# The
|
385
|
+
# The unique ID of the request. Use different tokens to create different
|
386
|
+
# `AppInstances`.
|
386
387
|
#
|
387
388
|
# **A suitable default value is auto-generated.** You should normally
|
388
389
|
# not need to pass this option.**
|
389
390
|
#
|
390
391
|
# @option params [Array<Types::Tag>] :tags
|
391
|
-
# Tags assigned to the `
|
392
|
+
# Tags assigned to the `AppInstance`.
|
392
393
|
#
|
393
394
|
# @return [Types::CreateAppInstanceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
394
395
|
#
|
@@ -421,15 +422,16 @@ module Aws::ChimeSDKIdentity
|
|
421
422
|
req.send_request(options)
|
422
423
|
end
|
423
424
|
|
424
|
-
# Promotes an `AppInstanceUser`
|
425
|
-
#
|
425
|
+
# Promotes an `AppInstanceUser` or `AppInstanceBot` to an
|
426
|
+
# `AppInstanceAdmin`. The promoted entity can perform the following
|
427
|
+
# actions.
|
426
428
|
#
|
427
429
|
# * `ChannelModerator` actions across all channels in the `AppInstance`.
|
428
430
|
#
|
429
431
|
# * `DeleteChannelMessage` actions.
|
430
432
|
#
|
431
|
-
# Only an `AppInstanceUser` can be promoted to an
|
432
|
-
# role.
|
433
|
+
# Only an `AppInstanceUser` and `AppInstanceBot` can be promoted to an
|
434
|
+
# `AppInstanceAdmin` role.
|
433
435
|
#
|
434
436
|
# @option params [required, String] :app_instance_admin_arn
|
435
437
|
# The ARN of the administrator of the current `AppInstance`.
|
@@ -464,6 +466,71 @@ module Aws::ChimeSDKIdentity
|
|
464
466
|
req.send_request(options)
|
465
467
|
end
|
466
468
|
|
469
|
+
# Creates a bot under an Amazon Chime `AppInstance`. The request
|
470
|
+
# consists of a unique `Configuration` and `Name` for that bot.
|
471
|
+
#
|
472
|
+
# @option params [required, String] :app_instance_arn
|
473
|
+
# The ARN of the `AppInstance` request.
|
474
|
+
#
|
475
|
+
# @option params [String] :name
|
476
|
+
# The user's name.
|
477
|
+
#
|
478
|
+
# @option params [String] :metadata
|
479
|
+
# The request metadata. Limited to a 1KB string in UTF-8.
|
480
|
+
#
|
481
|
+
# @option params [required, String] :client_request_token
|
482
|
+
# The unique ID for the client making the request. Use different tokens
|
483
|
+
# for different `AppInstanceBots`.
|
484
|
+
#
|
485
|
+
# **A suitable default value is auto-generated.** You should normally
|
486
|
+
# not need to pass this option.**
|
487
|
+
#
|
488
|
+
# @option params [Array<Types::Tag>] :tags
|
489
|
+
# The tags assigned to the `AppInstanceBot`.
|
490
|
+
#
|
491
|
+
# @option params [required, Types::Configuration] :configuration
|
492
|
+
# Configuration information about the Amazon Lex V2 V2 bot.
|
493
|
+
#
|
494
|
+
# @return [Types::CreateAppInstanceBotResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
495
|
+
#
|
496
|
+
# * {Types::CreateAppInstanceBotResponse#app_instance_bot_arn #app_instance_bot_arn} => String
|
497
|
+
#
|
498
|
+
# @example Request syntax with placeholder values
|
499
|
+
#
|
500
|
+
# resp = client.create_app_instance_bot({
|
501
|
+
# app_instance_arn: "ChimeArn", # required
|
502
|
+
# name: "ResourceName",
|
503
|
+
# metadata: "Metadata",
|
504
|
+
# client_request_token: "ClientRequestToken", # required
|
505
|
+
# tags: [
|
506
|
+
# {
|
507
|
+
# key: "TagKey", # required
|
508
|
+
# value: "TagValue", # required
|
509
|
+
# },
|
510
|
+
# ],
|
511
|
+
# configuration: { # required
|
512
|
+
# lex: { # required
|
513
|
+
# responds_to: "STANDARD_MESSAGES", # required, accepts STANDARD_MESSAGES
|
514
|
+
# lex_bot_alias_arn: "LexBotAliasArn", # required
|
515
|
+
# locale_id: "String", # required
|
516
|
+
# welcome_intent: "LexIntentName",
|
517
|
+
# },
|
518
|
+
# },
|
519
|
+
# })
|
520
|
+
#
|
521
|
+
# @example Response structure
|
522
|
+
#
|
523
|
+
# resp.app_instance_bot_arn #=> String
|
524
|
+
#
|
525
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/CreateAppInstanceBot AWS API Documentation
|
526
|
+
#
|
527
|
+
# @overload create_app_instance_bot(params = {})
|
528
|
+
# @param [Hash] params ({})
|
529
|
+
def create_app_instance_bot(params = {}, options = {})
|
530
|
+
req = build_request(:create_app_instance_bot, params)
|
531
|
+
req.send_request(options)
|
532
|
+
end
|
533
|
+
|
467
534
|
# Creates a user under an Amazon Chime `AppInstance`. The request
|
468
535
|
# consists of a unique `appInstanceUserId` and `Name` for that user.
|
469
536
|
#
|
@@ -480,7 +547,8 @@ module Aws::ChimeSDKIdentity
|
|
480
547
|
# The request's metadata. Limited to a 1KB string in UTF-8.
|
481
548
|
#
|
482
549
|
# @option params [required, String] :client_request_token
|
483
|
-
# The
|
550
|
+
# The unique ID of the request. Use different tokens to request
|
551
|
+
# additional `AppInstances`.
|
484
552
|
#
|
485
553
|
# **A suitable default value is auto-generated.** You should normally
|
486
554
|
# not need to pass this option.**
|
@@ -488,6 +556,10 @@ module Aws::ChimeSDKIdentity
|
|
488
556
|
# @option params [Array<Types::Tag>] :tags
|
489
557
|
# Tags assigned to the `AppInstanceUser`.
|
490
558
|
#
|
559
|
+
# @option params [Types::ExpirationSettings] :expiration_settings
|
560
|
+
# Settings that control the interval after which the `AppInstanceUser`
|
561
|
+
# is automatically deleted.
|
562
|
+
#
|
491
563
|
# @return [Types::CreateAppInstanceUserResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
492
564
|
#
|
493
565
|
# * {Types::CreateAppInstanceUserResponse#app_instance_user_arn #app_instance_user_arn} => String
|
@@ -506,6 +578,10 @@ module Aws::ChimeSDKIdentity
|
|
506
578
|
# value: "TagValue", # required
|
507
579
|
# },
|
508
580
|
# ],
|
581
|
+
# expiration_settings: {
|
582
|
+
# expiration_days: 1, # required
|
583
|
+
# expiration_criterion: "CREATED_TIMESTAMP", # required, accepts CREATED_TIMESTAMP
|
584
|
+
# },
|
509
585
|
# })
|
510
586
|
#
|
511
587
|
# @example Response structure
|
@@ -543,8 +619,8 @@ module Aws::ChimeSDKIdentity
|
|
543
619
|
req.send_request(options)
|
544
620
|
end
|
545
621
|
|
546
|
-
# Demotes an `AppInstanceAdmin` to an `AppInstanceUser
|
547
|
-
# does not delete the user.
|
622
|
+
# Demotes an `AppInstanceAdmin` to an `AppInstanceUser` or
|
623
|
+
# `AppInstanceBot`. This action does not delete the user.
|
548
624
|
#
|
549
625
|
# @option params [required, String] :app_instance_admin_arn
|
550
626
|
# The ARN of the `AppInstance`'s administrator.
|
@@ -570,6 +646,28 @@ module Aws::ChimeSDKIdentity
|
|
570
646
|
req.send_request(options)
|
571
647
|
end
|
572
648
|
|
649
|
+
# Deletes an `AppInstanceBot`.
|
650
|
+
#
|
651
|
+
# @option params [required, String] :app_instance_bot_arn
|
652
|
+
# The ARN of the `AppInstanceBot` being deleted.
|
653
|
+
#
|
654
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
655
|
+
#
|
656
|
+
# @example Request syntax with placeholder values
|
657
|
+
#
|
658
|
+
# resp = client.delete_app_instance_bot({
|
659
|
+
# app_instance_bot_arn: "ChimeArn", # required
|
660
|
+
# })
|
661
|
+
#
|
662
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DeleteAppInstanceBot AWS API Documentation
|
663
|
+
#
|
664
|
+
# @overload delete_app_instance_bot(params = {})
|
665
|
+
# @param [Hash] params ({})
|
666
|
+
def delete_app_instance_bot(params = {}, options = {})
|
667
|
+
req = build_request(:delete_app_instance_bot, params)
|
668
|
+
req.send_request(options)
|
669
|
+
end
|
670
|
+
|
573
671
|
# Deletes an `AppInstanceUser`.
|
574
672
|
#
|
575
673
|
# @option params [required, String] :app_instance_user_arn
|
@@ -685,6 +783,42 @@ module Aws::ChimeSDKIdentity
|
|
685
783
|
req.send_request(options)
|
686
784
|
end
|
687
785
|
|
786
|
+
# The `AppInstanceBot's` information.
|
787
|
+
#
|
788
|
+
# @option params [required, String] :app_instance_bot_arn
|
789
|
+
# The ARN of the `AppInstanceBot`.
|
790
|
+
#
|
791
|
+
# @return [Types::DescribeAppInstanceBotResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
792
|
+
#
|
793
|
+
# * {Types::DescribeAppInstanceBotResponse#app_instance_bot #app_instance_bot} => Types::AppInstanceBot
|
794
|
+
#
|
795
|
+
# @example Request syntax with placeholder values
|
796
|
+
#
|
797
|
+
# resp = client.describe_app_instance_bot({
|
798
|
+
# app_instance_bot_arn: "ChimeArn", # required
|
799
|
+
# })
|
800
|
+
#
|
801
|
+
# @example Response structure
|
802
|
+
#
|
803
|
+
# resp.app_instance_bot.app_instance_bot_arn #=> String
|
804
|
+
# resp.app_instance_bot.name #=> String
|
805
|
+
# resp.app_instance_bot.configuration.lex.responds_to #=> String, one of "STANDARD_MESSAGES"
|
806
|
+
# resp.app_instance_bot.configuration.lex.lex_bot_alias_arn #=> String
|
807
|
+
# resp.app_instance_bot.configuration.lex.locale_id #=> String
|
808
|
+
# resp.app_instance_bot.configuration.lex.welcome_intent #=> String
|
809
|
+
# resp.app_instance_bot.created_timestamp #=> Time
|
810
|
+
# resp.app_instance_bot.last_updated_timestamp #=> Time
|
811
|
+
# resp.app_instance_bot.metadata #=> String
|
812
|
+
#
|
813
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DescribeAppInstanceBot AWS API Documentation
|
814
|
+
#
|
815
|
+
# @overload describe_app_instance_bot(params = {})
|
816
|
+
# @param [Hash] params ({})
|
817
|
+
def describe_app_instance_bot(params = {}, options = {})
|
818
|
+
req = build_request(:describe_app_instance_bot, params)
|
819
|
+
req.send_request(options)
|
820
|
+
end
|
821
|
+
|
688
822
|
# Returns the full details of an `AppInstanceUser`.
|
689
823
|
#
|
690
824
|
# @option params [required, String] :app_instance_user_arn
|
@@ -707,6 +841,8 @@ module Aws::ChimeSDKIdentity
|
|
707
841
|
# resp.app_instance_user.metadata #=> String
|
708
842
|
# resp.app_instance_user.created_timestamp #=> Time
|
709
843
|
# resp.app_instance_user.last_updated_timestamp #=> Time
|
844
|
+
# resp.app_instance_user.expiration_settings.expiration_days #=> Integer
|
845
|
+
# resp.app_instance_user.expiration_settings.expiration_criterion #=> String, one of "CREATED_TIMESTAMP"
|
710
846
|
#
|
711
847
|
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DescribeAppInstanceUser AWS API Documentation
|
712
848
|
#
|
@@ -835,6 +971,52 @@ module Aws::ChimeSDKIdentity
|
|
835
971
|
req.send_request(options)
|
836
972
|
end
|
837
973
|
|
974
|
+
# Lists all `AppInstanceBots` created under a single `AppInstance`.
|
975
|
+
#
|
976
|
+
# @option params [required, String] :app_instance_arn
|
977
|
+
# The ARN of the `AppInstance`.
|
978
|
+
#
|
979
|
+
# @option params [Integer] :max_results
|
980
|
+
# The maximum number of requests to return.
|
981
|
+
#
|
982
|
+
# @option params [String] :next_token
|
983
|
+
# The token passed by previous API calls until all requested bots are
|
984
|
+
# returned.
|
985
|
+
#
|
986
|
+
# @return [Types::ListAppInstanceBotsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
987
|
+
#
|
988
|
+
# * {Types::ListAppInstanceBotsResponse#app_instance_arn #app_instance_arn} => String
|
989
|
+
# * {Types::ListAppInstanceBotsResponse#app_instance_bots #app_instance_bots} => Array<Types::AppInstanceBotSummary>
|
990
|
+
# * {Types::ListAppInstanceBotsResponse#next_token #next_token} => String
|
991
|
+
#
|
992
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
993
|
+
#
|
994
|
+
# @example Request syntax with placeholder values
|
995
|
+
#
|
996
|
+
# resp = client.list_app_instance_bots({
|
997
|
+
# app_instance_arn: "ChimeArn", # required
|
998
|
+
# max_results: 1,
|
999
|
+
# next_token: "NextToken",
|
1000
|
+
# })
|
1001
|
+
#
|
1002
|
+
# @example Response structure
|
1003
|
+
#
|
1004
|
+
# resp.app_instance_arn #=> String
|
1005
|
+
# resp.app_instance_bots #=> Array
|
1006
|
+
# resp.app_instance_bots[0].app_instance_bot_arn #=> String
|
1007
|
+
# resp.app_instance_bots[0].name #=> String
|
1008
|
+
# resp.app_instance_bots[0].metadata #=> String
|
1009
|
+
# resp.next_token #=> String
|
1010
|
+
#
|
1011
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/ListAppInstanceBots AWS API Documentation
|
1012
|
+
#
|
1013
|
+
# @overload list_app_instance_bots(params = {})
|
1014
|
+
# @param [Hash] params ({})
|
1015
|
+
def list_app_instance_bots(params = {}, options = {})
|
1016
|
+
req = build_request(:list_app_instance_bots, params)
|
1017
|
+
req.send_request(options)
|
1018
|
+
end
|
1019
|
+
|
838
1020
|
# Lists all the `AppInstanceUserEndpoints` created under a single
|
839
1021
|
# `AppInstanceUser`.
|
840
1022
|
#
|
@@ -1040,6 +1222,55 @@ module Aws::ChimeSDKIdentity
|
|
1040
1222
|
req.send_request(options)
|
1041
1223
|
end
|
1042
1224
|
|
1225
|
+
# Sets the number of days before the `AppInstanceUser` is automatically
|
1226
|
+
# deleted.
|
1227
|
+
#
|
1228
|
+
# <note markdown="1"> A background process deletes expired `AppInstanceUsers` within 6 hours
|
1229
|
+
# of expiration. Actual deletion times may vary.
|
1230
|
+
#
|
1231
|
+
# Expired `AppInstanceUsers` that have not yet been deleted appear as
|
1232
|
+
# active, and you can update their expiration settings. The system
|
1233
|
+
# honors the new settings.
|
1234
|
+
#
|
1235
|
+
# </note>
|
1236
|
+
#
|
1237
|
+
# @option params [required, String] :app_instance_user_arn
|
1238
|
+
# The ARN of the `AppInstanceUser`.
|
1239
|
+
#
|
1240
|
+
# @option params [Types::ExpirationSettings] :expiration_settings
|
1241
|
+
# Settings that control the interval after which an `AppInstanceUser` is
|
1242
|
+
# automatically deleted.
|
1243
|
+
#
|
1244
|
+
# @return [Types::PutAppInstanceUserExpirationSettingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1245
|
+
#
|
1246
|
+
# * {Types::PutAppInstanceUserExpirationSettingsResponse#app_instance_user_arn #app_instance_user_arn} => String
|
1247
|
+
# * {Types::PutAppInstanceUserExpirationSettingsResponse#expiration_settings #expiration_settings} => Types::ExpirationSettings
|
1248
|
+
#
|
1249
|
+
# @example Request syntax with placeholder values
|
1250
|
+
#
|
1251
|
+
# resp = client.put_app_instance_user_expiration_settings({
|
1252
|
+
# app_instance_user_arn: "ChimeArn", # required
|
1253
|
+
# expiration_settings: {
|
1254
|
+
# expiration_days: 1, # required
|
1255
|
+
# expiration_criterion: "CREATED_TIMESTAMP", # required, accepts CREATED_TIMESTAMP
|
1256
|
+
# },
|
1257
|
+
# })
|
1258
|
+
#
|
1259
|
+
# @example Response structure
|
1260
|
+
#
|
1261
|
+
# resp.app_instance_user_arn #=> String
|
1262
|
+
# resp.expiration_settings.expiration_days #=> Integer
|
1263
|
+
# resp.expiration_settings.expiration_criterion #=> String, one of "CREATED_TIMESTAMP"
|
1264
|
+
#
|
1265
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/PutAppInstanceUserExpirationSettings AWS API Documentation
|
1266
|
+
#
|
1267
|
+
# @overload put_app_instance_user_expiration_settings(params = {})
|
1268
|
+
# @param [Hash] params ({})
|
1269
|
+
def put_app_instance_user_expiration_settings(params = {}, options = {})
|
1270
|
+
req = build_request(:put_app_instance_user_expiration_settings, params)
|
1271
|
+
req.send_request(options)
|
1272
|
+
end
|
1273
|
+
|
1043
1274
|
# Registers an endpoint under an Amazon Chime `AppInstanceUser`. The
|
1044
1275
|
# endpoint receives messages for a user. For push notifications, the
|
1045
1276
|
# endpoint is a mobile device used to receive mobile push notifications
|
@@ -1054,12 +1285,12 @@ module Aws::ChimeSDKIdentity
|
|
1054
1285
|
# @option params [required, String] :type
|
1055
1286
|
# The type of the `AppInstanceUserEndpoint`. Supported types:
|
1056
1287
|
#
|
1057
|
-
# * `APNS
|
1288
|
+
# * `APNS`: The mobile notification service for an Apple device.
|
1058
1289
|
#
|
1059
|
-
# * `APNS_SANDBOX
|
1290
|
+
# * `APNS_SANDBOX`: The sandbox environment of the mobile notification
|
1060
1291
|
# service for an Apple device.
|
1061
1292
|
#
|
1062
|
-
# * `GCM
|
1293
|
+
# * `GCM`: The mobile notification service for an Android device.
|
1063
1294
|
#
|
1064
1295
|
# Populate the `ResourceArn` value of each type as `PinpointAppArn`.
|
1065
1296
|
#
|
@@ -1070,7 +1301,8 @@ module Aws::ChimeSDKIdentity
|
|
1070
1301
|
# The attributes of an `Endpoint`.
|
1071
1302
|
#
|
1072
1303
|
# @option params [required, String] :client_request_token
|
1073
|
-
# The
|
1304
|
+
# The unique ID assigned to the request. Use different tokens to
|
1305
|
+
# register other endpoints.
|
1074
1306
|
#
|
1075
1307
|
# **A suitable default value is auto-generated.** You should normally
|
1076
1308
|
# not need to pass this option.**
|
@@ -1091,7 +1323,7 @@ module Aws::ChimeSDKIdentity
|
|
1091
1323
|
# app_instance_user_arn: "SensitiveChimeArn", # required
|
1092
1324
|
# name: "SensitiveString1600",
|
1093
1325
|
# type: "APNS", # required, accepts APNS, APNS_SANDBOX, GCM
|
1094
|
-
# resource_arn: "
|
1326
|
+
# resource_arn: "ChimeArn", # required
|
1095
1327
|
# endpoint_attributes: { # required
|
1096
1328
|
# device_token: "NonEmptySensitiveString1600", # required
|
1097
1329
|
# voip_device_token: "NonEmptySensitiveString1600",
|
@@ -1209,6 +1441,42 @@ module Aws::ChimeSDKIdentity
|
|
1209
1441
|
req.send_request(options)
|
1210
1442
|
end
|
1211
1443
|
|
1444
|
+
# Updates the name and metadata of an `AppInstanceBot`.
|
1445
|
+
#
|
1446
|
+
# @option params [required, String] :app_instance_bot_arn
|
1447
|
+
# The ARN of the `AppInstanceBot`.
|
1448
|
+
#
|
1449
|
+
# @option params [required, String] :name
|
1450
|
+
# The name of the `AppInstanceBot`.
|
1451
|
+
#
|
1452
|
+
# @option params [required, String] :metadata
|
1453
|
+
# The metadata of the `AppInstanceBot`.
|
1454
|
+
#
|
1455
|
+
# @return [Types::UpdateAppInstanceBotResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1456
|
+
#
|
1457
|
+
# * {Types::UpdateAppInstanceBotResponse#app_instance_bot_arn #app_instance_bot_arn} => String
|
1458
|
+
#
|
1459
|
+
# @example Request syntax with placeholder values
|
1460
|
+
#
|
1461
|
+
# resp = client.update_app_instance_bot({
|
1462
|
+
# app_instance_bot_arn: "ChimeArn", # required
|
1463
|
+
# name: "ResourceName", # required
|
1464
|
+
# metadata: "Metadata", # required
|
1465
|
+
# })
|
1466
|
+
#
|
1467
|
+
# @example Response structure
|
1468
|
+
#
|
1469
|
+
# resp.app_instance_bot_arn #=> String
|
1470
|
+
#
|
1471
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/UpdateAppInstanceBot AWS API Documentation
|
1472
|
+
#
|
1473
|
+
# @overload update_app_instance_bot(params = {})
|
1474
|
+
# @param [Hash] params ({})
|
1475
|
+
def update_app_instance_bot(params = {}, options = {})
|
1476
|
+
req = build_request(:update_app_instance_bot, params)
|
1477
|
+
req.send_request(options)
|
1478
|
+
end
|
1479
|
+
|
1212
1480
|
# Updates the details of an `AppInstanceUser`. You can update names and
|
1213
1481
|
# metadata.
|
1214
1482
|
#
|
@@ -1304,7 +1572,7 @@ module Aws::ChimeSDKIdentity
|
|
1304
1572
|
params: params,
|
1305
1573
|
config: config)
|
1306
1574
|
context[:gem_name] = 'aws-sdk-chimesdkidentity'
|
1307
|
-
context[:gem_version] = '1.
|
1575
|
+
context[:gem_version] = '1.12.0'
|
1308
1576
|
Seahorse::Client::Request.new(handlers, context)
|
1309
1577
|
end
|
1310
1578
|
|