aws-sdk-appstream 1.51.0 → 1.52.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 87975b7cc50cde0f2d73dff5639038440fa8d760a0b3ca148e6f032cfc2e4cc9
4
- data.tar.gz: e3536b67a0b5ec27e1afdce083619b2f3cb87bf8519406df39d1dc2a221b7a2d
3
+ metadata.gz: fe9ecc4e85a9b49965da709ae2639b76bd4292361e54f7f23a15cf670d4a42ef
4
+ data.tar.gz: 7717440a15b16eac39653a83c6bc629f90d0832352edc5b182d88776a68b0313
5
5
  SHA512:
6
- metadata.gz: 2e48b5e14d30f54c3810fb858df375b38e78ef5afd81d5f8d5007e649192b71ba4073a2582daf1963739adab7733db724619e5a8dc704091b258e90cf4d06dac
7
- data.tar.gz: 1e3be92bb5b05f88959c64457e5b18f61729a3889de3d0b8dfc87cf15598907bd5d2a359849b13d7754578fb61a3b306e649d4ef517e893d87648f76e7eb9732
6
+ metadata.gz: fe6519c756a7f0fba65504ace425d9e4c775e31fbc60a3aeaa11f706be691226a455104b1b87f47308925756c526021d670047a28c15b3e49d4ffea7ed99bb60
7
+ data.tar.gz: fcd22b0822d464e4920dc1a08a03f2ef3d6971a6485887a61f60a8f1db3309e504385b8dddf6978f1179a135a1dad1e0479b1fa091b0c72da2a8659381ac24b5
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.52.0 (2021-04-08)
5
+ ------------------
6
+
7
+ * Feature - This release provides support for image updates
8
+
4
9
  1.51.0 (2021-03-10)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.51.0
1
+ 1.52.0
@@ -49,6 +49,6 @@ require_relative 'aws-sdk-appstream/customizations'
49
49
  # @!group service
50
50
  module Aws::AppStream
51
51
 
52
- GEM_VERSION = '1.51.0'
52
+ GEM_VERSION = '1.52.0'
53
53
 
54
54
  end
@@ -1023,7 +1023,7 @@ module Aws::AppStream
1023
1023
  # resp.image_builder.instance_type #=> String
1024
1024
  # resp.image_builder.platform #=> String, one of "WINDOWS", "WINDOWS_SERVER_2016", "WINDOWS_SERVER_2019"
1025
1025
  # resp.image_builder.iam_role_arn #=> String
1026
- # resp.image_builder.state #=> String, one of "PENDING", "UPDATING_AGENT", "RUNNING", "STOPPING", "STOPPED", "REBOOTING", "SNAPSHOTTING", "DELETING", "FAILED"
1026
+ # resp.image_builder.state #=> String, one of "PENDING", "UPDATING_AGENT", "RUNNING", "STOPPING", "STOPPED", "REBOOTING", "SNAPSHOTTING", "DELETING", "FAILED", "UPDATING", "PENDING_QUALIFICATION"
1027
1027
  # resp.image_builder.state_change_reason.code #=> String, one of "INTERNAL_ERROR", "IMAGE_UNAVAILABLE"
1028
1028
  # resp.image_builder.state_change_reason.message #=> String
1029
1029
  # resp.image_builder.created_time #=> Time
@@ -1290,6 +1290,118 @@ module Aws::AppStream
1290
1290
  req.send_request(options)
1291
1291
  end
1292
1292
 
