aws-sdk-appstream 1.73.0 → 1.74.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -20,6 +20,17 @@ module Aws::AppStream
20
20
  AccountPassword = Shapes::StringShape.new(name: 'AccountPassword')
21
21
  Action = Shapes::StringShape.new(name: 'Action')
22
22
  AppBlock = Shapes::StructureShape.new(name: 'AppBlock')
23
+ AppBlockBuilder = Shapes::StructureShape.new(name: 'AppBlockBuilder')
24
+ AppBlockBuilderAppBlockAssociation = Shapes::StructureShape.new(name: 'AppBlockBuilderAppBlockAssociation')
25
+ AppBlockBuilderAppBlockAssociationsList = Shapes::ListShape.new(name: 'AppBlockBuilderAppBlockAssociationsList')
26
+ AppBlockBuilderAttribute = Shapes::StringShape.new(name: 'AppBlockBuilderAttribute')
27
+ AppBlockBuilderAttributes = Shapes::ListShape.new(name: 'AppBlockBuilderAttributes')
28
+ AppBlockBuilderList = Shapes::ListShape.new(name: 'AppBlockBuilderList')
29
+ AppBlockBuilderPlatformType = Shapes::StringShape.new(name: 'AppBlockBuilderPlatformType')
30
+ AppBlockBuilderState = Shapes::StringShape.new(name: 'AppBlockBuilderState')
31
+ AppBlockBuilderStateChangeReason = Shapes::StructureShape.new(name: 'AppBlockBuilderStateChangeReason')
32
+ AppBlockBuilderStateChangeReasonCode = Shapes::StringShape.new(name: 'AppBlockBuilderStateChangeReasonCode')
33
+ AppBlockState = Shapes::StringShape.new(name: 'AppBlockState')
23
34
  AppBlocks = Shapes::ListShape.new(name: 'AppBlocks')
24
35
  AppVisibility = Shapes::StringShape.new(name: 'AppVisibility')
25
36
  Application = Shapes::StructureShape.new(name: 'Application')
@@ -33,6 +44,8 @@ module Aws::AppStream
33
44
  AppstreamAgentVersion = Shapes::StringShape.new(name: 'AppstreamAgentVersion')
34
45
  Arn = Shapes::StringShape.new(name: 'Arn')
35
46
  ArnList = Shapes::ListShape.new(name: 'ArnList')
47
+ AssociateAppBlockBuilderAppBlockRequest = Shapes::StructureShape.new(name: 'AssociateAppBlockBuilderAppBlockRequest')
48
+ AssociateAppBlockBuilderAppBlockResult = Shapes::StructureShape.new(name: 'AssociateAppBlockBuilderAppBlockResult')
36
49
  AssociateApplicationFleetRequest = Shapes::StructureShape.new(name: 'AssociateApplicationFleetRequest')
37
50
  AssociateApplicationFleetResult = Shapes::StructureShape.new(name: 'AssociateApplicationFleetResult')
38
51
  AssociateApplicationToEntitlementRequest = Shapes::StructureShape.new(name: 'AssociateApplicationToEntitlementRequest')
@@ -55,6 +68,10 @@ module Aws::AppStream
55
68
  ConcurrentModificationException = Shapes::StructureShape.new(name: 'ConcurrentModificationException')
56
69
  CopyImageRequest = Shapes::StructureShape.new(name: 'CopyImageRequest')
57
70
  CopyImageResponse = Shapes::StructureShape.new(name: 'CopyImageResponse')
71
+ CreateAppBlockBuilderRequest = Shapes::StructureShape.new(name: 'CreateAppBlockBuilderRequest')
72
+ CreateAppBlockBuilderResult = Shapes::StructureShape.new(name: 'CreateAppBlockBuilderResult')
73
+ CreateAppBlockBuilderStreamingURLRequest = Shapes::StructureShape.new(name: 'CreateAppBlockBuilderStreamingURLRequest')
74
+ CreateAppBlockBuilderStreamingURLResult = Shapes::StructureShape.new(name: 'CreateAppBlockBuilderStreamingURLResult')
58
75
  CreateAppBlockRequest = Shapes::StructureShape.new(name: 'CreateAppBlockRequest')
59
76
  CreateAppBlockResult = Shapes::StructureShape.new(name: 'CreateAppBlockResult')
60
77
  CreateApplicationRequest = Shapes::StructureShape.new(name: 'CreateApplicationRequest')
@@ -79,6 +96,8 @@ module Aws::AppStream
79
96
  CreateUsageReportSubscriptionResult = Shapes::StructureShape.new(name: 'CreateUsageReportSubscriptionResult')
80
97
  CreateUserRequest = Shapes::StructureShape.new(name: 'CreateUserRequest')
81
98
  CreateUserResult = Shapes::StructureShape.new(name: 'CreateUserResult')
99
+ DeleteAppBlockBuilderRequest = Shapes::StructureShape.new(name: 'DeleteAppBlockBuilderRequest')
100
+ DeleteAppBlockBuilderResult = Shapes::StructureShape.new(name: 'DeleteAppBlockBuilderResult')
82
101
  DeleteAppBlockRequest = Shapes::StructureShape.new(name: 'DeleteAppBlockRequest')
83
102
  DeleteAppBlockResult = Shapes::StructureShape.new(name: 'DeleteAppBlockResult')
84
103
  DeleteApplicationRequest = Shapes::StructureShape.new(name: 'DeleteApplicationRequest')
@@ -101,6 +120,10 @@ module Aws::AppStream
101
120
  DeleteUsageReportSubscriptionResult = Shapes::StructureShape.new(name: 'DeleteUsageReportSubscriptionResult')
102
121
  DeleteUserRequest = Shapes::StructureShape.new(name: 'DeleteUserRequest')
