aws-sdk-alexaforbusiness 1.2.0 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f7eedb2f7b8b1f9b34e60bd4a4a96bfab149de2b
4
- data.tar.gz: 44ee1726153a8f9281ff00c8fed81e9a53821923
3
+ metadata.gz: 7a6c2a7b9c403e4818eb6283a10dfc990587e816
4
+ data.tar.gz: 75b00eaebf53699dd0c69ee9a37c0ca585e3b6dc
5
5
  SHA512:
6
- metadata.gz: 55b9fb753d457c646dfe25086c9a30e7da2a774e2e24ae10ff4feb3c8dbee268bf146cf1fb406e2885163667c35a4554b7d49514127e4b3526284161046939b6
7
- data.tar.gz: e52344de2cb7317cd3773241d37a7ce2011d6400d5ba229c2ffb1514f9ab199a0727d5096505231dc46650e07432f6275f4081d472d570eb66db5ff07b2070a1
6
+ metadata.gz: bb93a6d5fc844400e2ffd666e20ffc9fb62cf9fff20d08fb62c9ffb6829631345ff401d8b676308f950dfb5a53d7d23df76294245d3783f41acfa17a6b942000
7
+ data.tar.gz: c17eafd6a2b7658828fefb2ed2ec98ed491f6eaf3b368d18d44af9bc35b23f28f158c43ef0d36985df2bb6f11cb16f262ae0d6aa9728f3fe537f3aae109c3c6d
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-alexaforbusiness/customizations'
42
42
  # @service
43
43
  module Aws::AlexaForBusiness
44
44
 
45
- GEM_VERSION = '1.2.0'
45
+ GEM_VERSION = '1.3.0'
46
46
 
47
47
  end
@@ -155,7 +155,7 @@ module Aws::AlexaForBusiness
155
155
 
156
156
  # @!group API Operations
157
157
 
158
- # Associates a contact to a given address book.
158
+ # Associates a contact with a given address book.
159
159
  #
160
160
  # @option params [required, String] :contact_arn
161
161
  # The ARN of the contact to associate with an address book.
@@ -181,10 +181,10 @@ module Aws::AlexaForBusiness
181
181
  req.send_request(options)
182
182
  end
183
183
 
184
- # Associates a device to a given room. This applies all the settings
184
+ # Associates a device with a given room. This applies all the settings
185
185
  # from the room profile to the device, and all the skills in any skill
186
186
  # groups added to that room. This operation requires the device to be
187
- # online, or a manual sync is required.
187
+ # online, or else a manual sync is required.
188
188
  #
189
189
  # @option params [String] :device_arn
190
190
  # The ARN of the device to associate to a room. Required.
@@ -210,7 +210,7 @@ module Aws::AlexaForBusiness
210
210
  req.send_request(options)
211
211
  end
212
212
 
213
- # Associates a skill group to a given room. This enables all skills in
213
+ # Associates a skill group with a given room. This enables all skills in
214
214
  # the associated skill group on all devices in the room.
215
215
  #
216
216
  # @option params [String] :skill_group_arn
@@ -280,7 +280,7 @@ module Aws::AlexaForBusiness
280
280
  # Creates a contact with the specified details.
281
281
  #
282
282
  # @option params [String] :display_name
283
- # The name of the contact to display on the AWS management console.
283
+ # The name of the contact to display on the console.
284
284
  #
285
285
  # @option params [required, String] :first_name
286
286
  # The first name of the contact that is used to call the contact on the
@@ -291,7 +291,7 @@ module Aws::AlexaForBusiness
291
291
  # device.
292
292
  #
293
293
  # @option params [required, String] :phone_number
294
- # The phone number of the contact in E164 format.
294
+ # The phone number of the contact in E.164 format.
295
295
  #
296
296
  # @option params [String] :client_request_token
297
297
  # A unique, user-specified identifier for this request that ensures
@@ -885,6 +885,7 @@ module Aws::AlexaForBusiness
885
885
  # resp.device.device_status #=> String, one of "READY", "PENDING", "WAS_OFFLINE"
886
886
  # resp.device.device_status_info.device_status_details #=> Array
887
887
  # resp.device.device_status_info.device_status_details[0].code #=> String, one of "DEVICE_SOFTWARE_UPDATE_NEEDED", "DEVICE_WAS_OFFLINE"
888
+ # resp.device.device_status_info.connection_status #=> String, one of "ONLINE", "OFFLINE"
888
889
  #
