aws-sdk-appstream 1.59.0 → 1.63.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -21,6 +21,7 @@ module Aws::AppStream
21
21
  Action = Shapes::StringShape.new(name: 'Action')
22
22
  AppBlock = Shapes::StructureShape.new(name: 'AppBlock')
23
23
  AppBlocks = Shapes::ListShape.new(name: 'AppBlocks')
24
+ AppVisibility = Shapes::StringShape.new(name: 'AppVisibility')
24
25
  Application = Shapes::StructureShape.new(name: 'Application')
25
26
  ApplicationAttribute = Shapes::StringShape.new(name: 'ApplicationAttribute')
26
27
  ApplicationAttributes = Shapes::ListShape.new(name: 'ApplicationAttributes')
@@ -34,6 +35,8 @@ module Aws::AppStream
34
35
  ArnList = Shapes::ListShape.new(name: 'ArnList')
35
36
  AssociateApplicationFleetRequest = Shapes::StructureShape.new(name: 'AssociateApplicationFleetRequest')
36
37
  AssociateApplicationFleetResult = Shapes::StructureShape.new(name: 'AssociateApplicationFleetResult')
38
+ AssociateApplicationToEntitlementRequest = Shapes::StructureShape.new(name: 'AssociateApplicationToEntitlementRequest')
39
+ AssociateApplicationToEntitlementResult = Shapes::StructureShape.new(name: 'AssociateApplicationToEntitlementResult')
37
40
  AssociateFleetRequest = Shapes::StructureShape.new(name: 'AssociateFleetRequest')
38
41
  AssociateFleetResult = Shapes::StructureShape.new(name: 'AssociateFleetResult')
39
42
  AuthenticationType = Shapes::StringShape.new(name: 'AuthenticationType')
@@ -56,6 +59,8 @@ module Aws::AppStream
56
59
  CreateApplicationResult = Shapes::StructureShape.new(name: 'CreateApplicationResult')
57
60
  CreateDirectoryConfigRequest = Shapes::StructureShape.new(name: 'CreateDirectoryConfigRequest')
58
61
  CreateDirectoryConfigResult = Shapes::StructureShape.new(name: 'CreateDirectoryConfigResult')
62
+ CreateEntitlementRequest = Shapes::StructureShape.new(name: 'CreateEntitlementRequest')
63
+ CreateEntitlementResult = Shapes::StructureShape.new(name: 'CreateEntitlementResult')
59
64
  CreateFleetRequest = Shapes::StructureShape.new(name: 'CreateFleetRequest')
60
65
  CreateFleetResult = Shapes::StructureShape.new(name: 'CreateFleetResult')
61
66
  CreateImageBuilderRequest = Shapes::StructureShape.new(name: 'CreateImageBuilderRequest')
@@ -78,6 +83,8 @@ module Aws::AppStream
78
83
  DeleteApplicationResult = Shapes::StructureShape.new(name: 'DeleteApplicationResult')
79
84
  DeleteDirectoryConfigRequest = Shapes::StructureShape.new(name: 'DeleteDirectoryConfigRequest')
80
85
  DeleteDirectoryConfigResult = Shapes::StructureShape.new(name: 'DeleteDirectoryConfigResult')
86
+ DeleteEntitlementRequest = Shapes::StructureShape.new(name: 'DeleteEntitlementRequest')
87
+ DeleteEntitlementResult = Shapes::StructureShape.new(name: 'DeleteEntitlementResult')
81
88
  DeleteFleetRequest = Shapes::StructureShape.new(name: 'DeleteFleetRequest')
82
89
  DeleteFleetResult = Shapes::StructureShape.new(name: 'DeleteFleetResult')
83
90
  DeleteImageBuilderRequest = Shapes::StructureShape.new(name: 'DeleteImageBuilderRequest')
@@ -100,6 +107,8 @@ module Aws::AppStream
100
107
  DescribeApplicationsResult = Shapes::StructureShape.new(name: 'DescribeApplicationsResult')
101
108
  DescribeDirectoryConfigsRequest = Shapes::StructureShape.new(name: 'DescribeDirectoryConfigsRequest')
