aws-sdk-alexaforbusiness 1.21.0 → 1.22.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: 28944a6796b279dcf8616ec422cad7cb7af4d390
4
- data.tar.gz: c8096cda5665b36ac02d9e7932f6d6f5c1d4124b
3
+ metadata.gz: b1f5eb6daf7cd9beb3dabeb7b12d6db0922daed0
4
+ data.tar.gz: 7ab150253f29a07b44ac69aa8621deec41e348d7
5
5
  SHA512:
6
- metadata.gz: 9bf8cf0b0f014837c34c749dc638a875ed7e8572576dad02ae9f85c02ff79cbaa3b5eeb32b6b0ffe97e00c9adde0c8232fa11649d36cf154ea9070f36649bf41
7
- data.tar.gz: cdb5336341127b1cfd9768ef12dab08527178923be4d550708f2c90d9d6a95a868f765eca439644869586af3f62c7551adb03272896134bd51d8fc3ad0c58d5f
6
+ metadata.gz: f9da71504a18165846e238d2ce30bfd415d686b09f3f5cd144f6b353422fc8a2e05aed64d41fd059013883b31123e4045f8154974c388890a3c793329e393935
7
+ data.tar.gz: bb9f1f8dc8bf2288940b8f2cd73d25023e37f4587269e189841f5c3c19136b8092d4e54733d88748c0d088c9c30b76b48f11e7dce17e8ee2605f4da1c1e9cb5e
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-alexaforbusiness/customizations'
42
42
  # @service
43
43
  module Aws::AlexaForBusiness
44
44
 
45
- GEM_VERSION = '1.21.0'
45
+ GEM_VERSION = '1.22.0'
46
46
 
47
47
  end
@@ -1001,6 +1001,35 @@ module Aws::AlexaForBusiness
1001
1001
  req.send_request(options)
1002
1002
  end
1003
1003
 
1004
+ # When this action is called for a specified shared device, it allows
1005
+ # authorized users to delete the device's entire previous history of
1006
+ # voice input data and associated response data. This action can be
1007
+ # called once every 24 hours for a specific shared device.
1008
+ #
1009
+ # @option params [required, String] :device_arn
1010
+ # The ARN of the device.
1011
+ #
1012
+ # @option params [required, String] :device_usage_type
1013
+ # The type of usage data to delete.
1014
+ #
1015
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1016
+ #
1017
+ # @example Request syntax with placeholder values
1018
+ #
1019
+ # resp = client.delete_device_usage_data({
1020
+ # device_arn: "Arn", # required
1021
+ # device_usage_type: "VOICE", # required, accepts VOICE
1022
+ # })
1023
+ #
1024
+ # @see http://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DeleteDeviceUsageData AWS API Documentation
1025
+ #
1026
+ # @overload delete_device_usage_data(params = {})
1027
+ # @param [Hash] params ({})
1028
+ def delete_device_usage_data(params = {}, options = {})
1029
+ req = build_request(:delete_device_usage_data, params)
1030
+ req.send_request(options)
1031
+ end
1032
+
1004
1033
  # Deletes a gateway group.
1005
1034
  #
1006
1035
  # @option params [required, String] :gateway_group_arn
@@ -1467,7 +1496,7 @@ module Aws::AlexaForBusiness
1467
1496
  # resp.device.room_arn #=> String
1468
1497
  # resp.device.device_status #=> String, one of "READY", "PENDING", "WAS_OFFLINE", "DEREGISTERED"
1469
1498
  # resp.device.device_status_info.device_status_details #=> Array
1470
- # resp.device.device_status_info.device_status_details[0].code #=> String, one of "DEVICE_SOFTWARE_UPDATE_NEEDED", "DEVICE_WAS_OFFLINE"
1499
+ # resp.device.device_status_info.device_status_details[0].code #=> String, one of "DEVICE_SOFTWARE_UPDATE_NEEDED", "DEVICE_WAS_OFFLINE", "CREDENTIALS_ACCESS_FAILURE", "TLS_VERSION_MISMATCH", "ASSOCIATION_REJECTION", "AUTHENTICATION_FAILURE", "DHCP_FAILURE", "INTERNET_UNAVAILABLE", "DNS_FAILURE", "UNKNOWN_FAILURE", "CERTIFICATE_ISSUING_LIMIT_EXCEEDED", "INVALID_CERTIFICATE_AUTHORITY", "NETWORK_PROFILE_NOT_FOUND", "INVALID_PASSWORD_STATE", "PASSWORD_NOT_FOUND"
1471
1500
  # resp.device.device_status_info.connection_status #=> String, one of "ONLINE", "OFFLINE"