889
890
  # @see http://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/GetDevice AWS API Documentation
890
891
  #
@@ -1034,6 +1035,61 @@ module Aws::AlexaForBusiness
1034
1035
  req.send_request(options)
1035
1036
  end
1036
1037
 
1038
+ # Lists the Device Event history for up to 30 days. If EventType isn't
1039
+ # specified in the request, this returns a list of all device events in
1040
+ # reverse chronological order. If EventType is specified, this returns a
1041
+ # list of device events for that EventType in reverse chronological
1042
+ # order.
1043
+ #
1044
+ # @option params [required, String] :device_arn
1045
+ # The ARN of a device.
1046
+ #
1047
+ # @option params [String] :event_type
1048
+ # The event type to filter device events.
1049
+ #
1050
+ # @option params [String] :next_token
1051
+ # An optional token returned from a prior request. Use this token for
1052
+ # pagination of results from this action. If this parameter is
1053
+ # specified, the response only includes results beyond the token, up to
1054
+ # the value specified by MaxResults.
1055
+ #
1056
+ # @option params [Integer] :max_results
1057
+ # The maximum number of results to include in the response. If more
1058
+ # results exist than the specified MaxResults value, a token is included
1059
+ # in the response so that the remaining results can be retrieved.
1060
+ # Required.
1061
+ #
1062
+ # @return [Types::ListDeviceEventsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1063
+ #
1064
+ # * {Types::ListDeviceEventsResponse#device_events #device_events} => Array<Types::DeviceEvent>
1065
+ # * {Types::ListDeviceEventsResponse#next_token #next_token} => String
1066
+ #
1067
+ # @example Request syntax with placeholder values
1068
+ #
1069
+ # resp = client.list_device_events({
1070
+ # device_arn: "Arn", # required
1071
+ # event_type: "CONNECTION_STATUS", # accepts CONNECTION_STATUS
1072
+ # next_token: "NextToken",
1073
+ # max_results: 1,
1074
+ # })
1075
+ #
1076
+ # @example Response structure
1077
+ #
1078
+ # resp.device_events #=> Array
1079
+ # resp.device_events[0].type #=> String, one of "CONNECTION_STATUS"
1080
+ # resp.device_events[0].value #=> String
1081
+ # resp.device_events[0].timestamp #=> Time
1082
+ # resp.next_token #=> String
1083
+ #
1084
+ # @see http://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/ListDeviceEvents AWS API Documentation
1085
+ #
1086
+ # @overload list_device_events(params = {})
1087
+ # @param [Hash] params ({})
1088
+ def list_device_events(params = {}, options = {})
1089
+ req = build_request(:list_device_events, params)
1090
+ req.send_request(options)
1091
+ end
1092
+
1037
1093
  # Lists all enabled skills in a specific skill group.
1038
1094
  #
1039
1095
  # @option params [String] :skill_group_arn
@@ -1380,12 +1436,13 @@ module Aws::AlexaForBusiness
1380
1436
  # @option params [Array<Types::Filter>] :filters
1381
1437
  # The filters to use to list a specified set of devices. Supported
1382
1438
  # filter keys are DeviceName, DeviceStatus, DeviceStatusDetailCode,
1383
- # RoomName, DeviceType, DeviceSerialNumber, and UnassociatedOnly.
1439
+ # RoomName, DeviceType, DeviceSerialNumber, UnassociatedOnly, and
1440
+ # ConnectionStatus (ONLINE and OFFLINE).
1384
1441
  #
1385
1442
  # @option params [Array<Types::Sort>] :sort_criteria
1386
1443
  # The sort order to use in listing the specified set of devices.
1387
1444
  # Supported sort keys are DeviceName, DeviceStatus, RoomName,
1388
- # DeviceType, and DeviceSerialNumber.
1445
+ # DeviceType, DeviceSerialNumber, and ConnectionStatus.
1389
1446
  #
1390
1447
  # @return [Types::SearchDevicesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1391
1448
  #
@@ -1426,6 +1483,7 @@ module Aws::AlexaForBusiness
1426
1483
  # resp.devices[0].room_name #=> String
1427
1484
  # resp.devices[0].device_status_info.device_status_details #=> Array
1428
1485
  # resp.devices[0].device_status_info.device_status_details[0].code #=> String, one of "DEVICE_SOFTWARE_UPDATE_NEEDED", "DEVICE_WAS_OFFLINE"