102
109
  DescribeDirectoryConfigsResult = Shapes::StructureShape.new(name: 'DescribeDirectoryConfigsResult')
110
+ DescribeEntitlementsRequest = Shapes::StructureShape.new(name: 'DescribeEntitlementsRequest')
111
+ DescribeEntitlementsResult = Shapes::StructureShape.new(name: 'DescribeEntitlementsResult')
103
112
  DescribeFleetsRequest = Shapes::StructureShape.new(name: 'DescribeFleetsRequest')
104
113
  DescribeFleetsResult = Shapes::StructureShape.new(name: 'DescribeFleetsResult')
105
114
  DescribeImageBuildersRequest = Shapes::StructureShape.new(name: 'DescribeImageBuildersRequest')
@@ -128,6 +137,8 @@ module Aws::AppStream
128
137
  DisableUserResult = Shapes::StructureShape.new(name: 'DisableUserResult')
129
138
  DisassociateApplicationFleetRequest = Shapes::StructureShape.new(name: 'DisassociateApplicationFleetRequest')
130
139
  DisassociateApplicationFleetResult = Shapes::StructureShape.new(name: 'DisassociateApplicationFleetResult')
140
+ DisassociateApplicationFromEntitlementRequest = Shapes::StructureShape.new(name: 'DisassociateApplicationFromEntitlementRequest')
141
+ DisassociateApplicationFromEntitlementResult = Shapes::StructureShape.new(name: 'DisassociateApplicationFromEntitlementResult')
131
142
  DisassociateFleetRequest = Shapes::StructureShape.new(name: 'DisassociateFleetRequest')
132
143
  DisassociateFleetResult = Shapes::StructureShape.new(name: 'DisassociateFleetResult')
133
144
  DisplayName = Shapes::StringShape.new(name: 'DisplayName')
@@ -138,6 +149,14 @@ module Aws::AppStream
138
149
  EmbedHostDomains = Shapes::ListShape.new(name: 'EmbedHostDomains')
139
150
  EnableUserRequest = Shapes::StructureShape.new(name: 'EnableUserRequest')
140
151
  EnableUserResult = Shapes::StructureShape.new(name: 'EnableUserResult')
152
+ EntitledApplication = Shapes::StructureShape.new(name: 'EntitledApplication')
153
+ EntitledApplicationList = Shapes::ListShape.new(name: 'EntitledApplicationList')
154
+ Entitlement = Shapes::StructureShape.new(name: 'Entitlement')
155
+ EntitlementAlreadyExistsException = Shapes::StructureShape.new(name: 'EntitlementAlreadyExistsException')
156
+ EntitlementAttribute = Shapes::StructureShape.new(name: 'EntitlementAttribute')
157
+ EntitlementAttributeList = Shapes::ListShape.new(name: 'EntitlementAttributeList')
158
+ EntitlementList = Shapes::ListShape.new(name: 'EntitlementList')
159
+ EntitlementNotFoundException = Shapes::StructureShape.new(name: 'EntitlementNotFoundException')
141
160
  ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
142
161
  ExpireSessionRequest = Shapes::StructureShape.new(name: 'ExpireSessionRequest')
143
162
  ExpireSessionResult = Shapes::StructureShape.new(name: 'ExpireSessionResult')
@@ -174,6 +193,8 @@ module Aws::AppStream
174
193
  ListAssociatedFleetsResult = Shapes::StructureShape.new(name: 'ListAssociatedFleetsResult')
175
194
  ListAssociatedStacksRequest = Shapes::StructureShape.new(name: 'ListAssociatedStacksRequest')
176
195
  ListAssociatedStacksResult = Shapes::StructureShape.new(name: 'ListAssociatedStacksResult')
196
+ ListEntitledApplicationsRequest = Shapes::StructureShape.new(name: 'ListEntitledApplicationsRequest')
197
+ ListEntitledApplicationsResult = Shapes::StructureShape.new(name: 'ListEntitledApplicationsResult')
177
198
  ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
178
199
  ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
179
200
  Long = Shapes::IntegerShape.new(name: 'Long')
