aws-sdk-workspaces 1.88.0 → 1.90.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: 320103db4e6b2f020c45e139896466cc69be74c4379be8e45d92afee1494c427
4
- data.tar.gz: de18524e0766088e14126e0ab542e68b4abff39d18f455640c7c556968c88d0c
3
+ metadata.gz: 2261bd2f4be3cf54ac67b830233777b25c327f2faf60bed59c9c19d1c1a29570
4
+ data.tar.gz: 7f8e7503589667f597c3fe1b30b16dc15260a12e0742da3884f978fbb5d914b6
5
5
  SHA512:
6
- metadata.gz: 4b355c47de9ed2a6151fbc587438c8179e329be9a2b633da84f56bc53f21a9602a5dfd45125888559abcd63a1a1996e8322a5496f95413196eb7492362edd255
7
- data.tar.gz: 9c07a790fc98147cff3516c7790e8361d8ea9feecf591c80c98958bdef0ebf18ff30248059794375006a5a20c860418b36353a8513bbf9de6d9059ee9ec3bf0d
6
+ metadata.gz: 832a60e5e3d60731efa7895a47ff44f8206b548ddcc1b682ceb07ca43eae0d85160aa80301ef2c9ecef34cb401344aefd16f52a0859122bb0b2a2f73dfb1865b
7
+ data.tar.gz: fe4786553ff4fed26517a081ff3e14433806c3853a602c59fd0eabbf5a14dc8b941331eb60dffd7766b78bbe5e84f3e6807fcda88ceec205f1a291d9a71abd0c
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.90.0 (2023-10-12)
5
+ ------------------
6
+
7
+ * Feature - Updated the CreateWorkspaces action documentation to clarify that the PCoIP protocol is only available for Windows bundles.
8
+
9
+ 1.89.0 (2023-10-05)
10
+ ------------------
11
+
12
+ * Feature - This release introduces Manage applications. This feature allows users to manage their WorkSpaces applications by associating or disassociating their WorkSpaces with applications. The DescribeWorkspaces API will now additionally return OperatingSystemName in its responses.
13
+
4
14
  1.88.0 (2023-09-27)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.88.0
1
+ 1.90.0
@@ -471,6 +471,45 @@ module Aws::WorkSpaces
471
471
  req.send_request(options)
472
472
  end
473
473
 
474
+ # Associates the specified application to the specified WorkSpace.
475
+ #
476
+ # @option params [required, String] :workspace_id
477
+ # The identifier of the WorkSpace.
478
+ #
479
+ # @option params [required, String] :application_id
480
+ # The identifier of the application.
481
+ #
482
+ # @return [Types::AssociateWorkspaceApplicationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
483
+ #
484
+ # * {Types::AssociateWorkspaceApplicationResult#association #association} => Types::WorkspaceResourceAssociation
485
+ #
486
+ # @example Request syntax with placeholder values
487
+ #
488
+ # resp = client.associate_workspace_application({
489
+ # workspace_id: "WorkspaceId", # required
490
+ # application_id: "WorkSpaceApplicationId", # required
491
+ # })
492
+ #
493
+ # @example Response structure
494
+ #
495
+ # resp.association.associated_resource_id #=> String
496
+ # resp.association.associated_resource_type #=> String, one of "APPLICATION"
497
+ # resp.association.created #=> Time
498
+ # resp.association.last_updated_time #=> Time
499
+ # resp.association.state #=> String, one of "PENDING_INSTALL", "PENDING_INSTALL_DEPLOYMENT", "PENDING_UNINSTALL", "PENDING_UNINSTALL_DEPLOYMENT", "INSTALLING", "UNINSTALLING", "ERROR", "COMPLETED", "REMOVED"
500
+ # resp.association.state_reason.error_code #=> String, one of "ValidationError.InsufficientDiskSpace", "ValidationError.InsufficientMemory", "ValidationError.UnsupportedOperatingSystem", "DeploymentError.InternalServerError", "DeploymentError.WorkspaceUnreachable"
501
+ # resp.association.state_reason.error_message #=> String
502
+ # resp.association.workspace_id #=> String
503
+ #
504
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/AssociateWorkspaceApplication AWS API Documentation
505
+ #
506
+ # @overload associate_workspace_application(params = {})
507
+ # @param [Hash] params ({})
508
+ def associate_workspace_application(params = {}, options = {})
509
+ req = build_request(:associate_workspace_application, params)
510
+ req.send_request(options)
511
+ end
512
+
474
513
  # Adds one or more rules to the specified IP access control group.