1486
+ # resp.devices[0].device_status_info.connection_status #=> String, one of "ONLINE", "OFFLINE"
1429
1487
  # resp.next_token #=> String
1430
1488
  # resp.total_count #=> Integer
1431
1489
  #
@@ -1700,7 +1758,7 @@ module Aws::AlexaForBusiness
1700
1758
  # resp.users[0].first_name #=> String
1701
1759
  # resp.users[0].last_name #=> String
1702
1760
  # resp.users[0].email #=> String
1703
- # resp.users[0].enrollment_status #=> String, one of "INITIALIZED", "PENDING", "REGISTERED", "DEREGISTERING"
1761
+ # resp.users[0].enrollment_status #=> String, one of "INITIALIZED", "PENDING", "REGISTERED", "DISASSOCIATING", "DEREGISTERING"
1704
1762
  # resp.users[0].enrollment_id #=> String
1705
1763
  # resp.next_token #=> String
1706
1764
  # resp.total_count #=> Integer
@@ -1738,7 +1796,7 @@ module Aws::AlexaForBusiness
1738
1796
  req.send_request(options)
1739
1797
  end
1740
1798
 
1741
- # Resets a device and its account to the known default settings by
1799
+ # Resets a device and its account to the known default settings, by
1742
1800
  # clearing all information and settings set by previous users.
1743
1801
  #
1744
1802
  # @option params [String] :room_arn
@@ -2062,7 +2120,7 @@ module Aws::AlexaForBusiness
2062
2120
  params: params,
2063
2121
  config: config)
2064
2122
  context[:gem_name] = 'aws-sdk-alexaforbusiness'
2065
- context[:gem_version] = '1.2.0'
2123
+ context[:gem_version] = '1.3.0'
2066
2124
  Seahorse::Client::Request.new(handlers, context)
2067
2125
  end
2068
2126
 
@@ -27,6 +27,7 @@ module Aws::AlexaForBusiness
27
27
  AssociateSkillGroupWithRoomResponse = Shapes::StructureShape.new(name: 'AssociateSkillGroupWithRoomResponse')
28
28
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
29
29
  ClientRequestToken = Shapes::StringShape.new(name: 'ClientRequestToken')
30
+ ConnectionStatus = Shapes::StringShape.new(name: 'ConnectionStatus')
30
31
  Contact = Shapes::StructureShape.new(name: 'Contact')
31
32
  ContactData = Shapes::StructureShape.new(name: 'ContactData')
32
33
  ContactDataList = Shapes::ListShape.new(name: 'ContactDataList')
@@ -60,6 +61,10 @@ module Aws::AlexaForBusiness
60
61
  Device = Shapes::StructureShape.new(name: 'Device')
61
62
  DeviceData = Shapes::StructureShape.new(name: 'DeviceData')
62
63
  DeviceDataList = Shapes::ListShape.new(name: 'DeviceDataList')
64
+ DeviceEvent = Shapes::StructureShape.new(name: 'DeviceEvent')
65
+ DeviceEventList = Shapes::ListShape.new(name: 'DeviceEventList')
66
+ DeviceEventType = Shapes::StringShape.new(name: 'DeviceEventType')
67
+ DeviceEventValue = Shapes::StringShape.new(name: 'DeviceEventValue')
63
68
  DeviceName = Shapes::StringShape.new(name: 'DeviceName')
64
69
  DeviceSerialNumber = Shapes::StringShape.new(name: 'DeviceSerialNumber')
65
70
  DeviceStatus = Shapes::StringShape.new(name: 'DeviceStatus')
@@ -103,6 +108,8 @@ module Aws::AlexaForBusiness
103
108
  GetSkillGroupResponse = Shapes::StructureShape.new(name: 'GetSkillGroupResponse')
104
109
  InvalidUserStatusException = Shapes::StructureShape.new(name: 'InvalidUserStatusException')
105
110
  LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
111
+ ListDeviceEventsRequest = Shapes::StructureShape.new(name: 'ListDeviceEventsRequest')
112
+ ListDeviceEventsResponse = Shapes::StructureShape.new(name: 'ListDeviceEventsResponse')
106
113
  ListSkillsRequest = Shapes::StructureShape.new(name: 'ListSkillsRequest')
107
114
  ListSkillsResponse = Shapes::StructureShape.new(name: 'ListSkillsResponse')
108
115
  ListTagsRequest = Shapes::StructureShape.new(name: 'ListTagsRequest')