@@ -247,6 +268,8 @@ module Aws::AppStream
247
268
  UpdateApplicationResult = Shapes::StructureShape.new(name: 'UpdateApplicationResult')
248
269
  UpdateDirectoryConfigRequest = Shapes::StructureShape.new(name: 'UpdateDirectoryConfigRequest')
249
270
  UpdateDirectoryConfigResult = Shapes::StructureShape.new(name: 'UpdateDirectoryConfigResult')
271
+ UpdateEntitlementRequest = Shapes::StructureShape.new(name: 'UpdateEntitlementRequest')
272
+ UpdateEntitlementResult = Shapes::StructureShape.new(name: 'UpdateEntitlementResult')
250
273
  UpdateFleetRequest = Shapes::StructureShape.new(name: 'UpdateFleetRequest')
251
274
  UpdateFleetResult = Shapes::StructureShape.new(name: 'UpdateFleetResult')
252
275
  UpdateImagePermissionsRequest = Shapes::StructureShape.new(name: 'UpdateImagePermissionsRequest')
@@ -336,6 +359,13 @@ module Aws::AppStream
336
359
  AssociateApplicationFleetResult.add_member(:application_fleet_association, Shapes::ShapeRef.new(shape: ApplicationFleetAssociation, location_name: "ApplicationFleetAssociation"))
337
360
  AssociateApplicationFleetResult.struct_class = Types::AssociateApplicationFleetResult
338
361
 
362
+ AssociateApplicationToEntitlementRequest.add_member(:stack_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "StackName"))
363
+ AssociateApplicationToEntitlementRequest.add_member(:entitlement_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "EntitlementName"))
364
+ AssociateApplicationToEntitlementRequest.add_member(:application_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ApplicationIdentifier"))
365
+ AssociateApplicationToEntitlementRequest.struct_class = Types::AssociateApplicationToEntitlementRequest
366
+
367
+ AssociateApplicationToEntitlementResult.struct_class = Types::AssociateApplicationToEntitlementResult
368
+
339
369
  AssociateFleetRequest.add_member(:fleet_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "FleetName"))
340
370
  AssociateFleetRequest.add_member(:stack_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "StackName"))
341
371
  AssociateFleetRequest.struct_class = Types::AssociateFleetRequest
@@ -412,6 +442,16 @@ module Aws::AppStream
412
442
  CreateDirectoryConfigResult.add_member(:directory_config, Shapes::ShapeRef.new(shape: DirectoryConfig, location_name: "DirectoryConfig"))
413
443
  CreateDirectoryConfigResult.struct_class = Types::CreateDirectoryConfigResult
414
444
 
445
+ CreateEntitlementRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "Name"))
446
+ CreateEntitlementRequest.add_member(:stack_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "StackName"))
447
+ CreateEntitlementRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
448
+ CreateEntitlementRequest.add_member(:app_visibility, Shapes::ShapeRef.new(shape: AppVisibility, required: true, location_name: "AppVisibility"))
449
+ CreateEntitlementRequest.add_member(:attributes, Shapes::ShapeRef.new(shape: EntitlementAttributeList, required: true, location_name: "Attributes"))
450
+ CreateEntitlementRequest.struct_class = Types::CreateEntitlementRequest
451
+
452
+ CreateEntitlementResult.add_member(:entitlement, Shapes::ShapeRef.new(shape: Entitlement, location_name: "Entitlement"))
453
+ CreateEntitlementResult.struct_class = Types::CreateEntitlementResult
454
+
415
455
  CreateFleetRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "Name"))
416
456
  CreateFleetRequest.add_member(:image_name, Shapes::ShapeRef.new(shape: String, location_name: "ImageName"))
417
457
  CreateFleetRequest.add_member(:image_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "ImageArn"))
@@ -533,6 +573,12 @@ module Aws::AppStream
533
573
 
534
574
  DeleteDirectoryConfigResult.struct_class = Types::DeleteDirectoryConfigResult
535
575
 
576
+ DeleteEntitlementRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "Name"))
577
+ DeleteEntitlementRequest.add_member(:stack_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "StackName"))
578
+ DeleteEntitlementRequest.struct_class = Types::DeleteEntitlementRequest
579
+
580
+ DeleteEntitlementResult.struct_class = Types::DeleteEntitlementResult
581
+
536
582
  DeleteFleetRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Name"))
537
583
  DeleteFleetRequest.struct_class = Types::DeleteFleetRequest
538
584
 
@@ -608,6 +654,16 @@ module Aws::AppStream
608
654
  DescribeDirectoryConfigsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
609
655
  DescribeDirectoryConfigsResult.struct_class = Types::DescribeDirectoryConfigsResult
610
656
 
657
+ DescribeEntitlementsRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "Name"))
658
+ DescribeEntitlementsRequest.add_member(:stack_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "StackName"))
659
+ DescribeEntitlementsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
660
+ DescribeEntitlementsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: Integer, location_name: "MaxResults"))
661
+ DescribeEntitlementsRequest.struct_class = Types::DescribeEntitlementsRequest
662
+
663
+ DescribeEntitlementsResult.add_member(:entitlements, Shapes::ShapeRef.new(shape: EntitlementList, location_name: "Entitlements"))
664
+ DescribeEntitlementsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
665
+ DescribeEntitlementsResult.struct_class = Types::DescribeEntitlementsResult
666
+
611
667
  DescribeFleetsRequest.add_member(:names, Shapes::ShapeRef.new(shape: StringList, location_name: "Names"))
612
668
  DescribeFleetsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
613
669
  DescribeFleetsRequest.struct_class = Types::DescribeFleetsRequest
@@ -717,6 +773,13 @@ module Aws::AppStream
717
773
 
718
774
  DisassociateApplicationFleetResult.struct_class = Types::DisassociateApplicationFleetResult
719
775
 
776
+ DisassociateApplicationFromEntitlementRequest.add_member(:stack_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "StackName"))
777
+ DisassociateApplicationFromEntitlementRequest.add_member(:entitlement_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "EntitlementName"))
778
+ DisassociateApplicationFromEntitlementRequest.add_member(:application_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ApplicationIdentifier"))
779
+ DisassociateApplicationFromEntitlementRequest.struct_class = Types::DisassociateApplicationFromEntitlementRequest
780
+
781
+ DisassociateApplicationFromEntitlementResult.struct_class = Types::DisassociateApplicationFromEntitlementResult
782
+
720
783
  DisassociateFleetRequest.add_member(:fleet_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "FleetName"))
721
784
  DisassociateFleetRequest.add_member(:stack_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "StackName"))
722
785
  DisassociateFleetRequest.struct_class = Types::DisassociateFleetRequest
@@ -737,6 +800,34 @@ module Aws::AppStream
737
800
 
738
801
  EnableUserResult.struct_class = Types::EnableUserResult
739
802
 
803
+ EntitledApplication.add_member(:application_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ApplicationIdentifier"))
804
+ EntitledApplication.struct_class = Types::EntitledApplication
805
+
806
+ EntitledApplicationList.member = Shapes::ShapeRef.new(shape: EntitledApplication)
807
+
808
+ Entitlement.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "Name"))
809
+ Entitlement.add_member(:stack_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "StackName"))
810
+ Entitlement.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
811
+ Entitlement.add_member(:app_visibility, Shapes::ShapeRef.new(shape: AppVisibility, required: true, location_name: "AppVisibility"))
812
+ Entitlement.add_member(:attributes, Shapes::ShapeRef.new(shape: EntitlementAttributeList, required: true, location_name: "Attributes"))
813
+ Entitlement.add_member(:created_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedTime"))
814
+ Entitlement.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModifiedTime"))
815
+ Entitlement.struct_class = Types::Entitlement
816
+
817
+ EntitlementAlreadyExistsException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
818
+ EntitlementAlreadyExistsException.struct_class = Types::EntitlementAlreadyExistsException
819
+
820
+ EntitlementAttribute.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Name"))
821
+ EntitlementAttribute.add_member(:value, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Value"))
822
+ EntitlementAttribute.struct_class = Types::EntitlementAttribute
823
+
824
+ EntitlementAttributeList.member = Shapes::ShapeRef.new(shape: EntitlementAttribute)
825
+
826
+ EntitlementList.member = Shapes::ShapeRef.new(shape: Entitlement)
827
+
828
+ EntitlementNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
829
+ EntitlementNotFoundException.struct_class = Types::EntitlementNotFoundException
830
+
740
831
  ExpireSessionRequest.add_member(:session_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "SessionId"))
741
832
  ExpireSessionRequest.struct_class = Types::ExpireSessionRequest
742
833
 
@@ -869,6 +960,16 @@ module Aws::AppStream
869
960
  ListAssociatedStacksResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
870
961
  ListAssociatedStacksResult.struct_class = Types::ListAssociatedStacksResult
871
962
 
963
+ ListEntitledApplicationsRequest.add_member(:stack_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "StackName"))
964
+ ListEntitledApplicationsRequest.add_member(:entitlement_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "EntitlementName"))
965
+ ListEntitledApplicationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
966
+ ListEntitledApplicationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: Integer, location_name: "MaxResults"))
967
+ ListEntitledApplicationsRequest.struct_class = Types::ListEntitledApplicationsRequest
968
+
969
+ ListEntitledApplicationsResult.add_member(:entitled_applications, Shapes::ShapeRef.new(shape: EntitledApplicationList, location_name: "EntitledApplications"))
970
+ ListEntitledApplicationsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
971
+ ListEntitledApplicationsResult.struct_class = Types::ListEntitledApplicationsResult
972
+
872
973
  ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "ResourceArn"))
873
974
  ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
874
975
 
@@ -1045,6 +1146,16 @@ module Aws::AppStream
1045
1146
  UpdateDirectoryConfigResult.add_member(:directory_config, Shapes::ShapeRef.new(shape: DirectoryConfig, location_name: "DirectoryConfig"))
1046
1147
  UpdateDirectoryConfigResult.struct_class = Types::UpdateDirectoryConfigResult
1047
1148
 
1149
+ UpdateEntitlementRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "Name"))
1150
+ UpdateEntitlementRequest.add_member(:stack_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "StackName"))
1151
+ UpdateEntitlementRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
1152
+ UpdateEntitlementRequest.add_member(:app_visibility, Shapes::ShapeRef.new(shape: AppVisibility, location_name: "AppVisibility"))
1153
+ UpdateEntitlementRequest.add_member(:attributes, Shapes::ShapeRef.new(shape: EntitlementAttributeList, location_name: "Attributes"))
1154
+ UpdateEntitlementRequest.struct_class = Types::UpdateEntitlementRequest
1155
+
1156
+ UpdateEntitlementResult.add_member(:entitlement, Shapes::ShapeRef.new(shape: Entitlement, location_name: "Entitlement"))
1157
+ UpdateEntitlementResult.struct_class = Types::UpdateEntitlementResult
1158
+
1048
1159
  UpdateFleetRequest.add_member(:image_name, Shapes::ShapeRef.new(shape: String, location_name: "ImageName"))
1049
1160
  UpdateFleetRequest.add_member(:image_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "ImageArn"))
1050
1161
  UpdateFleetRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
@@ -1173,6 +1284,19 @@ module Aws::AppStream
1173
1284
  o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
1174
1285
  end)
1175
1286
 
1287
+ api.add_operation(:associate_application_to_entitlement, Seahorse::Model::Operation.new.tap do |o|
1288
+ o.name = "AssociateApplicationToEntitlement"
1289
+ o.http_method = "POST"
1290
+ o.http_request_uri = "/"
1291
+ o.input = Shapes::ShapeRef.new(shape: AssociateApplicationToEntitlementRequest)
1292
+ o.output = Shapes::ShapeRef.new(shape: AssociateApplicationToEntitlementResult)
1293
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
1294
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1295
+ o.errors << Shapes::ShapeRef.new(shape: EntitlementNotFoundException)
1296
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1297
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
1298
+ end)
1299
+
1176
1300
  api.add_operation(:associate_fleet, Seahorse::Model::Operation.new.tap do |o|
1177
1301
  o.name = "AssociateFleet"
1178
1302
  o.http_method = "POST"
@@ -1260,6 +1384,18 @@ module Aws::AppStream
1260
1384
  o.errors << Shapes::ShapeRef.new(shape: InvalidRoleException)
1261
1385
  end)
1262
1386
 
1387
+ api.add_operation(:create_entitlement, Seahorse::Model::Operation.new.tap do |o|
1388
+ o.name = "CreateEntitlement"
1389
+ o.http_method = "POST"
1390
+ o.http_request_uri = "/"
1391
+ o.input = Shapes::ShapeRef.new(shape: CreateEntitlementRequest)
1392
+ o.output = Shapes::ShapeRef.new(shape: CreateEntitlementResult)
1393
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
1394
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1395
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1396
+ o.errors << Shapes::ShapeRef.new(shape: EntitlementAlreadyExistsException)
1397
+ end)
1398
+
1263
1399
  api.add_operation(:create_fleet, Seahorse::Model::Operation.new.tap do |o|
1264
1400
  o.name = "CreateFleet"
1265
1401
  o.http_method = "POST"
@@ -1407,6 +1543,19 @@ module Aws::AppStream
1407
1543
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1408
1544
  end)
1409
1545
 
1546
+ api.add_operation(:delete_entitlement, Seahorse::Model::Operation.new.tap do |o|
1547
+ o.name = "DeleteEntitlement"
1548
+ o.http_method = "POST"
1549
+ o.http_request_uri = "/"
1550
+ o.input = Shapes::ShapeRef.new(shape: DeleteEntitlementRequest)
1551
+ o.output = Shapes::ShapeRef.new(shape: DeleteEntitlementResult)
1552
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
1553
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1554
+ o.errors << Shapes::ShapeRef.new(shape: EntitlementNotFoundException)
1555
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
1556
+ o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
1557
+ end)
1558
+
1410
1559
  api.add_operation(:delete_fleet, Seahorse::Model::Operation.new.tap do |o|
1411
1560
  o.name = "DeleteFleet"
1412
1561
  o.http_method = "POST"
@@ -1459,6 +1608,7 @@ module Aws::AppStream
1459
1608
  o.output = Shapes::ShapeRef.new(shape: DeleteStackResult)
1460
1609
  o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
1461
1610
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1611
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
1462
1612
  o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
1463
1613
  end)
1464
1614
 
@@ -1520,6 +1670,17 @@ module Aws::AppStream
1520
1670
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1521
1671
  end)
1522
1672
 
1673
+ api.add_operation(:describe_entitlements, Seahorse::Model::Operation.new.tap do |o|
1674
+ o.name = "DescribeEntitlements"
1675
+ o.http_method = "POST"
1676
+ o.http_request_uri = "/"
1677
+ o.input = Shapes::ShapeRef.new(shape: DescribeEntitlementsRequest)
1678
+ o.output = Shapes::ShapeRef.new(shape: DescribeEntitlementsResult)
1679
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
1680
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1681
+ o.errors << Shapes::ShapeRef.new(shape: EntitlementNotFoundException)
1682
+ end)
1683
+
1523
1684
  api.add_operation(:describe_fleets, Seahorse::Model::Operation.new.tap do |o|
1524
1685
  o.name = "DescribeFleets"
1525
1686
  o.http_method = "POST"
@@ -1638,6 +1799,18 @@ module Aws::AppStream
1638
1799
  o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
1639
1800
  end)
1640
1801
 
1802
+ api.add_operation(:disassociate_application_from_entitlement, Seahorse::Model::Operation.new.tap do |o|
1803
+ o.name = "DisassociateApplicationFromEntitlement"
1804
+ o.http_method = "POST"
1805
+ o.http_request_uri = "/"
1806
+ o.input = Shapes::ShapeRef.new(shape: DisassociateApplicationFromEntitlementRequest)
1807
+ o.output = Shapes::ShapeRef.new(shape: DisassociateApplicationFromEntitlementResult)
1808
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
1809
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1810
+ o.errors << Shapes::ShapeRef.new(shape: EntitlementNotFoundException)
1811
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
1812
+ end)
1813
+
1641
1814
  api.add_operation(:disassociate_fleet, Seahorse::Model::Operation.new.tap do |o|
1642
1815
  o.name = "DisassociateFleet"
1643
1816
  o.http_method = "POST"
@@ -1684,6 +1857,17 @@ module Aws::AppStream
1684
1857
  o.output = Shapes::ShapeRef.new(shape: ListAssociatedStacksResult)
1685
1858
  end)
1686
1859
 
1860
+ api.add_operation(:list_entitled_applications, Seahorse::Model::Operation.new.tap do |o|
1861
+ o.name = "ListEntitledApplications"
1862
+ o.http_method = "POST"
1863
+ o.http_request_uri = "/"
1864
+ o.input = Shapes::ShapeRef.new(shape: ListEntitledApplicationsRequest)
1865
+ o.output = Shapes::ShapeRef.new(shape: ListEntitledApplicationsResult)
1866
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
1867
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1868
+ o.errors << Shapes::ShapeRef.new(shape: EntitlementNotFoundException)
1869
+ end)
1870
+
1687
1871
  api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
1688
1872
  o.name = "ListTagsForResource"
1689
1873
  o.http_method = "POST"
@@ -1787,6 +1971,18 @@ module Aws::AppStream
1787
1971
  o.errors << Shapes::ShapeRef.new(shape: InvalidRoleException)
1788
1972
  end)
1789
1973
 
1974
+ api.add_operation(:update_entitlement, Seahorse::Model::Operation.new.tap do |o|
1975
+ o.name = "UpdateEntitlement"
1976
+ o.http_method = "POST"
1977
+ o.http_request_uri = "/"
1978
+ o.input = Shapes::ShapeRef.new(shape: UpdateEntitlementRequest)
1979
+ o.output = Shapes::ShapeRef.new(shape: UpdateEntitlementResult)
1980
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
1981
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1982
+ o.errors << Shapes::ShapeRef.new(shape: EntitlementNotFoundException)
1983
+ o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
1984
+ end)
1985
+
1790
1986
  api.add_operation(:update_fleet, Seahorse::Model::Operation.new.tap do |o|
1791
1987
  o.name = "UpdateFleet"
1792
1988
  o.http_method = "POST"
@@ -28,6 +28,8 @@ module Aws::AppStream
28
28
  #
29
29
  # ## Error Classes
30
30
  # * {ConcurrentModificationException}
31
+ # * {EntitlementAlreadyExistsException}
32
+ # * {EntitlementNotFoundException}
31
33
  # * {IncompatibleImageException}
32
34
  # * {InvalidAccountStatusException}
33
35
  # * {InvalidParameterCombinationException}
@@ -61,6 +63,36 @@ module Aws::AppStream
61
63
  end
62
64
  end
63
65
 
66
+ class EntitlementAlreadyExistsException < ServiceError
67
+
68
+ # @param [Seahorse::Client::RequestContext] context
69
+ # @param [String] message
70
+ # @param [Aws::AppStream::Types::EntitlementAlreadyExistsException] data
71
+ def initialize(context, message, data = Aws::EmptyStructure.new)
72
+ super(context, message, data)
73
+ end
74
+
75
+ # @return [String]
76
+ def message
77
+ @message || @data[:message]
78
+ end
79
+ end
80
+
81
+ class EntitlementNotFoundException < ServiceError
82
+
83
+ # @param [Seahorse::Client::RequestContext] context
84
+ # @param [String] message
85
+ # @param [Aws::AppStream::Types::EntitlementNotFoundException] data
86
+ def initialize(context, message, data = Aws::EmptyStructure.new)
87
+ super(context, message, data)
88
+ end
89
+
90
+ # @return [String]
91
+ def message
92
+ @message || @data[:message]
93
+ end
94
+ end
95
+
64
96
  class IncompatibleImageException < ServiceError
65
97
 
66
98
  # @param [Seahorse::Client::RequestContext] context