1293
+ # Creates a new image with the latest Windows operating system updates,
1294
+ # driver updates, and AppStream 2.0 agent software.
1295
+ #
1296
+ # For more information, see the "Update an Image by Using Managed
1297
+ # AppStream 2.0 Image Updates" section in [Administer Your AppStream
1298
+ # 2.0 Images][1], in the *Amazon AppStream 2.0 Administration Guide*.
1299
+ #
1300
+ #
1301
+ #
1302
+ # [1]: https://docs.aws.amazon.com/appstream2/latest/developerguide/administer-images.html
1303
+ #
1304
+ # @option params [required, String] :existing_image_name
1305
+ # The name of the image to update.
1306
+ #
1307
+ # @option params [required, String] :new_image_name
1308
+ # The name of the new image. The name must be unique within the AWS
1309
+ # account and Region.
1310
+ #
1311
+ # @option params [String] :new_image_description
1312
+ # The description to display for the new image.
1313
+ #
1314
+ # @option params [String] :new_image_display_name
1315
+ # The name to display for the new image.
1316
+ #
1317
+ # @option params [Hash<String,String>] :new_image_tags
1318
+ # The tags to associate with the new image. A tag is a key-value pair,
1319
+ # and the value is optional. For example, Environment=Test. If you do
1320
+ # not specify a value, Environment=.
1321
+ #
1322
+ # Generally allowed characters are: letters, numbers, and spaces
1323
+ # representable in UTF-8, and the following special characters:
1324
+ #
1325
+ # \_ . : / = + \\ - @
1326
+ #
1327
+ # If you do not specify a value, the value is set to an empty string.
1328
+ #
1329
+ # For more information about tags, see [Tagging Your Resources][1] in
1330
+ # the *Amazon AppStream 2.0 Administration Guide*.
1331
+ #
1332
+ #
1333
+ #
1334
+ # [1]: https://docs.aws.amazon.com/appstream2/latest/developerguide/tagging-basic.html
1335
+ #
1336
+ # @option params [Boolean] :dry_run
1337
+ # Indicates whether to display the status of image update availability
1338
+ # before AppStream 2.0 initiates the process of creating a new updated
1339
+ # image. If this value is set to `true`, AppStream 2.0 displays whether
1340
+ # image updates are available. If this value is set to `false`,
1341
+ # AppStream 2.0 initiates the process of creating a new updated image
1342
+ # without displaying whether image updates are available.
1343
+ #
1344
+ # @return [Types::CreateUpdatedImageResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1345
+ #
1346
+ # * {Types::CreateUpdatedImageResult#image #image} => Types::Image
1347
+ # * {Types::CreateUpdatedImageResult#can_update_image #can_update_image} => Boolean
1348
+ #
1349
+ # @example Request syntax with placeholder values
1350
+ #
1351
+ # resp = client.create_updated_image({
1352
+ # existing_image_name: "Name", # required
1353
+ # new_image_name: "Name", # required
1354
+ # new_image_description: "Description",
1355
+ # new_image_display_name: "DisplayName",
1356
+ # new_image_tags: {
1357
+ # "TagKey" => "TagValue",
1358
+ # },
1359
+ # dry_run: false,
1360
+ # })
1361
+ #
1362
+ # @example Response structure
1363
+ #
1364
+ # resp.image.name #=> String
1365
+ # resp.image.arn #=> String
1366
+ # resp.image.base_image_arn #=> String
1367
+ # resp.image.display_name #=> String
1368
+ # resp.image.state #=> String, one of "PENDING", "AVAILABLE", "FAILED", "COPYING", "DELETING", "CREATING", "IMPORTING"
1369
+ # resp.image.visibility #=> String, one of "PUBLIC", "PRIVATE", "SHARED"
1370
+ # resp.image.image_builder_supported #=> Boolean
1371
+ # resp.image.image_builder_name #=> String
1372
+ # resp.image.platform #=> String, one of "WINDOWS", "WINDOWS_SERVER_2016", "WINDOWS_SERVER_2019"
1373
+ # resp.image.description #=> String
1374
+ # resp.image.state_change_reason.code #=> String, one of "INTERNAL_ERROR", "IMAGE_BUILDER_NOT_AVAILABLE", "IMAGE_COPY_FAILURE"
1375
+ # resp.image.state_change_reason.message #=> String
1376
+ # resp.image.applications #=> Array
1377
+ # resp.image.applications[0].name #=> String
1378
+ # resp.image.applications[0].display_name #=> String
1379
+ # resp.image.applications[0].icon_url #=> String
1380
+ # resp.image.applications[0].launch_path #=> String
1381
+ # resp.image.applications[0].launch_parameters #=> String
1382
+ # resp.image.applications[0].enabled #=> Boolean
1383
+ # resp.image.applications[0].metadata #=> Hash
1384
+ # resp.image.applications[0].metadata["String"] #=> String
1385
+ # resp.image.created_time #=> Time
1386
+ # resp.image.public_base_image_released_date #=> Time
1387
+ # resp.image.appstream_agent_version #=> String
1388
+ # resp.image.image_permissions.allow_fleet #=> Boolean
1389
+ # resp.image.image_permissions.allow_image_builder #=> Boolean
1390
+ # resp.image.image_errors #=> Array
1391
+ # resp.image.image_errors[0].error_code #=> String, one of "IAM_SERVICE_ROLE_MISSING_ENI_DESCRIBE_ACTION", "IAM_SERVICE_ROLE_MISSING_ENI_CREATE_ACTION", "IAM_SERVICE_ROLE_MISSING_ENI_DELETE_ACTION", "NETWORK_INTERFACE_LIMIT_EXCEEDED", "INTERNAL_SERVICE_ERROR", "IAM_SERVICE_ROLE_IS_MISSING", "MACHINE_ROLE_IS_MISSING", "STS_DISABLED_IN_REGION", "SUBNET_HAS_INSUFFICIENT_IP_ADDRESSES", "IAM_SERVICE_ROLE_MISSING_DESCRIBE_SUBNET_ACTION", "SUBNET_NOT_FOUND", "IMAGE_NOT_FOUND", "INVALID_SUBNET_CONFIGURATION", "SECURITY_GROUPS_NOT_FOUND", "IGW_NOT_ATTACHED", "IAM_SERVICE_ROLE_MISSING_DESCRIBE_SECURITY_GROUPS_ACTION", "FLEET_STOPPED", "FLEET_INSTANCE_PROVISIONING_FAILURE", "DOMAIN_JOIN_ERROR_FILE_NOT_FOUND", "DOMAIN_JOIN_ERROR_ACCESS_DENIED", "DOMAIN_JOIN_ERROR_LOGON_FAILURE", "DOMAIN_JOIN_ERROR_INVALID_PARAMETER", "DOMAIN_JOIN_ERROR_MORE_DATA", "DOMAIN_JOIN_ERROR_NO_SUCH_DOMAIN", "DOMAIN_JOIN_ERROR_NOT_SUPPORTED", "DOMAIN_JOIN_NERR_INVALID_WORKGROUP_NAME", "DOMAIN_JOIN_NERR_WORKSTATION_NOT_STARTED", "DOMAIN_JOIN_ERROR_DS_MACHINE_ACCOUNT_QUOTA_EXCEEDED", "DOMAIN_JOIN_NERR_PASSWORD_EXPIRED", "DOMAIN_JOIN_INTERNAL_SERVICE_ERROR"
1392
+ # resp.image.image_errors[0].error_message #=> String
1393
+ # resp.image.image_errors[0].error_timestamp #=> Time
1394
+ # resp.can_update_image #=> Boolean
1395
+ #
1396
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateUpdatedImage AWS API Documentation
1397
+ #
1398
+ # @overload create_updated_image(params = {})
1399
+ # @param [Hash] params ({})
1400
+ def create_updated_image(params = {}, options = {})
1401
+ req = build_request(:create_updated_image, params)
1402
+ req.send_request(options)
1403
+ end
1404
+
1293
1405
  # Creates a usage report subscription. Usage reports are generated
