aws-sdk-alexaforbusiness 1.14.0 → 1.15.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: 50e58b8811c179dc63c388471c1423074711ba1d
4
- data.tar.gz: e6ee2dc1487b0d63be22ee754c40893cc6f20205
3
+ metadata.gz: 70a278fd580a2bb2267c3edbf0434a0d4eccf789
4
+ data.tar.gz: 8fe03b8659159e7a8b261575c7a6fd3174d3698f
5
5
  SHA512:
6
- metadata.gz: 835a6a44e89d33cf32083a7d7af533a88b20c1556f6076374589226a13a67267063422c120316f45a473a33626cc80d1b8e98b81e2735930f9e05e22d2713fe3
7
- data.tar.gz: 48c4cf13b7a18fb0a3c1961c2392b01c0ebb1d78d193aff42d873aa3b7312331615b97a2496eb08e1b218f96bc360ed24ea1557ef3b633f8af53cc0f00077fe3
6
+ metadata.gz: 9cbd4d0909587e9ef4545ec83d610c5eeb2f6e2304f7b6d95773bb3ff944fd014a6128742f4806a310d6753794b29c9cf568d70a0ff05605f36bad72fe87135b
7
+ data.tar.gz: b151430cfd2a3e85b4b05defb1312b6aed7c94e07436b10d2e680c88d6b4635bac6a878b139ff3bebba4afdb7a0a8097a4f9917b30c713eb7a61aff684c214bd
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-alexaforbusiness/customizations'
42
42
  # @service
43
43
  module Aws::AlexaForBusiness
44
44
 
45
- GEM_VERSION = '1.14.0'
45
+ GEM_VERSION = '1.15.0'
46
46
 
47
47
  end
@@ -347,6 +347,33 @@ module Aws::AlexaForBusiness
347
347
  req.send_request(options)
348
348
  end
349
349
 
350
+ # Makes a private skill available for enrolled users to enable on their
351
+ # devices.
352
+ #
353
+ # @option params [String] :organization_arn
354
+ # The ARN of the organization.
355
+ #
356
+ # @option params [required, String] :skill_id
357
+ # The private skill ID you want to make available to enrolled users.>
358
+ #
359
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
360
+ #
361
+ # @example Request syntax with placeholder values
362
+ #
363
+ # resp = client.associate_skill_with_users({
364
+ # organization_arn: "Arn",
365
+ # skill_id: "SkillId", # required
366
+ # })
367
+ #
368
+ # @see http://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/AssociateSkillWithUsers AWS API Documentation
369
+ #
370
+ # @overload associate_skill_with_users(params = {})
371
+ # @param [Hash] params ({})
372
+ def associate_skill_with_users(params = {}, options = {})
373
+ req = build_request(:associate_skill_with_users, params)
374
+ req.send_request(options)
375
+ end
376
+
350
377
  # Creates an address book with the specified details.
351
378
  #
352
379
  # @option params [required, String] :name
@@ -1119,6 +1146,33 @@ module Aws::AlexaForBusiness
1119
1146
  req.send_request(options)
1120
1147
  end
1121
1148
 
1149
+ # Makes a private skill unavailable for enrolled users and prevents them
1150
+ # from enabling it on their devices.
1151
+ #
1152
+ # @option params [String] :organization_arn
1153
+ # The ARN of the organization.
1154
+ #
1155
+ # @option params [required, String] :skill_id
1156
+ # The private skill ID you want to make unavailable for enrolled users.
1157
+ #
1158
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1159
+ #
1160
+ # @example Request syntax with placeholder values
1161
+ #
1162
+ # resp = client.disassociate_skill_from_users({
1163
+ # organization_arn: "Arn",
1164
+ # skill_id: "SkillId", # required
1165
+ # })
1166
+ #
1167
+ # @see http://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DisassociateSkillFromUsers AWS API Documentation
1168
+ #
1169
+ # @overload disassociate_skill_from_users(params = {})
1170
+ # @param [Hash] params ({})
1171
+ def disassociate_skill_from_users(params = {}, options = {})
1172
+ req = build_request(:disassociate_skill_from_users, params)
1173
+ req.send_request(options)
1174
+ end
1175
+
1122
1176
  # Disassociates a skill group from a specified room. This disables all
1123
1177
  # skills in the skill group on all devices in the room.
1124
1178
  #