103
122
  DeleteUserResult = Shapes::StructureShape.new(name: 'DeleteUserResult')
123
+ DescribeAppBlockBuilderAppBlockAssociationsRequest = Shapes::StructureShape.new(name: 'DescribeAppBlockBuilderAppBlockAssociationsRequest')
124
+ DescribeAppBlockBuilderAppBlockAssociationsResult = Shapes::StructureShape.new(name: 'DescribeAppBlockBuilderAppBlockAssociationsResult')
125
+ DescribeAppBlockBuildersRequest = Shapes::StructureShape.new(name: 'DescribeAppBlockBuildersRequest')
126
+ DescribeAppBlockBuildersResult = Shapes::StructureShape.new(name: 'DescribeAppBlockBuildersResult')
104
127
  DescribeAppBlocksRequest = Shapes::StructureShape.new(name: 'DescribeAppBlocksRequest')
105
128
  DescribeAppBlocksResult = Shapes::StructureShape.new(name: 'DescribeAppBlocksResult')
106
129
  DescribeApplicationFleetAssociationsRequest = Shapes::StructureShape.new(name: 'DescribeApplicationFleetAssociationsRequest')
@@ -137,6 +160,8 @@ module Aws::AppStream
137
160
  DirectoryNameList = Shapes::ListShape.new(name: 'DirectoryNameList')
138
161
  DisableUserRequest = Shapes::StructureShape.new(name: 'DisableUserRequest')
139
162
  DisableUserResult = Shapes::StructureShape.new(name: 'DisableUserResult')
163
+ DisassociateAppBlockBuilderAppBlockRequest = Shapes::StructureShape.new(name: 'DisassociateAppBlockBuilderAppBlockRequest')
164
+ DisassociateAppBlockBuilderAppBlockResult = Shapes::StructureShape.new(name: 'DisassociateAppBlockBuilderAppBlockResult')
140
165
  DisassociateApplicationFleetRequest = Shapes::StructureShape.new(name: 'DisassociateApplicationFleetRequest')
141
166
  DisassociateApplicationFleetResult = Shapes::StructureShape.new(name: 'DisassociateApplicationFleetResult')
142
167
  DisassociateApplicationFromEntitlementRequest = Shapes::StructureShape.new(name: 'DisassociateApplicationFromEntitlementRequest')
@@ -159,6 +184,8 @@ module Aws::AppStream
159
184
  EntitlementAttributeList = Shapes::ListShape.new(name: 'EntitlementAttributeList')
160
185
  EntitlementList = Shapes::ListShape.new(name: 'EntitlementList')
161
186
  EntitlementNotFoundException = Shapes::StructureShape.new(name: 'EntitlementNotFoundException')
187
+ ErrorDetails = Shapes::StructureShape.new(name: 'ErrorDetails')
188
+ ErrorDetailsList = Shapes::ListShape.new(name: 'ErrorDetailsList')
162
189
  ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
163
190
  ExpireSessionRequest = Shapes::StructureShape.new(name: 'ExpireSessionRequest')
164
191
  ExpireSessionResult = Shapes::StructureShape.new(name: 'ExpireSessionResult')
@@ -208,6 +235,7 @@ module Aws::AppStream
208
235
  OperationNotPermittedException = Shapes::StructureShape.new(name: 'OperationNotPermittedException')
209
236
  OrganizationalUnitDistinguishedName = Shapes::StringShape.new(name: 'OrganizationalUnitDistinguishedName')
210
237
  OrganizationalUnitDistinguishedNamesList = Shapes::ListShape.new(name: 'OrganizationalUnitDistinguishedNamesList')
238
+ PackagingType = Shapes::StringShape.new(name: 'PackagingType')
211
239
  Permission = Shapes::StringShape.new(name: 'Permission')
212
240
  PlatformType = Shapes::StringShape.new(name: 'PlatformType')
213
241
  Platforms = Shapes::ListShape.new(name: 'Platforms')
@@ -242,10 +270,14 @@ module Aws::AppStream
242
270
  StackErrorCode = Shapes::StringShape.new(name: 'StackErrorCode')
243
271
  StackErrors = Shapes::ListShape.new(name: 'StackErrors')
244
272
  StackList = Shapes::ListShape.new(name: 'StackList')
273
+ StartAppBlockBuilderRequest = Shapes::StructureShape.new(name: 'StartAppBlockBuilderRequest')
274
+ StartAppBlockBuilderResult = Shapes::StructureShape.new(name: 'StartAppBlockBuilderResult')
245
275
  StartFleetRequest = Shapes::StructureShape.new(name: 'StartFleetRequest')
246
276
  StartFleetResult = Shapes::StructureShape.new(name: 'StartFleetResult')
247
277
  StartImageBuilderRequest = Shapes::StructureShape.new(name: 'StartImageBuilderRequest')
248
278
  StartImageBuilderResult = Shapes::StructureShape.new(name: 'StartImageBuilderResult')
279
+ StopAppBlockBuilderRequest = Shapes::StructureShape.new(name: 'StopAppBlockBuilderRequest')
280
+ StopAppBlockBuilderResult = Shapes::StructureShape.new(name: 'StopAppBlockBuilderResult')
249
281
  StopFleetRequest = Shapes::StructureShape.new(name: 'StopFleetRequest')
250
282
  StopFleetResult = Shapes::StructureShape.new(name: 'StopFleetResult')
251
283
  StopImageBuilderRequest = Shapes::StructureShape.new(name: 'StopImageBuilderRequest')
@@ -268,6 +300,8 @@ module Aws::AppStream
268
300
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
269
301
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
270
302
  UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