475
514
  #
476
515
  # This action gives users permission to access their WorkSpaces from the
@@ -1044,9 +1083,11 @@ module Aws::WorkSpaces
1044
1083
  # This operation is asynchronous and returns before the WorkSpaces are
1045
1084
  # created.
1046
1085
  #
1047
- # <note markdown="1"> The `MANUAL` running mode value is only supported by Amazon WorkSpaces
1048
- # Core. Contact your account team to be allow-listed to use this value.
1049
- # For more information, see [Amazon WorkSpaces Core][1].
1086
+ # <note markdown="1"> * The `MANUAL` running mode value is only supported by Amazon
1087
+ # WorkSpaces Core. Contact your account team to be allow-listed to use
1088
+ # this value. For more information, see [Amazon WorkSpaces Core][1].
1089
+ #
1090
+ # * PCoIP is only available for Windows bundles.
1050
1091
  #
1051
1092
  # </note>
1052
1093
  #
@@ -1080,6 +1121,7 @@ module Aws::WorkSpaces
1080
1121
  # user_volume_size_gib: 1,
1081
1122
  # compute_type_name: "VALUE", # accepts VALUE, STANDARD, PERFORMANCE, POWER, GRAPHICS, POWERPRO, GRAPHICSPRO, GRAPHICS_G4DN, GRAPHICSPRO_G4DN
1082
1123
  # protocols: ["PCOIP"], # accepts PCOIP, WSP
1124
+ # operating_system_name: "AMAZON_LINUX_2", # accepts AMAZON_LINUX_2, UBUNTU_18_04, UBUNTU_20_04, UBUNTU_22_04, UNKNOWN, WINDOWS_10, WINDOWS_11, WINDOWS_7, WINDOWS_SERVER_2016, WINDOWS_SERVER_2019, WINDOWS_SERVER_2022
1083
1125
  # },
1084
1126
  # tags: [
1085
1127
  # {
@@ -1107,6 +1149,7 @@ module Aws::WorkSpaces
1107
1149
  # resp.failed_requests[0].workspace_request.workspace_properties.compute_type_name #=> String, one of "VALUE", "STANDARD", "PERFORMANCE", "POWER", "GRAPHICS", "POWERPRO", "GRAPHICSPRO", "GRAPHICS_G4DN", "GRAPHICSPRO_G4DN"
1108
1150
  # resp.failed_requests[0].workspace_request.workspace_properties.protocols #=> Array
1109
1151
  # resp.failed_requests[0].workspace_request.workspace_properties.protocols[0] #=> String, one of "PCOIP", "WSP"
1152
+ # resp.failed_requests[0].workspace_request.workspace_properties.operating_system_name #=> String, one of "AMAZON_LINUX_2", "UBUNTU_18_04", "UBUNTU_20_04", "UBUNTU_22_04", "UNKNOWN", "WINDOWS_10", "WINDOWS_11", "WINDOWS_7", "WINDOWS_SERVER_2016", "WINDOWS_SERVER_2019", "WINDOWS_SERVER_2022"
1110
1153
  # resp.failed_requests[0].workspace_request.tags #=> Array
1111
1154
  # resp.failed_requests[0].workspace_request.tags[0].key #=> String
1112
1155
  # resp.failed_requests[0].workspace_request.tags[0].value #=> String
@@ -1133,6 +1176,7 @@ module Aws::WorkSpaces
1133
1176
  # resp.pending_requests[0].workspace_properties.compute_type_name #=> String, one of "VALUE", "STANDARD", "PERFORMANCE", "POWER", "GRAPHICS", "POWERPRO", "GRAPHICSPRO", "GRAPHICS_G4DN", "GRAPHICSPRO_G4DN"
1134
1177
  # resp.pending_requests[0].workspace_properties.protocols #=> Array