1472
1501
  #
1473
1502
  # @see http://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/GetDevice AWS API Documentation
@@ -2656,7 +2685,7 @@ module Aws::AlexaForBusiness
2656
2685
  # resp.devices[0].room_arn #=> String
2657
2686
  # resp.devices[0].room_name #=> String
2658
2687
  # resp.devices[0].device_status_info.device_status_details #=> Array
2659
- # resp.devices[0].device_status_info.device_status_details[0].code #=> String, one of "DEVICE_SOFTWARE_UPDATE_NEEDED", "DEVICE_WAS_OFFLINE"
2688
+ # resp.devices[0].device_status_info.device_status_details[0].code #=> String, one of "DEVICE_SOFTWARE_UPDATE_NEEDED", "DEVICE_WAS_OFFLINE", "CREDENTIALS_ACCESS_FAILURE", "TLS_VERSION_MISMATCH", "ASSOCIATION_REJECTION", "AUTHENTICATION_FAILURE", "DHCP_FAILURE", "INTERNET_UNAVAILABLE", "DNS_FAILURE", "UNKNOWN_FAILURE", "CERTIFICATE_ISSUING_LIMIT_EXCEEDED", "INVALID_CERTIFICATE_AUTHORITY", "NETWORK_PROFILE_NOT_FOUND", "INVALID_PASSWORD_STATE", "PASSWORD_NOT_FOUND"
2660
2689
  # resp.devices[0].device_status_info.connection_status #=> String, one of "ONLINE", "OFFLINE"
2661
2690
  # resp.next_token #=> String
2662
2691
  # resp.total_count #=> Integer
@@ -2948,8 +2977,7 @@ module Aws::AlexaForBusiness
2948
2977
  end
2949
2978
 
2950
2979
  # Triggers an asynchronous flow to send text, SSML, or audio
2951
- # announcements to multiple rooms, identified by a search, such as
2952
- # filter.
2980
+ # announcements to rooms that are identified by a search or filter.
2953
2981
  #
2954
2982
  # @option params [required, Array<Types::Filter>] :room_filters
2955
2983
  # The filters to use to send an announcement to a specified list of
@@ -2962,8 +2990,8 @@ module Aws::AlexaForBusiness
2962
2990
  # possible announcement types (text, SSML or audio).
2963
2991
  #
2964
2992
  # @option params [Integer] :time_to_live_in_seconds
2965
- # The time to live for an announcement. If delivery doesn't occur
2966
- # within this time, the announcement will not be delivered.
2993
+ # The time to live for an announcement. Default is 300. If delivery
2994
+ # doesn't occur within this time, the announcement is not delivered.
2967
2995
  #
2968
2996
  # @option params [required, String] :client_request_token
2969
2997
  # The unique, user-specified identifier for the request that ensures
@@ -3559,7 +3587,7 @@ module Aws::AlexaForBusiness
3559
3587
  params: params,
3560
3588
  config: config)
3561
3589
  context[:gem_name] = 'aws-sdk-alexaforbusiness'
3562
- context[:gem_version] = '1.21.0'
3590
+ context[:gem_version] = '1.22.0'
3563
3591
  Seahorse::Client::Request.new(handlers, context)
3564
3592
  end
3565
3593
 
@@ -106,6 +106,8 @@ module Aws::AlexaForBusiness
106
106
  DeleteContactResponse = Shapes::StructureShape.new(name: 'DeleteContactResponse')
107
107
  DeleteDeviceRequest = Shapes::StructureShape.new(name: 'DeleteDeviceRequest')
