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