1135
1178
  # resp.pending_requests[0].workspace_properties.protocols[0] #=> String, one of "PCOIP", "WSP"
1179
+ # resp.pending_requests[0].workspace_properties.operating_system_name #=> String, one of "AMAZON_LINUX_2", "UBUNTU_18_04", "UBUNTU_20_04", "UBUNTU_22_04", "UNKNOWN", "WINDOWS_10", "WINDOWS_11", "WINDOWS_7", "WINDOWS_SERVER_2016", "WINDOWS_SERVER_2019", "WINDOWS_SERVER_2022"
1136
1180
  # resp.pending_requests[0].modification_states #=> Array
1137
1181
  # resp.pending_requests[0].modification_states[0].resource #=> String, one of "ROOT_VOLUME", "USER_VOLUME", "COMPUTE_TYPE"
1138
1182
  # resp.pending_requests[0].modification_states[0].state #=> String, one of "UPDATE_INITIATED", "UPDATE_IN_PROGRESS"
@@ -1360,6 +1404,48 @@ module Aws::WorkSpaces
1360
1404
  req.send_request(options)
1361
1405
  end
1362
1406
 
1407
+ # Deploys associated applications to the specified WorkSpace
1408
+ #
1409
+ # @option params [required, String] :workspace_id
1410
+ # The identifier of the WorkSpace.
1411
+ #
1412
+ # @option params [Boolean] :force
1413
+ # Indicates whether the force flag is applied for the specified
1414
+ # WorkSpace. When the force flag is enabled, it allows previously failed
1415
+ # deployments to be retried.
1416
+ #
1417
+ # @return [Types::DeployWorkspaceApplicationsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1418
+ #
1419
+ # * {Types::DeployWorkspaceApplicationsResult#deployment #deployment} => Types::WorkSpaceApplicationDeployment
1420
+ #
1421
+ # @example Request syntax with placeholder values
1422
+ #
1423
+ # resp = client.deploy_workspace_applications({
1424
+ # workspace_id: "WorkspaceId", # required
1425
+ # force: false,
1426
+ # })
1427
+ #
1428
+ # @example Response structure
1429
+ #
1430
+ # resp.deployment.associations #=> Array
1431
+ # resp.deployment.associations[0].associated_resource_id #=> String
1432
+ # resp.deployment.associations[0].associated_resource_type #=> String, one of "APPLICATION"
1433
+ # resp.deployment.associations[0].created #=> Time
1434
+ # resp.deployment.associations[0].last_updated_time #=> Time
1435
+ # resp.deployment.associations[0].state #=> String, one of "PENDING_INSTALL", "PENDING_INSTALL_DEPLOYMENT", "PENDING_UNINSTALL", "PENDING_UNINSTALL_DEPLOYMENT", "INSTALLING", "UNINSTALLING", "ERROR", "COMPLETED", "REMOVED"
1436
+ # resp.deployment.associations[0].state_reason.error_code #=> String, one of "ValidationError.InsufficientDiskSpace", "ValidationError.InsufficientMemory", "ValidationError.UnsupportedOperatingSystem", "DeploymentError.InternalServerError", "DeploymentError.WorkspaceUnreachable"
1437
+ # resp.deployment.associations[0].state_reason.error_message #=> String
1438
+ # resp.deployment.associations[0].workspace_id #=> String
1439
+ #
1440
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DeployWorkspaceApplications AWS API Documentation
1441
+ #
1442
+ # @overload deploy_workspace_applications(params = {})
1443
+ # @param [Hash] params ({})
1444
+ def deploy_workspace_applications(params = {}, options = {})
1445
+ req = build_request(:deploy_workspace_applications, params)
1446
+ req.send_request(options)
1447
+ end
1448
+
1363
1449
  # Deregisters the specified directory. This operation is asynchronous
1364
1450
  # and returns before the WorkSpace directory is deregistered. If any
1365
1451
  # WorkSpaces are registered to this directory, you must remove them
@@ -1467,6 +1553,170 @@ module Aws::WorkSpaces
1467
1553
  req.send_request(options)
1468
1554
  end
1469
1555
 