@@ -175,6 +182,7 @@ module Aws::AlexaForBusiness
175
182
  TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
176
183
  TagValue = Shapes::StringShape.new(name: 'TagValue')
177
184
  TemperatureUnit = Shapes::StringShape.new(name: 'TemperatureUnit')
185
+ Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
178
186
  Timezone = Shapes::StringShape.new(name: 'Timezone')
179
187
  TotalCount = Shapes::IntegerShape.new(name: 'TotalCount')
180
188
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
@@ -372,12 +380,20 @@ module Aws::AlexaForBusiness
372
380
 
373
381
  DeviceDataList.member = Shapes::ShapeRef.new(shape: DeviceData)
374
382
 
383
+ DeviceEvent.add_member(:type, Shapes::ShapeRef.new(shape: DeviceEventType, location_name: "Type"))
384
+ DeviceEvent.add_member(:value, Shapes::ShapeRef.new(shape: DeviceEventValue, location_name: "Value"))
385
+ DeviceEvent.add_member(:timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "Timestamp"))
386
+ DeviceEvent.struct_class = Types::DeviceEvent
387
+
388
+ DeviceEventList.member = Shapes::ShapeRef.new(shape: DeviceEvent)
389
+
375
390
  DeviceStatusDetail.add_member(:code, Shapes::ShapeRef.new(shape: DeviceStatusDetailCode, location_name: "Code"))
376
391
  DeviceStatusDetail.struct_class = Types::DeviceStatusDetail
377
392
 
378
393
  DeviceStatusDetails.member = Shapes::ShapeRef.new(shape: DeviceStatusDetail)
379
394
 
380
395
  DeviceStatusInfo.add_member(:device_status_details, Shapes::ShapeRef.new(shape: DeviceStatusDetails, location_name: "DeviceStatusDetails"))
396
+ DeviceStatusInfo.add_member(:connection_status, Shapes::ShapeRef.new(shape: ConnectionStatus, location_name: "ConnectionStatus"))
381
397
  DeviceStatusInfo.struct_class = Types::DeviceStatusInfo
382
398
 
383
399
  DisassociateContactFromAddressBookRequest.add_member(:contact_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "ContactArn"))
@@ -451,6 +467,16 @@ module Aws::AlexaForBusiness
451
467
  GetSkillGroupResponse.add_member(:skill_group, Shapes::ShapeRef.new(shape: SkillGroup, location_name: "SkillGroup"))
452
468
  GetSkillGroupResponse.struct_class = Types::GetSkillGroupResponse
453
469
 
470
+ ListDeviceEventsRequest.add_member(:device_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "DeviceArn"))
471
+ ListDeviceEventsRequest.add_member(:event_type, Shapes::ShapeRef.new(shape: DeviceEventType, location_name: "EventType"))
472
+ ListDeviceEventsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
473
+ ListDeviceEventsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
474
+ ListDeviceEventsRequest.struct_class = Types::ListDeviceEventsRequest
475
+
476
+ ListDeviceEventsResponse.add_member(:device_events, Shapes::ShapeRef.new(shape: DeviceEventList, location_name: "DeviceEvents"))
477
+ ListDeviceEventsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
478
+ ListDeviceEventsResponse.struct_class = Types::ListDeviceEventsResponse
479
+
454
480
  ListSkillsRequest.add_member(:skill_group_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "SkillGroupArn"))
455
481
  ListSkillsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
456
482
  ListSkillsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: SkillListMaxResults, location_name: "MaxResults"))
@@ -754,6 +780,7 @@ module Aws::AlexaForBusiness
754
780
  o.http_request_uri = "/"
755
781
  o.input = Shapes::ShapeRef.new(shape: AssociateContactWithAddressBookRequest)
756
782
  o.output = Shapes::ShapeRef.new(shape: AssociateContactWithAddressBookResponse)
783
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
757
784
  end)
758
785
 
759
786
  api.add_operation(:associate_device_with_room, Seahorse::Model::Operation.new.tap do |o|
@@ -982,6 +1009,21 @@ module Aws::AlexaForBusiness
982
1009
  o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
983
1010
  end)
984
1011
 