@@ -1618,7 +1672,7 @@ module Aws::AlexaForBusiness
1618
1672
  # Lists all enabled skills in a specific skill group.
1619
1673
  #
1620
1674
  # @option params [String] :skill_group_arn
1621
- # The ARN of the skill group for which to list enabled skills. Required.
1675
+ # The ARN of the skill group for which to list enabled skills.
1622
1676
  #
1623
1677
  # @option params [String] :enablement_type
1624
1678
  # Whether the skill is enabled under the user's account, or if it
@@ -1631,13 +1685,13 @@ module Aws::AlexaForBusiness
1631
1685
  # An optional token returned from a prior request. Use this token for
1632
1686
  # pagination of results from this action. If this parameter is
1633
1687
  # specified, the response includes only results beyond the token, up to
1634
- # the value specified by `MaxResults`. Required.
1688
+ # the value specified by `MaxResults`.
1635
1689
  #
1636
1690
  # @option params [Integer] :max_results
1637
1691
  # The maximum number of results to include in the response. If more
1638
1692
  # results exist than the specified `MaxResults` value, a token is
1639
1693
  # included in the response so that the remaining results can be
1640
- # retrieved. Required.
1694
+ # retrieved.
1641
1695
  #
1642
1696
  # @return [Types::ListSkillsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1643
1697
  #
@@ -3057,7 +3111,7 @@ module Aws::AlexaForBusiness
3057
3111
  params: params,
3058
3112
  config: config)
3059
3113
  context[:gem_name] = 'aws-sdk-alexaforbusiness'
3060
- context[:gem_version] = '1.14.0'
3114
+ context[:gem_version] = '1.15.0'
3061
3115
  Seahorse::Client::Request.new(handlers, context)
3062
3116
  end
3063
3117
 
@@ -33,6 +33,8 @@ module Aws::AlexaForBusiness
33
33
  AssociateSkillGroupWithRoomResponse = Shapes::StructureShape.new(name: 'AssociateSkillGroupWithRoomResponse')
34
34
  AssociateSkillWithSkillGroupRequest = Shapes::StructureShape.new(name: 'AssociateSkillWithSkillGroupRequest')
35
35
  AssociateSkillWithSkillGroupResponse = Shapes::StructureShape.new(name: 'AssociateSkillWithSkillGroupResponse')
36
+ AssociateSkillWithUsersRequest = Shapes::StructureShape.new(name: 'AssociateSkillWithUsersRequest')
37
+ AssociateSkillWithUsersResponse = Shapes::StructureShape.new(name: 'AssociateSkillWithUsersResponse')
36
38
  AuthorizationResult = Shapes::MapShape.new(name: 'AuthorizationResult')
37
39
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
38
40
  BulletPoint = Shapes::StringShape.new(name: 'BulletPoint')
@@ -134,6 +136,8 @@ module Aws::AlexaForBusiness
134
136
  DisassociateDeviceFromRoomResponse = Shapes::StructureShape.new(name: 'DisassociateDeviceFromRoomResponse')
135
137
  DisassociateSkillFromSkillGroupRequest = Shapes::StructureShape.new(name: 'DisassociateSkillFromSkillGroupRequest')
136
138
  DisassociateSkillFromSkillGroupResponse = Shapes::StructureShape.new(name: 'DisassociateSkillFromSkillGroupResponse')
139
+ DisassociateSkillFromUsersRequest = Shapes::StructureShape.new(name: 'DisassociateSkillFromUsersRequest')
140
+ DisassociateSkillFromUsersResponse = Shapes::StructureShape.new(name: 'DisassociateSkillFromUsersResponse')
137
141
  DisassociateSkillGroupFromRoomRequest = Shapes::StructureShape.new(name: 'DisassociateSkillGroupFromRoomRequest')
138
142
  DisassociateSkillGroupFromRoomResponse = Shapes::StructureShape.new(name: 'DisassociateSkillGroupFromRoomResponse')
139
143
  DistanceUnit = Shapes::StringShape.new(name: 'DistanceUnit')
@@ -276,6 +280,7 @@ module Aws::AlexaForBusiness
276
280
  SkillId = Shapes::StringShape.new(name: 'SkillId')
277
281
  SkillListMaxResults = Shapes::IntegerShape.new(name: 'SkillListMaxResults')
278
282
  SkillName = Shapes::StringShape.new(name: 'SkillName')