1294
1406
  # daily.
1295
1407
  #
@@ -1457,6 +1569,10 @@ module Aws::AppStream
1457
1569
  # resp.image.appstream_agent_version #=> String
1458
1570
  # resp.image.image_permissions.allow_fleet #=> Boolean
1459
1571
  # resp.image.image_permissions.allow_image_builder #=> Boolean
1572
+ # resp.image.image_errors #=> Array
1573
+ # resp.image.image_errors[0].error_code #=> String, one of "IAM_SERVICE_ROLE_MISSING_ENI_DESCRIBE_ACTION", "IAM_SERVICE_ROLE_MISSING_ENI_CREATE_ACTION", "IAM_SERVICE_ROLE_MISSING_ENI_DELETE_ACTION", "NETWORK_INTERFACE_LIMIT_EXCEEDED", "INTERNAL_SERVICE_ERROR", "IAM_SERVICE_ROLE_IS_MISSING", "MACHINE_ROLE_IS_MISSING", "STS_DISABLED_IN_REGION", "SUBNET_HAS_INSUFFICIENT_IP_ADDRESSES", "IAM_SERVICE_ROLE_MISSING_DESCRIBE_SUBNET_ACTION", "SUBNET_NOT_FOUND", "IMAGE_NOT_FOUND", "INVALID_SUBNET_CONFIGURATION", "SECURITY_GROUPS_NOT_FOUND", "IGW_NOT_ATTACHED", "IAM_SERVICE_ROLE_MISSING_DESCRIBE_SECURITY_GROUPS_ACTION", "FLEET_STOPPED", "FLEET_INSTANCE_PROVISIONING_FAILURE", "DOMAIN_JOIN_ERROR_FILE_NOT_FOUND", "DOMAIN_JOIN_ERROR_ACCESS_DENIED", "DOMAIN_JOIN_ERROR_LOGON_FAILURE", "DOMAIN_JOIN_ERROR_INVALID_PARAMETER", "DOMAIN_JOIN_ERROR_MORE_DATA", "DOMAIN_JOIN_ERROR_NO_SUCH_DOMAIN", "DOMAIN_JOIN_ERROR_NOT_SUPPORTED", "DOMAIN_JOIN_NERR_INVALID_WORKGROUP_NAME", "DOMAIN_JOIN_NERR_WORKSTATION_NOT_STARTED", "DOMAIN_JOIN_ERROR_DS_MACHINE_ACCOUNT_QUOTA_EXCEEDED", "DOMAIN_JOIN_NERR_PASSWORD_EXPIRED", "DOMAIN_JOIN_INTERNAL_SERVICE_ERROR"
1574
+ # resp.image.image_errors[0].error_message #=> String
1575
+ # resp.image.image_errors[0].error_timestamp #=> Time
1460
1576
  #