303
+ UpdateAppBlockBuilderRequest = Shapes::StructureShape.new(name: 'UpdateAppBlockBuilderRequest')
304
+ UpdateAppBlockBuilderResult = Shapes::StructureShape.new(name: 'UpdateAppBlockBuilderResult')
271
305
  UpdateApplicationRequest = Shapes::StructureShape.new(name: 'UpdateApplicationRequest')
272
306
  UpdateApplicationResult = Shapes::StructureShape.new(name: 'UpdateApplicationResult')
273
307
  UpdateDirectoryConfigRequest = Shapes::StructureShape.new(name: 'UpdateDirectoryConfigRequest')
@@ -312,10 +346,44 @@ module Aws::AppStream
312
346
  AppBlock.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
313
347
  AppBlock.add_member(:display_name, Shapes::ShapeRef.new(shape: String, location_name: "DisplayName"))
314
348
  AppBlock.add_member(:source_s3_location, Shapes::ShapeRef.new(shape: S3Location, location_name: "SourceS3Location"))
315
- AppBlock.add_member(:setup_script_details, Shapes::ShapeRef.new(shape: ScriptDetails, required: true, location_name: "SetupScriptDetails"))
349
+ AppBlock.add_member(:setup_script_details, Shapes::ShapeRef.new(shape: ScriptDetails, location_name: "SetupScriptDetails"))
316
350
  AppBlock.add_member(:created_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedTime"))
351
+ AppBlock.add_member(:post_setup_script_details, Shapes::ShapeRef.new(shape: ScriptDetails, location_name: "PostSetupScriptDetails"))
352
+ AppBlock.add_member(:packaging_type, Shapes::ShapeRef.new(shape: PackagingType, location_name: "PackagingType"))
353
+ AppBlock.add_member(:state, Shapes::ShapeRef.new(shape: AppBlockState, location_name: "State"))
354
+ AppBlock.add_member(:app_block_errors, Shapes::ShapeRef.new(shape: ErrorDetailsList, location_name: "AppBlockErrors"))
317
355
  AppBlock.struct_class = Types::AppBlock
318
356
 
357
+ AppBlockBuilder.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "Arn"))
358
+ AppBlockBuilder.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Name"))
359
+ AppBlockBuilder.add_member(:display_name, Shapes::ShapeRef.new(shape: String, location_name: "DisplayName"))
360
+ AppBlockBuilder.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
361
+ AppBlockBuilder.add_member(:platform, Shapes::ShapeRef.new(shape: AppBlockBuilderPlatformType, required: true, location_name: "Platform"))
362
+ AppBlockBuilder.add_member(:instance_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "InstanceType"))
363
+ AppBlockBuilder.add_member(:enable_default_internet_access, Shapes::ShapeRef.new(shape: BooleanObject, location_name: "EnableDefaultInternetAccess"))
364
+ AppBlockBuilder.add_member(:iam_role_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "IamRoleArn"))
365
+ AppBlockBuilder.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, required: true, location_name: "VpcConfig"))
366
+ AppBlockBuilder.add_member(:state, Shapes::ShapeRef.new(shape: AppBlockBuilderState, required: true, location_name: "State"))
367
+ AppBlockBuilder.add_member(:created_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedTime"))
368
+ AppBlockBuilder.add_member(:app_block_builder_errors, Shapes::ShapeRef.new(shape: ResourceErrors, location_name: "AppBlockBuilderErrors"))
369
+ AppBlockBuilder.add_member(:state_change_reason, Shapes::ShapeRef.new(shape: AppBlockBuilderStateChangeReason, location_name: "StateChangeReason"))
370
+ AppBlockBuilder.add_member(:access_endpoints, Shapes::ShapeRef.new(shape: AccessEndpointList, location_name: "AccessEndpoints"))
371
+ AppBlockBuilder.struct_class = Types::AppBlockBuilder
372
+
373
+ AppBlockBuilderAppBlockAssociation.add_member(:app_block_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "AppBlockArn"))
374
+ AppBlockBuilderAppBlockAssociation.add_member(:app_block_builder_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "AppBlockBuilderName"))
375
+ AppBlockBuilderAppBlockAssociation.struct_class = Types::AppBlockBuilderAppBlockAssociation
376
+
377
+ AppBlockBuilderAppBlockAssociationsList.member = Shapes::ShapeRef.new(shape: AppBlockBuilderAppBlockAssociation)
378
+
379
+ AppBlockBuilderAttributes.member = Shapes::ShapeRef.new(shape: AppBlockBuilderAttribute)
380
+
381
+ AppBlockBuilderList.member = Shapes::ShapeRef.new(shape: AppBlockBuilder)
382
+
383
+ AppBlockBuilderStateChangeReason.add_member(:code, Shapes::ShapeRef.new(shape: AppBlockBuilderStateChangeReasonCode, location_name: "Code"))
384
+ AppBlockBuilderStateChangeReason.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
385
+ AppBlockBuilderStateChangeReason.struct_class = Types::AppBlockBuilderStateChangeReason
386
+
319
387
  AppBlocks.member = Shapes::ShapeRef.new(shape: AppBlock)
320
388
 
321
389
  Application.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
@@ -356,6 +424,13 @@ module Aws::AppStream
356
424
 
357
425
  ArnList.member = Shapes::ShapeRef.new(shape: Arn)
358
426
 