108
108
  DeleteDeviceResponse = Shapes::StructureShape.new(name: 'DeleteDeviceResponse')
109
+ DeleteDeviceUsageDataRequest = Shapes::StructureShape.new(name: 'DeleteDeviceUsageDataRequest')
110
+ DeleteDeviceUsageDataResponse = Shapes::StructureShape.new(name: 'DeleteDeviceUsageDataResponse')
109
111
  DeleteGatewayGroupRequest = Shapes::StructureShape.new(name: 'DeleteGatewayGroupRequest')
110
112
  DeleteGatewayGroupResponse = Shapes::StructureShape.new(name: 'DeleteGatewayGroupResponse')
111
113
  DeleteProfileRequest = Shapes::StructureShape.new(name: 'DeleteProfileRequest')
@@ -140,6 +142,7 @@ module Aws::AlexaForBusiness
140
142
  DeviceStatusDetails = Shapes::ListShape.new(name: 'DeviceStatusDetails')
141
143
  DeviceStatusInfo = Shapes::StructureShape.new(name: 'DeviceStatusInfo')
142
144
  DeviceType = Shapes::StringShape.new(name: 'DeviceType')
145
+ DeviceUsageType = Shapes::StringShape.new(name: 'DeviceUsageType')
143
146
  DisassociateContactFromAddressBookRequest = Shapes::StructureShape.new(name: 'DisassociateContactFromAddressBookRequest')
144
147
  DisassociateContactFromAddressBookResponse = Shapes::StructureShape.new(name: 'DisassociateContactFromAddressBookResponse')
145
148
  DisassociateDeviceFromRoomRequest = Shapes::StructureShape.new(name: 'DisassociateDeviceFromRoomRequest')
@@ -637,6 +640,12 @@ module Aws::AlexaForBusiness
637
640
 
638
641
  DeleteDeviceResponse.struct_class = Types::DeleteDeviceResponse
639
642
 
643
+ DeleteDeviceUsageDataRequest.add_member(:device_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "DeviceArn"))
644
+ DeleteDeviceUsageDataRequest.add_member(:device_usage_type, Shapes::ShapeRef.new(shape: DeviceUsageType, required: true, location_name: "DeviceUsageType"))
645
+ DeleteDeviceUsageDataRequest.struct_class = Types::DeleteDeviceUsageDataRequest
646
+
647
+ DeleteDeviceUsageDataResponse.struct_class = Types::DeleteDeviceUsageDataResponse
648
+
640
649
  DeleteGatewayGroupRequest.add_member(:gateway_group_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "GatewayGroupArn"))
641
650
  DeleteGatewayGroupRequest.struct_class = Types::DeleteGatewayGroupRequest
642
651
 
@@ -1597,6 +1606,17 @@ module Aws::AlexaForBusiness
1597
1606
  o.errors << Shapes::ShapeRef.new(shape: InvalidCertificateAuthorityException)
1598
1607
  end)
1599
1608
 