1556
+ # Describes the associations between the application and the specified
1557
+ # associated resources.
1558
+ #
1559
+ # @option params [Integer] :max_results
1560
+ # The maximum number of associations to return.
1561
+ #
1562
+ # @option params [String] :next_token
1563
+ # If you received a `NextToken` from a previous call that was paginated,
1564
+ # provide this token to receive the next set of results.
1565
+ #
1566
+ # @option params [required, String] :application_id
1567
+ # The identifier of the specified application.
1568
+ #
1569
+ # @option params [required, Array<String>] :associated_resource_types
1570
+ # The resource type of the associated resources.
1571
+ #
1572
+ # @return [Types::DescribeApplicationAssociationsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1573
+ #
1574
+ # * {Types::DescribeApplicationAssociationsResult#associations #associations} => Array&lt;Types::ApplicationResourceAssociation&gt;
1575
+ # * {Types::DescribeApplicationAssociationsResult#next_token #next_token} => String
1576
+ #
1577
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1578
+ #
1579
+ # @example Request syntax with placeholder values
1580
+ #
1581
+ # resp = client.describe_application_associations({
1582
+ # max_results: 1,
1583
+ # next_token: "PaginationToken",
1584
+ # application_id: "WorkSpaceApplicationId", # required
1585
+ # associated_resource_types: ["WORKSPACE"], # required, accepts WORKSPACE, BUNDLE, IMAGE
1586
+ # })
1587
+ #
1588
+ # @example Response structure
1589
+ #
1590
+ # resp.associations #=> Array
1591
+ # resp.associations[0].application_id #=> String
1592
+ # resp.associations[0].associated_resource_id #=> String
1593
+ # resp.associations[0].associated_resource_type #=> String, one of "WORKSPACE", "BUNDLE", "IMAGE"
1594
+ # resp.associations[0].created #=> Time
1595
+ # resp.associations[0].last_updated_time #=> Time
1596
+ # resp.associations[0].state #=> String, one of "PENDING_INSTALL", "PENDING_INSTALL_DEPLOYMENT", "PENDING_UNINSTALL", "PENDING_UNINSTALL_DEPLOYMENT", "INSTALLING", "UNINSTALLING", "ERROR", "COMPLETED", "REMOVED"
1597
+ # resp.associations[0].state_reason.error_code #=> String, one of "ValidationError.InsufficientDiskSpace", "ValidationError.InsufficientMemory", "ValidationError.UnsupportedOperatingSystem", "DeploymentError.InternalServerError", "DeploymentError.WorkspaceUnreachable"
1598
+ # resp.associations[0].state_reason.error_message #=> String
1599
+ # resp.next_token #=> String
1600
+ #
1601
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeApplicationAssociations AWS API Documentation
1602
+ #
1603
+ # @overload describe_application_associations(params = {})
1604
+ # @param [Hash] params ({})
1605
+ def describe_application_associations(params = {}, options = {})
1606
+ req = build_request(:describe_application_associations, params)
1607
+ req.send_request(options)
1608
+ end
1609
+
1610
+ # Describes the specified applications by filtering based on their
1611
+ # compute types, license availability, operating systems, and owners.
1612
+ #
1613
+ # @option params [Array<String>] :application_ids
1614
+ # The identifiers of one or more applications.
1615
+ #
1616
+ # @option params [Array<String>] :compute_type_names
1617
+ # The compute types supported by the applications.
1618
+ #
1619
+ # @option params [String] :license_type
1620
+ # The license availability for the applications.
1621
+ #
1622
+ # @option params [Array<String>] :operating_system_names
1623
+ # The operating systems supported by the applications.
1624
+ #
1625
+ # @option params [String] :owner
1626
+ # The owner of the applications.
1627
+ #
1628
+ # @option params [Integer] :max_results
1629
+ # The maximum number of applications to return.
1630
+ #
1631
+ # @option params [String] :next_token
1632
+ # If you received a `NextToken` from a previous call that was paginated,
1633
+ # provide this token to receive the next set of results.
1634
+ #
1635
+ # @return [Types::DescribeApplicationsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1636
+ #
1637
+ # * {Types::DescribeApplicationsResult#applications #applications} => Array&lt;Types::WorkSpaceApplication&gt;
1638
+ # * {Types::DescribeApplicationsResult#next_token #next_token} => String
1639
+ #
1640
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1641
+ #
1642
+ # @example Request syntax with placeholder values
1643
+ #
1644
+ # resp = client.describe_applications({
1645
+ # application_ids: ["WorkSpaceApplicationId"],
1646
+ # compute_type_names: ["VALUE"], # accepts VALUE, STANDARD, PERFORMANCE, POWER, GRAPHICS, POWERPRO, GRAPHICSPRO, GRAPHICS_G4DN, GRAPHICSPRO_G4DN
1647
+ # license_type: "LICENSED", # accepts LICENSED, UNLICENSED
1648
+ # operating_system_names: ["AMAZON_LINUX_2"], # accepts AMAZON_LINUX_2, UBUNTU_18_04, UBUNTU_20_04, UBUNTU_22_04, UNKNOWN, WINDOWS_10, WINDOWS_11, WINDOWS_7, WINDOWS_SERVER_2016, WINDOWS_SERVER_2019, WINDOWS_SERVER_2022
1649
+ # owner: "WorkSpaceApplicationOwner",
1650
+ # max_results: 1,
1651
+ # next_token: "PaginationToken",
1652
+ # })
1653
+ #
1654
+ # @example Response structure
1655
+ #
1656
+ # resp.applications #=> Array
1657
+ # resp.applications[0].application_id #=> String
1658
+ # resp.applications[0].created #=> Time
1659
+ # resp.applications[0].description #=> String
1660
+ # resp.applications[0].license_type #=> String, one of "LICENSED", "UNLICENSED"
1661
+ # resp.applications[0].name #=> String
1662
+ # resp.applications[0].owner #=> String
1663
+ # resp.applications[0].state #=> String, one of "PENDING", "ERROR", "AVAILABLE", "UNINSTALL_ONLY"
1664
+ # resp.applications[0].supported_compute_type_names #=> Array
1665
+ # resp.applications[0].supported_compute_type_names[0] #=> String, one of "VALUE", "STANDARD", "PERFORMANCE", "POWER", "GRAPHICS", "POWERPRO", "GRAPHICSPRO", "GRAPHICS_G4DN", "GRAPHICSPRO_G4DN"
1666
+ # resp.applications[0].supported_operating_system_names #=> Array
1667
+ # resp.applications[0].supported_operating_system_names[0] #=> String, one of "AMAZON_LINUX_2", "UBUNTU_18_04", "UBUNTU_20_04", "UBUNTU_22_04", "UNKNOWN", "WINDOWS_10", "WINDOWS_11", "WINDOWS_7", "WINDOWS_SERVER_2016", "WINDOWS_SERVER_2019", "WINDOWS_SERVER_2022"
1668
+ # resp.next_token #=> String
1669
+ #
1670
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeApplications AWS API Documentation
1671
+ #
1672
+ # @overload describe_applications(params = {})
1673
+ # @param [Hash] params ({})
1674
+ def describe_applications(params = {}, options = {})
1675
+ req = build_request(:describe_applications, params)
1676
+ req.send_request(options)
1677
+ end
1678
+
1679
+ # Describes the associations between the applications and the specified
1680
+ # bundle.
1681
+ #
1682
+ # @option params [required, String] :bundle_id
1683
+ # The identifier of the bundle.
1684
+ #
1685
+ # @option params [required, Array<String>] :associated_resource_types
1686
+ # The resource types of the associated resource.
1687
+ #
1688
+ # @return [Types::DescribeBundleAssociationsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1689
+ #
1690
+ # * {Types::DescribeBundleAssociationsResult#associations #associations} => Array&lt;Types::BundleResourceAssociation&gt;
1691
+ #
1692
+ # @example Request syntax with placeholder values
1693
+ #
1694
+ # resp = client.describe_bundle_associations({
1695
+ # bundle_id: "BundleId", # required
1696
+ # associated_resource_types: ["APPLICATION"], # required, accepts APPLICATION
1697
+ # })
1698
+ #
1699
+ # @example Response structure
1700
+ #
1701
+ # resp.associations #=> Array
1702
+ # resp.associations[0].associated_resource_id #=> String
1703
+ # resp.associations[0].associated_resource_type #=> String, one of "APPLICATION"
1704
+ # resp.associations[0].bundle_id #=> String
1705
+ # resp.associations[0].created #=> Time
1706
+ # resp.associations[0].last_updated_time #=> Time
1707
+ # resp.associations[0].state #=> String, one of "PENDING_INSTALL", "PENDING_INSTALL_DEPLOYMENT", "PENDING_UNINSTALL", "PENDING_UNINSTALL_DEPLOYMENT", "INSTALLING", "UNINSTALLING", "ERROR", "COMPLETED", "REMOVED"
1708
+ # resp.associations[0].state_reason.error_code #=> String, one of "ValidationError.InsufficientDiskSpace", "ValidationError.InsufficientMemory", "ValidationError.UnsupportedOperatingSystem", "DeploymentError.InternalServerError", "DeploymentError.WorkspaceUnreachable"
1709
+ # resp.associations[0].state_reason.error_message #=> String
1710
+ #
1711
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeBundleAssociations AWS API Documentation
1712
+ #
1713
+ # @overload describe_bundle_associations(params = {})
1714
+ # @param [Hash] params ({})
1715
+ def describe_bundle_associations(params = {}, options = {})
1716
+ req = build_request(:describe_bundle_associations, params)
1717
+ req.send_request(options)
1718
+ end
1719
+
1470
1720
  # Describes the specified client branding. Client branding allows you to