283
+ SkillNotLinkedException = Shapes::StructureShape.new(name: 'SkillNotLinkedException')
279
284
  SkillStoreType = Shapes::StringShape.new(name: 'SkillStoreType')
280
285
  SkillSummary = Shapes::StructureShape.new(name: 'SkillSummary')
281
286
  SkillSummaryList = Shapes::ListShape.new(name: 'SkillSummaryList')
@@ -379,6 +384,12 @@ module Aws::AlexaForBusiness
379
384
 
380
385
  AssociateSkillWithSkillGroupResponse.struct_class = Types::AssociateSkillWithSkillGroupResponse
381
386
 
387
+ AssociateSkillWithUsersRequest.add_member(:organization_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "OrganizationArn"))
388
+ AssociateSkillWithUsersRequest.add_member(:skill_id, Shapes::ShapeRef.new(shape: SkillId, required: true, location_name: "SkillId"))
389
+ AssociateSkillWithUsersRequest.struct_class = Types::AssociateSkillWithUsersRequest
390
+
391
+ AssociateSkillWithUsersResponse.struct_class = Types::AssociateSkillWithUsersResponse
392
+
382
393
  AuthorizationResult.key = Shapes::ShapeRef.new(shape: Key)
383
394
  AuthorizationResult.value = Shapes::ShapeRef.new(shape: Value)
384
395
 
@@ -657,6 +668,12 @@ module Aws::AlexaForBusiness
657
668
 
658
669
  DisassociateSkillFromSkillGroupResponse.struct_class = Types::DisassociateSkillFromSkillGroupResponse
659
670
 
671
+ DisassociateSkillFromUsersRequest.add_member(:organization_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "OrganizationArn"))
672
+ DisassociateSkillFromUsersRequest.add_member(:skill_id, Shapes::ShapeRef.new(shape: SkillId, required: true, location_name: "SkillId"))
673
+ DisassociateSkillFromUsersRequest.struct_class = Types::DisassociateSkillFromUsersRequest
674
+
675
+ DisassociateSkillFromUsersResponse.struct_class = Types::DisassociateSkillFromUsersResponse
676
+
660
677
  DisassociateSkillGroupFromRoomRequest.add_member(:skill_group_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "SkillGroupArn"))
661
678
  DisassociateSkillGroupFromRoomRequest.add_member(:room_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "RoomArn"))
662
679
  DisassociateSkillGroupFromRoomRequest.struct_class = Types::DisassociateSkillGroupFromRoomRequest
@@ -1246,6 +1263,16 @@ module Aws::AlexaForBusiness
1246
1263
  o.output = Shapes::ShapeRef.new(shape: AssociateSkillWithSkillGroupResponse)
1247
1264
  o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
1248
1265
  o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1266
+ o.errors << Shapes::ShapeRef.new(shape: SkillNotLinkedException)
1267
+ end)
1268
+
1269
+ api.add_operation(:associate_skill_with_users, Seahorse::Model::Operation.new.tap do |o|
1270
+ o.name = "AssociateSkillWithUsers"
1271
+ o.http_method = "POST"
1272
+ o.http_request_uri = "/"
1273
+ o.input = Shapes::ShapeRef.new(shape: AssociateSkillWithUsersRequest)
1274
+ o.output = Shapes::ShapeRef.new(shape: AssociateSkillWithUsersResponse)
1275
+ o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
1249
1276
  end)
1250
1277
 
1251
1278
  api.add_operation(:create_address_book, Seahorse::Model::Operation.new.tap do |o|
@@ -1466,6 +1493,15 @@ module Aws::AlexaForBusiness
1466
1493
  o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1467
1494
  end)
1468
1495
 