1461
1577
  # @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteImage AWS API Documentation
1462
1578
  #
@@ -1496,7 +1612,7 @@ module Aws::AppStream
1496
1612
  # resp.image_builder.instance_type #=> String
1497
1613
  # resp.image_builder.platform #=> String, one of "WINDOWS", "WINDOWS_SERVER_2016", "WINDOWS_SERVER_2019"
1498
1614
  # resp.image_builder.iam_role_arn #=> String
1499
- # resp.image_builder.state #=> String, one of "PENDING", "UPDATING_AGENT", "RUNNING", "STOPPING", "STOPPED", "REBOOTING", "SNAPSHOTTING", "DELETING", "FAILED"
1615
+ # resp.image_builder.state #=> String, one of "PENDING", "UPDATING_AGENT", "RUNNING", "STOPPING", "STOPPED", "REBOOTING", "SNAPSHOTTING", "DELETING", "FAILED", "UPDATING", "PENDING_QUALIFICATION"
1500
1616
  # resp.image_builder.state_change_reason.code #=> String, one of "INTERNAL_ERROR", "IMAGE_UNAVAILABLE"
1501
1617
  # resp.image_builder.state_change_reason.message #=> String
1502
1618
  # resp.image_builder.created_time #=> Time
@@ -1787,7 +1903,7 @@ module Aws::AppStream
1787
1903
  # resp.image_builders[0].instance_type #=> String
1788
1904
  # resp.image_builders[0].platform #=> String, one of "WINDOWS", "WINDOWS_SERVER_2016", "WINDOWS_SERVER_2019"
1789
1905
  # resp.image_builders[0].iam_role_arn #=> String
1790
- # resp.image_builders[0].state #=> String, one of "PENDING", "UPDATING_AGENT", "RUNNING", "STOPPING", "STOPPED", "REBOOTING", "SNAPSHOTTING", "DELETING", "FAILED"
1906
+ # resp.image_builders[0].state #=> String, one of "PENDING", "UPDATING_AGENT", "RUNNING", "STOPPING", "STOPPED", "REBOOTING", "SNAPSHOTTING", "DELETING", "FAILED", "UPDATING", "PENDING_QUALIFICATION"
1791
1907
  # resp.image_builders[0].state_change_reason.code #=> String, one of "INTERNAL_ERROR", "IMAGE_UNAVAILABLE"
