aws-sdk-chime 1.6.0 → 1.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-chime.rb +1 -1
- data/lib/aws-sdk-chime/client.rb +372 -2
- data/lib/aws-sdk-chime/client_api.rb +212 -0
- data/lib/aws-sdk-chime/types.rb +386 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9c42fb309a586cbcbc40161b850b67dd8d4cdc24
|
4
|
+
data.tar.gz: 763a17d999e184fb7938ac41744e3ae73ab0860f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6946600f3d5d1635a9f29b2d918cfe567a0a17d633723b53cbc0bc5bc48746645f4deda4f39d8770191b38cb4021797e48c6419ff16e176350706297c389740a
|
7
|
+
data.tar.gz: bd73f822234d19769b9b6a692b56eff315e63f94e30f20aef7384d059859414bbb4657e27d7ee2bc8e9e5cf09c969a44803b201a64d9938599901d1359f95281
|
data/lib/aws-sdk-chime.rb
CHANGED
data/lib/aws-sdk-chime/client.rb
CHANGED
@@ -23,6 +23,7 @@ require 'aws-sdk-core/plugins/idempotency_token.rb'
|
|
23
23
|
require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
24
24
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
25
25
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
26
|
+
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
26
27
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
27
28
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
28
29
|
|
@@ -55,6 +56,7 @@ module Aws::Chime
|
|
55
56
|
add_plugin(Aws::Plugins::JsonvalueConverter)
|
56
57
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
57
58
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
59
|
+
add_plugin(Aws::Plugins::TransferEncoding)
|
58
60
|
add_plugin(Aws::Plugins::SignatureV4)
|
59
61
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
60
62
|
|
@@ -199,6 +201,49 @@ module Aws::Chime
|
|
199
201
|
# When `true`, request parameters are validated before
|
200
202
|
# sending the request.
|
201
203
|
#
|
204
|
+
# @option options [URI::HTTP,String] :http_proxy A proxy to send
|
205
|
+
# requests through. Formatted like 'http://proxy.com:123'.
|
206
|
+
#
|
207
|
+
# @option options [Float] :http_open_timeout (15) The number of
|
208
|
+
# seconds to wait when opening a HTTP session before rasing a
|
209
|
+
# `Timeout::Error`.
|
210
|
+
#
|
211
|
+
# @option options [Integer] :http_read_timeout (60) The default
|
212
|
+
# number of seconds to wait for response data. This value can
|
213
|
+
# safely be set
|
214
|
+
# per-request on the session yeidled by {#session_for}.
|
215
|
+
#
|
216
|
+
# @option options [Float] :http_idle_timeout (5) The number of
|
217
|
+
# seconds a connection is allowed to sit idble before it is
|
218
|
+
# considered stale. Stale connections are closed and removed
|
219
|
+
# from the pool before making a request.
|
220
|
+
#
|
221
|
+
# @option options [Float] :http_continue_timeout (1) The number of
|
222
|
+
# seconds to wait for a 100-continue response before sending the
|
223
|
+
# request body. This option has no effect unless the request has
|
224
|
+
# "Expect" header set to "100-continue". Defaults to `nil` which
|
225
|
+
# disables this behaviour. This value can safely be set per
|
226
|
+
# request on the session yeidled by {#session_for}.
|
227
|
+
#
|
228
|
+
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
229
|
+
# HTTP debug output will be sent to the `:logger`.
|
230
|
+
#
|
231
|
+
# @option options [Boolean] :ssl_verify_peer (true) When `true`,
|
232
|
+
# SSL peer certificates are verified when establishing a
|
233
|
+
# connection.
|
234
|
+
#
|
235
|
+
# @option options [String] :ssl_ca_bundle Full path to the SSL
|
236
|
+
# certificate authority bundle file that should be used when
|
237
|
+
# verifying peer certificates. If you do not pass
|
238
|
+
# `:ssl_ca_bundle` or `:ssl_ca_directory` the the system default
|
239
|
+
# will be used if available.
|
240
|
+
#
|
241
|
+
# @option options [String] :ssl_ca_directory Full path of the
|
242
|
+
# directory that contains the unbundled SSL certificate
|
243
|
+
# authority files for verifying peer certificates. If you do
|
244
|
+
# not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the
|
245
|
+
# system default will be used if available.
|
246
|
+
#
|
202
247
|
def initialize(*args)
|
203
248
|
super
|
204
249
|
end
|
@@ -312,7 +357,7 @@ module Aws::Chime
|
|
312
357
|
# [Managing Your Amazon Chime Accounts][1] in the *Amazon Chime
|
313
358
|
# Administration Guide*.
|
314
359
|
#
|
315
|
-
# Users suspended from a `Team` account are
|
360
|
+
# Users suspended from a `Team` account are dissasociated from the
|
316
361
|
# account, but they can continue to use Amazon Chime as free users. To
|
317
362
|
# remove the suspension from suspended `Team` account users, invite them
|
318
363
|
# to the `Team` account again. You can use the InviteUsers action to do
|
@@ -532,6 +577,50 @@ module Aws::Chime
|
|
532
577
|
req.send_request(options)
|
533
578
|
end
|
534
579
|
|
580
|
+
# Creates a bot for an Amazon Chime Enterprise account.
|
581
|
+
#
|
582
|
+
# @option params [required, String] :account_id
|
583
|
+
# The Amazon Chime account ID.
|
584
|
+
#
|
585
|
+
# @option params [required, String] :display_name
|
586
|
+
# The bot display name.
|
587
|
+
#
|
588
|
+
# @option params [String] :domain
|
589
|
+
# The domain of the Amazon Chime Enterprise account.
|
590
|
+
#
|
591
|
+
# @return [Types::CreateBotResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
592
|
+
#
|
593
|
+
# * {Types::CreateBotResponse#bot #bot} => Types::Bot
|
594
|
+
#
|
595
|
+
# @example Request syntax with placeholder values
|
596
|
+
#
|
597
|
+
# resp = client.create_bot({
|
598
|
+
# account_id: "NonEmptyString", # required
|
599
|
+
# display_name: "SensitiveString", # required
|
600
|
+
# domain: "NonEmptyString",
|
601
|
+
# })
|
602
|
+
#
|
603
|
+
# @example Response structure
|
604
|
+
#
|
605
|
+
# resp.bot.bot_id #=> String
|
606
|
+
# resp.bot.user_id #=> String
|
607
|
+
# resp.bot.display_name #=> String
|
608
|
+
# resp.bot.bot_type #=> String, one of "ChatBot"
|
609
|
+
# resp.bot.disabled #=> Boolean
|
610
|
+
# resp.bot.created_timestamp #=> Time
|
611
|
+
# resp.bot.updated_timestamp #=> Time
|
612
|
+
# resp.bot.bot_email #=> String
|
613
|
+
# resp.bot.security_token #=> String
|
614
|
+
#
|
615
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateBot AWS API Documentation
|
616
|
+
#
|
617
|
+
# @overload create_bot(params = {})
|
618
|
+
# @param [Hash] params ({})
|
619
|
+
def create_bot(params = {}, options = {})
|
620
|
+
req = build_request(:create_bot, params)
|
621
|
+
req.send_request(options)
|
622
|
+
end
|
623
|
+
|
535
624
|
# Creates an order for phone numbers to be provisioned. Choose from
|
536
625
|
# Amazon Chime Business Calling and Amazon Chime Voice Connector product
|
537
626
|
# types.
|
@@ -650,6 +739,33 @@ module Aws::Chime
|
|
650
739
|
req.send_request(options)
|
651
740
|
end
|
652
741
|
|
742
|
+
# Deletes the events configuration that allows a bot to receive outgoing
|
743
|
+
# events.
|
744
|
+
#
|
745
|
+
# @option params [required, String] :account_id
|
746
|
+
# The Amazon Chime account ID.
|
747
|
+
#
|
748
|
+
# @option params [required, String] :bot_id
|
749
|
+
# The bot ID.
|
750
|
+
#
|
751
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
752
|
+
#
|
753
|
+
# @example Request syntax with placeholder values
|
754
|
+
#
|
755
|
+
# resp = client.delete_events_configuration({
|
756
|
+
# account_id: "NonEmptyString", # required
|
757
|
+
# bot_id: "NonEmptyString", # required
|
758
|
+
# })
|
759
|
+
#
|
760
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteEventsConfiguration AWS API Documentation
|
761
|
+
#
|
762
|
+
# @overload delete_events_configuration(params = {})
|
763
|
+
# @param [Hash] params ({})
|
764
|
+
def delete_events_configuration(params = {}, options = {})
|
765
|
+
req = build_request(:delete_events_configuration, params)
|
766
|
+
req.send_request(options)
|
767
|
+
end
|
768
|
+
|
653
769
|
# Moves the specified phone number into the **Deletion queue**. A phone
|
654
770
|
# number must be disassociated from any users or Amazon Chime Voice
|
655
771
|
# Connectors before it can be deleted.
|
@@ -910,6 +1026,82 @@ module Aws::Chime
|
|
910
1026
|
req.send_request(options)
|
911
1027
|
end
|
912
1028
|
|
1029
|
+
# Retrieves details for the specified bot, such as bot email address,
|
1030
|
+
# bot type, status, and display name.
|
1031
|
+
#
|
1032
|
+
# @option params [required, String] :account_id
|
1033
|
+
# The Amazon Chime account ID.
|
1034
|
+
#
|
1035
|
+
# @option params [required, String] :bot_id
|
1036
|
+
# The bot ID.
|
1037
|
+
#
|
1038
|
+
# @return [Types::GetBotResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1039
|
+
#
|
1040
|
+
# * {Types::GetBotResponse#bot #bot} => Types::Bot
|
1041
|
+
#
|
1042
|
+
# @example Request syntax with placeholder values
|
1043
|
+
#
|
1044
|
+
# resp = client.get_bot({
|
1045
|
+
# account_id: "NonEmptyString", # required
|
1046
|
+
# bot_id: "NonEmptyString", # required
|
1047
|
+
# })
|
1048
|
+
#
|
1049
|
+
# @example Response structure
|
1050
|
+
#
|
1051
|
+
# resp.bot.bot_id #=> String
|
1052
|
+
# resp.bot.user_id #=> String
|
1053
|
+
# resp.bot.display_name #=> String
|
1054
|
+
# resp.bot.bot_type #=> String, one of "ChatBot"
|
1055
|
+
# resp.bot.disabled #=> Boolean
|
1056
|
+
# resp.bot.created_timestamp #=> Time
|
1057
|
+
# resp.bot.updated_timestamp #=> Time
|
1058
|
+
# resp.bot.bot_email #=> String
|
1059
|
+
# resp.bot.security_token #=> String
|
1060
|
+
#
|
1061
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetBot AWS API Documentation
|
1062
|
+
#
|
1063
|
+
# @overload get_bot(params = {})
|
1064
|
+
# @param [Hash] params ({})
|
1065
|
+
def get_bot(params = {}, options = {})
|
1066
|
+
req = build_request(:get_bot, params)
|
1067
|
+
req.send_request(options)
|
1068
|
+
end
|
1069
|
+
|
1070
|
+
# Gets details for an events configuration that allows a bot to receive
|
1071
|
+
# outgoing events, such as an HTTPS endpoint or Lambda function ARN.
|
1072
|
+
#
|
1073
|
+
# @option params [required, String] :account_id
|
1074
|
+
# The Amazon Chime account ID.
|
1075
|
+
#
|
1076
|
+
# @option params [required, String] :bot_id
|
1077
|
+
# The bot ID.
|
1078
|
+
#
|
1079
|
+
# @return [Types::GetEventsConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1080
|
+
#
|
1081
|
+
# * {Types::GetEventsConfigurationResponse#events_configuration #events_configuration} => Types::EventsConfiguration
|
1082
|
+
#
|
1083
|
+
# @example Request syntax with placeholder values
|
1084
|
+
#
|
1085
|
+
# resp = client.get_events_configuration({
|
1086
|
+
# account_id: "NonEmptyString", # required
|
1087
|
+
# bot_id: "NonEmptyString", # required
|
1088
|
+
# })
|
1089
|
+
#
|
1090
|
+
# @example Response structure
|
1091
|
+
#
|
1092
|
+
# resp.events_configuration.bot_id #=> String
|
1093
|
+
# resp.events_configuration.outbound_events_https_endpoint #=> String
|
1094
|
+
# resp.events_configuration.lambda_function_arn #=> String
|
1095
|
+
#
|
1096
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetEventsConfiguration AWS API Documentation
|
1097
|
+
#
|
1098
|
+
# @overload get_events_configuration(params = {})
|
1099
|
+
# @param [Hash] params ({})
|
1100
|
+
def get_events_configuration(params = {}, options = {})
|
1101
|
+
req = build_request(:get_events_configuration, params)
|
1102
|
+
req.send_request(options)
|
1103
|
+
end
|
1104
|
+
|
913
1105
|
# Retrieves global settings for the administrator's AWS account, such
|
914
1106
|
# as Amazon Chime Business Calling and Amazon Chime Voice Connector
|
915
1107
|
# settings.
|
@@ -1323,6 +1515,55 @@ module Aws::Chime
|
|
1323
1515
|
req.send_request(options)
|
1324
1516
|
end
|
1325
1517
|
|
1518
|
+
# Lists the bots associated with the administrator's Amazon Chime
|
1519
|
+
# Enterprise account ID.
|
1520
|
+
#
|
1521
|
+
# @option params [required, String] :account_id
|
1522
|
+
# The Amazon Chime account ID.
|
1523
|
+
#
|
1524
|
+
# @option params [Integer] :max_results
|
1525
|
+
# The maximum number of results to return in a single call. Default is
|
1526
|
+
# 10.
|
1527
|
+
#
|
1528
|
+
# @option params [String] :next_token
|
1529
|
+
# The token to use to retrieve the next page of results.
|
1530
|
+
#
|
1531
|
+
# @return [Types::ListBotsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1532
|
+
#
|
1533
|
+
# * {Types::ListBotsResponse#bots #bots} => Array<Types::Bot>
|
1534
|
+
# * {Types::ListBotsResponse#next_token #next_token} => String
|
1535
|
+
#
|
1536
|
+
# @example Request syntax with placeholder values
|
1537
|
+
#
|
1538
|
+
# resp = client.list_bots({
|
1539
|
+
# account_id: "NonEmptyString", # required
|
1540
|
+
# max_results: 1,
|
1541
|
+
# next_token: "String",
|
1542
|
+
# })
|
1543
|
+
#
|
1544
|
+
# @example Response structure
|
1545
|
+
#
|
1546
|
+
# resp.bots #=> Array
|
1547
|
+
# resp.bots[0].bot_id #=> String
|
1548
|
+
# resp.bots[0].user_id #=> String
|
1549
|
+
# resp.bots[0].display_name #=> String
|
1550
|
+
# resp.bots[0].bot_type #=> String, one of "ChatBot"
|
1551
|
+
# resp.bots[0].disabled #=> Boolean
|
1552
|
+
# resp.bots[0].created_timestamp #=> Time
|
1553
|
+
# resp.bots[0].updated_timestamp #=> Time
|
1554
|
+
# resp.bots[0].bot_email #=> String
|
1555
|
+
# resp.bots[0].security_token #=> String
|
1556
|
+
# resp.next_token #=> String
|
1557
|
+
#
|
1558
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListBots AWS API Documentation
|
1559
|
+
#
|
1560
|
+
# @overload list_bots(params = {})
|
1561
|
+
# @param [Hash] params ({})
|
1562
|
+
def list_bots(params = {}, options = {})
|
1563
|
+
req = build_request(:list_bots, params)
|
1564
|
+
req.send_request(options)
|
1565
|
+
end
|
1566
|
+
|
1326
1567
|
# Lists the phone number orders for the administrator's Amazon Chime
|
1327
1568
|
# account.
|
1328
1569
|
#
|
@@ -1588,6 +1829,50 @@ module Aws::Chime
|
|
1588
1829
|
req.send_request(options)
|
1589
1830
|
end
|
1590
1831
|
|
1832
|
+
# Creates an events configuration that allows a bot to receive outgoing
|
1833
|
+
# events sent by Amazon Chime. Choose either an HTTPS endpoint or a
|
1834
|
+
# Lambda function ARN. For more information, see Bot.
|
1835
|
+
#
|
1836
|
+
# @option params [required, String] :account_id
|
1837
|
+
# The Amazon Chime account ID.
|
1838
|
+
#
|
1839
|
+
# @option params [required, String] :bot_id
|
1840
|
+
# The bot ID.
|
1841
|
+
#
|
1842
|
+
# @option params [String] :outbound_events_https_endpoint
|
1843
|
+
# HTTPS endpoint that allows the bot to receive outgoing events.
|
1844
|
+
#
|
1845
|
+
# @option params [String] :lambda_function_arn
|
1846
|
+
# Lambda function ARN that allows the bot to receive outgoing events.
|
1847
|
+
#
|
1848
|
+
# @return [Types::PutEventsConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1849
|
+
#
|
1850
|
+
# * {Types::PutEventsConfigurationResponse#events_configuration #events_configuration} => Types::EventsConfiguration
|
1851
|
+
#
|
1852
|
+
# @example Request syntax with placeholder values
|
1853
|
+
#
|
1854
|
+
# resp = client.put_events_configuration({
|
1855
|
+
# account_id: "NonEmptyString", # required
|
1856
|
+
# bot_id: "NonEmptyString", # required
|
1857
|
+
# outbound_events_https_endpoint: "SensitiveString",
|
1858
|
+
# lambda_function_arn: "SensitiveString",
|
1859
|
+
# })
|
1860
|
+
#
|
1861
|
+
# @example Response structure
|
1862
|
+
#
|
1863
|
+
# resp.events_configuration.bot_id #=> String
|
1864
|
+
# resp.events_configuration.outbound_events_https_endpoint #=> String
|
1865
|
+
# resp.events_configuration.lambda_function_arn #=> String
|
1866
|
+
#
|
1867
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutEventsConfiguration AWS API Documentation
|
1868
|
+
#
|
1869
|
+
# @overload put_events_configuration(params = {})
|
1870
|
+
# @param [Hash] params ({})
|
1871
|
+
def put_events_configuration(params = {}, options = {})
|
1872
|
+
req = build_request(:put_events_configuration, params)
|
1873
|
+
req.send_request(options)
|
1874
|
+
end
|
1875
|
+
|
1591
1876
|
# Adds origination settings for the specified Amazon Chime Voice
|
1592
1877
|
# Connector.
|
1593
1878
|
#
|
@@ -1715,6 +2000,46 @@ module Aws::Chime
|
|
1715
2000
|
req.send_request(options)
|
1716
2001
|
end
|
1717
2002
|
|
2003
|
+
# Regenerates the security token for a bot.
|
2004
|
+
#
|
2005
|
+
# @option params [required, String] :account_id
|
2006
|
+
# The Amazon Chime account ID.
|
2007
|
+
#
|
2008
|
+
# @option params [required, String] :bot_id
|
2009
|
+
# The bot ID.
|
2010
|
+
#
|
2011
|
+
# @return [Types::RegenerateSecurityTokenResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2012
|
+
#
|
2013
|
+
# * {Types::RegenerateSecurityTokenResponse#bot #bot} => Types::Bot
|
2014
|
+
#
|
2015
|
+
# @example Request syntax with placeholder values
|
2016
|
+
#
|
2017
|
+
# resp = client.regenerate_security_token({
|
2018
|
+
# account_id: "NonEmptyString", # required
|
2019
|
+
# bot_id: "NonEmptyString", # required
|
2020
|
+
# })
|
2021
|
+
#
|
2022
|
+
# @example Response structure
|
2023
|
+
#
|
2024
|
+
# resp.bot.bot_id #=> String
|
2025
|
+
# resp.bot.user_id #=> String
|
2026
|
+
# resp.bot.display_name #=> String
|
2027
|
+
# resp.bot.bot_type #=> String, one of "ChatBot"
|
2028
|
+
# resp.bot.disabled #=> Boolean
|
2029
|
+
# resp.bot.created_timestamp #=> Time
|
2030
|
+
# resp.bot.updated_timestamp #=> Time
|
2031
|
+
# resp.bot.bot_email #=> String
|
2032
|
+
# resp.bot.security_token #=> String
|
2033
|
+
#
|
2034
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/RegenerateSecurityToken AWS API Documentation
|
2035
|
+
#
|
2036
|
+
# @overload regenerate_security_token(params = {})
|
2037
|
+
# @param [Hash] params ({})
|
2038
|
+
def regenerate_security_token(params = {}, options = {})
|
2039
|
+
req = build_request(:regenerate_security_token, params)
|
2040
|
+
req.send_request(options)
|
2041
|
+
end
|
2042
|
+
|
1718
2043
|
# Resets the personal meeting PIN for the specified user on an Amazon
|
1719
2044
|
# Chime account. Returns the User object with the updated personal
|
1720
2045
|
# meeting PIN.
|
@@ -1929,6 +2254,51 @@ module Aws::Chime
|
|
1929
2254
|
req.send_request(options)
|
1930
2255
|
end
|
1931
2256
|
|
2257
|
+
# Updates the status of the specified bot, such as starting or stopping
|
2258
|
+
# the bot from running in your Amazon Chime Enterprise account.
|
2259
|
+
#
|
2260
|
+
# @option params [required, String] :account_id
|
2261
|
+
# The Amazon Chime account ID.
|
2262
|
+
#
|
2263
|
+
# @option params [required, String] :bot_id
|
2264
|
+
# The bot ID.
|
2265
|
+
#
|
2266
|
+
# @option params [Boolean] :disabled
|
2267
|
+
# When true, stops the specified bot from running in your account.
|
2268
|
+
#
|
2269
|
+
# @return [Types::UpdateBotResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2270
|
+
#
|
2271
|
+
# * {Types::UpdateBotResponse#bot #bot} => Types::Bot
|
2272
|
+
#
|
2273
|
+
# @example Request syntax with placeholder values
|
2274
|
+
#
|
2275
|
+
# resp = client.update_bot({
|
2276
|
+
# account_id: "NonEmptyString", # required
|
2277
|
+
# bot_id: "NonEmptyString", # required
|
2278
|
+
# disabled: false,
|
2279
|
+
# })
|
2280
|
+
#
|
2281
|
+
# @example Response structure
|
2282
|
+
#
|
2283
|
+
# resp.bot.bot_id #=> String
|
2284
|
+
# resp.bot.user_id #=> String
|
2285
|
+
# resp.bot.display_name #=> String
|
2286
|
+
# resp.bot.bot_type #=> String, one of "ChatBot"
|
2287
|
+
# resp.bot.disabled #=> Boolean
|
2288
|
+
# resp.bot.created_timestamp #=> Time
|
2289
|
+
# resp.bot.updated_timestamp #=> Time
|
2290
|
+
# resp.bot.bot_email #=> String
|
2291
|
+
# resp.bot.security_token #=> String
|
2292
|
+
#
|
2293
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateBot AWS API Documentation
|
2294
|
+
#
|
2295
|
+
# @overload update_bot(params = {})
|
2296
|
+
# @param [Hash] params ({})
|
2297
|
+
def update_bot(params = {}, options = {})
|
2298
|
+
req = build_request(:update_bot, params)
|
2299
|
+
req.send_request(options)
|
2300
|
+
end
|
2301
|
+
|
1932
2302
|
# Updates global settings for the administrator's AWS account, such as
|
1933
2303
|
# Amazon Chime Business Calling and Amazon Chime Voice Connector
|
1934
2304
|
# settings.
|
@@ -2150,7 +2520,7 @@ module Aws::Chime
|
|
2150
2520
|
params: params,
|
2151
2521
|
config: config)
|
2152
2522
|
context[:gem_name] = 'aws-sdk-chime'
|
2153
|
-
context[:gem_version] = '1.
|
2523
|
+
context[:gem_version] = '1.7.0'
|
2154
2524
|
Seahorse::Client::Request.new(handlers, context)
|
2155
2525
|
end
|
2156
2526
|
|
@@ -32,6 +32,9 @@ module Aws::Chime
|
|
32
32
|
BatchUpdateUserRequest = Shapes::StructureShape.new(name: 'BatchUpdateUserRequest')
|
33
33
|
BatchUpdateUserResponse = Shapes::StructureShape.new(name: 'BatchUpdateUserResponse')
|
34
34
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
35
|
+
Bot = Shapes::StructureShape.new(name: 'Bot')
|
36
|
+
BotList = Shapes::ListShape.new(name: 'BotList')
|
37
|
+
BotType = Shapes::StringShape.new(name: 'BotType')
|
35
38
|
BusinessCallingSettings = Shapes::StructureShape.new(name: 'BusinessCallingSettings')
|
36
39
|
CallingRegion = Shapes::StringShape.new(name: 'CallingRegion')
|
37
40
|
CallingRegionList = Shapes::ListShape.new(name: 'CallingRegionList')
|
@@ -39,6 +42,8 @@ module Aws::Chime
|
|
39
42
|
CpsLimit = Shapes::IntegerShape.new(name: 'CpsLimit')
|
40
43
|
CreateAccountRequest = Shapes::StructureShape.new(name: 'CreateAccountRequest')
|
41
44
|
CreateAccountResponse = Shapes::StructureShape.new(name: 'CreateAccountResponse')
|
45
|
+
CreateBotRequest = Shapes::StructureShape.new(name: 'CreateBotRequest')
|
46
|
+
CreateBotResponse = Shapes::StructureShape.new(name: 'CreateBotResponse')
|
42
47
|
CreatePhoneNumberOrderRequest = Shapes::StructureShape.new(name: 'CreatePhoneNumberOrderRequest')
|
43
48
|
CreatePhoneNumberOrderResponse = Shapes::StructureShape.new(name: 'CreatePhoneNumberOrderResponse')
|
44
49
|
CreateVoiceConnectorRequest = Shapes::StructureShape.new(name: 'CreateVoiceConnectorRequest')
|
@@ -47,6 +52,7 @@ module Aws::Chime
|
|
47
52
|
CredentialList = Shapes::ListShape.new(name: 'CredentialList')
|
48
53
|
DeleteAccountRequest = Shapes::StructureShape.new(name: 'DeleteAccountRequest')
|
49
54
|
DeleteAccountResponse = Shapes::StructureShape.new(name: 'DeleteAccountResponse')
|
55
|
+
DeleteEventsConfigurationRequest = Shapes::StructureShape.new(name: 'DeleteEventsConfigurationRequest')
|
50
56
|
DeletePhoneNumberRequest = Shapes::StructureShape.new(name: 'DeletePhoneNumberRequest')
|
51
57
|
DeleteVoiceConnectorOriginationRequest = Shapes::StructureShape.new(name: 'DeleteVoiceConnectorOriginationRequest')
|
52
58
|
DeleteVoiceConnectorRequest = Shapes::StructureShape.new(name: 'DeleteVoiceConnectorRequest')
|
@@ -61,11 +67,16 @@ module Aws::Chime
|
|
61
67
|
EmailAddress = Shapes::StringShape.new(name: 'EmailAddress')
|
62
68
|
EmailStatus = Shapes::StringShape.new(name: 'EmailStatus')
|
63
69
|
ErrorCode = Shapes::StringShape.new(name: 'ErrorCode')
|
70
|
+
EventsConfiguration = Shapes::StructureShape.new(name: 'EventsConfiguration')
|
64
71
|
ForbiddenException = Shapes::StructureShape.new(name: 'ForbiddenException')
|
65
72
|
GetAccountRequest = Shapes::StructureShape.new(name: 'GetAccountRequest')
|
66
73
|
GetAccountResponse = Shapes::StructureShape.new(name: 'GetAccountResponse')
|
67
74
|
GetAccountSettingsRequest = Shapes::StructureShape.new(name: 'GetAccountSettingsRequest')
|
68
75
|
GetAccountSettingsResponse = Shapes::StructureShape.new(name: 'GetAccountSettingsResponse')
|
76
|
+
GetBotRequest = Shapes::StructureShape.new(name: 'GetBotRequest')
|
77
|
+
GetBotResponse = Shapes::StructureShape.new(name: 'GetBotResponse')
|
78
|
+
GetEventsConfigurationRequest = Shapes::StructureShape.new(name: 'GetEventsConfigurationRequest')
|
79
|
+
GetEventsConfigurationResponse = Shapes::StructureShape.new(name: 'GetEventsConfigurationResponse')
|
69
80
|
GetGlobalSettingsResponse = Shapes::StructureShape.new(name: 'GetGlobalSettingsResponse')
|
70
81
|
GetPhoneNumberOrderRequest = Shapes::StructureShape.new(name: 'GetPhoneNumberOrderRequest')
|
71
82
|
GetPhoneNumberOrderResponse = Shapes::StructureShape.new(name: 'GetPhoneNumberOrderResponse')
|
@@ -94,6 +105,8 @@ module Aws::Chime
|
|
94
105
|
LicenseList = Shapes::ListShape.new(name: 'LicenseList')
|
95
106
|
ListAccountsRequest = Shapes::StructureShape.new(name: 'ListAccountsRequest')
|
96
107
|
ListAccountsResponse = Shapes::StructureShape.new(name: 'ListAccountsResponse')
|
108
|
+
ListBotsRequest = Shapes::StructureShape.new(name: 'ListBotsRequest')
|
109
|
+
ListBotsResponse = Shapes::StructureShape.new(name: 'ListBotsResponse')
|
97
110
|
ListPhoneNumberOrdersRequest = Shapes::StructureShape.new(name: 'ListPhoneNumberOrdersRequest')
|
98
111
|
ListPhoneNumberOrdersResponse = Shapes::StructureShape.new(name: 'ListPhoneNumberOrdersResponse')
|
99
112
|
ListPhoneNumbersRequest = Shapes::StructureShape.new(name: 'ListPhoneNumbersRequest')
|
@@ -135,14 +148,19 @@ module Aws::Chime
|
|
135
148
|
PhoneNumberStatus = Shapes::StringShape.new(name: 'PhoneNumberStatus')
|
136
149
|
Port = Shapes::IntegerShape.new(name: 'Port')
|
137
150
|
ProfileServiceMaxResults = Shapes::IntegerShape.new(name: 'ProfileServiceMaxResults')
|
151
|
+
PutEventsConfigurationRequest = Shapes::StructureShape.new(name: 'PutEventsConfigurationRequest')
|
152
|
+
PutEventsConfigurationResponse = Shapes::StructureShape.new(name: 'PutEventsConfigurationResponse')
|
138
153
|
PutVoiceConnectorOriginationRequest = Shapes::StructureShape.new(name: 'PutVoiceConnectorOriginationRequest')
|
139
154
|
PutVoiceConnectorOriginationResponse = Shapes::StructureShape.new(name: 'PutVoiceConnectorOriginationResponse')
|
140
155
|
PutVoiceConnectorTerminationCredentialsRequest = Shapes::StructureShape.new(name: 'PutVoiceConnectorTerminationCredentialsRequest')
|
141
156
|
PutVoiceConnectorTerminationRequest = Shapes::StructureShape.new(name: 'PutVoiceConnectorTerminationRequest')
|
142
157
|
PutVoiceConnectorTerminationResponse = Shapes::StructureShape.new(name: 'PutVoiceConnectorTerminationResponse')
|
158
|
+
RegenerateSecurityTokenRequest = Shapes::StructureShape.new(name: 'RegenerateSecurityTokenRequest')
|
159
|
+
RegenerateSecurityTokenResponse = Shapes::StructureShape.new(name: 'RegenerateSecurityTokenResponse')
|
143
160
|
RegistrationStatus = Shapes::StringShape.new(name: 'RegistrationStatus')
|
144
161
|
ResetPersonalPINRequest = Shapes::StructureShape.new(name: 'ResetPersonalPINRequest')
|
145
162
|
ResetPersonalPINResponse = Shapes::StructureShape.new(name: 'ResetPersonalPINResponse')
|
163
|
+
ResourceLimitExceededException = Shapes::StructureShape.new(name: 'ResourceLimitExceededException')
|
146
164
|
RestorePhoneNumberRequest = Shapes::StructureShape.new(name: 'RestorePhoneNumberRequest')
|
147
165
|
RestorePhoneNumberResponse = Shapes::StructureShape.new(name: 'RestorePhoneNumberResponse')
|
148
166
|
ResultMax = Shapes::IntegerShape.new(name: 'ResultMax')
|
@@ -164,6 +182,8 @@ module Aws::Chime
|
|
164
182
|
UpdateAccountResponse = Shapes::StructureShape.new(name: 'UpdateAccountResponse')
|
165
183
|
UpdateAccountSettingsRequest = Shapes::StructureShape.new(name: 'UpdateAccountSettingsRequest')
|
166
184
|
UpdateAccountSettingsResponse = Shapes::StructureShape.new(name: 'UpdateAccountSettingsResponse')
|
185
|
+
UpdateBotRequest = Shapes::StructureShape.new(name: 'UpdateBotRequest')
|
186
|
+
UpdateBotResponse = Shapes::StructureShape.new(name: 'UpdateBotResponse')
|
167
187
|
UpdateGlobalSettingsRequest = Shapes::StructureShape.new(name: 'UpdateGlobalSettingsRequest')
|
168
188
|
UpdatePhoneNumberRequest = Shapes::StructureShape.new(name: 'UpdatePhoneNumberRequest')
|
169
189
|
UpdatePhoneNumberRequestItem = Shapes::StructureShape.new(name: 'UpdatePhoneNumberRequestItem')
|
@@ -250,6 +270,19 @@ module Aws::Chime
|
|
250
270
|
BatchUpdateUserResponse.add_member(:user_errors, Shapes::ShapeRef.new(shape: UserErrorList, location_name: "UserErrors"))
|
251
271
|
BatchUpdateUserResponse.struct_class = Types::BatchUpdateUserResponse
|
252
272
|
|
273
|
+
Bot.add_member(:bot_id, Shapes::ShapeRef.new(shape: String, location_name: "BotId"))
|
274
|
+
Bot.add_member(:user_id, Shapes::ShapeRef.new(shape: String, location_name: "UserId"))
|
275
|
+
Bot.add_member(:display_name, Shapes::ShapeRef.new(shape: SensitiveString, location_name: "DisplayName"))
|
276
|
+
Bot.add_member(:bot_type, Shapes::ShapeRef.new(shape: BotType, location_name: "BotType"))
|
277
|
+
Bot.add_member(:disabled, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "Disabled"))
|
278
|
+
Bot.add_member(:created_timestamp, Shapes::ShapeRef.new(shape: Iso8601Timestamp, location_name: "CreatedTimestamp"))
|
279
|
+
Bot.add_member(:updated_timestamp, Shapes::ShapeRef.new(shape: Iso8601Timestamp, location_name: "UpdatedTimestamp"))
|
280
|
+
Bot.add_member(:bot_email, Shapes::ShapeRef.new(shape: SensitiveString, location_name: "BotEmail"))
|
281
|
+
Bot.add_member(:security_token, Shapes::ShapeRef.new(shape: SensitiveString, location_name: "SecurityToken"))
|
282
|
+
Bot.struct_class = Types::Bot
|
283
|
+
|
284
|
+
BotList.member = Shapes::ShapeRef.new(shape: Bot)
|
285
|
+
|
253
286
|
BusinessCallingSettings.add_member(:cdr_bucket, Shapes::ShapeRef.new(shape: String, location_name: "CdrBucket", metadata: {"box"=>true}))
|
254
287
|
BusinessCallingSettings.struct_class = Types::BusinessCallingSettings
|
255
288
|
|
@@ -261,6 +294,14 @@ module Aws::Chime
|
|
261
294
|
CreateAccountResponse.add_member(:account, Shapes::ShapeRef.new(shape: Account, location_name: "Account"))
|
262
295
|
CreateAccountResponse.struct_class = Types::CreateAccountResponse
|
263
296
|
|
297
|
+
CreateBotRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "accountId"))
|
298
|
+
CreateBotRequest.add_member(:display_name, Shapes::ShapeRef.new(shape: SensitiveString, required: true, location_name: "DisplayName"))
|
299
|
+
CreateBotRequest.add_member(:domain, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Domain"))
|
300
|
+
CreateBotRequest.struct_class = Types::CreateBotRequest
|
301
|
+
|
302
|
+
CreateBotResponse.add_member(:bot, Shapes::ShapeRef.new(shape: Bot, location_name: "Bot"))
|
303
|
+
CreateBotResponse.struct_class = Types::CreateBotResponse
|
304
|
+
|
264
305
|
CreatePhoneNumberOrderRequest.add_member(:product_type, Shapes::ShapeRef.new(shape: PhoneNumberProductType, required: true, location_name: "ProductType"))
|
265
306
|
CreatePhoneNumberOrderRequest.add_member(:e164_phone_numbers, Shapes::ShapeRef.new(shape: E164PhoneNumberList, required: true, location_name: "E164PhoneNumbers"))
|
266
307
|
CreatePhoneNumberOrderRequest.struct_class = Types::CreatePhoneNumberOrderRequest
|
@@ -286,6 +327,10 @@ module Aws::Chime
|
|
286
327
|
|
287
328
|
DeleteAccountResponse.struct_class = Types::DeleteAccountResponse
|
288
329
|
|
330
|
+
DeleteEventsConfigurationRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "accountId"))
|
331
|
+
DeleteEventsConfigurationRequest.add_member(:bot_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "botId"))
|
332
|
+
DeleteEventsConfigurationRequest.struct_class = Types::DeleteEventsConfigurationRequest
|
333
|
+
|
289
334
|
DeletePhoneNumberRequest.add_member(:phone_number_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "phoneNumberId"))
|
290
335
|
DeletePhoneNumberRequest.struct_class = Types::DeletePhoneNumberRequest
|
291
336
|
|
@@ -317,6 +362,11 @@ module Aws::Chime
|
|
317
362
|
|
318
363
|
E164PhoneNumberList.member = Shapes::ShapeRef.new(shape: E164PhoneNumber)
|
319
364
|
|
365
|
+
EventsConfiguration.add_member(:bot_id, Shapes::ShapeRef.new(shape: String, location_name: "BotId"))
|
366
|
+
EventsConfiguration.add_member(:outbound_events_https_endpoint, Shapes::ShapeRef.new(shape: SensitiveString, location_name: "OutboundEventsHTTPSEndpoint"))
|
367
|
+
EventsConfiguration.add_member(:lambda_function_arn, Shapes::ShapeRef.new(shape: SensitiveString, location_name: "LambdaFunctionArn"))
|
368
|
+
EventsConfiguration.struct_class = Types::EventsConfiguration
|
369
|
+
|
320
370
|
GetAccountRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "accountId"))
|
321
371
|
GetAccountRequest.struct_class = Types::GetAccountRequest
|
322
372
|
|
@@ -329,6 +379,20 @@ module Aws::Chime
|
|
329
379
|
GetAccountSettingsResponse.add_member(:account_settings, Shapes::ShapeRef.new(shape: AccountSettings, location_name: "AccountSettings"))
|
330
380
|
GetAccountSettingsResponse.struct_class = Types::GetAccountSettingsResponse
|
331
381
|
|
382
|
+
GetBotRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "accountId"))
|
383
|
+
GetBotRequest.add_member(:bot_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "botId"))
|
384
|
+
GetBotRequest.struct_class = Types::GetBotRequest
|
385
|
+
|
386
|
+
GetBotResponse.add_member(:bot, Shapes::ShapeRef.new(shape: Bot, location_name: "Bot"))
|
387
|
+
GetBotResponse.struct_class = Types::GetBotResponse
|
388
|
+
|
389
|
+
GetEventsConfigurationRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "accountId"))
|
390
|
+
GetEventsConfigurationRequest.add_member(:bot_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "botId"))
|
391
|
+
GetEventsConfigurationRequest.struct_class = Types::GetEventsConfigurationRequest
|
392
|
+
|
393
|
+
GetEventsConfigurationResponse.add_member(:events_configuration, Shapes::ShapeRef.new(shape: EventsConfiguration, location_name: "EventsConfiguration"))
|
394
|
+
GetEventsConfigurationResponse.struct_class = Types::GetEventsConfigurationResponse
|
395
|
+
|
332
396
|
GetGlobalSettingsResponse.add_member(:business_calling, Shapes::ShapeRef.new(shape: BusinessCallingSettings, location_name: "BusinessCalling"))
|
333
397
|
GetGlobalSettingsResponse.add_member(:voice_connector, Shapes::ShapeRef.new(shape: VoiceConnectorSettings, location_name: "VoiceConnector"))
|
334
398
|
GetGlobalSettingsResponse.struct_class = Types::GetGlobalSettingsResponse
|
@@ -410,6 +474,15 @@ module Aws::Chime
|
|
410
474
|
ListAccountsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
411
475
|
ListAccountsResponse.struct_class = Types::ListAccountsResponse
|
412
476
|
|
477
|
+
ListBotsRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "accountId"))
|
478
|
+
ListBotsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ResultMax, location: "querystring", location_name: "max-results"))
|
479
|
+
ListBotsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "next-token"))
|
480
|
+
ListBotsRequest.struct_class = Types::ListBotsRequest
|
481
|
+
|
482
|
+
ListBotsResponse.add_member(:bots, Shapes::ShapeRef.new(shape: BotList, location_name: "Bots"))
|
483
|
+
ListBotsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
484
|
+
ListBotsResponse.struct_class = Types::ListBotsResponse
|
485
|
+
|
413
486
|
ListPhoneNumberOrdersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "next-token"))
|
414
487
|
ListPhoneNumberOrdersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ResultMax, location: "querystring", location_name: "max-results"))
|
415
488
|
ListPhoneNumberOrdersRequest.struct_class = Types::ListPhoneNumberOrdersRequest
|
@@ -526,6 +599,15 @@ module Aws::Chime
|
|
526
599
|
|
527
600
|
PhoneNumberOrderList.member = Shapes::ShapeRef.new(shape: PhoneNumberOrder)
|
528
601
|
|
602
|
+
PutEventsConfigurationRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "accountId"))
|
603
|
+
PutEventsConfigurationRequest.add_member(:bot_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "botId"))
|
604
|
+
PutEventsConfigurationRequest.add_member(:outbound_events_https_endpoint, Shapes::ShapeRef.new(shape: SensitiveString, location_name: "OutboundEventsHTTPSEndpoint"))
|
605
|
+
PutEventsConfigurationRequest.add_member(:lambda_function_arn, Shapes::ShapeRef.new(shape: SensitiveString, location_name: "LambdaFunctionArn"))
|
606
|
+
PutEventsConfigurationRequest.struct_class = Types::PutEventsConfigurationRequest
|
607
|
+
|
608
|
+
PutEventsConfigurationResponse.add_member(:events_configuration, Shapes::ShapeRef.new(shape: EventsConfiguration, location_name: "EventsConfiguration"))
|
609
|
+
PutEventsConfigurationResponse.struct_class = Types::PutEventsConfigurationResponse
|
610
|
+
|
529
611
|
PutVoiceConnectorOriginationRequest.add_member(:voice_connector_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "voiceConnectorId"))
|
530
612
|
PutVoiceConnectorOriginationRequest.add_member(:origination, Shapes::ShapeRef.new(shape: Origination, required: true, location_name: "Origination"))
|
531
613
|
PutVoiceConnectorOriginationRequest.struct_class = Types::PutVoiceConnectorOriginationRequest
|
@@ -544,6 +626,13 @@ module Aws::Chime
|
|
544
626
|
PutVoiceConnectorTerminationResponse.add_member(:termination, Shapes::ShapeRef.new(shape: Termination, location_name: "Termination"))
|
545
627
|
PutVoiceConnectorTerminationResponse.struct_class = Types::PutVoiceConnectorTerminationResponse
|
546
628
|
|
629
|
+
RegenerateSecurityTokenRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "accountId"))
|
630
|
+
RegenerateSecurityTokenRequest.add_member(:bot_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "botId"))
|
631
|
+
RegenerateSecurityTokenRequest.struct_class = Types::RegenerateSecurityTokenRequest
|
632
|
+
|
633
|
+
RegenerateSecurityTokenResponse.add_member(:bot, Shapes::ShapeRef.new(shape: Bot, location_name: "Bot"))
|
634
|
+
RegenerateSecurityTokenResponse.struct_class = Types::RegenerateSecurityTokenResponse
|
635
|
+
|
547
636
|
ResetPersonalPINRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "accountId"))
|
548
637
|
ResetPersonalPINRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "userId"))
|
549
638
|
ResetPersonalPINRequest.struct_class = Types::ResetPersonalPINRequest
|
@@ -601,6 +690,14 @@ module Aws::Chime
|
|
601
690
|
|
602
691
|
UpdateAccountSettingsResponse.struct_class = Types::UpdateAccountSettingsResponse
|
603
692
|
|
693
|
+
UpdateBotRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "accountId"))
|
694
|
+
UpdateBotRequest.add_member(:bot_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "botId"))
|
695
|
+
UpdateBotRequest.add_member(:disabled, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "Disabled"))
|
696
|
+
UpdateBotRequest.struct_class = Types::UpdateBotRequest
|
697
|
+
|
698
|
+
UpdateBotResponse.add_member(:bot, Shapes::ShapeRef.new(shape: Bot, location_name: "Bot"))
|
699
|
+
UpdateBotResponse.struct_class = Types::UpdateBotResponse
|
700
|
+
|
604
701
|
UpdateGlobalSettingsRequest.add_member(:business_calling, Shapes::ShapeRef.new(shape: BusinessCallingSettings, required: true, location_name: "BusinessCalling"))
|
605
702
|
UpdateGlobalSettingsRequest.add_member(:voice_connector, Shapes::ShapeRef.new(shape: VoiceConnectorSettings, required: true, location_name: "VoiceConnector"))
|
606
703
|
UpdateGlobalSettingsRequest.struct_class = Types::UpdateGlobalSettingsRequest
|
@@ -823,6 +920,21 @@ module Aws::Chime
|
|
823
920
|
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
824
921
|
end)
|
825
922
|
|
923
|
+
api.add_operation(:create_bot, Seahorse::Model::Operation.new.tap do |o|
|
924
|
+
o.name = "CreateBot"
|
925
|
+
o.http_method = "POST"
|
926
|
+
o.http_request_uri = "/accounts/{accountId}/bots"
|
927
|
+
o.input = Shapes::ShapeRef.new(shape: CreateBotRequest)
|
928
|
+
o.output = Shapes::ShapeRef.new(shape: CreateBotResponse)
|
929
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
930
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
931
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
932
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
933
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
|
934
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceLimitExceededException)
|
935
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
936
|
+
end)
|
937
|
+
|
826
938
|
api.add_operation(:create_phone_number_order, Seahorse::Model::Operation.new.tap do |o|
|
827
939
|
o.name = "CreatePhoneNumberOrder"
|
828
940
|
o.http_method = "POST"
|
@@ -867,6 +979,20 @@ module Aws::Chime
|
|
867
979
|
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
868
980
|
end)
|
869
981
|
|
982
|
+
api.add_operation(:delete_events_configuration, Seahorse::Model::Operation.new.tap do |o|
|
983
|
+
o.name = "DeleteEventsConfiguration"
|
984
|
+
o.http_method = "DELETE"
|
985
|
+
o.http_request_uri = "/accounts/{accountId}/bots/{botId}/events-configuration"
|
986
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteEventsConfigurationRequest)
|
987
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
988
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
989
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
990
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
991
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
992
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
|
993
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceLimitExceededException)
|
994
|
+
end)
|
995
|
+
|
870
996
|
api.add_operation(:delete_phone_number, Seahorse::Model::Operation.new.tap do |o|
|
871
997
|
o.name = "DeletePhoneNumber"
|
872
998
|
o.http_method = "DELETE"
|
@@ -1002,6 +1128,35 @@ module Aws::Chime
|
|
1002
1128
|
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
1003
1129
|
end)
|
1004
1130
|
|
1131
|
+
api.add_operation(:get_bot, Seahorse::Model::Operation.new.tap do |o|
|
1132
|
+
o.name = "GetBot"
|
1133
|
+
o.http_method = "GET"
|
1134
|
+
o.http_request_uri = "/accounts/{accountId}/bots/{botId}"
|
1135
|
+
o.input = Shapes::ShapeRef.new(shape: GetBotRequest)
|
1136
|
+
o.output = Shapes::ShapeRef.new(shape: GetBotResponse)
|
1137
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1138
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
1139
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
1140
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
|
1141
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1142
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1143
|
+
end)
|
1144
|
+
|
1145
|
+
api.add_operation(:get_events_configuration, Seahorse::Model::Operation.new.tap do |o|
|
1146
|
+
o.name = "GetEventsConfiguration"
|
1147
|
+
o.http_method = "GET"
|
1148
|
+
o.http_request_uri = "/accounts/{accountId}/bots/{botId}/events-configuration"
|
1149
|
+
o.input = Shapes::ShapeRef.new(shape: GetEventsConfigurationRequest)
|
1150
|
+
o.output = Shapes::ShapeRef.new(shape: GetEventsConfigurationResponse)
|
1151
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1152
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
1153
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
1154
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1155
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
|
1156
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceLimitExceededException)
|
1157
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1158
|
+
end)
|
1159
|
+
|
1005
1160
|
api.add_operation(:get_global_settings, Seahorse::Model::Operation.new.tap do |o|
|
1006
1161
|
o.name = "GetGlobalSettings"
|
1007
1162
|
o.http_method = "GET"
|
@@ -1172,6 +1327,20 @@ module Aws::Chime
|
|
1172
1327
|
)
|
1173
1328
|
end)
|
1174
1329
|
|
1330
|
+
api.add_operation(:list_bots, Seahorse::Model::Operation.new.tap do |o|
|
1331
|
+
o.name = "ListBots"
|
1332
|
+
o.http_method = "GET"
|
1333
|
+
o.http_request_uri = "/accounts/{accountId}/bots"
|
1334
|
+
o.input = Shapes::ShapeRef.new(shape: ListBotsRequest)
|
1335
|
+
o.output = Shapes::ShapeRef.new(shape: ListBotsResponse)
|
1336
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1337
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
1338
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
1339
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
|
1340
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1341
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1342
|
+
end)
|
1343
|
+
|
1175
1344
|
api.add_operation(:list_phone_number_orders, Seahorse::Model::Operation.new.tap do |o|
|
1176
1345
|
o.name = "ListPhoneNumberOrders"
|
1177
1346
|
o.http_method = "GET"
|
@@ -1283,6 +1452,21 @@ module Aws::Chime
|
|
1283
1452
|
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
1284
1453
|
end)
|
1285
1454
|
|
1455
|
+
api.add_operation(:put_events_configuration, Seahorse::Model::Operation.new.tap do |o|
|
1456
|
+
o.name = "PutEventsConfiguration"
|
1457
|
+
o.http_method = "PUT"
|
1458
|
+
o.http_request_uri = "/accounts/{accountId}/bots/{botId}/events-configuration"
|
1459
|
+
o.input = Shapes::ShapeRef.new(shape: PutEventsConfigurationRequest)
|
1460
|
+
o.output = Shapes::ShapeRef.new(shape: PutEventsConfigurationResponse)
|
1461
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1462
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
1463
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
1464
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1465
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
|
1466
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceLimitExceededException)
|
1467
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1468
|
+
end)
|
1469
|
+
|
1286
1470
|
api.add_operation(:put_voice_connector_origination, Seahorse::Model::Operation.new.tap do |o|
|
1287
1471
|
o.name = "PutVoiceConnectorOrigination"
|
1288
1472
|
o.http_method = "PUT"
|
@@ -1328,6 +1512,20 @@ module Aws::Chime
|
|
1328
1512
|
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
1329
1513
|
end)
|
1330
1514
|
|
1515
|
+
api.add_operation(:regenerate_security_token, Seahorse::Model::Operation.new.tap do |o|
|
1516
|
+
o.name = "RegenerateSecurityToken"
|
1517
|
+
o.http_method = "POST"
|
1518
|
+
o.http_request_uri = "/accounts/{accountId}/bots/{botId}?operation=regenerate-security-token"
|
1519
|
+
o.input = Shapes::ShapeRef.new(shape: RegenerateSecurityTokenRequest)
|
1520
|
+
o.output = Shapes::ShapeRef.new(shape: RegenerateSecurityTokenResponse)
|
1521
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1522
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
1523
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
1524
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1525
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
|
1526
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1527
|
+
end)
|
1528
|
+
|
1331
1529
|
api.add_operation(:reset_personal_pin, Seahorse::Model::Operation.new.tap do |o|
|
1332
1530
|
o.name = "ResetPersonalPIN"
|
1333
1531
|
o.http_method = "POST"
|
@@ -1403,6 +1601,20 @@ module Aws::Chime
|
|
1403
1601
|
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
1404
1602
|
end)
|
1405
1603
|
|
1604
|
+
api.add_operation(:update_bot, Seahorse::Model::Operation.new.tap do |o|
|
1605
|
+
o.name = "UpdateBot"
|
1606
|
+
o.http_method = "POST"
|
1607
|
+
o.http_request_uri = "/accounts/{accountId}/bots/{botId}"
|
1608
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateBotRequest)
|
1609
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateBotResponse)
|
1610
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1611
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
1612
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
1613
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1614
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedClientException)
|
1615
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1616
|
+
end)
|
1617
|
+
|
1406
1618
|
api.add_operation(:update_global_settings, Seahorse::Model::Operation.new.tap do |o|
|
1407
1619
|
o.name = "UpdateGlobalSettings"
|
1408
1620
|
o.http_method = "PUT"
|
data/lib/aws-sdk-chime/types.rb
CHANGED
@@ -354,6 +354,61 @@ module Aws::Chime
|
|
354
354
|
include Aws::Structure
|
355
355
|
end
|
356
356
|
|
357
|
+
# A resource that allows Enterprise account administrators to configure
|
358
|
+
# an interface to receive events from Amazon Chime.
|
359
|
+
#
|
360
|
+
# @!attribute [rw] bot_id
|
361
|
+
# The bot ID.
|
362
|
+
# @return [String]
|
363
|
+
#
|
364
|
+
# @!attribute [rw] user_id
|
365
|
+
# The unique ID for the bot user.
|
366
|
+
# @return [String]
|
367
|
+
#
|
368
|
+
# @!attribute [rw] display_name
|
369
|
+
# The bot display name.
|
370
|
+
# @return [String]
|
371
|
+
#
|
372
|
+
# @!attribute [rw] bot_type
|
373
|
+
# The bot type.
|
374
|
+
# @return [String]
|
375
|
+
#
|
376
|
+
# @!attribute [rw] disabled
|
377
|
+
# When true, the bot is stopped from running in your account.
|
378
|
+
# @return [Boolean]
|
379
|
+
#
|
380
|
+
# @!attribute [rw] created_timestamp
|
381
|
+
# The bot creation timestamp, in ISO 8601 format.
|
382
|
+
# @return [Time]
|
383
|
+
#
|
384
|
+
# @!attribute [rw] updated_timestamp
|
385
|
+
# The updated bot timestamp, in ISO 8601 format.
|
386
|
+
# @return [Time]
|
387
|
+
#
|
388
|
+
# @!attribute [rw] bot_email
|
389
|
+
# The bot email address.
|
390
|
+
# @return [String]
|
391
|
+
#
|
392
|
+
# @!attribute [rw] security_token
|
393
|
+
# The security token used to authenticate Amazon Chime with the
|
394
|
+
# outgoing event endpoint.
|
395
|
+
# @return [String]
|
396
|
+
#
|
397
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/Bot AWS API Documentation
|
398
|
+
#
|
399
|
+
class Bot < Struct.new(
|
400
|
+
:bot_id,
|
401
|
+
:user_id,
|
402
|
+
:display_name,
|
403
|
+
:bot_type,
|
404
|
+
:disabled,
|
405
|
+
:created_timestamp,
|
406
|
+
:updated_timestamp,
|
407
|
+
:bot_email,
|
408
|
+
:security_token)
|
409
|
+
include Aws::Structure
|
410
|
+
end
|
411
|
+
|
357
412
|
# The Amazon Chime Business Calling settings for the administrator's
|
358
413
|
# AWS account. Includes any Amazon S3 buckets designated for storing
|
359
414
|
# call detail records.
|
@@ -405,6 +460,47 @@ module Aws::Chime
|
|
405
460
|
include Aws::Structure
|
406
461
|
end
|
407
462
|
|
463
|
+
# @note When making an API call, you may pass CreateBotRequest
|
464
|
+
# data as a hash:
|
465
|
+
#
|
466
|
+
# {
|
467
|
+
# account_id: "NonEmptyString", # required
|
468
|
+
# display_name: "SensitiveString", # required
|
469
|
+
# domain: "NonEmptyString",
|
470
|
+
# }
|
471
|
+
#
|
472
|
+
# @!attribute [rw] account_id
|
473
|
+
# The Amazon Chime account ID.
|
474
|
+
# @return [String]
|
475
|
+
#
|
476
|
+
# @!attribute [rw] display_name
|
477
|
+
# The bot display name.
|
478
|
+
# @return [String]
|
479
|
+
#
|
480
|
+
# @!attribute [rw] domain
|
481
|
+
# The domain of the Amazon Chime Enterprise account.
|
482
|
+
# @return [String]
|
483
|
+
#
|
484
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateBotRequest AWS API Documentation
|
485
|
+
#
|
486
|
+
class CreateBotRequest < Struct.new(
|
487
|
+
:account_id,
|
488
|
+
:display_name,
|
489
|
+
:domain)
|
490
|
+
include Aws::Structure
|
491
|
+
end
|
492
|
+
|
493
|
+
# @!attribute [rw] bot
|
494
|
+
# The bot details.
|
495
|
+
# @return [Types::Bot]
|
496
|
+
#
|
497
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateBotResponse AWS API Documentation
|
498
|
+
#
|
499
|
+
class CreateBotResponse < Struct.new(
|
500
|
+
:bot)
|
501
|
+
include Aws::Structure
|
502
|
+
end
|
503
|
+
|
408
504
|
# @note When making an API call, you may pass CreatePhoneNumberOrderRequest
|
409
505
|
# data as a hash:
|
410
506
|
#
|
@@ -527,6 +623,30 @@ module Aws::Chime
|
|
527
623
|
#
|
528
624
|
class DeleteAccountResponse < Aws::EmptyStructure; end
|
529
625
|
|
626
|
+
# @note When making an API call, you may pass DeleteEventsConfigurationRequest
|
627
|
+
# data as a hash:
|
628
|
+
#
|
629
|
+
# {
|
630
|
+
# account_id: "NonEmptyString", # required
|
631
|
+
# bot_id: "NonEmptyString", # required
|
632
|
+
# }
|
633
|
+
#
|
634
|
+
# @!attribute [rw] account_id
|
635
|
+
# The Amazon Chime account ID.
|
636
|
+
# @return [String]
|
637
|
+
#
|
638
|
+
# @!attribute [rw] bot_id
|
639
|
+
# The bot ID.
|
640
|
+
# @return [String]
|
641
|
+
#
|
642
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteEventsConfigurationRequest AWS API Documentation
|
643
|
+
#
|
644
|
+
class DeleteEventsConfigurationRequest < Struct.new(
|
645
|
+
:account_id,
|
646
|
+
:bot_id)
|
647
|
+
include Aws::Structure
|
648
|
+
end
|
649
|
+
|
530
650
|
# @note When making an API call, you may pass DeletePhoneNumberRequest
|
531
651
|
# data as a hash:
|
532
652
|
#
|
@@ -689,6 +809,30 @@ module Aws::Chime
|
|
689
809
|
include Aws::Structure
|
690
810
|
end
|
691
811
|
|
812
|
+
# The configuration that allows a bot to receive outgoing events. Can be
|
813
|
+
# either an HTTPS endpoint or a Lambda function ARN.
|
814
|
+
#
|
815
|
+
# @!attribute [rw] bot_id
|
816
|
+
# The bot ID.
|
817
|
+
# @return [String]
|
818
|
+
#
|
819
|
+
# @!attribute [rw] outbound_events_https_endpoint
|
820
|
+
# HTTPS endpoint that allows a bot to receive outgoing events.
|
821
|
+
# @return [String]
|
822
|
+
#
|
823
|
+
# @!attribute [rw] lambda_function_arn
|
824
|
+
# Lambda function ARN that allows a bot to receive outgoing events.
|
825
|
+
# @return [String]
|
826
|
+
#
|
827
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/EventsConfiguration AWS API Documentation
|
828
|
+
#
|
829
|
+
class EventsConfiguration < Struct.new(
|
830
|
+
:bot_id,
|
831
|
+
:outbound_events_https_endpoint,
|
832
|
+
:lambda_function_arn)
|
833
|
+
include Aws::Structure
|
834
|
+
end
|
835
|
+
|
692
836
|
# @note When making an API call, you may pass GetAccountRequest
|
693
837
|
# data as a hash:
|
694
838
|
#
|
@@ -747,6 +891,76 @@ module Aws::Chime
|
|
747
891
|
include Aws::Structure
|
748
892
|
end
|
749
893
|
|
894
|
+
# @note When making an API call, you may pass GetBotRequest
|
895
|
+
# data as a hash:
|
896
|
+
#
|
897
|
+
# {
|
898
|
+
# account_id: "NonEmptyString", # required
|
899
|
+
# bot_id: "NonEmptyString", # required
|
900
|
+
# }
|
901
|
+
#
|
902
|
+
# @!attribute [rw] account_id
|
903
|
+
# The Amazon Chime account ID.
|
904
|
+
# @return [String]
|
905
|
+
#
|
906
|
+
# @!attribute [rw] bot_id
|
907
|
+
# The bot ID.
|
908
|
+
# @return [String]
|
909
|
+
#
|
910
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetBotRequest AWS API Documentation
|
911
|
+
#
|
912
|
+
class GetBotRequest < Struct.new(
|
913
|
+
:account_id,
|
914
|
+
:bot_id)
|
915
|
+
include Aws::Structure
|
916
|
+
end
|
917
|
+
|
918
|
+
# @!attribute [rw] bot
|
919
|
+
# The chat bot details.
|
920
|
+
# @return [Types::Bot]
|
921
|
+
#
|
922
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetBotResponse AWS API Documentation
|
923
|
+
#
|
924
|
+
class GetBotResponse < Struct.new(
|
925
|
+
:bot)
|
926
|
+
include Aws::Structure
|
927
|
+
end
|
928
|
+
|
929
|
+
# @note When making an API call, you may pass GetEventsConfigurationRequest
|
930
|
+
# data as a hash:
|
931
|
+
#
|
932
|
+
# {
|
933
|
+
# account_id: "NonEmptyString", # required
|
934
|
+
# bot_id: "NonEmptyString", # required
|
935
|
+
# }
|
936
|
+
#
|
937
|
+
# @!attribute [rw] account_id
|
938
|
+
# The Amazon Chime account ID.
|
939
|
+
# @return [String]
|
940
|
+
#
|
941
|
+
# @!attribute [rw] bot_id
|
942
|
+
# The bot ID.
|
943
|
+
# @return [String]
|
944
|
+
#
|
945
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetEventsConfigurationRequest AWS API Documentation
|
946
|
+
#
|
947
|
+
class GetEventsConfigurationRequest < Struct.new(
|
948
|
+
:account_id,
|
949
|
+
:bot_id)
|
950
|
+
include Aws::Structure
|
951
|
+
end
|
952
|
+
|
953
|
+
# @!attribute [rw] events_configuration
|
954
|
+
# The events configuration details.
|
955
|
+
# @return [Types::EventsConfiguration]
|
956
|
+
#
|
957
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetEventsConfigurationResponse AWS API Documentation
|
958
|
+
#
|
959
|
+
class GetEventsConfigurationResponse < Struct.new(
|
960
|
+
:events_configuration)
|
961
|
+
include Aws::Structure
|
962
|
+
end
|
963
|
+
|
750
964
|
# @!attribute [rw] business_calling
|
751
965
|
# The Amazon Chime Business Calling settings.
|
752
966
|
# @return [Types::BusinessCallingSettings]
|
@@ -1124,6 +1338,53 @@ module Aws::Chime
|
|
1124
1338
|
include Aws::Structure
|
1125
1339
|
end
|
1126
1340
|
|
1341
|
+
# @note When making an API call, you may pass ListBotsRequest
|
1342
|
+
# data as a hash:
|
1343
|
+
#
|
1344
|
+
# {
|
1345
|
+
# account_id: "NonEmptyString", # required
|
1346
|
+
# max_results: 1,
|
1347
|
+
# next_token: "String",
|
1348
|
+
# }
|
1349
|
+
#
|
1350
|
+
# @!attribute [rw] account_id
|
1351
|
+
# The Amazon Chime account ID.
|
1352
|
+
# @return [String]
|
1353
|
+
#
|
1354
|
+
# @!attribute [rw] max_results
|
1355
|
+
# The maximum number of results to return in a single call. Default is
|
1356
|
+
# 10.
|
1357
|
+
# @return [Integer]
|
1358
|
+
#
|
1359
|
+
# @!attribute [rw] next_token
|
1360
|
+
# The token to use to retrieve the next page of results.
|
1361
|
+
# @return [String]
|
1362
|
+
#
|
1363
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListBotsRequest AWS API Documentation
|
1364
|
+
#
|
1365
|
+
class ListBotsRequest < Struct.new(
|
1366
|
+
:account_id,
|
1367
|
+
:max_results,
|
1368
|
+
:next_token)
|
1369
|
+
include Aws::Structure
|
1370
|
+
end
|
1371
|
+
|
1372
|
+
# @!attribute [rw] bots
|
1373
|
+
# List of bots and bot details.
|
1374
|
+
# @return [Array<Types::Bot>]
|
1375
|
+
#
|
1376
|
+
# @!attribute [rw] next_token
|
1377
|
+
# The token to use to retrieve the next page of results.
|
1378
|
+
# @return [String]
|
1379
|
+
#
|
1380
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListBotsResponse AWS API Documentation
|
1381
|
+
#
|
1382
|
+
class ListBotsResponse < Struct.new(
|
1383
|
+
:bots,
|
1384
|
+
:next_token)
|
1385
|
+
include Aws::Structure
|
1386
|
+
end
|
1387
|
+
|
1127
1388
|
# @note When making an API call, you may pass ListPhoneNumberOrdersRequest
|
1128
1389
|
# data as a hash:
|
1129
1390
|
#
|
@@ -1669,6 +1930,54 @@ module Aws::Chime
|
|
1669
1930
|
include Aws::Structure
|
1670
1931
|
end
|
1671
1932
|
|
1933
|
+
# @note When making an API call, you may pass PutEventsConfigurationRequest
|
1934
|
+
# data as a hash:
|
1935
|
+
#
|
1936
|
+
# {
|
1937
|
+
# account_id: "NonEmptyString", # required
|
1938
|
+
# bot_id: "NonEmptyString", # required
|
1939
|
+
# outbound_events_https_endpoint: "SensitiveString",
|
1940
|
+
# lambda_function_arn: "SensitiveString",
|
1941
|
+
# }
|
1942
|
+
#
|
1943
|
+
# @!attribute [rw] account_id
|
1944
|
+
# The Amazon Chime account ID.
|
1945
|
+
# @return [String]
|
1946
|
+
#
|
1947
|
+
# @!attribute [rw] bot_id
|
1948
|
+
# The bot ID.
|
1949
|
+
# @return [String]
|
1950
|
+
#
|
1951
|
+
# @!attribute [rw] outbound_events_https_endpoint
|
1952
|
+
# HTTPS endpoint that allows the bot to receive outgoing events.
|
1953
|
+
# @return [String]
|
1954
|
+
#
|
1955
|
+
# @!attribute [rw] lambda_function_arn
|
1956
|
+
# Lambda function ARN that allows the bot to receive outgoing events.
|
1957
|
+
# @return [String]
|
1958
|
+
#
|
1959
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutEventsConfigurationRequest AWS API Documentation
|
1960
|
+
#
|
1961
|
+
class PutEventsConfigurationRequest < Struct.new(
|
1962
|
+
:account_id,
|
1963
|
+
:bot_id,
|
1964
|
+
:outbound_events_https_endpoint,
|
1965
|
+
:lambda_function_arn)
|
1966
|
+
include Aws::Structure
|
1967
|
+
end
|
1968
|
+
|
1969
|
+
# @!attribute [rw] events_configuration
|
1970
|
+
# The configuration that allows a bot to receive outgoing events. Can
|
1971
|
+
# be either an HTTPS endpoint or a Lambda function ARN.
|
1972
|
+
# @return [Types::EventsConfiguration]
|
1973
|
+
#
|
1974
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutEventsConfigurationResponse AWS API Documentation
|
1975
|
+
#
|
1976
|
+
class PutEventsConfigurationResponse < Struct.new(
|
1977
|
+
:events_configuration)
|
1978
|
+
include Aws::Structure
|
1979
|
+
end
|
1980
|
+
|
1672
1981
|
# @note When making an API call, you may pass PutVoiceConnectorOriginationRequest
|
1673
1982
|
# data as a hash:
|
1674
1983
|
#
|
@@ -1785,6 +2094,42 @@ module Aws::Chime
|
|
1785
2094
|
include Aws::Structure
|
1786
2095
|
end
|
1787
2096
|
|
2097
|
+
# @note When making an API call, you may pass RegenerateSecurityTokenRequest
|
2098
|
+
# data as a hash:
|
2099
|
+
#
|
2100
|
+
# {
|
2101
|
+
# account_id: "NonEmptyString", # required
|
2102
|
+
# bot_id: "NonEmptyString", # required
|
2103
|
+
# }
|
2104
|
+
#
|
2105
|
+
# @!attribute [rw] account_id
|
2106
|
+
# The Amazon Chime account ID.
|
2107
|
+
# @return [String]
|
2108
|
+
#
|
2109
|
+
# @!attribute [rw] bot_id
|
2110
|
+
# The bot ID.
|
2111
|
+
# @return [String]
|
2112
|
+
#
|
2113
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/RegenerateSecurityTokenRequest AWS API Documentation
|
2114
|
+
#
|
2115
|
+
class RegenerateSecurityTokenRequest < Struct.new(
|
2116
|
+
:account_id,
|
2117
|
+
:bot_id)
|
2118
|
+
include Aws::Structure
|
2119
|
+
end
|
2120
|
+
|
2121
|
+
# @!attribute [rw] bot
|
2122
|
+
# A resource that allows Enterprise account administrators to
|
2123
|
+
# configure an interface to receive events from Amazon Chime.
|
2124
|
+
# @return [Types::Bot]
|
2125
|
+
#
|
2126
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/RegenerateSecurityTokenResponse AWS API Documentation
|
2127
|
+
#
|
2128
|
+
class RegenerateSecurityTokenResponse < Struct.new(
|
2129
|
+
:bot)
|
2130
|
+
include Aws::Structure
|
2131
|
+
end
|
2132
|
+
|
1788
2133
|
# @note When making an API call, you may pass ResetPersonalPINRequest
|
1789
2134
|
# data as a hash:
|
1790
2135
|
#
|
@@ -2074,6 +2419,47 @@ module Aws::Chime
|
|
2074
2419
|
#
|
2075
2420
|
class UpdateAccountSettingsResponse < Aws::EmptyStructure; end
|
2076
2421
|
|
2422
|
+
# @note When making an API call, you may pass UpdateBotRequest
|
2423
|
+
# data as a hash:
|
2424
|
+
#
|
2425
|
+
# {
|
2426
|
+
# account_id: "NonEmptyString", # required
|
2427
|
+
# bot_id: "NonEmptyString", # required
|
2428
|
+
# disabled: false,
|
2429
|
+
# }
|
2430
|
+
#
|
2431
|
+
# @!attribute [rw] account_id
|
2432
|
+
# The Amazon Chime account ID.
|
2433
|
+
# @return [String]
|
2434
|
+
#
|
2435
|
+
# @!attribute [rw] bot_id
|
2436
|
+
# The bot ID.
|
2437
|
+
# @return [String]
|
2438
|
+
#
|
2439
|
+
# @!attribute [rw] disabled
|
2440
|
+
# When true, stops the specified bot from running in your account.
|
2441
|
+
# @return [Boolean]
|
2442
|
+
#
|
2443
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateBotRequest AWS API Documentation
|
2444
|
+
#
|
2445
|
+
class UpdateBotRequest < Struct.new(
|
2446
|
+
:account_id,
|
2447
|
+
:bot_id,
|
2448
|
+
:disabled)
|
2449
|
+
include Aws::Structure
|
2450
|
+
end
|
2451
|
+
|
2452
|
+
# @!attribute [rw] bot
|
2453
|
+
# The updated bot details.
|
2454
|
+
# @return [Types::Bot]
|
2455
|
+
#
|
2456
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateBotResponse AWS API Documentation
|
2457
|
+
#
|
2458
|
+
class UpdateBotResponse < Struct.new(
|
2459
|
+
:bot)
|
2460
|
+
include Aws::Structure
|
2461
|
+
end
|
2462
|
+
|
2077
2463
|
# @note When making an API call, you may pass UpdateGlobalSettingsRequest
|
2078
2464
|
# data as a hash:
|
2079
2465
|
#
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-chime
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.7.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: 2019-
|
11
|
+
date: 2019-05-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -59,7 +59,7 @@ files:
|
|
59
59
|
- lib/aws-sdk-chime/errors.rb
|
60
60
|
- lib/aws-sdk-chime/resource.rb
|
61
61
|
- lib/aws-sdk-chime/types.rb
|
62
|
-
homepage:
|
62
|
+
homepage: https://github.com/aws/aws-sdk-ruby
|
63
63
|
licenses:
|
64
64
|
- Apache-2.0
|
65
65
|
metadata:
|