1609
+ api.add_operation(:delete_device_usage_data, Seahorse::Model::Operation.new.tap do |o|
1610
+ o.name = "DeleteDeviceUsageData"
1611
+ o.http_method = "POST"
1612
+ o.http_request_uri = "/"
1613
+ o.input = Shapes::ShapeRef.new(shape: DeleteDeviceUsageDataRequest)
1614
+ o.output = Shapes::ShapeRef.new(shape: DeleteDeviceUsageDataResponse)
1615
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1616
+ o.errors << Shapes::ShapeRef.new(shape: DeviceNotRegisteredException)
1617
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1618
+ end)
1619
+
1600
1620
  api.add_operation(:delete_gateway_group, Seahorse::Model::Operation.new.tap do |o|
1601
1621
  o.name = "DeleteGatewayGroup"
1602
1622
  o.http_method = "POST"
@@ -211,16 +211,15 @@ module Aws::AlexaForBusiness
211
211
  #
212
212
  class AssociateSkillWithUsersResponse < Aws::EmptyStructure; end
213
213
 
214
- # The audio message. There is a 1 MB limit on the audio file input, and
215
- # the only supported format is MP3. You must convert audio files to an
216
- # Alexa-friendly format.
214
+ # The audio message. There is a 1 MB limit on the audio file input and
215
+ # the only supported format is MP3. To convert your MP3 audio files to
216
+ # an Alexa-friendly,
217
217
  #
218
- # You might need to use converter software to convert your MP3 files to
219
- # the required codec version (MPEG version 2) and bit rate (48 kbps).
220
- # One option for this is a command-line tool, FFmpeg. For more
221
- # information, see [FFmpeg][1]. The following command converts the
222
- # provided &lt;input-file&gt; to an MP3 file that will be played in the
223
- # announcement:
218
+ # required codec version (MPEG version 2) and bit rate (48 kbps), you
219
+ # might use converter software. One option for this is a command-line
220
+ # tool, FFmpeg. For more information, see [FFmpeg][1]. The following
221
+ # command converts the provided &lt;input-file&gt; to an MP3 file that
222
+ # is played in the announcement:
224
223
  #
225
224
  # `ffmpeg -i <input-file> -ac 2 -codec:a libmp3lame -b:a 48k -ar 16000
226
225
  # <output-file.mp3>`
@@ -243,7 +242,7 @@ module Aws::AlexaForBusiness
243
242
  #
244
243
  # @!attribute [rw] location
245
244
  # The location of the audio file. Currently, S3 URLs are supported.
246
- # Only S3 locations comprised of safe character are valid. For more
245
+ # Only S3 locations comprised of safe characters are valid. For more
247
246
  # information, see [Safe Characters][1].
248
247
  #
249
248
  #
@@ -553,7 +552,7 @@ module Aws::AlexaForBusiness
553
552
  include Aws::Structure
554
553
  end
555
554
 
556
- # The content definition. It can contain only one text, SSML, or audio
555
+ # The content definition. This can contain only one text, SSML, or audio
557
556
  # list object.
558
557
  #
559
558
  # @note When making an API call, you may pass Content
@@ -1276,6 +1275,34 @@ module Aws::AlexaForBusiness
1276
1275
  #
1277
1276
  class DeleteDeviceResponse < Aws::EmptyStructure; end
1278
1277
 
1278
+ # @note When making an API call, you may pass DeleteDeviceUsageDataRequest
1279
+ # data as a hash:
1280
+ #
1281
+ # {
1282
+ # device_arn: "Arn", # required
1283
+ # device_usage_type: "VOICE", # required, accepts VOICE
1284
+ # }
1285
+ #
1286
+ # @!attribute [rw] device_arn
1287
+ # The ARN of the device.
1288
+ # @return [String]
1289
+ #
1290
+ # @!attribute [rw] device_usage_type
1291
+ # The type of usage data to delete.
1292
+ # @return [String]
1293
+ #
1294
+ # @see http://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DeleteDeviceUsageDataRequest AWS API Documentation
1295
+ #
1296
+ class DeleteDeviceUsageDataRequest < Struct.new(
1297
+ :device_arn,
1298
+ :device_usage_type)
1299
+ include Aws::Structure
1300
+ end
1301
+
1302
+ # @see http://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DeleteDeviceUsageDataResponse AWS API Documentation
1303
+ #
1304
+ class DeleteDeviceUsageDataResponse < Aws::EmptyStructure; end
1305
+
1279
1306
  # @note When making an API call, you may pass DeleteGatewayGroupRequest
1280
1307
  # data as a hash:
1281
1308
  #
@@ -3976,8 +4003,8 @@ module Aws::AlexaForBusiness
3976
4003
  # @return [Types::Content]
3977
4004
  #
3978
4005
  # @!attribute [rw] time_to_live_in_seconds
3979
- # The time to live for an announcement. If delivery doesn't occur
3980
- # within this time, the announcement will not be delivered.
4006
+ # The time to live for an announcement. Default is 300. If delivery
4007
+ # doesn't occur within this time, the announcement is not delivered.
3981
4008
  # @return [Integer]
3982
4009
  #
3983
4010
  # @!attribute [rw] client_request_token
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.21.0
4
+ version: 1.22.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-05-02 00:00:00.000000000 Z
11
+ date: 2019-05-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core