1471
1721
  # customize the log in page of various device types for your users. You
1472
1722
  # can add your company logo, the support email address, support link,
@@ -1731,6 +1981,47 @@ module Aws::WorkSpaces
1731
1981
  req.send_request(options)
1732
1982
  end
1733
1983
 
1984
+ # Describes the associations between the applications and the specified
1985
+ # image.
1986
+ #
1987
+ # @option params [required, String] :image_id
1988
+ # The identifier of the image.
1989
+ #
1990
+ # @option params [required, Array<String>] :associated_resource_types
1991
+ # The resource types of the associated resource.
1992
+ #
1993
+ # @return [Types::DescribeImageAssociationsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1994
+ #
1995
+ # * {Types::DescribeImageAssociationsResult#associations #associations} => Array&lt;Types::ImageResourceAssociation&gt;
1996
+ #
1997
+ # @example Request syntax with placeholder values
1998
+ #
1999
+ # resp = client.describe_image_associations({
2000
+ # image_id: "WorkspaceImageId", # required
2001
+ # associated_resource_types: ["APPLICATION"], # required, accepts APPLICATION
2002
+ # })
2003
+ #
2004
+ # @example Response structure
2005
+ #
2006
+ # resp.associations #=> Array
2007
+ # resp.associations[0].associated_resource_id #=> String
2008
+ # resp.associations[0].associated_resource_type #=> String, one of "APPLICATION"
2009
+ # resp.associations[0].created #=> Time
2010
+ # resp.associations[0].last_updated_time #=> Time
2011
+ # resp.associations[0].image_id #=> String
2012
+ # resp.associations[0].state #=> String, one of "PENDING_INSTALL", "PENDING_INSTALL_DEPLOYMENT", "PENDING_UNINSTALL", "PENDING_UNINSTALL_DEPLOYMENT", "INSTALLING", "UNINSTALLING", "ERROR", "COMPLETED", "REMOVED"
2013
+ # resp.associations[0].state_reason.error_code #=> String, one of "ValidationError.InsufficientDiskSpace", "ValidationError.InsufficientMemory", "ValidationError.UnsupportedOperatingSystem", "DeploymentError.InternalServerError", "DeploymentError.WorkspaceUnreachable"
2014
+ # resp.associations[0].state_reason.error_message #=> String
2015
+ #
2016
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeImageAssociations AWS API Documentation
2017
+ #
2018
+ # @overload describe_image_associations(params = {})
2019
+ # @param [Hash] params ({})
2020
+ def describe_image_associations(params = {}, options = {})
2021
+ req = build_request(:describe_image_associations, params)
2022
+ req.send_request(options)
2023
+ end
2024
+
1734
2025
  # Describes one or more of your IP access control groups.
