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