1012
+ api.add_operation(:list_device_events, Seahorse::Model::Operation.new.tap do |o|
1013
+ o.name = "ListDeviceEvents"
1014
+ o.http_method = "POST"
1015
+ o.http_request_uri = "/"
1016
+ o.input = Shapes::ShapeRef.new(shape: ListDeviceEventsRequest)
1017
+ o.output = Shapes::ShapeRef.new(shape: ListDeviceEventsResponse)
1018
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1019
+ o[:pager] = Aws::Pager.new(
1020
+ limit_key: "max_results",
1021
+ tokens: {
1022
+ "next_token" => "next_token"
1023
+ }
1024
+ )
1025
+ end)
1026
+
985
1027
  api.add_operation(:list_skills, Seahorse::Model::Operation.new.tap do |o|
986
1028
  o.name = "ListSkills"
987
1029
  o.http_method = "POST"
@@ -146,16 +146,16 @@ module Aws::AlexaForBusiness
146
146
  # @return [String]
147
147
  #
148
148
  # @!attribute [rw] display_name
149
- # The name of the contact to display on the AWS management console.
149
+ # The name of the contact to display on the console.
150
150
  # @return [String]
151
151
  #
152
152
  # @!attribute [rw] first_name
153
- # The first name of the contact that is used to call the contact on
154
- # the device.
153
+ # The first name of the contact, used to call the contact on the
154
+ # device.
155
155
  # @return [String]
156
156
  #
157
157
  # @!attribute [rw] last_name
158
- # The last name of the contact that is used to call the contact on the
158
+ # The last name of the contact, used to call the contact on the
159
159
  # device.
160
160
  # @return [String]
161
161
  #
@@ -181,16 +181,16 @@ module Aws::AlexaForBusiness
181
181
  # @return [String]
182
182
  #
183
183
  # @!attribute [rw] display_name
184
- # The name of the contact to display on the AWS management console.
184
+ # The name of the contact to display on the console.
185
185
  # @return [String]
186
186
  #
187
187
  # @!attribute [rw] first_name
188
- # The first name of the contact that is used to call the contact on
189
- # the device.
188
+ # The first name of the contact, used to call the contact on the
189
+ # device.
190
190
  # @return [String]
191
191
  #
192
192
  # @!attribute [rw] last_name
193
- # The last name of the contact that is used to call the contact on the
193
+ # The last name of the contact, used to call the contact on the
194
194
  # device.
195
195
  # @return [String]
196
196
  #
@@ -266,7 +266,7 @@ module Aws::AlexaForBusiness
266
266
  # }
267
267
  #
268
268
  # @!attribute [rw] display_name
269
- # The name of the contact to display on the AWS management console.
269
+ # The name of the contact to display on the console.
270
270
  # @return [String]
271
271
  #
272
272
  # @!attribute [rw] first_name
@@ -280,7 +280,7 @@ module Aws::AlexaForBusiness
280
280
  # @return [String]
281
281
  #
282
282
  # @!attribute [rw] phone_number
283
- # The phone number of the contact in E164 format.
283
+ # The phone number of the contact in E.164 format.
284
284
  # @return [String]
285
285
  #
286
286
  # @!attribute [rw] client_request_token
@@ -787,7 +787,7 @@ module Aws::AlexaForBusiness
787
787
  #
788
788
  # @!attribute [rw] device_status
789
789
  # The status of a device. If the status is not READY, check the
790
- # DeviceStatusInfo for details.
790
+ # DeviceStatusInfo value for details.
791
791
  # @return [String]
792
792
  #
793
793
  # @!attribute [rw] device_status_info
@@ -867,6 +867,29 @@ module Aws::AlexaForBusiness
867
867
  include Aws::Structure
868
868
  end
869
869
 
870
+ # The list of device events.
871
+ #
872
+ # @!attribute [rw] type
873
+ # The type of device event.
874
+ # @return [String]
875
+ #
876
+ # @!attribute [rw] value
877
+ # The value of the event.
878
+ # @return [String]
879
+ #
880
+ # @!attribute [rw] timestamp
881
+ # The time (in epoch) when the event occurred.
882
+ # @return [Time]
883
+ #
884
+ # @see http://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DeviceEvent AWS API Documentation
885
+ #
886
+ class DeviceEvent < Struct.new(
887
+ :type,
888
+ :value,
889
+ :timestamp)
890
+ include Aws::Structure
891
+ end
892
+
870
893
  # Details of a device’s status.
871
894
  #
872
895
  # @!attribute [rw] code
@@ -886,10 +909,16 @@ module Aws::AlexaForBusiness
886
909
  # One or more device status detail descriptions.
887
910
  # @return [Array<Types::DeviceStatusDetail>]
888
911
  #
912
+ # @!attribute [rw] connection_status
913
+ # The latest available information about the connection status of a
914
+ # device.
915
+ # @return [String]
916
+ #
889
917
  # @see http://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DeviceStatusInfo AWS API Documentation
890
918
  #
891
919
  class DeviceStatusInfo < Struct.new(
892
- :device_status_details)
920
+ :device_status_details,
921
+ :connection_status)
893
922
  include Aws::Structure
