aws-sdk-alexaforbusiness 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f7eedb2f7b8b1f9b34e60bd4a4a96bfab149de2b
|
4
|
+
data.tar.gz: 44ee1726153a8f9281ff00c8fed81e9a53821923
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 55b9fb753d457c646dfe25086c9a30e7da2a774e2e24ae10ff4feb3c8dbee268bf146cf1fb406e2885163667c35a4554b7d49514127e4b3526284161046939b6
|
7
|
+
data.tar.gz: e52344de2cb7317cd3773241d37a7ce2011d6400d5ba229c2ffb1514f9ab199a0727d5096505231dc46650e07432f6275f4081d472d570eb66db5ff07b2070a1
|
@@ -155,6 +155,32 @@ module Aws::AlexaForBusiness
|
|
155
155
|
|
156
156
|
# @!group API Operations
|
157
157
|
|
158
|
+
# Associates a contact to a given address book.
|
159
|
+
#
|
160
|
+
# @option params [required, String] :contact_arn
|
161
|
+
# The ARN of the contact to associate with an address book.
|
162
|
+
#
|
163
|
+
# @option params [required, String] :address_book_arn
|
164
|
+
# The ARN of the address book with which to associate the contact.
|
165
|
+
#
|
166
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
167
|
+
#
|
168
|
+
# @example Request syntax with placeholder values
|
169
|
+
#
|
170
|
+
# resp = client.associate_contact_with_address_book({
|
171
|
+
# contact_arn: "Arn", # required
|
172
|
+
# address_book_arn: "Arn", # required
|
173
|
+
# })
|
174
|
+
#
|
175
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/AssociateContactWithAddressBook AWS API Documentation
|
176
|
+
#
|
177
|
+
# @overload associate_contact_with_address_book(params = {})
|
178
|
+
# @param [Hash] params ({})
|
179
|
+
def associate_contact_with_address_book(params = {}, options = {})
|
180
|
+
req = build_request(:associate_contact_with_address_book, params)
|
181
|
+
req.send_request(options)
|
182
|
+
end
|
183
|
+
|
158
184
|
# Associates a device to a given room. This applies all the settings
|
159
185
|
# from the room profile to the device, and all the skills in any skill
|
160
186
|
# groups added to that room. This operation requires the device to be
|
@@ -211,6 +237,96 @@ module Aws::AlexaForBusiness
|
|
211
237
|
req.send_request(options)
|
212
238
|
end
|
213
239
|
|
240
|
+
# Creates an address book with the specified details.
|
241
|
+
#
|
242
|
+
# @option params [required, String] :name
|
243
|
+
# The name of the address book.
|
244
|
+
#
|
245
|
+
# @option params [String] :description
|
246
|
+
# The description of the address book.
|
247
|
+
#
|
248
|
+
# @option params [String] :client_request_token
|
249
|
+
# A unique, user-specified identifier for the request that ensures
|
250
|
+
# idempotency.
|
251
|
+
#
|
252
|
+
# **A suitable default value is auto-generated.** You should normally
|
253
|
+
# not need to pass this option.**
|
254
|
+
#
|
255
|
+
# @return [Types::CreateAddressBookResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
256
|
+
#
|
257
|
+
# * {Types::CreateAddressBookResponse#address_book_arn #address_book_arn} => String
|
258
|
+
#
|
259
|
+
# @example Request syntax with placeholder values
|
260
|
+
#
|
261
|
+
# resp = client.create_address_book({
|
262
|
+
# name: "AddressBookName", # required
|
263
|
+
# description: "AddressBookDescription",
|
264
|
+
# client_request_token: "ClientRequestToken",
|
265
|
+
# })
|
266
|
+
#
|
267
|
+
# @example Response structure
|
268
|
+
#
|
269
|
+
# resp.address_book_arn #=> String
|
270
|
+
#
|
271
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/CreateAddressBook AWS API Documentation
|
272
|
+
#
|
273
|
+
# @overload create_address_book(params = {})
|
274
|
+
# @param [Hash] params ({})
|
275
|
+
def create_address_book(params = {}, options = {})
|
276
|
+
req = build_request(:create_address_book, params)
|
277
|
+
req.send_request(options)
|
278
|
+
end
|
279
|
+
|
280
|
+
# Creates a contact with the specified details.
|
281
|
+
#
|
282
|
+
# @option params [String] :display_name
|
283
|
+
# The name of the contact to display on the AWS management console.
|
284
|
+
#
|
285
|
+
# @option params [required, String] :first_name
|
286
|
+
# The first name of the contact that is used to call the contact on the
|
287
|
+
# device.
|
288
|
+
#
|
289
|
+
# @option params [String] :last_name
|
290
|
+
# The last name of the contact that is used to call the contact on the
|
291
|
+
# device.
|
292
|
+
#
|
293
|
+
# @option params [required, String] :phone_number
|
294
|
+
# The phone number of the contact in E164 format.
|
295
|
+
#
|
296
|
+
# @option params [String] :client_request_token
|
297
|
+
# A unique, user-specified identifier for this request that ensures
|
298
|
+
# idempotency.
|
299
|
+
#
|
300
|
+
# **A suitable default value is auto-generated.** You should normally
|
301
|
+
# not need to pass this option.**
|
302
|
+
#
|
303
|
+
# @return [Types::CreateContactResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
304
|
+
#
|
305
|
+
# * {Types::CreateContactResponse#contact_arn #contact_arn} => String
|
306
|
+
#
|
307
|
+
# @example Request syntax with placeholder values
|
308
|
+
#
|
309
|
+
# resp = client.create_contact({
|
310
|
+
# display_name: "ContactName",
|
311
|
+
# first_name: "ContactName", # required
|
312
|
+
# last_name: "ContactName",
|
313
|
+
# phone_number: "E164PhoneNumber", # required
|
314
|
+
# client_request_token: "ClientRequestToken",
|
315
|
+
# })
|
316
|
+
#
|
317
|
+
# @example Response structure
|
318
|
+
#
|
319
|
+
# resp.contact_arn #=> String
|
320
|
+
#
|
321
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/CreateContact AWS API Documentation
|
322
|
+
#
|
323
|
+
# @overload create_contact(params = {})
|
324
|
+
# @param [Hash] params ({})
|
325
|
+
def create_contact(params = {}, options = {})
|
326
|
+
req = build_request(:create_contact, params)
|
327
|
+
req.send_request(options)
|
328
|
+
end
|
329
|
+
|
214
330
|
# Creates a new room profile with the specified details.
|
215
331
|
#
|
216
332
|
# @option params [required, String] :profile_name
|
@@ -433,6 +549,50 @@ module Aws::AlexaForBusiness
|
|
433
549
|
req.send_request(options)
|
434
550
|
end
|
435
551
|
|
552
|
+
# Deletes an address book by the address book ARN.
|
553
|
+
#
|
554
|
+
# @option params [required, String] :address_book_arn
|
555
|
+
# The ARN of the address book to delete.
|
556
|
+
#
|
557
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
558
|
+
#
|
559
|
+
# @example Request syntax with placeholder values
|
560
|
+
#
|
561
|
+
# resp = client.delete_address_book({
|
562
|
+
# address_book_arn: "Arn", # required
|
563
|
+
# })
|
564
|
+
#
|
565
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DeleteAddressBook AWS API Documentation
|
566
|
+
#
|
567
|
+
# @overload delete_address_book(params = {})
|
568
|
+
# @param [Hash] params ({})
|
569
|
+
def delete_address_book(params = {}, options = {})
|
570
|
+
req = build_request(:delete_address_book, params)
|
571
|
+
req.send_request(options)
|
572
|
+
end
|
573
|
+
|
574
|
+
# Deletes a contact by the contact ARN.
|
575
|
+
#
|
576
|
+
# @option params [required, String] :contact_arn
|
577
|
+
# The ARN of the contact to delete.
|
578
|
+
#
|
579
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
580
|
+
#
|
581
|
+
# @example Request syntax with placeholder values
|
582
|
+
#
|
583
|
+
# resp = client.delete_contact({
|
584
|
+
# contact_arn: "Arn", # required
|
585
|
+
# })
|
586
|
+
#
|
587
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DeleteContact AWS API Documentation
|
588
|
+
#
|
589
|
+
# @overload delete_contact(params = {})
|
590
|
+
# @param [Hash] params ({})
|
591
|
+
def delete_contact(params = {}, options = {})
|
592
|
+
req = build_request(:delete_contact, params)
|
593
|
+
req.send_request(options)
|
594
|
+
end
|
595
|
+
|
436
596
|
# Deletes a room profile by the profile ARN.
|
437
597
|
#
|
438
598
|
# @option params [String] :profile_arn
|
@@ -558,6 +718,32 @@ module Aws::AlexaForBusiness
|
|
558
718
|
req.send_request(options)
|
559
719
|
end
|
560
720
|
|
721
|
+
# Disassociates a contact from a given address book.
|
722
|
+
#
|
723
|
+
# @option params [required, String] :contact_arn
|
724
|
+
# The ARN of the contact to disassociate from an address book.
|
725
|
+
#
|
726
|
+
# @option params [required, String] :address_book_arn
|
727
|
+
# The ARN of the address from which to disassociate the contact.
|
728
|
+
#
|
729
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
730
|
+
#
|
731
|
+
# @example Request syntax with placeholder values
|
732
|
+
#
|
733
|
+
# resp = client.disassociate_contact_from_address_book({
|
734
|
+
# contact_arn: "Arn", # required
|
735
|
+
# address_book_arn: "Arn", # required
|
736
|
+
# })
|
737
|
+
#
|
738
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DisassociateContactFromAddressBook AWS API Documentation
|
739
|
+
#
|
740
|
+
# @overload disassociate_contact_from_address_book(params = {})
|
741
|
+
# @param [Hash] params ({})
|
742
|
+
def disassociate_contact_from_address_book(params = {}, options = {})
|
743
|
+
req = build_request(:disassociate_contact_from_address_book, params)
|
744
|
+
req.send_request(options)
|
745
|
+
end
|
746
|
+
|
561
747
|
# Disassociates a device from its current room. The device continues to
|
562
748
|
# be connected to the Wi-Fi network and is still registered to the
|
563
749
|
# account. The device settings and skills are removed from the room.
|
@@ -610,6 +796,68 @@ module Aws::AlexaForBusiness
|
|
610
796
|
req.send_request(options)
|
611
797
|
end
|
612
798
|
|
799
|
+
# Gets address the book details by the address book ARN.
|
800
|
+
#
|
801
|
+
# @option params [required, String] :address_book_arn
|
802
|
+
# The ARN of the address book for which to request details.
|
803
|
+
#
|
804
|
+
# @return [Types::GetAddressBookResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
805
|
+
#
|
806
|
+
# * {Types::GetAddressBookResponse#address_book #address_book} => Types::AddressBook
|
807
|
+
#
|
808
|
+
# @example Request syntax with placeholder values
|
809
|
+
#
|
810
|
+
# resp = client.get_address_book({
|
811
|
+
# address_book_arn: "Arn", # required
|
812
|
+
# })
|
813
|
+
#
|
814
|
+
# @example Response structure
|
815
|
+
#
|
816
|
+
# resp.address_book.address_book_arn #=> String
|
817
|
+
# resp.address_book.name #=> String
|
818
|
+
# resp.address_book.description #=> String
|
819
|
+
#
|
820
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/GetAddressBook AWS API Documentation
|
821
|
+
#
|
822
|
+
# @overload get_address_book(params = {})
|
823
|
+
# @param [Hash] params ({})
|
824
|
+
def get_address_book(params = {}, options = {})
|
825
|
+
req = build_request(:get_address_book, params)
|
826
|
+
req.send_request(options)
|
827
|
+
end
|
828
|
+
|
829
|
+
# Gets the contact details by the contact ARN.
|
830
|
+
#
|
831
|
+
# @option params [required, String] :contact_arn
|
832
|
+
# The ARN of the contact for which to request details.
|
833
|
+
#
|
834
|
+
# @return [Types::GetContactResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
835
|
+
#
|
836
|
+
# * {Types::GetContactResponse#contact #contact} => Types::Contact
|
837
|
+
#
|
838
|
+
# @example Request syntax with placeholder values
|
839
|
+
#
|
840
|
+
# resp = client.get_contact({
|
841
|
+
# contact_arn: "Arn", # required
|
842
|
+
# })
|
843
|
+
#
|
844
|
+
# @example Response structure
|
845
|
+
#
|
846
|
+
# resp.contact.contact_arn #=> String
|
847
|
+
# resp.contact.display_name #=> String
|
848
|
+
# resp.contact.first_name #=> String
|
849
|
+
# resp.contact.last_name #=> String
|
850
|
+
# resp.contact.phone_number #=> String
|
851
|
+
#
|
852
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/GetContact AWS API Documentation
|
853
|
+
#
|
854
|
+
# @overload get_contact(params = {})
|
855
|
+
# @param [Hash] params ({})
|
856
|
+
def get_contact(params = {}, options = {})
|
857
|
+
req = build_request(:get_contact, params)
|
858
|
+
req.send_request(options)
|
859
|
+
end
|
860
|
+
|
613
861
|
# Gets the details of a device by device ARN.
|
614
862
|
#
|
615
863
|
# @option params [String] :device_arn
|
@@ -981,6 +1229,139 @@ module Aws::AlexaForBusiness
|
|
981
1229
|
req.send_request(options)
|
982
1230
|
end
|
983
1231
|
|
1232
|
+
# Searches address books and lists the ones that meet a set of filter
|
1233
|
+
# and sort criteria.
|
1234
|
+
#
|
1235
|
+
# @option params [Array<Types::Filter>] :filters
|
1236
|
+
# The filters to use to list a specified set of address books. The
|
1237
|
+
# supported filter key is AddressBookName.
|
1238
|
+
#
|
1239
|
+
# @option params [Array<Types::Sort>] :sort_criteria
|
1240
|
+
# The sort order to use in listing the specified set of address books.
|
1241
|
+
# The supported sort key is AddressBookName.
|
1242
|
+
#
|
1243
|
+
# @option params [String] :next_token
|
1244
|
+
# An optional token returned from a prior request. Use this token for
|
1245
|
+
# pagination of results from this action. If this parameter is
|
1246
|
+
# specified, the response only includes results beyond the token, up to
|
1247
|
+
# the value specified by MaxResults.
|
1248
|
+
#
|
1249
|
+
# @option params [Integer] :max_results
|
1250
|
+
# The maximum number of results to include in the response. If more
|
1251
|
+
# results exist than the specified MaxResults value, a token is included
|
1252
|
+
# in the response so that the remaining results can be retrieved.
|
1253
|
+
#
|
1254
|
+
# @return [Types::SearchAddressBooksResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1255
|
+
#
|
1256
|
+
# * {Types::SearchAddressBooksResponse#address_books #address_books} => Array<Types::AddressBookData>
|
1257
|
+
# * {Types::SearchAddressBooksResponse#next_token #next_token} => String
|
1258
|
+
# * {Types::SearchAddressBooksResponse#total_count #total_count} => Integer
|
1259
|
+
#
|
1260
|
+
# @example Request syntax with placeholder values
|
1261
|
+
#
|
1262
|
+
# resp = client.search_address_books({
|
1263
|
+
# filters: [
|
1264
|
+
# {
|
1265
|
+
# key: "FilterKey", # required
|
1266
|
+
# values: ["FilterValue"], # required
|
1267
|
+
# },
|
1268
|
+
# ],
|
1269
|
+
# sort_criteria: [
|
1270
|
+
# {
|
1271
|
+
# key: "SortKey", # required
|
1272
|
+
# value: "ASC", # required, accepts ASC, DESC
|
1273
|
+
# },
|
1274
|
+
# ],
|
1275
|
+
# next_token: "NextToken",
|
1276
|
+
# max_results: 1,
|
1277
|
+
# })
|
1278
|
+
#
|
1279
|
+
# @example Response structure
|
1280
|
+
#
|
1281
|
+
# resp.address_books #=> Array
|
1282
|
+
# resp.address_books[0].address_book_arn #=> String
|
1283
|
+
# resp.address_books[0].name #=> String
|
1284
|
+
# resp.address_books[0].description #=> String
|
1285
|
+
# resp.next_token #=> String
|
1286
|
+
# resp.total_count #=> Integer
|
1287
|
+
#
|
1288
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/SearchAddressBooks AWS API Documentation
|
1289
|
+
#
|
1290
|
+
# @overload search_address_books(params = {})
|
1291
|
+
# @param [Hash] params ({})
|
1292
|
+
def search_address_books(params = {}, options = {})
|
1293
|
+
req = build_request(:search_address_books, params)
|
1294
|
+
req.send_request(options)
|
1295
|
+
end
|
1296
|
+
|
1297
|
+
# Searches contacts and lists the ones that meet a set of filter and
|
1298
|
+
# sort criteria.
|
1299
|
+
#
|
1300
|
+
# @option params [Array<Types::Filter>] :filters
|
1301
|
+
# The filters to use to list a specified set of address books. The
|
1302
|
+
# supported filter keys are DisplayName, FirstName, LastName, and
|
1303
|
+
# AddressBookArns.
|
1304
|
+
#
|
1305
|
+
# @option params [Array<Types::Sort>] :sort_criteria
|
1306
|
+
# The sort order to use in listing the specified set of contacts. The
|
1307
|
+
# supported sort keys are DisplayName, FirstName, and LastName.
|
1308
|
+
#
|
1309
|
+
# @option params [String] :next_token
|
1310
|
+
# An optional token returned from a prior request. Use this token for
|
1311
|
+
# pagination of results from this action. If this parameter is
|
1312
|
+
# specified, the response only includes results beyond the token, up to
|
1313
|
+
# the value specified by MaxResults.
|
1314
|
+
#
|
1315
|
+
# @option params [Integer] :max_results
|
1316
|
+
# The maximum number of results to include in the response. If more
|
1317
|
+
# results exist than the specified MaxResults value, a token is included
|
1318
|
+
# in the response so that the remaining results can be retrieved.
|
1319
|
+
#
|
1320
|
+
# @return [Types::SearchContactsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1321
|
+
#
|
1322
|
+
# * {Types::SearchContactsResponse#contacts #contacts} => Array<Types::ContactData>
|
1323
|
+
# * {Types::SearchContactsResponse#next_token #next_token} => String
|
1324
|
+
# * {Types::SearchContactsResponse#total_count #total_count} => Integer
|
1325
|
+
#
|
1326
|
+
# @example Request syntax with placeholder values
|
1327
|
+
#
|
1328
|
+
# resp = client.search_contacts({
|
1329
|
+
# filters: [
|
1330
|
+
# {
|
1331
|
+
# key: "FilterKey", # required
|
1332
|
+
# values: ["FilterValue"], # required
|
1333
|
+
# },
|
1334
|
+
# ],
|
1335
|
+
# sort_criteria: [
|
1336
|
+
# {
|
1337
|
+
# key: "SortKey", # required
|
1338
|
+
# value: "ASC", # required, accepts ASC, DESC
|
1339
|
+
# },
|
1340
|
+
# ],
|
1341
|
+
# next_token: "NextToken",
|
1342
|
+
# max_results: 1,
|
1343
|
+
# })
|
1344
|
+
#
|
1345
|
+
# @example Response structure
|
1346
|
+
#
|
1347
|
+
# resp.contacts #=> Array
|
1348
|
+
# resp.contacts[0].contact_arn #=> String
|
1349
|
+
# resp.contacts[0].display_name #=> String
|
1350
|
+
# resp.contacts[0].first_name #=> String
|
1351
|
+
# resp.contacts[0].last_name #=> String
|
1352
|
+
# resp.contacts[0].phone_number #=> String
|
1353
|
+
# resp.next_token #=> String
|
1354
|
+
# resp.total_count #=> Integer
|
1355
|
+
#
|
1356
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/SearchContacts AWS API Documentation
|
1357
|
+
#
|
1358
|
+
# @overload search_contacts(params = {})
|
1359
|
+
# @param [Hash] params ({})
|
1360
|
+
def search_contacts(params = {}, options = {})
|
1361
|
+
req = build_request(:search_contacts, params)
|
1362
|
+
req.send_request(options)
|
1363
|
+
end
|
1364
|
+
|
984
1365
|
# Searches devices and lists the ones that meet a set of filter
|
985
1366
|
# criteria.
|
986
1367
|
#
|
@@ -1448,6 +1829,74 @@ module Aws::AlexaForBusiness
|
|
1448
1829
|
req.send_request(options)
|
1449
1830
|
end
|
1450
1831
|
|
1832
|
+
# Updates address book details by the address book ARN.
|
1833
|
+
#
|
1834
|
+
# @option params [required, String] :address_book_arn
|
1835
|
+
# The ARN of the room to update.
|
1836
|
+
#
|
1837
|
+
# @option params [String] :name
|
1838
|
+
# The updated name of the room.
|
1839
|
+
#
|
1840
|
+
# @option params [String] :description
|
1841
|
+
# The updated description of the room.
|
1842
|
+
#
|
1843
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1844
|
+
#
|
1845
|
+
# @example Request syntax with placeholder values
|
1846
|
+
#
|
1847
|
+
# resp = client.update_address_book({
|
1848
|
+
# address_book_arn: "Arn", # required
|
1849
|
+
# name: "AddressBookName",
|
1850
|
+
# description: "AddressBookDescription",
|
1851
|
+
# })
|
1852
|
+
#
|
1853
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/UpdateAddressBook AWS API Documentation
|
1854
|
+
#
|
1855
|
+
# @overload update_address_book(params = {})
|
1856
|
+
# @param [Hash] params ({})
|
1857
|
+
def update_address_book(params = {}, options = {})
|
1858
|
+
req = build_request(:update_address_book, params)
|
1859
|
+
req.send_request(options)
|
1860
|
+
end
|
1861
|
+
|
1862
|
+
# Updates the contact details by the contact ARN.
|
1863
|
+
#
|
1864
|
+
# @option params [required, String] :contact_arn
|
1865
|
+
# The ARN of the contact to update.
|
1866
|
+
#
|
1867
|
+
# @option params [String] :display_name
|
1868
|
+
# The updated display name of the contact.
|
1869
|
+
#
|
1870
|
+
# @option params [String] :first_name
|
1871
|
+
# The updated first name of the contact.
|
1872
|
+
#
|
1873
|
+
# @option params [String] :last_name
|
1874
|
+
# The updated last name of the contact.
|
1875
|
+
#
|
1876
|
+
# @option params [String] :phone_number
|
1877
|
+
# The updated phone number of the contact.
|
1878
|
+
#
|
1879
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1880
|
+
#
|
1881
|
+
# @example Request syntax with placeholder values
|
1882
|
+
#
|
1883
|
+
# resp = client.update_contact({
|
1884
|
+
# contact_arn: "Arn", # required
|
1885
|
+
# display_name: "ContactName",
|
1886
|
+
# first_name: "ContactName",
|
1887
|
+
# last_name: "ContactName",
|
1888
|
+
# phone_number: "E164PhoneNumber",
|
1889
|
+
# })
|
1890
|
+
#
|
1891
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/UpdateContact AWS API Documentation
|
1892
|
+
#
|
1893
|
+
# @overload update_contact(params = {})
|
1894
|
+
# @param [Hash] params ({})
|
1895
|
+
def update_contact(params = {}, options = {})
|
1896
|
+
req = build_request(:update_contact, params)
|
1897
|
+
req.send_request(options)
|
1898
|
+
end
|
1899
|
+
|
1451
1900
|
# Updates the device name by device ARN.
|
1452
1901
|
#
|
1453
1902
|
# @option params [String] :device_arn
|
@@ -1613,7 +2062,7 @@ module Aws::AlexaForBusiness
|
|
1613
2062
|
params: params,
|
1614
2063
|
config: config)
|
1615
2064
|
context[:gem_name] = 'aws-sdk-alexaforbusiness'
|
1616
|
-
context[:gem_version] = '1.
|
2065
|
+
context[:gem_version] = '1.2.0'
|
1617
2066
|
Seahorse::Client::Request.new(handlers, context)
|
1618
2067
|
end
|
1619
2068
|
|