1792
1908
  # resp.image_builders[0].state_change_reason.message #=> String
1793
1909
  # resp.image_builders[0].created_time #=> Time
@@ -1934,6 +2050,10 @@ module Aws::AppStream
1934
2050
  # resp.images[0].appstream_agent_version #=> String
1935
2051
  # resp.images[0].image_permissions.allow_fleet #=> Boolean
1936
2052
  # resp.images[0].image_permissions.allow_image_builder #=> Boolean
2053
+ # resp.images[0].image_errors #=> Array
2054
+ # resp.images[0].image_errors[0].error_code #=> String, one of "IAM_SERVICE_ROLE_MISSING_ENI_DESCRIBE_ACTION", "IAM_SERVICE_ROLE_MISSING_ENI_CREATE_ACTION", "IAM_SERVICE_ROLE_MISSING_ENI_DELETE_ACTION", "NETWORK_INTERFACE_LIMIT_EXCEEDED", "INTERNAL_SERVICE_ERROR", "IAM_SERVICE_ROLE_IS_MISSING", "MACHINE_ROLE_IS_MISSING", "STS_DISABLED_IN_REGION", "SUBNET_HAS_INSUFFICIENT_IP_ADDRESSES", "IAM_SERVICE_ROLE_MISSING_DESCRIBE_SUBNET_ACTION", "SUBNET_NOT_FOUND", "IMAGE_NOT_FOUND", "INVALID_SUBNET_CONFIGURATION", "SECURITY_GROUPS_NOT_FOUND", "IGW_NOT_ATTACHED", "IAM_SERVICE_ROLE_MISSING_DESCRIBE_SECURITY_GROUPS_ACTION", "FLEET_STOPPED", "FLEET_INSTANCE_PROVISIONING_FAILURE", "DOMAIN_JOIN_ERROR_FILE_NOT_FOUND", "DOMAIN_JOIN_ERROR_ACCESS_DENIED", "DOMAIN_JOIN_ERROR_LOGON_FAILURE", "DOMAIN_JOIN_ERROR_INVALID_PARAMETER", "DOMAIN_JOIN_ERROR_MORE_DATA", "DOMAIN_JOIN_ERROR_NO_SUCH_DOMAIN", "DOMAIN_JOIN_ERROR_NOT_SUPPORTED", "DOMAIN_JOIN_NERR_INVALID_WORKGROUP_NAME", "DOMAIN_JOIN_NERR_WORKSTATION_NOT_STARTED", "DOMAIN_JOIN_ERROR_DS_MACHINE_ACCOUNT_QUOTA_EXCEEDED", "DOMAIN_JOIN_NERR_PASSWORD_EXPIRED", "DOMAIN_JOIN_INTERNAL_SERVICE_ERROR"
2055
+ # resp.images[0].image_errors[0].error_message #=> String
2056
+ # resp.images[0].image_errors[0].error_timestamp #=> Time
1937
2057
  # resp.next_token #=> String
1938
2058
  #
1939
2059
  # @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeImages AWS API Documentation
@@ -2514,7 +2634,7 @@ module Aws::AppStream
2514
2634
  # resp.image_builder.instance_type #=> String
2515
2635
  # resp.image_builder.platform #=> String, one of "WINDOWS", "WINDOWS_SERVER_2016", "WINDOWS_SERVER_2019"
2516
2636
  # resp.image_builder.iam_role_arn #=> String
2517
- # resp.image_builder.state #=> String, one of "PENDING", "UPDATING_AGENT", "RUNNING", "STOPPING", "STOPPED", "REBOOTING", "SNAPSHOTTING", "DELETING", "FAILED"
2637
+ # resp.image_builder.state #=> String, one of "PENDING", "UPDATING_AGENT", "RUNNING", "STOPPING", "STOPPED", "REBOOTING", "SNAPSHOTTING", "DELETING", "FAILED", "UPDATING", "PENDING_QUALIFICATION"
2518
2638
  # resp.image_builder.state_change_reason.code #=> String, one of "INTERNAL_ERROR", "IMAGE_UNAVAILABLE"