427
+ AssociateAppBlockBuilderAppBlockRequest.add_member(:app_block_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "AppBlockArn"))
428
+ AssociateAppBlockBuilderAppBlockRequest.add_member(:app_block_builder_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "AppBlockBuilderName"))
429
+ AssociateAppBlockBuilderAppBlockRequest.struct_class = Types::AssociateAppBlockBuilderAppBlockRequest
430
+
431
+ AssociateAppBlockBuilderAppBlockResult.add_member(:app_block_builder_app_block_association, Shapes::ShapeRef.new(shape: AppBlockBuilderAppBlockAssociation, location_name: "AppBlockBuilderAppBlockAssociation"))
432
+ AssociateAppBlockBuilderAppBlockResult.struct_class = Types::AssociateAppBlockBuilderAppBlockResult
433
+
359
434
  AssociateApplicationFleetRequest.add_member(:fleet_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "FleetName"))
360
435
  AssociateApplicationFleetRequest.add_member(:application_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "ApplicationArn"))
361
436
  AssociateApplicationFleetRequest.struct_class = Types::AssociateApplicationFleetRequest
@@ -415,12 +490,37 @@ module Aws::AppStream
415
490
  CopyImageResponse.add_member(:destination_image_name, Shapes::ShapeRef.new(shape: Name, location_name: "DestinationImageName"))
416
491
  CopyImageResponse.struct_class = Types::CopyImageResponse
417
492
 
493
+ CreateAppBlockBuilderRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "Name"))
494
+ CreateAppBlockBuilderRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
495
+ CreateAppBlockBuilderRequest.add_member(:display_name, Shapes::ShapeRef.new(shape: DisplayName, location_name: "DisplayName"))
496
+ CreateAppBlockBuilderRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
497
+ CreateAppBlockBuilderRequest.add_member(:platform, Shapes::ShapeRef.new(shape: AppBlockBuilderPlatformType, required: true, location_name: "Platform"))
498
+ CreateAppBlockBuilderRequest.add_member(:instance_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "InstanceType"))
499
+ CreateAppBlockBuilderRequest.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, required: true, location_name: "VpcConfig"))
500
+ CreateAppBlockBuilderRequest.add_member(:enable_default_internet_access, Shapes::ShapeRef.new(shape: BooleanObject, location_name: "EnableDefaultInternetAccess"))
501
+ CreateAppBlockBuilderRequest.add_member(:iam_role_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "IamRoleArn"))
502
+ CreateAppBlockBuilderRequest.add_member(:access_endpoints, Shapes::ShapeRef.new(shape: AccessEndpointList, location_name: "AccessEndpoints"))
503
+ CreateAppBlockBuilderRequest.struct_class = Types::CreateAppBlockBuilderRequest
504
+
505
+ CreateAppBlockBuilderResult.add_member(:app_block_builder, Shapes::ShapeRef.new(shape: AppBlockBuilder, location_name: "AppBlockBuilder"))
506
+ CreateAppBlockBuilderResult.struct_class = Types::CreateAppBlockBuilderResult
507
+
508
+ CreateAppBlockBuilderStreamingURLRequest.add_member(:app_block_builder_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "AppBlockBuilderName"))
509
+ CreateAppBlockBuilderStreamingURLRequest.add_member(:validity, Shapes::ShapeRef.new(shape: Long, location_name: "Validity"))
510
+ CreateAppBlockBuilderStreamingURLRequest.struct_class = Types::CreateAppBlockBuilderStreamingURLRequest
511
+
512
+ CreateAppBlockBuilderStreamingURLResult.add_member(:streaming_url, Shapes::ShapeRef.new(shape: String, location_name: "StreamingURL"))
513
+ CreateAppBlockBuilderStreamingURLResult.add_member(:expires, Shapes::ShapeRef.new(shape: Timestamp, location_name: "Expires"))
514
+ CreateAppBlockBuilderStreamingURLResult.struct_class = Types::CreateAppBlockBuilderStreamingURLResult
515
+
418
516
  CreateAppBlockRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "Name"))
419
517
  CreateAppBlockRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
420
518
  CreateAppBlockRequest.add_member(:display_name, Shapes::ShapeRef.new(shape: DisplayName, location_name: "DisplayName"))
421
519
  CreateAppBlockRequest.add_member(:source_s3_location, Shapes::ShapeRef.new(shape: S3Location, required: true, location_name: "SourceS3Location"))
422
- CreateAppBlockRequest.add_member(:setup_script_details, Shapes::ShapeRef.new(shape: ScriptDetails, required: true, location_name: "SetupScriptDetails"))
520
+ CreateAppBlockRequest.add_member(:setup_script_details, Shapes::ShapeRef.new(shape: ScriptDetails, location_name: "SetupScriptDetails"))
423
521
  CreateAppBlockRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
522
+ CreateAppBlockRequest.add_member(:post_setup_script_details, Shapes::ShapeRef.new(shape: ScriptDetails, location_name: "PostSetupScriptDetails"))
523
+ CreateAppBlockRequest.add_member(:packaging_type, Shapes::ShapeRef.new(shape: PackagingType, location_name: "PackagingType"))
424
524
  CreateAppBlockRequest.struct_class = Types::CreateAppBlockRequest
425
525
 
426
526
  CreateAppBlockResult.add_member(:app_block, Shapes::ShapeRef.new(shape: AppBlock, location_name: "AppBlock"))
@@ -462,7 +562,7 @@ module Aws::AppStream
462
562
  CreateEntitlementResult.struct_class = Types::CreateEntitlementResult
463
563
 
464
564
  CreateFleetRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "Name"))
465
- CreateFleetRequest.add_member(:image_name, Shapes::ShapeRef.new(shape: String, location_name: "ImageName"))
565
+ CreateFleetRequest.add_member(:image_name, Shapes::ShapeRef.new(shape: Name, location_name: "ImageName"))
466
566
  CreateFleetRequest.add_member(:image_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "ImageArn"))
467
567
  CreateFleetRequest.add_member(:instance_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "InstanceType"))
468
568
  CreateFleetRequest.add_member(:fleet_type, Shapes::ShapeRef.new(shape: FleetType, location_name: "FleetType"))