894
923
  end
895
924
 
@@ -1217,6 +1246,62 @@ module Aws::AlexaForBusiness
1217
1246
  include Aws::Structure
1218
1247
  end
1219
1248
 
1249
+ # @note When making an API call, you may pass ListDeviceEventsRequest
1250
+ # data as a hash:
1251
+ #
1252
+ # {
1253
+ # device_arn: "Arn", # required
1254
+ # event_type: "CONNECTION_STATUS", # accepts CONNECTION_STATUS
1255
+ # next_token: "NextToken",
1256
+ # max_results: 1,
1257
+ # }
1258
+ #
1259
+ # @!attribute [rw] device_arn
1260
+ # The ARN of a device.
1261
+ # @return [String]
1262
+ #
1263
+ # @!attribute [rw] event_type
1264
+ # The event type to filter device events.
1265
+ # @return [String]
1266
+ #
1267
+ # @!attribute [rw] next_token
1268
+ # An optional token returned from a prior request. Use this token for
1269
+ # pagination of results from this action. If this parameter is
1270
+ # specified, the response only includes results beyond the token, up
1271
+ # to the value specified by MaxResults.
1272
+ # @return [String]
1273
+ #
1274
+ # @!attribute [rw] max_results
1275
+ # The maximum number of results to include in the response. If more
1276
+ # results exist than the specified MaxResults value, a token is
1277
+ # included in the response so that the remaining results can be
1278
+ # retrieved. Required.
1279
+ # @return [Integer]
1280
+ #
1281
+ # @see http://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/ListDeviceEventsRequest AWS API Documentation
1282
+ #
1283
+ class ListDeviceEventsRequest < Struct.new(
1284
+ :device_arn,
1285
+ :event_type,
1286
+ :next_token,
1287
+ :max_results)
1288
+ include Aws::Structure
1289
+ end
1290
+
1291
+ # @!attribute [rw] device_events
1292
+ # @return [Array<Types::DeviceEvent>]
1293
+ #
1294
+ # @!attribute [rw] next_token
1295
+ # @return [String]
1296
+ #
1297
+ # @see http://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/ListDeviceEventsResponse AWS API Documentation
1298
+ #
1299
+ class ListDeviceEventsResponse < Struct.new(
1300
+ :device_events,
1301
+ :next_token)
1302
+ include Aws::Structure
1303
+ end
1304
+
1220
1305
  # @note When making an API call, you may pass ListSkillsRequest
1221
1306
  # data as a hash:
1222
1307
  #
@@ -1825,13 +1910,14 @@ module Aws::AlexaForBusiness
1825
1910
  # @!attribute [rw] filters
1826
1911
  # The filters to use to list a specified set of devices. Supported
1827
1912
  # filter keys are DeviceName, DeviceStatus, DeviceStatusDetailCode,
1828
- # RoomName, DeviceType, DeviceSerialNumber, and UnassociatedOnly.
1913
+ # RoomName, DeviceType, DeviceSerialNumber, UnassociatedOnly, and
1914
+ # ConnectionStatus (ONLINE and OFFLINE).
1829
1915
  # @return [Array<Types::Filter>]
1830
1916
  #
1831
1917
  # @!attribute [rw] sort_criteria
1832
1918
  # The sort order to use in listing the specified set of devices.
1833
1919
  # Supported sort keys are DeviceName, DeviceStatus, RoomName,
1834
- # DeviceType, and DeviceSerialNumber.
1920
+ # DeviceType, DeviceSerialNumber, and ConnectionStatus.
1835
1921
  # @return [Array<Types::Sort>]
1836
1922
  #
1837
1923
  # @see http://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/SearchDevicesRequest AWS API Documentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-alexaforbusiness
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.3.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: 2018-03-29 00:00:00.000000000 Z
11
+ date: 2018-04-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  version: '0'
76
76
  requirements: []
77
77
  rubyforge_project:
78
- rubygems_version: 2.5.2.2
78
+ rubygems_version: 2.5.2.3
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: AWS SDK for Ruby - Alexa For Business