1496
+ api.add_operation(:disassociate_skill_from_users, Seahorse::Model::Operation.new.tap do |o|
1497
+ o.name = "DisassociateSkillFromUsers"
1498
+ o.http_method = "POST"
1499
+ o.http_request_uri = "/"
1500
+ o.input = Shapes::ShapeRef.new(shape: DisassociateSkillFromUsersRequest)
1501
+ o.output = Shapes::ShapeRef.new(shape: DisassociateSkillFromUsersResponse)
1502
+ o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
1503
+ end)
1504
+
1469
1505
  api.add_operation(:disassociate_skill_group_from_room, Seahorse::Model::Operation.new.tap do |o|
1470
1506
  o.name = "DisassociateSkillGroupFromRoom"
1471
1507
  o.http_method = "POST"
@@ -189,6 +189,35 @@ module Aws::AlexaForBusiness
189
189
  #
190
190
  class AssociateSkillWithSkillGroupResponse < Aws::EmptyStructure; end
191
191
 
192
+ # @note When making an API call, you may pass AssociateSkillWithUsersRequest
193
+ # data as a hash:
194
+ #
195
+ # {
196
+ # organization_arn: "Arn",
197
+ # skill_id: "SkillId", # required
198
+ # }
199
+ #
200
+ # @!attribute [rw] organization_arn
201
+ # The ARN of the organization.
202
+ # @return [String]
203
+ #
204
+ # @!attribute [rw] skill_id
205
+ # The private skill ID you want to make available to enrolled
206
+ # users.&gt;
207
+ # @return [String]
208
+ #
209
+ # @see http://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/AssociateSkillWithUsersRequest AWS API Documentation
210
+ #
211
+ class AssociateSkillWithUsersRequest < Struct.new(
212
+ :organization_arn,
213
+ :skill_id)
214
+ include Aws::Structure
215
+ end
216
+
217
+ # @see http://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/AssociateSkillWithUsersResponse AWS API Documentation
218
+ #
219
+ class AssociateSkillWithUsersResponse < Aws::EmptyStructure; end
220
+
192
221
  # Usage report with specified parameters.
193
222
  #
194
223
  # @!attribute [rw] status
@@ -1541,6 +1570,35 @@ module Aws::AlexaForBusiness
1541
1570
  #
1542
1571
  class DisassociateSkillFromSkillGroupResponse < Aws::EmptyStructure; end
1543
1572
 
1573
+ # @note When making an API call, you may pass DisassociateSkillFromUsersRequest
1574
+ # data as a hash:
1575
+ #
1576
+ # {
1577
+ # organization_arn: "Arn",
1578
+ # skill_id: "SkillId", # required
1579
+ # }
1580
+ #
1581
+ # @!attribute [rw] organization_arn
1582
+ # The ARN of the organization.
1583
+ # @return [String]
1584
+ #
1585
+ # @!attribute [rw] skill_id
1586
+ # The private skill ID you want to make unavailable for enrolled
1587
+ # users.
1588
+ # @return [String]
1589
+ #
1590
+ # @see http://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DisassociateSkillFromUsersRequest AWS API Documentation
1591
+ #
1592
+ class DisassociateSkillFromUsersRequest < Struct.new(
1593
+ :organization_arn,
1594
+ :skill_id)
1595
+ include Aws::Structure
1596
+ end
1597
+
1598
+ # @see http://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DisassociateSkillFromUsersResponse AWS API Documentation
1599
+ #
1600
+ class DisassociateSkillFromUsersResponse < Aws::EmptyStructure; end
1601
+
1544
1602
  # @note When making an API call, you may pass DisassociateSkillGroupFromRoomRequest
1545
1603
  # data as a hash:
1546
1604
  #
@@ -2067,7 +2125,6 @@ module Aws::AlexaForBusiness
2067
2125
  #
2068
2126
  # @!attribute [rw] skill_group_arn
2069
2127
  # The ARN of the skill group for which to list enabled skills.
2070
- # Required.
2071
2128
  # @return [String]
2072
2129
  #
2073
2130
  # @!attribute [rw] enablement_type
@@ -2083,14 +2140,14 @@ module Aws::AlexaForBusiness
2083
2140
  # An optional token returned from a prior request. Use this token for
2084
2141
  # pagination of results from this action. If this parameter is
2085
2142
  # specified, the response includes only results beyond the token, up
2086
- # to the value specified by `MaxResults`. Required.
2143
+ # to the value specified by `MaxResults`.
2087
2144
  # @return [String]
2088
2145
  #
2089
2146
  # @!attribute [rw] max_results
2090
2147
  # The maximum number of results to include in the response. If more
2091
2148
  # results exist than the specified `MaxResults` value, a token is
2092
2149
  # included in the response so that the remaining results can be
2093
- # retrieved. Required.
2150
+ # retrieved.
2094
2151
  # @return [Integer]
2095
2152
  #
2096
2153
  # @see http://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/ListSkillsRequest 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.14.0
4
+ version: 1.15.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-12-07 00:00:00.000000000 Z
11
+ date: 2018-12-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core