@@ -569,6 +669,11 @@ module Aws::AppStream
569
669
 
570
670
  CreateUserResult.struct_class = Types::CreateUserResult
571
671
 
672
+ DeleteAppBlockBuilderRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "Name"))
673
+ DeleteAppBlockBuilderRequest.struct_class = Types::DeleteAppBlockBuilderRequest
674
+
675
+ DeleteAppBlockBuilderResult.struct_class = Types::DeleteAppBlockBuilderResult
676
+
572
677
  DeleteAppBlockRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "Name"))
573
678
  DeleteAppBlockRequest.struct_class = Types::DeleteAppBlockRequest
574
679
 
@@ -628,6 +733,25 @@ module Aws::AppStream
628
733
 
629
734
  DeleteUserResult.struct_class = Types::DeleteUserResult
630
735
 
736
+ DescribeAppBlockBuilderAppBlockAssociationsRequest.add_member(:app_block_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "AppBlockArn"))
737
+ DescribeAppBlockBuilderAppBlockAssociationsRequest.add_member(:app_block_builder_name, Shapes::ShapeRef.new(shape: Name, location_name: "AppBlockBuilderName"))
738
+ DescribeAppBlockBuilderAppBlockAssociationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: Integer, location_name: "MaxResults"))
739
+ DescribeAppBlockBuilderAppBlockAssociationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
740
+ DescribeAppBlockBuilderAppBlockAssociationsRequest.struct_class = Types::DescribeAppBlockBuilderAppBlockAssociationsRequest
741
+
742
+ DescribeAppBlockBuilderAppBlockAssociationsResult.add_member(:app_block_builder_app_block_associations, Shapes::ShapeRef.new(shape: AppBlockBuilderAppBlockAssociationsList, location_name: "AppBlockBuilderAppBlockAssociations"))
743
+ DescribeAppBlockBuilderAppBlockAssociationsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
744
+ DescribeAppBlockBuilderAppBlockAssociationsResult.struct_class = Types::DescribeAppBlockBuilderAppBlockAssociationsResult
745
+
746
+ DescribeAppBlockBuildersRequest.add_member(:names, Shapes::ShapeRef.new(shape: StringList, location_name: "Names"))
747
+ DescribeAppBlockBuildersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
748
+ DescribeAppBlockBuildersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: Integer, location_name: "MaxResults"))
749
+ DescribeAppBlockBuildersRequest.struct_class = Types::DescribeAppBlockBuildersRequest
750
+
751
+ DescribeAppBlockBuildersResult.add_member(:app_block_builders, Shapes::ShapeRef.new(shape: AppBlockBuilderList, location_name: "AppBlockBuilders"))
752
+ DescribeAppBlockBuildersResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
753
+ DescribeAppBlockBuildersResult.struct_class = Types::DescribeAppBlockBuildersResult
754
+
631
755
  DescribeAppBlocksRequest.add_member(:arns, Shapes::ShapeRef.new(shape: ArnList, location_name: "Arns"))
632
756
  DescribeAppBlocksRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
633
757
  DescribeAppBlocksRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: Integer, location_name: "MaxResults"))
@@ -779,6 +903,12 @@ module Aws::AppStream
779
903
 
780
904
  DisableUserResult.struct_class = Types::DisableUserResult
781
905
 
906
+ DisassociateAppBlockBuilderAppBlockRequest.add_member(:app_block_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "AppBlockArn"))
907
+ DisassociateAppBlockBuilderAppBlockRequest.add_member(:app_block_builder_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "AppBlockBuilderName"))
908
+ DisassociateAppBlockBuilderAppBlockRequest.struct_class = Types::DisassociateAppBlockBuilderAppBlockRequest
909
+
910
+ DisassociateAppBlockBuilderAppBlockResult.struct_class = Types::DisassociateAppBlockBuilderAppBlockResult
911
+
782
912
  DisassociateApplicationFleetRequest.add_member(:fleet_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "FleetName"))
783
913
  DisassociateApplicationFleetRequest.add_member(:application_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "ApplicationArn"))
784
914
  DisassociateApplicationFleetRequest.struct_class = Types::DisassociateApplicationFleetRequest
@@ -840,6 +970,12 @@ module Aws::AppStream
840
970
  EntitlementNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
841
971
  EntitlementNotFoundException.struct_class = Types::EntitlementNotFoundException
842
972
 
973
+ ErrorDetails.add_member(:error_code, Shapes::ShapeRef.new(shape: String, location_name: "ErrorCode"))
974
+ ErrorDetails.add_member(:error_message, Shapes::ShapeRef.new(shape: String, location_name: "ErrorMessage"))
975
+ ErrorDetails.struct_class = Types::ErrorDetails
976
+
977
+ ErrorDetailsList.member = Shapes::ShapeRef.new(shape: ErrorDetails)
978
+
843
979
  ExpireSessionRequest.add_member(:session_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "SessionId"))
844
980
  ExpireSessionRequest.struct_class = Types::ExpireSessionRequest
845
981
 
@@ -1026,7 +1162,7 @@ module Aws::AppStream
1026
1162
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
1027
1163
 
1028
1164
  S3Location.add_member(:s3_bucket, Shapes::ShapeRef.new(shape: S3Bucket, required: true, location_name: "S3Bucket"))
1029
- S3Location.add_member(:s3_key, Shapes::ShapeRef.new(shape: S3Key, required: true, location_name: "S3Key"))
1165
+ S3Location.add_member(:s3_key, Shapes::ShapeRef.new(shape: S3Key, location_name: "S3Key"))
1030
1166
  S3Location.struct_class = Types::S3Location
1031
1167
 