2519
2639
  # resp.image_builder.state_change_reason.message #=> String
2520
2640
  # resp.image_builder.created_time #=> Time
@@ -2592,7 +2712,7 @@ module Aws::AppStream
2592
2712
  # resp.image_builder.instance_type #=> String
2593
2713
  # resp.image_builder.platform #=> String, one of "WINDOWS", "WINDOWS_SERVER_2016", "WINDOWS_SERVER_2019"
2594
2714
  # resp.image_builder.iam_role_arn #=> String
2595
- # resp.image_builder.state #=> String, one of "PENDING", "UPDATING_AGENT", "RUNNING", "STOPPING", "STOPPED", "REBOOTING", "SNAPSHOTTING", "DELETING", "FAILED"
2715
+ # resp.image_builder.state #=> String, one of "PENDING", "UPDATING_AGENT", "RUNNING", "STOPPING", "STOPPED", "REBOOTING", "SNAPSHOTTING", "DELETING", "FAILED", "UPDATING", "PENDING_QUALIFICATION"
2596
2716
  # resp.image_builder.state_change_reason.code #=> String, one of "INTERNAL_ERROR", "IMAGE_UNAVAILABLE"
2597
2717
  # resp.image_builder.state_change_reason.message #=> String
2598
2718
  # resp.image_builder.created_time #=> Time
@@ -3188,7 +3308,7 @@ module Aws::AppStream
3188
3308
  params: params,
3189
3309
  config: config)
3190
3310
  context[:gem_name] = 'aws-sdk-appstream'
3191
- context[:gem_version] = '1.51.0'
3311
+ context[:gem_version] = '1.52.0'
3192
3312
  Seahorse::Client::Request.new(handlers, context)
3193
3313
  end
3194
3314
 
@@ -54,6 +54,8 @@ module Aws::AppStream
54
54
  CreateStackResult = Shapes::StructureShape.new(name: 'CreateStackResult')
55
55
  CreateStreamingURLRequest = Shapes::StructureShape.new(name: 'CreateStreamingURLRequest')
56
56
  CreateStreamingURLResult = Shapes::StructureShape.new(name: 'CreateStreamingURLResult')
57
+ CreateUpdatedImageRequest = Shapes::StructureShape.new(name: 'CreateUpdatedImageRequest')
58
+ CreateUpdatedImageResult = Shapes::StructureShape.new(name: 'CreateUpdatedImageResult')
57
59
  CreateUsageReportSubscriptionRequest = Shapes::StructureShape.new(name: 'CreateUsageReportSubscriptionRequest')
58
60
  CreateUsageReportSubscriptionResult = Shapes::StructureShape.new(name: 'CreateUsageReportSubscriptionResult')
59
61
  CreateUserRequest = Shapes::StructureShape.new(name: 'CreateUserRequest')
@@ -392,6 +394,18 @@ module Aws::AppStream
392
394
  CreateStreamingURLResult.add_member(:expires, Shapes::ShapeRef.new(shape: Timestamp, location_name: "Expires"))
393
395
  CreateStreamingURLResult.struct_class = Types::CreateStreamingURLResult
394
396
 
397
+ CreateUpdatedImageRequest.add_member(:existing_image_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "existingImageName"))
398
+ CreateUpdatedImageRequest.add_member(:new_image_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "newImageName"))
399
+ CreateUpdatedImageRequest.add_member(:new_image_description, Shapes::ShapeRef.new(shape: Description, location_name: "newImageDescription"))
400
+ CreateUpdatedImageRequest.add_member(:new_image_display_name, Shapes::ShapeRef.new(shape: DisplayName, location_name: "newImageDisplayName"))
401
+ CreateUpdatedImageRequest.add_member(:new_image_tags, Shapes::ShapeRef.new(shape: Tags, location_name: "newImageTags"))
402
+ CreateUpdatedImageRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
403
+ CreateUpdatedImageRequest.struct_class = Types::CreateUpdatedImageRequest
404
+
405
+ CreateUpdatedImageResult.add_member(:image, Shapes::ShapeRef.new(shape: Image, location_name: "image"))
406
+ CreateUpdatedImageResult.add_member(:can_update_image, Shapes::ShapeRef.new(shape: Boolean, location_name: "canUpdateImage"))
407
+ CreateUpdatedImageResult.struct_class = Types::CreateUpdatedImageResult
408
+
395
409
  CreateUsageReportSubscriptionRequest.struct_class = Types::CreateUsageReportSubscriptionRequest