1735
2026
  #
1736
2027
  # @option params [Array<String>] :group_ids
@@ -1808,6 +2099,47 @@ module Aws::WorkSpaces
1808
2099
  req.send_request(options)
1809
2100
  end
1810
2101
 
2102
+ # Describes the associations betweens applications and the specified
2103
+ # WorkSpace.
2104
+ #
2105
+ # @option params [required, String] :workspace_id
2106
+ # The identifier of the WorkSpace.
2107
+ #
2108
+ # @option params [required, Array<String>] :associated_resource_types
2109
+ # The resource types of the associated resources.
2110
+ #
2111
+ # @return [Types::DescribeWorkspaceAssociationsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2112
+ #
2113
+ # * {Types::DescribeWorkspaceAssociationsResult#associations #associations} => Array&lt;Types::WorkspaceResourceAssociation&gt;
2114
+ #
2115
+ # @example Request syntax with placeholder values
2116
+ #
2117
+ # resp = client.describe_workspace_associations({
2118
+ # workspace_id: "WorkspaceId", # required
2119
+ # associated_resource_types: ["APPLICATION"], # required, accepts APPLICATION
2120
+ # })
2121
+ #
2122
+ # @example Response structure
2123
+ #
2124
+ # resp.associations #=> Array
2125
+ # resp.associations[0].associated_resource_id #=> String
2126
+ # resp.associations[0].associated_resource_type #=> String, one of "APPLICATION"
2127
+ # resp.associations[0].created #=> Time
2128
+ # resp.associations[0].last_updated_time #=> Time
2129
+ # resp.associations[0].state #=> String, one of "PENDING_INSTALL", "PENDING_INSTALL_DEPLOYMENT", "PENDING_UNINSTALL", "PENDING_UNINSTALL_DEPLOYMENT", "INSTALLING", "UNINSTALLING", "ERROR", "COMPLETED", "REMOVED"
2130
+ # resp.associations[0].state_reason.error_code #=> String, one of "ValidationError.InsufficientDiskSpace", "ValidationError.InsufficientMemory", "ValidationError.UnsupportedOperatingSystem", "DeploymentError.InternalServerError", "DeploymentError.WorkspaceUnreachable"
2131
+ # resp.associations[0].state_reason.error_message #=> String
2132
+ # resp.associations[0].workspace_id #=> String
2133
+ #
2134
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspaceAssociations AWS API Documentation
2135
+ #
2136
+ # @overload describe_workspace_associations(params = {})
2137
+ # @param [Hash] params ({})
2138
+ def describe_workspace_associations(params = {}, options = {})
2139
+ req = build_request(:describe_workspace_associations, params)
2140
+ req.send_request(options)
2141
+ end
2142
+
1811
2143
  # Retrieves a list that describes the available WorkSpace bundles.
1812
2144
  #
1813
2145
  # You can filter the results using either bundle ID or owner, but not
@@ -2163,6 +2495,7 @@ module Aws::WorkSpaces
2163
2495
  # resp.workspaces[0].workspace_properties.compute_type_name #=> String, one of "VALUE", "STANDARD", "PERFORMANCE", "POWER", "GRAPHICS", "POWERPRO", "GRAPHICSPRO", "GRAPHICS_G4DN", "GRAPHICSPRO_G4DN"
2164
2496
  # resp.workspaces[0].workspace_properties.protocols #=> Array
2165
2497
  # resp.workspaces[0].workspace_properties.protocols[0] #=> String, one of "PCOIP", "WSP"
2498
+ # resp.workspaces[0].workspace_properties.operating_system_name #=> String, one of "AMAZON_LINUX_2", "UBUNTU_18_04", "UBUNTU_20_04", "UBUNTU_22_04", "UNKNOWN", "WINDOWS_10", "WINDOWS_11", "WINDOWS_7", "WINDOWS_SERVER_2016", "WINDOWS_SERVER_2019", "WINDOWS_SERVER_2022"
2166
2499
  # resp.workspaces[0].modification_states #=> Array
2167
2500
  # resp.workspaces[0].modification_states[0].resource #=> String, one of "ROOT_VOLUME", "USER_VOLUME", "COMPUTE_TYPE"
2168
2501
  # resp.workspaces[0].modification_states[0].state #=> String, one of "UPDATE_INITIATED", "UPDATE_IN_PROGRESS"
@@ -2285,6 +2618,45 @@ module Aws::WorkSpaces
2285
2618
  req.send_request(options)
2286
2619
  end
2287
2620
 
2621
+ # Disassociates the specified application from a WorkSpace.
2622
+ #
2623
+ # @option params [required, String] :workspace_id
2624
+ # The identifier of the WorkSpace.
2625
+ #
2626
+ # @option params [required, String] :application_id
2627
+ # The identifier of the application.
2628
+ #
2629
+ # @return [Types::DisassociateWorkspaceApplicationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2630
+ #
2631
+ # * {Types::DisassociateWorkspaceApplicationResult#association #association} => Types::WorkspaceResourceAssociation
2632
+ #
2633
+ # @example Request syntax with placeholder values
2634
+ #
2635
+ # resp = client.disassociate_workspace_application({
2636
+ # workspace_id: "WorkspaceId", # required
2637
+ # application_id: "WorkSpaceApplicationId", # required
2638
+ # })
2639
+ #
2640
+ # @example Response structure
2641
+ #
2642
+ # resp.association.associated_resource_id #=> String
2643
+ # resp.association.associated_resource_type #=> String, one of "APPLICATION"
2644
+ # resp.association.created #=> Time
2645
+ # resp.association.last_updated_time #=> Time
2646
+ # resp.association.state #=> String, one of "PENDING_INSTALL", "PENDING_INSTALL_DEPLOYMENT", "PENDING_UNINSTALL", "PENDING_UNINSTALL_DEPLOYMENT", "INSTALLING", "UNINSTALLING", "ERROR", "COMPLETED", "REMOVED"
2647
+ # resp.association.state_reason.error_code #=> String, one of "ValidationError.InsufficientDiskSpace", "ValidationError.InsufficientMemory", "ValidationError.UnsupportedOperatingSystem", "DeploymentError.InternalServerError", "DeploymentError.WorkspaceUnreachable"
2648
+ # resp.association.state_reason.error_message #=> String
2649
+ # resp.association.workspace_id #=> String
2650
+ #
2651
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DisassociateWorkspaceApplication AWS API Documentation
2652
+ #
2653
+ # @overload disassociate_workspace_application(params = {})
2654
+ # @param [Hash] params ({})
2655
+ def disassociate_workspace_application(params = {}, options = {})
2656
+ req = build_request(:disassociate_workspace_application, params)
2657
+ req.send_request(options)
2658
+ end
2659
+
2288
2660
  # Imports client branding. Client branding allows you to customize your
2289
2661
  # WorkSpace's client login portal. You can tailor your login portal
2290
2662
  # company logo, the support email address, support link, link to reset
@@ -2938,6 +3310,7 @@ module Aws::WorkSpaces
2938
3310
  # user_volume_size_gib: 1,
2939
3311
  # compute_type_name: "VALUE", # accepts VALUE, STANDARD, PERFORMANCE, POWER, GRAPHICS, POWERPRO, GRAPHICSPRO, GRAPHICS_G4DN, GRAPHICSPRO_G4DN
2940
3312
  # protocols: ["PCOIP"], # accepts PCOIP, WSP
3313
+ # operating_system_name: "AMAZON_LINUX_2", # accepts AMAZON_LINUX_2, UBUNTU_18_04, UBUNTU_20_04, UBUNTU_22_04, UNKNOWN, WINDOWS_10, WINDOWS_11, WINDOWS_7, WINDOWS_SERVER_2016, WINDOWS_SERVER_2019, WINDOWS_SERVER_2022
2941
3314
  # },
2942
3315
  # })
2943
3316
  #
@@ -3595,7 +3968,7 @@ module Aws::WorkSpaces
3595
3968
  params: params,
3596
3969
  config: config)
3597
3970
  context[:gem_name] = 'aws-sdk-workspaces'
3598
- context[:gem_version] = '1.88.0'
3971
+ context[:gem_version] = '1.90.0'
3599
3972
  Seahorse::Client::Request.new(handlers, context)
3600
3973
  end
3601
3974