1032
1168
  ScriptDetails.add_member(:script_s3_location, Shapes::ShapeRef.new(shape: S3Location, required: true, location_name: "ScriptS3Location"))
@@ -1087,6 +1223,12 @@ module Aws::AppStream
1087
1223
 
1088
1224
  StackList.member = Shapes::ShapeRef.new(shape: Stack)
1089
1225
 
1226
+ StartAppBlockBuilderRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "Name"))
1227
+ StartAppBlockBuilderRequest.struct_class = Types::StartAppBlockBuilderRequest
1228
+
1229
+ StartAppBlockBuilderResult.add_member(:app_block_builder, Shapes::ShapeRef.new(shape: AppBlockBuilder, location_name: "AppBlockBuilder"))
1230
+ StartAppBlockBuilderResult.struct_class = Types::StartAppBlockBuilderResult
1231
+
1090
1232
  StartFleetRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Name"))
1091
1233
  StartFleetRequest.struct_class = Types::StartFleetRequest
1092
1234
 
@@ -1099,6 +1241,12 @@ module Aws::AppStream
1099
1241
  StartImageBuilderResult.add_member(:image_builder, Shapes::ShapeRef.new(shape: ImageBuilder, location_name: "ImageBuilder"))
1100
1242
  StartImageBuilderResult.struct_class = Types::StartImageBuilderResult
1101
1243
 
1244
+ StopAppBlockBuilderRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "Name"))
1245
+ StopAppBlockBuilderRequest.struct_class = Types::StopAppBlockBuilderRequest
1246
+
1247
+ StopAppBlockBuilderResult.add_member(:app_block_builder, Shapes::ShapeRef.new(shape: AppBlockBuilder, location_name: "AppBlockBuilder"))
1248
+ StopAppBlockBuilderResult.struct_class = Types::StopAppBlockBuilderResult
1249
+
1102
1250
  StopFleetRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Name"))
1103
1251
  StopFleetRequest.struct_class = Types::StopFleetRequest
1104
1252
 
@@ -1141,6 +1289,21 @@ module Aws::AppStream
1141
1289
 
1142
1290
  UntagResourceResponse.struct_class = Types::UntagResourceResponse
1143
1291
 
1292
+ UpdateAppBlockBuilderRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "Name"))
1293
+ UpdateAppBlockBuilderRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
1294
+ UpdateAppBlockBuilderRequest.add_member(:display_name, Shapes::ShapeRef.new(shape: DisplayName, location_name: "DisplayName"))
1295
+ UpdateAppBlockBuilderRequest.add_member(:platform, Shapes::ShapeRef.new(shape: PlatformType, location_name: "Platform"))
1296
+ UpdateAppBlockBuilderRequest.add_member(:instance_type, Shapes::ShapeRef.new(shape: String, location_name: "InstanceType"))
1297
+ UpdateAppBlockBuilderRequest.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "VpcConfig"))
1298
+ UpdateAppBlockBuilderRequest.add_member(:enable_default_internet_access, Shapes::ShapeRef.new(shape: BooleanObject, location_name: "EnableDefaultInternetAccess"))
1299
+ UpdateAppBlockBuilderRequest.add_member(:iam_role_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "IamRoleArn"))
1300
+ UpdateAppBlockBuilderRequest.add_member(:access_endpoints, Shapes::ShapeRef.new(shape: AccessEndpointList, location_name: "AccessEndpoints"))
1301
+ UpdateAppBlockBuilderRequest.add_member(:attributes_to_delete, Shapes::ShapeRef.new(shape: AppBlockBuilderAttributes, location_name: "AttributesToDelete"))
1302
+ UpdateAppBlockBuilderRequest.struct_class = Types::UpdateAppBlockBuilderRequest
1303
+
1304
+ UpdateAppBlockBuilderResult.add_member(:app_block_builder, Shapes::ShapeRef.new(shape: AppBlockBuilder, location_name: "AppBlockBuilder"))
1305
+ UpdateAppBlockBuilderResult.struct_class = Types::UpdateAppBlockBuilderResult
1306
+
1144
1307
  UpdateApplicationRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "Name"))
1145
1308
  UpdateApplicationRequest.add_member(:display_name, Shapes::ShapeRef.new(shape: DisplayName, location_name: "DisplayName"))
1146
1309
  UpdateApplicationRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
@@ -1291,6 +1454,19 @@ module Aws::AppStream
1291
1454
  "uid" => "appstream-2016-12-01",
1292
1455
  }
1293
1456
 
1457
+ api.add_operation(:associate_app_block_builder_app_block, Seahorse::Model::Operation.new.tap do |o|
1458
+ o.name = "AssociateAppBlockBuilderAppBlock"
1459
+ o.http_method = "POST"
1460
+ o.http_request_uri = "/"
1461
+ o.input = Shapes::ShapeRef.new(shape: AssociateAppBlockBuilderAppBlockRequest)
1462
+ o.output = Shapes::ShapeRef.new(shape: AssociateAppBlockBuilderAppBlockResult)
1463
+ o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
1464
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1465
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1466
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterCombinationException)
1467
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
1468
+ end)
1469
+
1294
1470
  api.add_operation(:associate_application_fleet, Seahorse::Model::Operation.new.tap do |o|
1295
1471
  o.name = "AssociateApplicationFleet"
1296
1472
  o.http_method = "POST"
@@ -1377,6 +1553,34 @@ module Aws::AppStream
1377
1553
  o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
1378
1554
  end)
1379
1555
 
1556
+ api.add_operation(:create_app_block_builder, Seahorse::Model::Operation.new.tap do |o|
1557
+ o.name = "CreateAppBlockBuilder"
1558
+ o.http_method = "POST"
1559
+ o.http_request_uri = "/"
1560
+ o.input = Shapes::ShapeRef.new(shape: CreateAppBlockBuilderRequest)
1561
+ o.output = Shapes::ShapeRef.new(shape: CreateAppBlockBuilderResult)
1562
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1563
+ o.errors << Shapes::ShapeRef.new(shape: RequestLimitExceededException)
1564
+ o.errors << Shapes::ShapeRef.new(shape: InvalidAccountStatusException)
1565
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRoleException)
1566
+ o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
1567
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
1568
+ o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
1569
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotAvailableException)
1570
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1571
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterCombinationException)
1572
+ end)
1573
+
1574
+ api.add_operation(:create_app_block_builder_streaming_url, Seahorse::Model::Operation.new.tap do |o|
1575
+ o.name = "CreateAppBlockBuilderStreamingURL"
1576
+ o.http_method = "POST"
1577
+ o.http_request_uri = "/"
1578
+ o.input = Shapes::ShapeRef.new(shape: CreateAppBlockBuilderStreamingURLRequest)
1579
+ o.output = Shapes::ShapeRef.new(shape: CreateAppBlockBuilderStreamingURLResult)
1580
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1581
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
1582
+ end)
1583
+
1380
1584
  api.add_operation(:create_application, Seahorse::Model::Operation.new.tap do |o|
1381
1585
  o.name = "CreateApplication"
1382
1586
  o.http_method = "POST"
@@ -1541,6 +1745,18 @@ module Aws::AppStream
1541
1745
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1542
1746
  end)
1543
1747
 
1748
+ api.add_operation(:delete_app_block_builder, Seahorse::Model::Operation.new.tap do |o|
1749
+ o.name = "DeleteAppBlockBuilder"
1750
+ o.http_method = "POST"
1751
+ o.http_request_uri = "/"
1752
+ o.input = Shapes::ShapeRef.new(shape: DeleteAppBlockBuilderRequest)
1753
+ o.output = Shapes::ShapeRef.new(shape: DeleteAppBlockBuilderResult)
1754
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
1755
+ o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
1756
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
1757
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1758
+ end)
1759
+
1544
1760
  api.add_operation(:delete_application, Seahorse::Model::Operation.new.tap do |o|
1545
1761
  o.name = "DeleteApplication"
1546
1762
  o.http_method = "POST"
@@ -1651,6 +1867,38 @@ module Aws::AppStream
1651
1867
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1652
1868
  end)
1653
1869
 
1870
+ api.add_operation(:describe_app_block_builder_app_block_associations, Seahorse::Model::Operation.new.tap do |o|
1871
+ o.name = "DescribeAppBlockBuilderAppBlockAssociations"
1872
+ o.http_method = "POST"
1873
+ o.http_request_uri = "/"
1874
+ o.input = Shapes::ShapeRef.new(shape: DescribeAppBlockBuilderAppBlockAssociationsRequest)
1875
+ o.output = Shapes::ShapeRef.new(shape: DescribeAppBlockBuilderAppBlockAssociationsResult)
1876
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterCombinationException)
1877
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
1878
+ o[:pager] = Aws::Pager.new(
1879
+ limit_key: "max_results",
1880
+ tokens: {
1881
+ "next_token" => "next_token"
1882
+ }
1883
+ )
1884
+ end)
1885
+
1886
+ api.add_operation(:describe_app_block_builders, Seahorse::Model::Operation.new.tap do |o|
1887
+ o.name = "DescribeAppBlockBuilders"
1888
+ o.http_method = "POST"
1889
+ o.http_request_uri = "/"
1890
+ o.input = Shapes::ShapeRef.new(shape: DescribeAppBlockBuildersRequest)
1891
+ o.output = Shapes::ShapeRef.new(shape: DescribeAppBlockBuildersResult)
1892
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
1893
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1894
+ o[:pager] = Aws::Pager.new(
1895
+ limit_key: "max_results",
1896
+ tokens: {
1897
+ "next_token" => "next_token"
1898
+ }
1899
+ )
1900
+ end)
1901
+
1654
1902
  api.add_operation(:describe_app_blocks, Seahorse::Model::Operation.new.tap do |o|
1655
1903
  o.name = "DescribeAppBlocks"
1656
1904
  o.http_method = "POST"
@@ -1808,6 +2056,18 @@ module Aws::AppStream
1808
2056
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1809
2057
  end)
1810
2058
 
2059
+ api.add_operation(:disassociate_app_block_builder_app_block, Seahorse::Model::Operation.new.tap do |o|
2060
+ o.name = "DisassociateAppBlockBuilderAppBlock"
2061
+ o.http_method = "POST"
2062
+ o.http_request_uri = "/"
2063
+ o.input = Shapes::ShapeRef.new(shape: DisassociateAppBlockBuilderAppBlockRequest)
2064
+ o.output = Shapes::ShapeRef.new(shape: DisassociateAppBlockBuilderAppBlockResult)
2065
+ o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
2066
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterCombinationException)
2067
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
2068
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2069
+ end)
2070
+
1811
2071
  api.add_operation(:disassociate_application_fleet, Seahorse::Model::Operation.new.tap do |o|
1812
2072
  o.name = "DisassociateApplicationFleet"
1813
2073
  o.http_method = "POST"
@@ -1897,6 +2157,21 @@ module Aws::AppStream
1897
2157
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1898
2158
  end)
1899
2159
 
2160
+ api.add_operation(:start_app_block_builder, Seahorse::Model::Operation.new.tap do |o|
2161
+ o.name = "StartAppBlockBuilder"
2162
+ o.http_method = "POST"
2163
+ o.http_request_uri = "/"
2164
+ o.input = Shapes::ShapeRef.new(shape: StartAppBlockBuilderRequest)
2165
+ o.output = Shapes::ShapeRef.new(shape: StartAppBlockBuilderResult)
2166
+ o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
2167
+ o.errors << Shapes::ShapeRef.new(shape: InvalidAccountStatusException)
2168
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
2169
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
2170
+ o.errors << Shapes::ShapeRef.new(shape: RequestLimitExceededException)
2171
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotAvailableException)
2172
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2173
+ end)
2174
+
1900
2175
  api.add_operation(:start_fleet, Seahorse::Model::Operation.new.tap do |o|
1901
2176
  o.name = "StartFleet"
1902
2177
  o.http_method = "POST"
@@ -1926,6 +2201,17 @@ module Aws::AppStream
1926
2201
  o.errors << Shapes::ShapeRef.new(shape: IncompatibleImageException)
1927
2202
  end)
1928
2203
 
2204
+ api.add_operation(:stop_app_block_builder, Seahorse::Model::Operation.new.tap do |o|
2205
+ o.name = "StopAppBlockBuilder"
2206
+ o.http_method = "POST"
2207
+ o.http_request_uri = "/"
2208
+ o.input = Shapes::ShapeRef.new(shape: StopAppBlockBuilderRequest)
2209
+ o.output = Shapes::ShapeRef.new(shape: StopAppBlockBuilderResult)
2210
+ o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
2211
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
2212
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2213
+ end)
2214
+
1929
2215
  api.add_operation(:stop_fleet, Seahorse::Model::Operation.new.tap do |o|
1930
2216
  o.name = "StopFleet"
1931
2217
  o.http_method = "POST"
@@ -1967,6 +2253,24 @@ module Aws::AppStream
1967
2253
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1968
2254
  end)
1969
2255
 
2256
+ api.add_operation(:update_app_block_builder, Seahorse::Model::Operation.new.tap do |o|
2257
+ o.name = "UpdateAppBlockBuilder"
2258
+ o.http_method = "POST"
2259
+ o.http_request_uri = "/"
2260
+ o.input = Shapes::ShapeRef.new(shape: UpdateAppBlockBuilderRequest)
2261
+ o.output = Shapes::ShapeRef.new(shape: UpdateAppBlockBuilderResult)
2262
+ o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
2263
+ o.errors << Shapes::ShapeRef.new(shape: InvalidAccountStatusException)
2264
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterCombinationException)
2265
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRoleException)
2266
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
2267
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
2268
+ o.errors << Shapes::ShapeRef.new(shape: RequestLimitExceededException)
2269
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
2270
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotAvailableException)
2271
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2272
+ end)
2273
+
1970
2274
  api.add_operation(:update_application, Seahorse::Model::Operation.new.tap do |o|
1971
2275
  o.name = "UpdateApplication"
1972
2276
  o.http_method = "POST"
@@ -50,9 +50,6 @@ module Aws::AppStream
50
50
 
51
51
  def initialize(options = {})
52
52
  self[:region] = options[:region]
53
- if self[:region].nil?
54
- raise ArgumentError, "Missing required EndpointParameter: :region"
55
- end
56
53
  self[:use_dual_stack] = options[:use_dual_stack]
57
54
  self[:use_dual_stack] = false if self[:use_dual_stack].nil?
58
55
  if self[:use_dual_stack].nil?
@@ -14,36 +14,45 @@ module Aws::AppStream
14
14
  use_dual_stack = parameters.use_dual_stack
15
15
  use_fips = parameters.use_fips
16
16
  endpoint = parameters.endpoint
17
- if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
- if Aws::Endpoints::Matchers.set?(endpoint)
17
+ if Aws::Endpoints::Matchers.set?(endpoint)
18
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
19
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
20
+ end
21
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
22
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
23
+ end
24
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
25
+ end
26
+ if Aws::Endpoints::Matchers.set?(region)
27
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
28
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
29
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
30
+ return Aws::Endpoints::Endpoint.new(url: "https://appstream2-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
31
+ end
32
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
+ end
19
34
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
20
- raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
35
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
36
+ return Aws::Endpoints::Endpoint.new(url: "https://appstream2-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
+ end
38
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
21
39
  end
22
40
  if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
23
- raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
41
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
42
+ return Aws::Endpoints::Endpoint.new(url: "https://appstream2.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
43
+ end
44
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
24
45
  end
25
- return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
26
- end
27
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
28
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
29
- return Aws::Endpoints::Endpoint.new(url: "https://appstream2-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
30
- end
31
- raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
32
- end
33
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
34
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
- return Aws::Endpoints::Endpoint.new(url: "https://appstream2-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
46
+ if Aws::Endpoints::Matchers.string_equals?("aws", Aws::Endpoints::Matchers.attr(partition_result, "name"))
47
+ return Aws::Endpoints::Endpoint.new(url: "https://appstream2.#{region}.amazonaws.com", headers: {}, properties: {})
36
48
  end
37
- raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
38
- end
39
- if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
40
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
41
- return Aws::Endpoints::Endpoint.new(url: "https://appstream2.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
49
+ if Aws::Endpoints::Matchers.string_equals?("aws-us-gov", Aws::Endpoints::Matchers.attr(partition_result, "name"))
50
+ return Aws::Endpoints::Endpoint.new(url: "https://appstream2.#{region}.amazonaws.com", headers: {}, properties: {})
42
51
  end
43
- raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
52
+ return Aws::Endpoints::Endpoint.new(url: "https://appstream2.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
44
53
  end
45
- return Aws::Endpoints::Endpoint.new(url: "https://appstream2.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
46
54
  end
55
+ raise ArgumentError, "Invalid Configuration: Missing Region"
47
56
  raise ArgumentError, 'No endpoint could be resolved'
48
57
 
49
58
  end