396
410
 
397
411
  CreateUsageReportSubscriptionResult.add_member(:s3_bucket_name, Shapes::ShapeRef.new(shape: String, location_name: "S3BucketName"))
@@ -635,6 +649,7 @@ module Aws::AppStream
635
649
  Image.add_member(:public_base_image_released_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "PublicBaseImageReleasedDate"))
636
650
  Image.add_member(:appstream_agent_version, Shapes::ShapeRef.new(shape: AppstreamAgentVersion, location_name: "AppstreamAgentVersion"))
637
651
  Image.add_member(:image_permissions, Shapes::ShapeRef.new(shape: ImagePermissions, location_name: "ImagePermissions"))
652
+ Image.add_member(:image_errors, Shapes::ShapeRef.new(shape: ResourceErrors, location_name: "ImageErrors"))
638
653
  Image.struct_class = Types::Image
639
654
 
640
655
  ImageBuilder.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Name"))
@@ -1107,6 +1122,21 @@ module Aws::AppStream
1107
1122
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterCombinationException)
1108
1123
  end)
1109
1124
 
1125
+ api.add_operation(:create_updated_image, Seahorse::Model::Operation.new.tap do |o|
1126
+ o.name = "CreateUpdatedImage"
1127
+ o.http_method = "POST"
1128
+ o.http_request_uri = "/"
1129
+ o.input = Shapes::ShapeRef.new(shape: CreateUpdatedImageRequest)
1130
+ o.output = Shapes::ShapeRef.new(shape: CreateUpdatedImageResult)
1131
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1132
+ o.errors << Shapes::ShapeRef.new(shape: InvalidAccountStatusException)
1133
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
1134
+ o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
1135
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1136
+ o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
1137
+ o.errors << Shapes::ShapeRef.new(shape: IncompatibleImageException)
1138
+ end)
1139
+
1110
1140
  api.add_operation(:create_usage_report_subscription, Seahorse::Model::Operation.new.tap do |o|
1111
1141
  o.name = "CreateUsageReportSubscription"
1112
1142
  o.http_method = "POST"
@@ -1194,6 +1194,97 @@ module Aws::AppStream
1194
1194
  include Aws::Structure
1195
1195
  end
1196
1196
 
1197
+ # @note When making an API call, you may pass CreateUpdatedImageRequest
1198
+ # data as a hash:
1199
+ #
1200
+ # {
1201
+ # existing_image_name: "Name", # required
1202
+ # new_image_name: "Name", # required
1203
+ # new_image_description: "Description",
1204
+ # new_image_display_name: "DisplayName",
1205
+ # new_image_tags: {
1206
+ # "TagKey" => "TagValue",
1207
+ # },
1208
+ # dry_run: false,
1209
+ # }
1210
+ #
1211
+ # @!attribute [rw] existing_image_name
1212
+ # The name of the image to update.
1213
+ # @return [String]
1214
+ #
1215
+ # @!attribute [rw] new_image_name
1216
+ # The name of the new image. The name must be unique within the AWS
1217
+ # account and Region.
1218
+ # @return [String]
1219
+ #
1220
+ # @!attribute [rw] new_image_description
1221
+ # The description to display for the new image.
1222
+ # @return [String]
1223
+ #
1224
+ # @!attribute [rw] new_image_display_name
1225
+ # The name to display for the new image.
1226
+ # @return [String]
1227
+ #
1228
+ # @!attribute [rw] new_image_tags
1229
+ # The tags to associate with the new image. A tag is a key-value pair,
1230
+ # and the value is optional. For example, Environment=Test. If you do
1231
+ # not specify a value, Environment=.
1232
+ #
1233
+ # Generally allowed characters are: letters, numbers, and spaces
1234
+ # representable in UTF-8, and the following special characters:
1235
+ #
1236
+ # \_ . : / = + \\ - @
1237
+ #
1238
+ # If you do not specify a value, the value is set to an empty string.
1239
+ #
1240
+ # For more information about tags, see [Tagging Your Resources][1] in
1241
+ # the *Amazon AppStream 2.0 Administration Guide*.
1242
+ #
1243
+ #
1244
+ #
1245
+ # [1]: https://docs.aws.amazon.com/appstream2/latest/developerguide/tagging-basic.html
1246
+ # @return [Hash<String,String>]
1247
+ #
1248
+ # @!attribute [rw] dry_run
1249
+ # Indicates whether to display the status of image update availability
1250
+ # before AppStream 2.0 initiates the process of creating a new updated
1251
+ # image. If this value is set to `true`, AppStream 2.0 displays
1252
+ # whether image updates are available. If this value is set to
1253
+ # `false`, AppStream 2.0 initiates the process of creating a new
1254
+ # updated image without displaying whether image updates are
1255
+ # available.
1256
+ # @return [Boolean]
1257
+ #
1258
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateUpdatedImageRequest AWS API Documentation
1259
+ #
1260
+ class CreateUpdatedImageRequest < Struct.new(
1261
+ :existing_image_name,
1262
+ :new_image_name,
1263
+ :new_image_description,
1264
+ :new_image_display_name,
1265
+ :new_image_tags,
1266
+ :dry_run)
1267
+ SENSITIVE = []
1268
+ include Aws::Structure
1269
+ end
1270
+
1271
+ # @!attribute [rw] image
1272
+ # Describes an image.
1273
+ # @return [Types::Image]
1274
+ #
1275
+ # @!attribute [rw] can_update_image
1276
+ # Indicates whether a new image can be created.
1277
+ # @return [Boolean]
1278
+ #
1279
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateUpdatedImageResult AWS API Documentation
1280
+ #
1281
+ class CreateUpdatedImageResult < Struct.new(
1282
+ :image,
1283
+ :can_update_image)
1284
+ SENSITIVE = []
1285
+ include Aws::Structure
1286
+ end
1287
+
1197
1288
  # @api private
1198
1289
  #
1199
1290
  # @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateUsageReportSubscriptionRequest AWS API Documentation
@@ -2566,6 +2657,11 @@ module Aws::AppStream
2566
2657
  # specified image.
2567
2658
  # @return [Types::ImagePermissions]
2568
2659
  #
2660
+ # @!attribute [rw] image_errors
2661
+ # Describes the errors that are returned when a new image can't be
2662
+ # created.
2663
+ # @return [Array<Types::ResourceError>]
2664
+ #
2569
2665
  # @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/Image AWS API Documentation
2570
2666
  #
2571
2667
  class Image < Struct.new(
@@ -2584,7 +2680,8 @@ module Aws::AppStream
2584
2680
  :created_time,
2585
2681
  :public_base_image_released_date,
2586
2682
  :appstream_agent_version,
2587
- :image_permissions)
2683
+ :image_permissions,
2684
+ :image_errors)
2588
2685
  SENSITIVE = []
2589
2686
  include Aws::Structure
2590
2687
  end
@@ -2839,7 +2936,7 @@ module Aws::AppStream
2839
2936
  include Aws::Structure
2840
2937
  end
2841
2938
 
2842
- # The image does not support storage connectors.
2939
+ # The image can't be updated because it's not compatible for updates.
2843
2940
  #
2844
2941
  # @!attribute [rw] message
2845
2942
  # The error message in the exception.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-appstream
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.51.0
4
+ version: 1.52.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: 2021-03-10 00:00:00.000000000 Z
11
+ date: 2021-04-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -67,8 +67,8 @@ homepage: https://github.com/aws/aws-sdk-ruby
67
67
  licenses:
68
68
  - Apache-2.0
69
69
  metadata:
70
- source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/master/gems/aws-sdk-appstream
71
- changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/master/gems/aws-sdk-appstream/CHANGELOG.md
70
+ source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-appstream
71
+ changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-appstream/CHANGELOG.md
72
72
  post_install_message:
73
73
  rdoc_options: []
74
74
  require_paths: