aws-sdk-drs 1.19.0 → 1.21.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -202,6 +202,10 @@ module Aws::Drs
202
202
  # Licensing.
203
203
  # @return [Types::Licensing]
204
204
  #
205
+ # @!attribute [rw] post_launch_enabled
206
+ # Whether we want to activate post-launch actions.
207
+ # @return [Boolean]
208
+ #
205
209
  # @!attribute [rw] tags
206
210
  # Request to associate tags during creation of a Launch Configuration
207
211
  # Template.
@@ -219,6 +223,7 @@ module Aws::Drs
219
223
  :export_bucket_arn,
220
224
  :launch_disposition,
221
225
  :licensing,
226
+ :post_launch_enabled,
222
227
  :tags,
223
228
  :target_instance_type_right_sizing_method)
224
229
  SENSITIVE = [:tags]
@@ -523,6 +528,27 @@ module Aws::Drs
523
528
  #
524
529
  class DeleteJobResponse < Aws::EmptyStructure; end
525
530
 
531
+ # @!attribute [rw] action_id
532
+ # Launch action Id.
533
+ # @return [String]
534
+ #
535
+ # @!attribute [rw] resource_id
536
+ # Launch configuration template Id or Source Server Id
537
+ # @return [String]
538
+ #
539
+ # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/DeleteLaunchActionRequest AWS API Documentation
540
+ #
541
+ class DeleteLaunchActionRequest < Struct.new(
542
+ :action_id,
543
+ :resource_id)
544
+ SENSITIVE = []
545
+ include Aws::Structure
546
+ end
547
+
548
+ # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/DeleteLaunchActionResponse AWS API Documentation
549
+ #
550
+ class DeleteLaunchActionResponse < Aws::EmptyStructure; end
551
+
526
552
  # @!attribute [rw] launch_configuration_template_id
527
553
  # The ID of the Launch Configuration Template to be deleted.
528
554
  # @return [String]
@@ -1381,6 +1407,153 @@ module Aws::Drs
1381
1407
  include Aws::Structure
1382
1408
  end
1383
1409
 
1410
+ # Launch action.
1411
+ #
1412
+ # @!attribute [rw] action_code
1413
+ # Launch action code.
1414
+ # @return [String]
1415
+ #
1416
+ # @!attribute [rw] action_id
1417
+ # Launch action Id.
1418
+ # @return [String]
1419
+ #
1420
+ # @!attribute [rw] action_version
1421
+ # Launch action version.
1422
+ # @return [String]
1423
+ #
1424
+ # @!attribute [rw] active
1425
+ # Whether the launch action is active.
1426
+ # @return [Boolean]
1427
+ #
1428
+ # @!attribute [rw] category
1429
+ # Launch action category.
1430
+ # @return [String]
1431
+ #
1432
+ # @!attribute [rw] description
1433
+ # Launch action description.
1434
+ # @return [String]
1435
+ #
1436
+ # @!attribute [rw] name
1437
+ # Launch action name.
1438
+ # @return [String]
1439
+ #
1440
+ # @!attribute [rw] optional
1441
+ # Whether the launch will not be marked as failed if this action
1442
+ # fails.
1443
+ # @return [Boolean]
1444
+ #
1445
+ # @!attribute [rw] order
1446
+ # Launch action order.
1447
+ # @return [Integer]
1448
+ #
1449
+ # @!attribute [rw] parameters
1450
+ # Launch action parameters.
1451
+ # @return [Hash<String,Types::LaunchActionParameter>]
1452
+ #
1453
+ # @!attribute [rw] type
1454
+ # Launch action type.
1455
+ # @return [String]
1456
+ #
1457
+ # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/LaunchAction AWS API Documentation
1458
+ #
1459
+ class LaunchAction < Struct.new(
1460
+ :action_code,
1461
+ :action_id,
1462
+ :action_version,
1463
+ :active,
1464
+ :category,
1465
+ :description,
1466
+ :name,
1467
+ :optional,
1468
+ :order,
1469
+ :parameters,
1470
+ :type)
1471
+ SENSITIVE = []
1472
+ include Aws::Structure
1473
+ end
1474
+
1475
+ # Launch action parameter.
1476
+ #
1477
+ # @!attribute [rw] type
1478
+ # Type.
1479
+ # @return [String]
1480
+ #
1481
+ # @!attribute [rw] value
1482
+ # Value.
1483
+ # @return [String]
1484
+ #
1485
+ # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/LaunchActionParameter AWS API Documentation
1486
+ #
1487
+ class LaunchActionParameter < Struct.new(
1488
+ :type,
1489
+ :value)
1490
+ SENSITIVE = []
1491
+ include Aws::Structure
1492
+ end
1493
+
1494
+ # Launch action run.
1495
+ #
1496
+ # @!attribute [rw] action
1497
+ # Action.
1498
+ # @return [Types::LaunchAction]
1499
+ #
1500
+ # @!attribute [rw] failure_reason
1501
+ # Failure reason.
1502
+ # @return [String]
1503
+ #
1504
+ # @!attribute [rw] run_id
1505
+ # Run Id.
1506
+ # @return [String]
1507
+ #
1508
+ # @!attribute [rw] status
1509
+ # Run status.
1510
+ # @return [String]
1511
+ #
1512
+ # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/LaunchActionRun AWS API Documentation
1513
+ #
1514
+ class LaunchActionRun < Struct.new(
1515
+ :action,
1516
+ :failure_reason,
1517
+ :run_id,
1518
+ :status)
1519
+ SENSITIVE = []
1520
+ include Aws::Structure
1521
+ end
1522
+
1523
+ # Resource launch actions filter.
1524
+ #
1525
+ # @!attribute [rw] action_ids
1526
+ # Launch actions Ids.
1527
+ # @return [Array<String>]
1528
+ #
1529
+ # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/LaunchActionsRequestFilters AWS API Documentation
1530
+ #
1531
+ class LaunchActionsRequestFilters < Struct.new(
1532
+ :action_ids)
1533
+ SENSITIVE = []
1534
+ include Aws::Structure
1535
+ end
1536
+
1537
+ # Launch actions status.
1538
+ #
1539
+ # @!attribute [rw] runs
1540
+ # List of post launch action status.
1541
+ # @return [Array<Types::LaunchActionRun>]
1542
+ #
1543
+ # @!attribute [rw] ssm_agent_discovery_datetime
1544
+ # Time where the AWS Systems Manager was detected as running on the
1545
+ # launched instance.
1546
+ # @return [String]
1547
+ #
1548
+ # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/LaunchActionsStatus AWS API Documentation
1549
+ #
1550
+ class LaunchActionsStatus < Struct.new(
1551
+ :runs,
1552
+ :ssm_agent_discovery_datetime)
1553
+ SENSITIVE = []
1554
+ include Aws::Structure
1555
+ end
1556
+
1384
1557
  # @!attribute [rw] copy_private_ip
1385
1558
  # Whether we should copy the Private IP of the Source Server to the
1386
1559
  # Recovery Instance.
@@ -1409,6 +1582,11 @@ module Aws::Drs
1409
1582
  # The name of the launch configuration.
1410
1583
  # @return [String]
1411
1584
  #
1585
+ # @!attribute [rw] post_launch_enabled
1586
+ # Whether we want to activate post-launch actions for the Source
1587
+ # Server.
1588
+ # @return [Boolean]
1589
+ #
1412
1590
  # @!attribute [rw] source_server_id
1413
1591
  # The ID of the Source Server for this launch configuration.
1414
1592
  # @return [String]
@@ -1428,6 +1606,7 @@ module Aws::Drs
1428
1606
  :launch_disposition,
1429
1607
  :licensing,
1430
1608
  :name,
1609
+ :post_launch_enabled,
1431
1610
  :source_server_id,
1432
1611
  :target_instance_type_right_sizing_method)
1433
1612
  SENSITIVE = []
@@ -1464,6 +1643,10 @@ module Aws::Drs
1464
1643
  # Licensing.
1465
1644
  # @return [Types::Licensing]
1466
1645
  #
1646
+ # @!attribute [rw] post_launch_enabled
1647
+ # Post-launch actions activated.
1648
+ # @return [Boolean]
1649
+ #
1467
1650
  # @!attribute [rw] tags
1468
1651
  # Tags of the Launch Configuration Template.
1469
1652
  # @return [Hash<String,String>]
@@ -1482,6 +1665,7 @@ module Aws::Drs
1482
1665
  :launch_configuration_template_id,
1483
1666
  :launch_disposition,
1484
1667
  :licensing,
1668
+ :post_launch_enabled,
1485
1669
  :tags,
1486
1670
  :target_instance_type_right_sizing_method)
1487
1671
  SENSITIVE = [:tags]
@@ -1625,6 +1809,51 @@ module Aws::Drs
1625
1809
  include Aws::Structure
1626
1810
  end
1627
1811
 
1812
+ # @!attribute [rw] filters
1813
+ # Filters to apply when listing resource launch actions.
1814
+ # @return [Types::LaunchActionsRequestFilters]
1815
+ #
1816
+ # @!attribute [rw] max_results
1817
+ # Maximum amount of items to return when listing resource launch
1818
+ # actions.
1819
+ # @return [Integer]
1820
+ #
1821
+ # @!attribute [rw] next_token
1822
+ # Next token to use when listing resource launch actions.
1823
+ # @return [String]
1824
+ #
1825
+ # @!attribute [rw] resource_id
1826
+ # Launch configuration template Id or Source Server Id
1827
+ # @return [String]
1828
+ #
1829
+ # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/ListLaunchActionsRequest AWS API Documentation
1830
+ #
1831
+ class ListLaunchActionsRequest < Struct.new(
1832
+ :filters,
1833
+ :max_results,
1834
+ :next_token,
1835
+ :resource_id)
1836
+ SENSITIVE = []
1837
+ include Aws::Structure
1838
+ end
1839
+
1840
+ # @!attribute [rw] items
1841
+ # List of resource launch actions.
1842
+ # @return [Array<Types::LaunchAction>]
1843
+ #
1844
+ # @!attribute [rw] next_token
1845
+ # Next token returned when listing resource launch actions.
1846
+ # @return [String]
1847
+ #
1848
+ # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/ListLaunchActionsResponse AWS API Documentation
1849
+ #
1850
+ class ListLaunchActionsResponse < Struct.new(
1851
+ :items,
1852
+ :next_token)
1853
+ SENSITIVE = []
1854
+ include Aws::Structure
1855
+ end
1856
+
1628
1857
  # @!attribute [rw] max_results
1629
1858
  # The maximum number of staging Accounts to retrieve.
1630
1859
  # @return [Integer]
@@ -1798,6 +2027,10 @@ module Aws::Drs
1798
2027
 
1799
2028
  # Represents a server participating in an asynchronous Job.
1800
2029
  #
2030
+ # @!attribute [rw] launch_actions_status
2031
+ # The post-launch action runs of a participating server.
2032
+ # @return [Types::LaunchActionsStatus]
2033
+ #
1801
2034
  # @!attribute [rw] launch_status
1802
2035
  # The launch status of a participating server.
1803
2036
  # @return [String]
@@ -1813,6 +2046,7 @@ module Aws::Drs
1813
2046
  # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/ParticipatingServer AWS API Documentation
1814
2047
  #
1815
2048
  class ParticipatingServer < Struct.new(
2049
+ :launch_actions_status,
1816
2050
  :launch_status,
1817
2051
  :recovery_instance_id,
1818
2052
  :source_server_id)
@@ -1820,6 +2054,137 @@ module Aws::Drs
1820
2054
  include Aws::Structure
1821
2055
  end
1822
2056
 
2057
+ # @!attribute [rw] action_code
2058
+ # Launch action code.
2059
+ # @return [String]
2060
+ #
2061
+ # @!attribute [rw] action_id
2062
+ # Launch action Id.
2063
+ # @return [String]
2064
+ #
2065
+ # @!attribute [rw] action_version
2066
+ # Launch action version.
2067
+ # @return [String]
2068
+ #
2069
+ # @!attribute [rw] active
2070
+ # Whether the launch action is active.
2071
+ # @return [Boolean]
2072
+ #
2073
+ # @!attribute [rw] category
2074
+ # Launch action category.
2075
+ # @return [String]
2076
+ #
2077
+ # @!attribute [rw] description
2078
+ # Launch action description.
2079
+ # @return [String]
2080
+ #
2081
+ # @!attribute [rw] name
2082
+ # Launch action name.
2083
+ # @return [String]
2084
+ #
2085
+ # @!attribute [rw] optional
2086
+ # Whether the launch will not be marked as failed if this action
2087
+ # fails.
2088
+ # @return [Boolean]
2089
+ #
2090
+ # @!attribute [rw] order
2091
+ # Launch action order.
2092
+ # @return [Integer]
2093
+ #
2094
+ # @!attribute [rw] parameters
2095
+ # Launch action parameters.
2096
+ # @return [Hash<String,Types::LaunchActionParameter>]
2097
+ #
2098
+ # @!attribute [rw] resource_id
2099
+ # Launch configuration template Id or Source Server Id
2100
+ # @return [String]
2101
+ #
2102
+ # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/PutLaunchActionRequest AWS API Documentation
2103
+ #
2104
+ class PutLaunchActionRequest < Struct.new(
2105
+ :action_code,
2106
+ :action_id,
2107
+ :action_version,
2108
+ :active,
2109
+ :category,
2110
+ :description,
2111
+ :name,
2112
+ :optional,
2113
+ :order,
2114
+ :parameters,
2115
+ :resource_id)
2116
+ SENSITIVE = []
2117
+ include Aws::Structure
2118
+ end
2119
+
2120
+ # @!attribute [rw] action_code
2121
+ # Launch action code.
2122
+ # @return [String]
2123
+ #
2124
+ # @!attribute [rw] action_id
2125
+ # Launch action Id.
2126
+ # @return [String]
2127
+ #
2128
+ # @!attribute [rw] action_version
2129
+ # Launch action version.
2130
+ # @return [String]
2131
+ #
2132
+ # @!attribute [rw] active
2133
+ # Whether the launch action is active.
2134
+ # @return [Boolean]
2135
+ #
2136
+ # @!attribute [rw] category
2137
+ # Launch action category.
2138
+ # @return [String]
2139
+ #
2140
+ # @!attribute [rw] description
2141
+ # Launch action description.
2142
+ # @return [String]
2143
+ #
2144
+ # @!attribute [rw] name
2145
+ # Launch action name.
2146
+ # @return [String]
2147
+ #
2148
+ # @!attribute [rw] optional
2149
+ # Whether the launch will not be marked as failed if this action
2150
+ # fails.
2151
+ # @return [Boolean]
2152
+ #
2153
+ # @!attribute [rw] order
2154
+ # Launch action order.
2155
+ # @return [Integer]
2156
+ #
2157
+ # @!attribute [rw] parameters
2158
+ # Launch action parameters.
2159
+ # @return [Hash<String,Types::LaunchActionParameter>]
2160
+ #
2161
+ # @!attribute [rw] resource_id
2162
+ # Launch configuration template Id or Source Server Id
2163
+ # @return [String]
2164
+ #
2165
+ # @!attribute [rw] type
2166
+ # Launch action type.
2167
+ # @return [String]
2168
+ #
2169
+ # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/PutLaunchActionResponse AWS API Documentation
2170
+ #
2171
+ class PutLaunchActionResponse < Struct.new(
2172
+ :action_code,
2173
+ :action_id,
2174
+ :action_version,
2175
+ :active,
2176
+ :category,
2177
+ :description,
2178
+ :name,
2179
+ :optional,
2180
+ :order,
2181
+ :parameters,
2182
+ :resource_id,
2183
+ :type)
2184
+ SENSITIVE = []
2185
+ include Aws::Structure
2186
+ end
2187
+
1823
2188
  # A Recovery Instance is a replica of a Source Server running on EC2.
1824
2189
  #
1825
2190
  # @!attribute [rw] arn
@@ -3304,6 +3669,10 @@ module Aws::Drs
3304
3669
  # The name of the launch configuration.
3305
3670
  # @return [String]
3306
3671
  #
3672
+ # @!attribute [rw] post_launch_enabled
3673
+ # Whether we want to enable post-launch actions for the Source Server.
3674
+ # @return [Boolean]
3675
+ #
3307
3676
  # @!attribute [rw] source_server_id
3308
3677
  # The ID of the Source Server that we want to retrieve a Launch
3309
3678
  # Configuration for.
@@ -3323,6 +3692,7 @@ module Aws::Drs
3323
3692
  :launch_disposition,
3324
3693
  :licensing,
3325
3694
  :name,
3695
+ :post_launch_enabled,
3326
3696
  :source_server_id,
3327
3697
  :target_instance_type_right_sizing_method)
3328
3698
  SENSITIVE = []
@@ -3353,6 +3723,10 @@ module Aws::Drs
3353
3723
  # Licensing.
3354
3724
  # @return [Types::Licensing]
3355
3725
  #
3726
+ # @!attribute [rw] post_launch_enabled
3727
+ # Whether we want to activate post-launch actions.
3728
+ # @return [Boolean]
3729
+ #
3356
3730
  # @!attribute [rw] target_instance_type_right_sizing_method
3357
3731
  # Target instance type right-sizing method.
3358
3732
  # @return [String]
@@ -3366,6 +3740,7 @@ module Aws::Drs
3366
3740
  :launch_configuration_template_id,
3367
3741
  :launch_disposition,
3368
3742
  :licensing,
3743
+ :post_launch_enabled,
3369
3744
  :target_instance_type_right_sizing_method)
3370
3745
  SENSITIVE = []
3371
3746
  include Aws::Structure
data/lib/aws-sdk-drs.rb CHANGED
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-drs/customizations'
52
52
  # @!group service
53
53
  module Aws::Drs
54
54
 
55
- GEM_VERSION = '1.19.0'
55
+ GEM_VERSION = '1.21.0'
56
56
 
57
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-drs
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.19.0
4
+ version: 1.21.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: 2023-07-11 00:00:00.000000000 Z
11
+ date: 2023-09-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core