aws-sdk-imagebuilder 1.51.0 → 1.53.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.
@@ -211,7 +211,7 @@ module Aws::Imagebuilder
211
211
  # @return [String]
212
212
  #
213
213
  # @!attribute [rw] client_token
214
- # The idempotency token that was used for this request.
214
+ # The client token that uniquely identifies the request.
215
215
  # @return [String]
216
216
  #
217
217
  # @!attribute [rw] image_build_version_arn
@@ -228,6 +228,46 @@ module Aws::Imagebuilder
228
228
  include Aws::Structure
229
229
  end
230
230
 
231
+ # @!attribute [rw] lifecycle_execution_id
232
+ # Identifies the specific runtime instance of the image lifecycle to
233
+ # cancel.
234
+ # @return [String]
235
+ #
236
+ # @!attribute [rw] client_token
237
+ # Unique, case-sensitive identifier you provide to ensure idempotency
238
+ # of the request. For more information, see [Ensuring idempotency][1]
239
+ # in the *Amazon EC2 API Reference*.
240
+ #
241
+ # **A suitable default value is auto-generated.** You should normally
242
+ # not need to pass this option.
243
+ #
244
+ #
245
+ #
246
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
247
+ # @return [String]
248
+ #
249
+ # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/CancelLifecycleExecutionRequest AWS API Documentation
250
+ #
251
+ class CancelLifecycleExecutionRequest < Struct.new(
252
+ :lifecycle_execution_id,
253
+ :client_token)
254
+ SENSITIVE = []
255
+ include Aws::Structure
256
+ end
257
+
258
+ # @!attribute [rw] lifecycle_execution_id
259
+ # The unique identifier for the image lifecycle runtime instance that
260
+ # was canceled.
261
+ # @return [String]
262
+ #
263
+ # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/CancelLifecycleExecutionResponse AWS API Documentation
264
+ #
265
+ class CancelLifecycleExecutionResponse < Struct.new(
266
+ :lifecycle_execution_id)
267
+ SENSITIVE = []
268
+ include Aws::Structure
269
+ end
270
+
231
271
  # These errors are usually caused by a client action, such as using an
232
272
  # action or resource on behalf of a user that doesn't have permissions
233
273
  # to use the action or resource, or specifying an invalid resource
@@ -927,10 +967,16 @@ module Aws::Imagebuilder
927
967
  # @return [Hash<String,String>]
928
968
  #
929
969
  # @!attribute [rw] client_token
930
- # The idempotency token of the component.
970
+ # Unique, case-sensitive identifier you provide to ensure idempotency
971
+ # of the request. For more information, see [Ensuring idempotency][1]
972
+ # in the *Amazon EC2 API Reference*.
931
973
  #
932
974
  # **A suitable default value is auto-generated.** You should normally
933
975
  # not need to pass this option.
976
+ #
977
+ #
978
+ #
979
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
934
980
  # @return [String]
935
981
  #
936
982
  # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/CreateComponentRequest AWS API Documentation
@@ -956,11 +1002,11 @@ module Aws::Imagebuilder
956
1002
  # @return [String]
957
1003
  #
958
1004
  # @!attribute [rw] client_token
959
- # The idempotency token used to make this request idempotent.
1005
+ # The client token that uniquely identifies the request.
960
1006
  # @return [String]
961
1007
  #
962
1008
  # @!attribute [rw] component_build_version_arn
963
- # The Amazon Resource Name (ARN) of the component that this request
1009
+ # The Amazon Resource Name (ARN) of the component that the request
964
1010
  # created.
965
1011
  # @return [String]
966
1012
  #
@@ -1058,10 +1104,16 @@ module Aws::Imagebuilder
1058
1104
  # @return [String]
1059
1105
  #
1060
1106
  # @!attribute [rw] client_token
1061
- # The client token used to make this request idempotent.
1107
+ # Unique, case-sensitive identifier you provide to ensure idempotency
1108
+ # of the request. For more information, see [Ensuring idempotency][1]
1109
+ # in the *Amazon EC2 API Reference*.
1062
1110
  #
1063
1111
  # **A suitable default value is auto-generated.** You should normally
1064
1112
  # not need to pass this option.
1113
+ #
1114
+ #
1115
+ #
1116
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
1065
1117
  # @return [String]
1066
1118
  #
1067
1119
  # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/CreateContainerRecipeRequest AWS API Documentation
@@ -1092,7 +1144,7 @@ module Aws::Imagebuilder
1092
1144
  # @return [String]
1093
1145
  #
1094
1146
  # @!attribute [rw] client_token
1095
- # The client token used to make this request idempotent.
1147
+ # The client token that uniquely identifies the request.
1096
1148
  # @return [String]
1097
1149
  #
1098
1150
  # @!attribute [rw] container_recipe_arn
@@ -1127,10 +1179,16 @@ module Aws::Imagebuilder
1127
1179
  # @return [Hash<String,String>]
1128
1180
  #
1129
1181
  # @!attribute [rw] client_token
1130
- # The idempotency token of the distribution configuration.
1182
+ # Unique, case-sensitive identifier you provide to ensure idempotency
1183
+ # of the request. For more information, see [Ensuring idempotency][1]
1184
+ # in the *Amazon EC2 API Reference*.
1131
1185
  #
1132
1186
  # **A suitable default value is auto-generated.** You should normally
1133
1187
  # not need to pass this option.
1188
+ #
1189
+ #
1190
+ #
1191
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
1134
1192
  # @return [String]
1135
1193
  #
1136
1194
  # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/CreateDistributionConfigurationRequest AWS API Documentation
@@ -1150,7 +1208,7 @@ module Aws::Imagebuilder
1150
1208
  # @return [String]
1151
1209
  #
1152
1210
  # @!attribute [rw] client_token
1153
- # The idempotency token used to make this request idempotent.
1211
+ # The client token that uniquely identifies the request.
1154
1212
  # @return [String]
1155
1213
  #
1156
1214
  # @!attribute [rw] distribution_configuration_arn
@@ -1221,10 +1279,16 @@ module Aws::Imagebuilder
1221
1279
  # @return [Hash<String,String>]
1222
1280
  #
1223
1281
  # @!attribute [rw] client_token
1224
- # The idempotency token used to make this request idempotent.
1282
+ # Unique, case-sensitive identifier you provide to ensure idempotency
1283
+ # of the request. For more information, see [Ensuring idempotency][1]
1284
+ # in the *Amazon EC2 API Reference*.
1225
1285
  #
1226
1286
  # **A suitable default value is auto-generated.** You should normally
1227
1287
  # not need to pass this option.
1288
+ #
1289
+ #
1290
+ #
1291
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
1228
1292
  # @return [String]
1229
1293
  #
1230
1294
  # @!attribute [rw] image_scanning_configuration
@@ -1256,7 +1320,7 @@ module Aws::Imagebuilder
1256
1320
  # @return [String]
1257
1321
  #
1258
1322
  # @!attribute [rw] client_token
1259
- # The idempotency token used to make this request idempotent.
1323
+ # The client token that uniquely identifies the request.
1260
1324
  # @return [String]
1261
1325
  #
1262
1326
  # @!attribute [rw] image_pipeline_arn
@@ -1336,10 +1400,16 @@ module Aws::Imagebuilder
1336
1400
  # @return [Types::AdditionalInstanceConfiguration]
1337
1401
  #
1338
1402
  # @!attribute [rw] client_token
1339
- # The idempotency token used to make this request idempotent.
1403
+ # Unique, case-sensitive identifier you provide to ensure idempotency
1404
+ # of the request. For more information, see [Ensuring idempotency][1]
1405
+ # in the *Amazon EC2 API Reference*.
1340
1406
  #
1341
1407
  # **A suitable default value is auto-generated.** You should normally
1342
1408
  # not need to pass this option.
1409
+ #
1410
+ #
1411
+ #
1412
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
1343
1413
  # @return [String]
1344
1414
  #
1345
1415
  # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/CreateImageRecipeRequest AWS API Documentation
@@ -1364,7 +1434,7 @@ module Aws::Imagebuilder
1364
1434
  # @return [String]
1365
1435
  #
1366
1436
  # @!attribute [rw] client_token
1367
- # The idempotency token used to make this request idempotent.
1437
+ # The client token that uniquely identifies the request.
1368
1438
  # @return [String]
1369
1439
  #
1370
1440
  # @!attribute [rw] image_recipe_arn
@@ -1419,10 +1489,16 @@ module Aws::Imagebuilder
1419
1489
  # @return [Hash<String,String>]
1420
1490
  #
1421
1491
  # @!attribute [rw] client_token
1422
- # The idempotency token used to make this request idempotent.
1492
+ # Unique, case-sensitive identifier you provide to ensure idempotency
1493
+ # of the request. For more information, see [Ensuring idempotency][1]
1494
+ # in the *Amazon EC2 API Reference*.
1423
1495
  #
1424
1496
  # **A suitable default value is auto-generated.** You should normally
1425
1497
  # not need to pass this option.
1498
+ #
1499
+ #
1500
+ #
1501
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
1426
1502
  # @return [String]
1427
1503
  #
1428
1504
  # @!attribute [rw] image_scanning_configuration
@@ -1450,11 +1526,11 @@ module Aws::Imagebuilder
1450
1526
  # @return [String]
1451
1527
  #
1452
1528
  # @!attribute [rw] client_token
1453
- # The idempotency token used to make this request idempotent.
1529
+ # The client token that uniquely identifies the request.
1454
1530
  # @return [String]
1455
1531
  #
1456
1532
  # @!attribute [rw] image_build_version_arn
1457
- # The Amazon Resource Name (ARN) of the image that this request
1533
+ # The Amazon Resource Name (ARN) of the image that the request
1458
1534
  # created.
1459
1535
  # @return [String]
1460
1536
  #
@@ -1539,10 +1615,16 @@ module Aws::Imagebuilder
1539
1615
  # @return [Hash<String,String>]
1540
1616
  #
1541
1617
  # @!attribute [rw] client_token
1542
- # The idempotency token used to make this request idempotent.
1618
+ # Unique, case-sensitive identifier you provide to ensure idempotency
1619
+ # of the request. For more information, see [Ensuring idempotency][1]
1620
+ # in the *Amazon EC2 API Reference*.
1543
1621
  #
1544
1622
  # **A suitable default value is auto-generated.** You should normally
1545
1623
  # not need to pass this option.
1624
+ #
1625
+ #
1626
+ #
1627
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
1546
1628
  # @return [String]
1547
1629
  #
1548
1630
  # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/CreateInfrastructureConfigurationRequest AWS API Documentation
@@ -1571,7 +1653,7 @@ module Aws::Imagebuilder
1571
1653
  # @return [String]
1572
1654
  #
1573
1655
  # @!attribute [rw] client_token
1574
- # The idempotency token used to make this request idempotent.
1656
+ # The client token that uniquely identifies the request.
1575
1657
  # @return [String]
1576
1658
  #
1577
1659
  # @!attribute [rw] infrastructure_configuration_arn
@@ -1589,6 +1671,88 @@ module Aws::Imagebuilder
1589
1671
  include Aws::Structure
1590
1672
  end
1591
1673
 
1674
+ # @!attribute [rw] name
1675
+ # The name of the lifecycle policy to create.
1676
+ # @return [String]
1677
+ #
1678
+ # @!attribute [rw] description
1679
+ # Optional description for the lifecycle policy.
1680
+ # @return [String]
1681
+ #
1682
+ # @!attribute [rw] status
1683
+ # Indicates whether the lifecycle policy resource is enabled.
1684
+ # @return [String]
1685
+ #
1686
+ # @!attribute [rw] execution_role
1687
+ # The role name or Amazon Resource Name (ARN) for the IAM role that
1688
+ # grants Image Builder access to run lifecycle actions.
1689
+ # @return [String]
1690
+ #
1691
+ # @!attribute [rw] resource_type
1692
+ # The type of Image Builder resource that the lifecycle policy applies
1693
+ # to.
1694
+ # @return [String]
1695
+ #
1696
+ # @!attribute [rw] policy_details
1697
+ # Configuration details for the lifecycle policy rules.
1698
+ # @return [Array<Types::LifecyclePolicyDetail>]
1699
+ #
1700
+ # @!attribute [rw] resource_selection
1701
+ # Selection criteria for the resources that the lifecycle policy
1702
+ # applies to.
1703
+ # @return [Types::LifecyclePolicyResourceSelection]
1704
+ #
1705
+ # @!attribute [rw] tags
1706
+ # Tags to apply to the lifecycle policy resource.
1707
+ # @return [Hash<String,String>]
1708
+ #
1709
+ # @!attribute [rw] client_token
1710
+ # Unique, case-sensitive identifier you provide to ensure idempotency
1711
+ # of the request. For more information, see [Ensuring idempotency][1]
1712
+ # in the *Amazon EC2 API Reference*.
1713
+ #
1714
+ # **A suitable default value is auto-generated.** You should normally
1715
+ # not need to pass this option.
1716
+ #
1717
+ #
1718
+ #
1719
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
1720
+ # @return [String]
1721
+ #
1722
+ # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/CreateLifecyclePolicyRequest AWS API Documentation
1723
+ #
1724
+ class CreateLifecyclePolicyRequest < Struct.new(
1725
+ :name,
1726
+ :description,
1727
+ :status,
1728
+ :execution_role,
1729
+ :resource_type,
1730
+ :policy_details,
1731
+ :resource_selection,
1732
+ :tags,
1733
+ :client_token)
1734
+ SENSITIVE = []
1735
+ include Aws::Structure
1736
+ end
1737
+
1738
+ # @!attribute [rw] client_token
1739
+ # The client token that uniquely identifies the request.
1740
+ # @return [String]
1741
+ #
1742
+ # @!attribute [rw] lifecycle_policy_arn
1743
+ # The Amazon Resource Name (ARN) of the lifecycle policy that the
1744
+ # request created.
1745
+ # @return [String]
1746
+ #
1747
+ # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/CreateLifecyclePolicyResponse AWS API Documentation
1748
+ #
1749
+ class CreateLifecyclePolicyResponse < Struct.new(
1750
+ :client_token,
1751
+ :lifecycle_policy_arn)
1752
+ SENSITIVE = []
1753
+ include Aws::Structure
1754
+ end
1755
+
1592
1756
  # Amazon Inspector generates a risk score for each finding. This score
1593
1757
  # helps you to prioritize findings, to focus on the most critical
1594
1758
  # findings and the most vulnerable resources. The score uses the Common
@@ -1902,6 +2066,31 @@ module Aws::Imagebuilder
1902
2066
  include Aws::Structure
1903
2067
  end
1904
2068
 
2069
+ # @!attribute [rw] lifecycle_policy_arn
2070
+ # The Amazon Resource Name (ARN) of the lifecycle policy resource to
2071
+ # delete.
2072
+ # @return [String]
2073
+ #
2074
+ # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/DeleteLifecyclePolicyRequest AWS API Documentation
2075
+ #
2076
+ class DeleteLifecyclePolicyRequest < Struct.new(
2077
+ :lifecycle_policy_arn)
2078
+ SENSITIVE = []
2079
+ include Aws::Structure
2080
+ end
2081
+
2082
+ # @!attribute [rw] lifecycle_policy_arn
2083
+ # The ARN of the lifecycle policy that was deleted.
2084
+ # @return [String]
2085
+ #
2086
+ # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/DeleteLifecyclePolicyResponse AWS API Documentation
2087
+ #
2088
+ class DeleteLifecyclePolicyResponse < Struct.new(
2089
+ :lifecycle_policy_arn)
2090
+ SENSITIVE = []
2091
+ include Aws::Structure
2092
+ end
2093
+
1905
2094
  # Defines the settings for a specific Region.
1906
2095
  #
1907
2096
  # @!attribute [rw] region
@@ -2581,6 +2770,57 @@ module Aws::Imagebuilder
2581
2770
  include Aws::Structure
2582
2771
  end
2583
2772
 
2773
+ # @!attribute [rw] lifecycle_execution_id
2774
+ # Use the unique identifier for a runtime instance of the lifecycle
2775
+ # policy to get runtime details.
2776
+ # @return [String]
2777
+ #
2778
+ # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetLifecycleExecutionRequest AWS API Documentation
2779
+ #
2780
+ class GetLifecycleExecutionRequest < Struct.new(
2781
+ :lifecycle_execution_id)
2782
+ SENSITIVE = []
2783
+ include Aws::Structure
2784
+ end
2785
+
2786
+ # @!attribute [rw] lifecycle_execution
2787
+ # Runtime details for the specified runtime instance of the lifecycle
2788
+ # policy.
2789
+ # @return [Types::LifecycleExecution]
2790
+ #
2791
+ # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetLifecycleExecutionResponse AWS API Documentation
2792
+ #
2793
+ class GetLifecycleExecutionResponse < Struct.new(
2794
+ :lifecycle_execution)
2795
+ SENSITIVE = []
2796
+ include Aws::Structure
2797
+ end
2798
+
2799
+ # @!attribute [rw] lifecycle_policy_arn
2800
+ # Specifies the Amazon Resource Name (ARN) of the image lifecycle
2801
+ # policy resource to get.
2802
+ # @return [String]
2803
+ #
2804
+ # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetLifecyclePolicyRequest AWS API Documentation
2805
+ #
2806
+ class GetLifecyclePolicyRequest < Struct.new(
2807
+ :lifecycle_policy_arn)
2808
+ SENSITIVE = []
2809
+ include Aws::Structure
2810
+ end
2811
+
2812
+ # @!attribute [rw] lifecycle_policy
2813
+ # The ARN of the image lifecycle policy resource that was returned.
2814
+ # @return [Types::LifecyclePolicy]
2815
+ #
2816
+ # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetLifecyclePolicyResponse AWS API Documentation
2817
+ #
2818
+ class GetLifecyclePolicyResponse < Struct.new(
2819
+ :lifecycle_policy)
2820
+ SENSITIVE = []
2821
+ include Aws::Structure
2822
+ end
2823
+
2584
2824
  # @!attribute [rw] workflow_execution_id
2585
2825
  # Use the unique identifier for a runtime instance of the workflow to
2586
2826
  # get runtime details.
@@ -2963,6 +3203,16 @@ module Aws::Imagebuilder
2963
3203
  # Contains settings for vulnerability scans.
2964
3204
  # @return [Types::ImageScanningConfiguration]
2965
3205
  #
3206
+ # @!attribute [rw] deprecation_time
3207
+ # The time when deprecation occurs for an image resource. This can be
3208
+ # a past or future date.
3209
+ # @return [Time]
3210
+ #
3211
+ # @!attribute [rw] lifecycle_execution_id
3212
+ # Identifies the last runtime instance of the lifecycle policy to take
3213
+ # action on the image.
3214
+ # @return [String]
3215
+ #
2966
3216
  # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/Image AWS API Documentation
2967
3217
  #
2968
3218
  class Image < Struct.new(
@@ -2987,7 +3237,9 @@ module Aws::Imagebuilder
2987
3237
  :build_type,
2988
3238
  :image_source,
2989
3239
  :scan_state,
2990
- :image_scanning_configuration)
3240
+ :image_scanning_configuration,
3241
+ :deprecation_time,
3242
+ :lifecycle_execution_id)
2991
3243
  SENSITIVE = []
2992
3244
  include Aws::Structure
2993
3245
  end
@@ -3564,6 +3816,16 @@ module Aws::Imagebuilder
3564
3816
  # image.
3565
3817
  # @return [String]
3566
3818
  #
3819
+ # @!attribute [rw] deprecation_time
3820
+ # The time when deprecation occurs for an image resource. This can be
3821
+ # a past or future date.
3822
+ # @return [Time]
3823
+ #
3824
+ # @!attribute [rw] lifecycle_execution_id
3825
+ # Identifies the last runtime instance of the lifecycle policy to take
3826
+ # action on the image.
3827
+ # @return [String]
3828
+ #
3567
3829
  # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ImageSummary AWS API Documentation
3568
3830
  #
3569
3831
  class ImageSummary < Struct.new(
@@ -3579,7 +3841,9 @@ module Aws::Imagebuilder
3579
3841
  :output_resources,
3580
3842
  :tags,
3581
3843
  :build_type,
3582
- :image_source)
3844
+ :image_source,
3845
+ :deprecation_time,
3846
+ :lifecycle_execution_id)
3583
3847
  SENSITIVE = []
3584
3848
  include Aws::Structure
3585
3849
  end
@@ -3793,10 +4057,16 @@ module Aws::Imagebuilder
3793
4057
  # @return [Hash<String,String>]
3794
4058
  #
3795
4059
  # @!attribute [rw] client_token
3796
- # The idempotency token of the component.
4060
+ # Unique, case-sensitive identifier you provide to ensure idempotency
4061
+ # of the request. For more information, see [Ensuring idempotency][1]
4062
+ # in the *Amazon EC2 API Reference*.
3797
4063
  #
3798
4064
  # **A suitable default value is auto-generated.** You should normally
3799
4065
  # not need to pass this option.
4066
+ #
4067
+ #
4068
+ #
4069
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
3800
4070
  # @return [String]
3801
4071
  #
3802
4072
  # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ImportComponentRequest AWS API Documentation
@@ -3823,7 +4093,7 @@ module Aws::Imagebuilder
3823
4093
  # @return [String]
3824
4094
  #
3825
4095
  # @!attribute [rw] client_token
3826
- # The idempotency token used to make this request idempotent.
4096
+ # The client token that uniquely identifies the request.
3827
4097
  # @return [String]
3828
4098
  #
3829
4099
  # @!attribute [rw] component_build_version_arn
@@ -3929,7 +4199,7 @@ module Aws::Imagebuilder
3929
4199
  # @return [String]
3930
4200
  #
3931
4201
  # @!attribute [rw] client_token
3932
- # The idempotency token that was used for this request.
4202
+ # The client token that uniquely identifies the request.
3933
4203
  # @return [String]
3934
4204
  #
3935
4205
  # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ImportVmImageResponse AWS API Documentation
@@ -4366,89 +4636,664 @@ module Aws::Imagebuilder
4366
4636
  include Aws::Structure
4367
4637
  end
4368
4638
 
4369
- # @!attribute [rw] component_version_arn
4370
- # The component version Amazon Resource Name (ARN) whose versions you
4371
- # want to list.
4372
- # @return [String]
4639
+ # Contains metadata from a runtime instance of a lifecycle policy.
4373
4640
  #
4374
- # @!attribute [rw] max_results
4375
- # The maximum items to return in a request.
4376
- # @return [Integer]
4641
+ # @!attribute [rw] lifecycle_execution_id
4642
+ # Identifies the lifecycle policy runtime instance.
4643
+ # @return [String]
4377
4644
  #
4378
- # @!attribute [rw] next_token
4379
- # A token to specify where to start paginating. This is the NextToken
4380
- # from a previously truncated response.
4645
+ # @!attribute [rw] lifecycle_policy_arn
4646
+ # The Amazon Resource Name (ARN) of the lifecycle policy that ran.
4381
4647
  # @return [String]
4382
4648
  #
4383
- # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListComponentBuildVersionsRequest AWS API Documentation
4649
+ # @!attribute [rw] resources_impacted_summary
4650
+ # Contains information about associated resources that are identified
4651
+ # for action by the runtime instance of the lifecycle policy.
4652
+ # @return [Types::LifecycleExecutionResourcesImpactedSummary]
4384
4653
  #
4385
- class ListComponentBuildVersionsRequest < Struct.new(
4386
- :component_version_arn,
4387
- :max_results,
4388
- :next_token)
4389
- SENSITIVE = []
4390
- include Aws::Structure
4391
- end
4392
-
4393
- # @!attribute [rw] request_id
4394
- # The request ID that uniquely identifies this request.
4395
- # @return [String]
4654
+ # @!attribute [rw] state
4655
+ # Runtime state that reports if the policy action ran successfully,
4656
+ # failed, or was skipped.
4657
+ # @return [Types::LifecycleExecutionState]
4396
4658
  #
4397
- # @!attribute [rw] component_summary_list
4398
- # The list of component summaries for the specified semantic version.
4399
- # @return [Array<Types::ComponentSummary>]
4659
+ # @!attribute [rw] start_time
4660
+ # The timestamp when the lifecycle runtime instance started.
4661
+ # @return [Time]
4400
4662
  #
4401
- # @!attribute [rw] next_token
4402
- # The next token used for paginated responses. When this field isn't
4403
- # empty, there are additional elements that the service has'ot
4404
- # included in this request. Use this token with the next request to
4405
- # retrieve additional objects.
4406
- # @return [String]
4663
+ # @!attribute [rw] end_time
4664
+ # The timestamp when the lifecycle runtime instance completed.
4665
+ # @return [Time]
4407
4666
  #
4408
- # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListComponentBuildVersionsResponse AWS API Documentation
4667
+ # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/LifecycleExecution AWS API Documentation
4409
4668
  #
4410
- class ListComponentBuildVersionsResponse < Struct.new(
4411
- :request_id,
4412
- :component_summary_list,
4413
- :next_token)
4669
+ class LifecycleExecution < Struct.new(
4670
+ :lifecycle_execution_id,
4671
+ :lifecycle_policy_arn,
4672
+ :resources_impacted_summary,
4673
+ :state,
4674
+ :start_time,
4675
+ :end_time)
4414
4676
  SENSITIVE = []
4415
4677
  include Aws::Structure
4416
4678
  end
4417
4679
 
4418
- # @!attribute [rw] owner
4419
- # Filters results based on the type of owner for the component. By
4420
- # default, this request returns a list of components that your account
4421
- # owns. To see results for other types of owners, you can specify
4422
- # components that Amazon manages, third party components, or
4423
- # components that other accounts have shared with you.
4680
+ # Contains details for a resource that the runtime instance of the
4681
+ # lifecycle policy identified for action.
4682
+ #
4683
+ # @!attribute [rw] account_id
4684
+ # The account that owns the impacted resource.
4424
4685
  # @return [String]
4425
4686
  #
4426
- # @!attribute [rw] filters
4427
- # Use the following filters to streamline results:
4687
+ # @!attribute [rw] resource_id
4688
+ # Identifies the impacted resource. The resource ID depends on the
4689
+ # type of resource, as follows.
4428
4690
  #
4429
- # * `description`
4691
+ # * Image Builder image resources: Amazon Resource Name (ARN)
4430
4692
  #
4431
- # * `name`
4693
+ # * Distributed AMIs: AMI ID
4432
4694
  #
4433
- # * `platform`
4695
+ # * Container images distributed to an ECR repository: image URI or
4696
+ # SHA Digest
4697
+ # @return [String]
4434
4698
  #
4435
- # * `supportedOsVersion`
4699
+ # @!attribute [rw] state
4700
+ # The runtime state for the lifecycle execution.
4701
+ # @return [Types::LifecycleExecutionResourceState]
4436
4702
  #
4437
- # * `type`
4703
+ # @!attribute [rw] action
4704
+ # The action to take for the identified resource.
4705
+ # @return [Types::LifecycleExecutionResourceAction]
4438
4706
  #
4439
- # * `version`
4440
- # @return [Array<Types::Filter>]
4707
+ # @!attribute [rw] region
4708
+ # The Amazon Web Services Region where the lifecycle execution
4709
+ # resource is stored.
4710
+ # @return [String]
4441
4711
  #
4442
- # @!attribute [rw] by_name
4443
- # Returns the list of components for the specified name.
4444
- # @return [Boolean]
4712
+ # @!attribute [rw] snapshots
4713
+ # A list of associated resource snapshots for the impacted resource if
4714
+ # it’s an AMI.
4715
+ # @return [Array<Types::LifecycleExecutionSnapshotResource>]
4716
+ #
4717
+ # @!attribute [rw] image_uris
4718
+ # For an impacted container image, this identifies a list of URIs for
4719
+ # associated container images distributed to ECR repositories.
4720
+ # @return [Array<String>]
4721
+ #
4722
+ # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/LifecycleExecutionResource AWS API Documentation
4723
+ #
4724
+ class LifecycleExecutionResource < Struct.new(
4725
+ :account_id,
4726
+ :resource_id,
4727
+ :state,
4728
+ :action,
4729
+ :region,
4730
+ :snapshots,
4731
+ :image_uris)
4732
+ SENSITIVE = []
4733
+ include Aws::Structure
4734
+ end
4735
+
4736
+ # The lifecycle policy action that was identified for the impacted
4737
+ # resource.
4738
+ #
4739
+ # @!attribute [rw] name
4740
+ # The name of the resource that was identified for a lifecycle policy
4741
+ # action.
4742
+ # @return [String]
4743
+ #
4744
+ # @!attribute [rw] reason
4745
+ # The reason why the lifecycle policy action is taken.
4746
+ # @return [String]
4747
+ #
4748
+ # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/LifecycleExecutionResourceAction AWS API Documentation
4749
+ #
4750
+ class LifecycleExecutionResourceAction < Struct.new(
4751
+ :name,
4752
+ :reason)
4753
+ SENSITIVE = []
4754
+ include Aws::Structure
4755
+ end
4756
+
4757
+ # Contains the state of an impacted resource that the runtime instance
4758
+ # of the lifecycle policy identified for action.
4759
+ #
4760
+ # @!attribute [rw] status
4761
+ # The runtime status of the lifecycle action taken for the impacted
4762
+ # resource.
4763
+ # @return [String]
4764
+ #
4765
+ # @!attribute [rw] reason
4766
+ # Messaging that clarifies the reason for the assigned status.
4767
+ # @return [String]
4768
+ #
4769
+ # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/LifecycleExecutionResourceState AWS API Documentation
4770
+ #
4771
+ class LifecycleExecutionResourceState < Struct.new(
4772
+ :status,
4773
+ :reason)
4774
+ SENSITIVE = []
4775
+ include Aws::Structure
4776
+ end
4777
+
4778
+ # Contains details for an image resource that was identified for a
4779
+ # lifecycle action.
4780
+ #
4781
+ # @!attribute [rw] has_impacted_resources
4782
+ # Indicates whether an image resource that was identified for a
4783
+ # lifecycle action has associated resources that are also impacted.
4784
+ # @return [Boolean]
4785
+ #
4786
+ # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/LifecycleExecutionResourcesImpactedSummary AWS API Documentation
4787
+ #
4788
+ class LifecycleExecutionResourcesImpactedSummary < Struct.new(
4789
+ :has_impacted_resources)
4790
+ SENSITIVE = []
4791
+ include Aws::Structure
4792
+ end
4793
+
4794
+ # Contains the state of an impacted snapshot resource that the runtime
4795
+ # instance of the lifecycle policy identified for action.
4796
+ #
4797
+ # @!attribute [rw] snapshot_id
4798
+ # Identifies the impacted snapshot resource.
4799
+ # @return [String]
4800
+ #
4801
+ # @!attribute [rw] state
4802
+ # The runtime status of the lifecycle action taken for the snapshot.
4803
+ # @return [Types::LifecycleExecutionResourceState]
4804
+ #
4805
+ # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/LifecycleExecutionSnapshotResource AWS API Documentation
4806
+ #
4807
+ class LifecycleExecutionSnapshotResource < Struct.new(
4808
+ :snapshot_id,
4809
+ :state)
4810
+ SENSITIVE = []
4811
+ include Aws::Structure
4812
+ end
4813
+
4814
+ # The current state of the runtime instance of the lifecycle policy.
4815
+ #
4816
+ # @!attribute [rw] status
4817
+ # The runtime status of the lifecycle execution.
4818
+ # @return [String]
4819
+ #
4820
+ # @!attribute [rw] reason
4821
+ # The reason for the current status.
4822
+ # @return [String]
4823
+ #
4824
+ # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/LifecycleExecutionState AWS API Documentation
4825
+ #
4826
+ class LifecycleExecutionState < Struct.new(
4827
+ :status,
4828
+ :reason)
4829
+ SENSITIVE = []
4830
+ include Aws::Structure
4831
+ end
4832
+
4833
+ # The configuration details for a lifecycle policy resource.
4834
+ #
4835
+ # @!attribute [rw] arn
4836
+ # The Amazon Resource Name (ARN) of the lifecycle policy resource.
4837
+ # @return [String]
4838
+ #
4839
+ # @!attribute [rw] name
4840
+ # The name of the lifecycle policy.
4841
+ # @return [String]
4842
+ #
4843
+ # @!attribute [rw] description
4844
+ # Optional description for the lifecycle policy.
4845
+ # @return [String]
4846
+ #
4847
+ # @!attribute [rw] status
4848
+ # Indicates whether the lifecycle policy resource is enabled.
4849
+ # @return [String]
4850
+ #
4851
+ # @!attribute [rw] execution_role
4852
+ # The name of the IAM role that Image Builder uses to run the
4853
+ # lifecycle policy. This is a custom role that you create.
4854
+ # @return [String]
4855
+ #
4856
+ # @!attribute [rw] resource_type
4857
+ # The type of resources the lifecycle policy targets.
4858
+ # @return [String]
4859
+ #
4860
+ # @!attribute [rw] policy_details
4861
+ # The configuration details for a lifecycle policy resource.
4862
+ # @return [Array<Types::LifecyclePolicyDetail>]
4863
+ #
4864
+ # @!attribute [rw] resource_selection
4865
+ # Resource selection criteria used to run the lifecycle policy.
4866
+ # @return [Types::LifecyclePolicyResourceSelection]
4867
+ #
4868
+ # @!attribute [rw] date_created
4869
+ # The timestamp when Image Builder created the lifecycle policy
4870
+ # resource.
4871
+ # @return [Time]
4872
+ #
4873
+ # @!attribute [rw] date_updated
4874
+ # The timestamp when Image Builder updated the lifecycle policy
4875
+ # resource.
4876
+ # @return [Time]
4877
+ #
4878
+ # @!attribute [rw] date_last_run
4879
+ # The timestamp for the last time Image Builder ran the lifecycle
4880
+ # policy.
4881
+ # @return [Time]
4882
+ #
4883
+ # @!attribute [rw] tags
4884
+ # To help manage your lifecycle policy resources, you can assign your
4885
+ # own metadata to each resource in the form of tags. Each tag consists
4886
+ # of a key and an optional value, both of which you define.
4887
+ # @return [Hash<String,String>]
4888
+ #
4889
+ # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/LifecyclePolicy AWS API Documentation
4890
+ #
4891
+ class LifecyclePolicy < Struct.new(
4892
+ :arn,
4893
+ :name,
4894
+ :description,
4895
+ :status,
4896
+ :execution_role,
4897
+ :resource_type,
4898
+ :policy_details,
4899
+ :resource_selection,
4900
+ :date_created,
4901
+ :date_updated,
4902
+ :date_last_run,
4903
+ :tags)
4904
+ SENSITIVE = []
4905
+ include Aws::Structure
4906
+ end
4907
+
4908
+ # The configuration details for a lifecycle policy resource.
4909
+ #
4910
+ # @!attribute [rw] action
4911
+ # Configuration details for the policy action.
4912
+ # @return [Types::LifecyclePolicyDetailAction]
4913
+ #
4914
+ # @!attribute [rw] filter
4915
+ # Specifies the resources that the lifecycle policy applies to.
4916
+ # @return [Types::LifecyclePolicyDetailFilter]
4917
+ #
4918
+ # @!attribute [rw] exclusion_rules
4919
+ # Additional rules to specify resources that should be exempt from
4920
+ # policy actions.
4921
+ # @return [Types::LifecyclePolicyDetailExclusionRules]
4922
+ #
4923
+ # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/LifecyclePolicyDetail AWS API Documentation
4924
+ #
4925
+ class LifecyclePolicyDetail < Struct.new(
4926
+ :action,
4927
+ :filter,
4928
+ :exclusion_rules)
4929
+ SENSITIVE = []
4930
+ include Aws::Structure
4931
+ end
4932
+
4933
+ # Contains selection criteria for the lifecycle policy.
4934
+ #
4935
+ # @!attribute [rw] type
4936
+ # Specifies the lifecycle action to take.
4937
+ # @return [String]
4938
+ #
4939
+ # @!attribute [rw] include_resources
4940
+ # Specifies the resources that the lifecycle policy applies to.
4941
+ # @return [Types::LifecyclePolicyDetailActionIncludeResources]
4942
+ #
4943
+ # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/LifecyclePolicyDetailAction AWS API Documentation
4944
+ #
4945
+ class LifecyclePolicyDetailAction < Struct.new(
4946
+ :type,
4947
+ :include_resources)
4948
+ SENSITIVE = []
4949
+ include Aws::Structure
4950
+ end
4951
+
4952
+ # Specifies how the lifecycle policy should apply actions to selected
4953
+ # resources.
4954
+ #
4955
+ # @!attribute [rw] amis
4956
+ # Specifies whether the lifecycle action should apply to distributed
4957
+ # AMIs.
4958
+ # @return [Boolean]
4959
+ #
4960
+ # @!attribute [rw] snapshots
4961
+ # Specifies whether the lifecycle action should apply to snapshots
4962
+ # associated with distributed AMIs.
4963
+ # @return [Boolean]
4964
+ #
4965
+ # @!attribute [rw] containers
4966
+ # Specifies whether the lifecycle action should apply to distributed
4967
+ # containers.
4968
+ # @return [Boolean]
4969
+ #
4970
+ # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/LifecyclePolicyDetailActionIncludeResources AWS API Documentation
4971
+ #
4972
+ class LifecyclePolicyDetailActionIncludeResources < Struct.new(
4973
+ :amis,
4974
+ :snapshots,
4975
+ :containers)
4976
+ SENSITIVE = []
4977
+ include Aws::Structure
4978
+ end
4979
+
4980
+ # Specifies resources that lifecycle policy actions should not apply to.
4981
+ #
4982
+ # @!attribute [rw] tag_map
4983
+ # Contains a list of tags that Image Builder uses to skip lifecycle
4984
+ # actions for AMIs that have them.
4985
+ # @return [Hash<String,String>]
4986
+ #
4987
+ # @!attribute [rw] amis
4988
+ # Lists configuration values that apply to AMIs that Image Builder
4989
+ # should exclude from the lifecycle action.
4990
+ # @return [Types::LifecyclePolicyDetailExclusionRulesAmis]
4991
+ #
4992
+ # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/LifecyclePolicyDetailExclusionRules AWS API Documentation
4993
+ #
4994
+ class LifecyclePolicyDetailExclusionRules < Struct.new(
4995
+ :tag_map,
4996
+ :amis)
4997
+ SENSITIVE = []
4998
+ include Aws::Structure
4999
+ end
5000
+
5001
+ # Defines criteria for AMIs that are excluded from lifecycle actions.
5002
+ #
5003
+ # @!attribute [rw] is_public
5004
+ # Configures whether public AMIs are excluded from the lifecycle
5005
+ # action.
5006
+ # @return [Boolean]
5007
+ #
5008
+ # @!attribute [rw] regions
5009
+ # Specifies Amazon Web Services accounts whose resources are excluded
5010
+ # from the lifecycle action.
5011
+ # @return [Array<String>]
5012
+ #
5013
+ # @!attribute [rw] shared_accounts
5014
+ # Specifies configuration details for Image Builder to exclude the
5015
+ # most recent resources from lifecycle actions.
5016
+ # @return [Array<String>]
5017
+ #
5018
+ # @!attribute [rw] last_launched
5019
+ # Configures Amazon Web Services Regions that are excluded from the
5020
+ # lifecycle action.
5021
+ # @return [Types::LifecyclePolicyDetailExclusionRulesAmisLastLaunched]
5022
+ #
5023
+ # @!attribute [rw] tag_map
5024
+ # Lists tags that should be excluded from lifecycle actions for the
5025
+ # AMIs that have them.
5026
+ # @return [Hash<String,String>]
5027
+ #
5028
+ # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/LifecyclePolicyDetailExclusionRulesAmis AWS API Documentation
5029
+ #
5030
+ class LifecyclePolicyDetailExclusionRulesAmis < Struct.new(
5031
+ :is_public,
5032
+ :regions,
5033
+ :shared_accounts,
5034
+ :last_launched,
5035
+ :tag_map)
5036
+ SENSITIVE = []
5037
+ include Aws::Structure
5038
+ end
5039
+
5040
+ # Defines criteria to exclude AMIs from lifecycle actions based on the
5041
+ # last time they were used to launch an instance.
5042
+ #
5043
+ # @!attribute [rw] value
5044
+ # The integer number of units for the time period. For example `6`
5045
+ # (months).
5046
+ # @return [Integer]
5047
+ #
5048
+ # @!attribute [rw] unit
5049
+ # Defines the unit of time that the lifecycle policy uses to calculate
5050
+ # elapsed time since the last instance launched from the AMI. For
5051
+ # example: days, weeks, months, or years.
5052
+ # @return [String]
5053
+ #
5054
+ # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/LifecyclePolicyDetailExclusionRulesAmisLastLaunched AWS API Documentation
5055
+ #
5056
+ class LifecyclePolicyDetailExclusionRulesAmisLastLaunched < Struct.new(
5057
+ :value,
5058
+ :unit)
5059
+ SENSITIVE = []
5060
+ include Aws::Structure
5061
+ end
5062
+
5063
+ # Defines filters that the lifecycle policy uses to determine impacted
5064
+ # resource.
5065
+ #
5066
+ # @!attribute [rw] type
5067
+ # Filter resources based on either `age` or `count`.
5068
+ # @return [String]
5069
+ #
5070
+ # @!attribute [rw] value
5071
+ # The number of units for the time period or for the count. For
5072
+ # example, a value of `6` might refer to six months or six AMIs.
5073
+ #
5074
+ # <note markdown="1"> For count-based filters, this value represents the minimum number of
5075
+ # resources to keep on hand. If you have fewer resources than this
5076
+ # number, the resource is excluded from lifecycle actions.
5077
+ #
5078
+ # </note>
5079
+ # @return [Integer]
5080
+ #
5081
+ # @!attribute [rw] unit
5082
+ # Defines the unit of time that the lifecycle policy uses to determine
5083
+ # impacted resources. This is required for age-based rules.
5084
+ # @return [String]
5085
+ #
5086
+ # @!attribute [rw] retain_at_least
5087
+ # For age-based filters, this is the number of resources to keep on
5088
+ # hand after the lifecycle `DELETE` action is applied. Impacted
5089
+ # resources are only deleted if you have more than this number of
5090
+ # resources. If you have fewer resources than this number, the
5091
+ # impacted resource is not deleted.
5092
+ # @return [Integer]
5093
+ #
5094
+ # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/LifecyclePolicyDetailFilter AWS API Documentation
5095
+ #
5096
+ class LifecyclePolicyDetailFilter < Struct.new(
5097
+ :type,
5098
+ :value,
5099
+ :unit,
5100
+ :retain_at_least)
5101
+ SENSITIVE = []
5102
+ include Aws::Structure
5103
+ end
5104
+
5105
+ # Resource selection criteria for the lifecycle policy.
5106
+ #
5107
+ # @!attribute [rw] recipes
5108
+ # A list of recipes that are used as selection criteria for the output
5109
+ # images that the lifecycle policy applies to.
5110
+ # @return [Array<Types::LifecyclePolicyResourceSelectionRecipe>]
5111
+ #
5112
+ # @!attribute [rw] tag_map
5113
+ # A list of tags that are used as selection criteria for the resources
5114
+ # that the lifecycle policy applies to.
5115
+ # @return [Hash<String,String>]
5116
+ #
5117
+ # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/LifecyclePolicyResourceSelection AWS API Documentation
5118
+ #
5119
+ class LifecyclePolicyResourceSelection < Struct.new(
5120
+ :recipes,
5121
+ :tag_map)
5122
+ SENSITIVE = []
5123
+ include Aws::Structure
5124
+ end
5125
+
5126
+ # Specifies an Image Builder recipe that the lifecycle policy uses for
5127
+ # resource selection.
5128
+ #
5129
+ # @!attribute [rw] name
5130
+ # The name of an Image Builder recipe that the lifecycle policy uses
5131
+ # for resource selection.
5132
+ # @return [String]
5133
+ #
5134
+ # @!attribute [rw] semantic_version
5135
+ # The version of the Image Builder recipe specified by the `name`
5136
+ # field.
5137
+ # @return [String]
5138
+ #
5139
+ # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/LifecyclePolicyResourceSelectionRecipe AWS API Documentation
5140
+ #
5141
+ class LifecyclePolicyResourceSelectionRecipe < Struct.new(
5142
+ :name,
5143
+ :semantic_version)
5144
+ SENSITIVE = []
5145
+ include Aws::Structure
5146
+ end
5147
+
5148
+ # Contains a summary of lifecycle policy resources.
5149
+ #
5150
+ # @!attribute [rw] arn
5151
+ # The Amazon Resource Name (ARN) of the lifecycle policy summary
5152
+ # resource.
5153
+ # @return [String]
5154
+ #
5155
+ # @!attribute [rw] name
5156
+ # The name of the lifecycle policy.
5157
+ # @return [String]
5158
+ #
5159
+ # @!attribute [rw] description
5160
+ # Optional description for the lifecycle policy.
5161
+ # @return [String]
5162
+ #
5163
+ # @!attribute [rw] status
5164
+ # The lifecycle policy resource status.
5165
+ # @return [String]
5166
+ #
5167
+ # @!attribute [rw] execution_role
5168
+ # The name of the IAM role that Image Builder uses to run the
5169
+ # lifecycle policy.
5170
+ # @return [String]
5171
+ #
5172
+ # @!attribute [rw] resource_type
5173
+ # The type of resources the lifecycle policy targets.
5174
+ # @return [String]
5175
+ #
5176
+ # @!attribute [rw] date_created
5177
+ # The timestamp when Image Builder created the lifecycle policy
5178
+ # resource.
5179
+ # @return [Time]
5180
+ #
5181
+ # @!attribute [rw] date_updated
5182
+ # The timestamp when Image Builder updated the lifecycle policy
5183
+ # resource.
5184
+ # @return [Time]
5185
+ #
5186
+ # @!attribute [rw] date_last_run
5187
+ # The timestamp for the last time Image Builder ran the lifecycle
5188
+ # policy.
5189
+ # @return [Time]
5190
+ #
5191
+ # @!attribute [rw] tags
5192
+ # To help manage your lifecycle policy resources, you can assign your
5193
+ # own metadata to each resource in the form of tags. Each tag consists
5194
+ # of a key and an optional value, both of which you define.
5195
+ # @return [Hash<String,String>]
5196
+ #
5197
+ # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/LifecyclePolicySummary AWS API Documentation
5198
+ #
5199
+ class LifecyclePolicySummary < Struct.new(
5200
+ :arn,
5201
+ :name,
5202
+ :description,
5203
+ :status,
5204
+ :execution_role,
5205
+ :resource_type,
5206
+ :date_created,
5207
+ :date_updated,
5208
+ :date_last_run,
5209
+ :tags)
5210
+ SENSITIVE = []
5211
+ include Aws::Structure
5212
+ end
5213
+
5214
+ # @!attribute [rw] component_version_arn
5215
+ # The component version Amazon Resource Name (ARN) whose versions you
5216
+ # want to list.
5217
+ # @return [String]
5218
+ #
5219
+ # @!attribute [rw] max_results
5220
+ # The maximum items to return in a request.
5221
+ # @return [Integer]
5222
+ #
5223
+ # @!attribute [rw] next_token
5224
+ # A token to specify where to start paginating. This is the nextToken
5225
+ # from a previously truncated response.
5226
+ # @return [String]
5227
+ #
5228
+ # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListComponentBuildVersionsRequest AWS API Documentation
5229
+ #
5230
+ class ListComponentBuildVersionsRequest < Struct.new(
5231
+ :component_version_arn,
5232
+ :max_results,
5233
+ :next_token)
5234
+ SENSITIVE = []
5235
+ include Aws::Structure
5236
+ end
5237
+
5238
+ # @!attribute [rw] request_id
5239
+ # The request ID that uniquely identifies this request.
5240
+ # @return [String]
5241
+ #
5242
+ # @!attribute [rw] component_summary_list
5243
+ # The list of component summaries for the specified semantic version.
5244
+ # @return [Array<Types::ComponentSummary>]
5245
+ #
5246
+ # @!attribute [rw] next_token
5247
+ # The next token used for paginated responses. When this field isn't
5248
+ # empty, there are additional elements that the service hasn't
5249
+ # included in this request. Use this token with the next request to
5250
+ # retrieve additional objects.
5251
+ # @return [String]
5252
+ #
5253
+ # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListComponentBuildVersionsResponse AWS API Documentation
5254
+ #
5255
+ class ListComponentBuildVersionsResponse < Struct.new(
5256
+ :request_id,
5257
+ :component_summary_list,
5258
+ :next_token)
5259
+ SENSITIVE = []
5260
+ include Aws::Structure
5261
+ end
5262
+
5263
+ # @!attribute [rw] owner
5264
+ # Filters results based on the type of owner for the component. By
5265
+ # default, this request returns a list of components that your account
5266
+ # owns. To see results for other types of owners, you can specify
5267
+ # components that Amazon manages, third party components, or
5268
+ # components that other accounts have shared with you.
5269
+ # @return [String]
5270
+ #
5271
+ # @!attribute [rw] filters
5272
+ # Use the following filters to streamline results:
5273
+ #
5274
+ # * `description`
5275
+ #
5276
+ # * `name`
5277
+ #
5278
+ # * `platform`
5279
+ #
5280
+ # * `supportedOsVersion`
5281
+ #
5282
+ # * `type`
5283
+ #
5284
+ # * `version`
5285
+ # @return [Array<Types::Filter>]
5286
+ #
5287
+ # @!attribute [rw] by_name
5288
+ # Returns the list of components for the specified name.
5289
+ # @return [Boolean]
4445
5290
  #
4446
5291
  # @!attribute [rw] max_results
4447
5292
  # The maximum items to return in a request.
4448
5293
  # @return [Integer]
4449
5294
  #
4450
5295
  # @!attribute [rw] next_token
4451
- # A token to specify where to start paginating. This is the NextToken
5296
+ # A token to specify where to start paginating. This is the nextToken
4452
5297
  # from a previously truncated response.
4453
5298
  # @return [String]
4454
5299
  #
@@ -4480,7 +5325,7 @@ module Aws::Imagebuilder
4480
5325
  #
4481
5326
  # @!attribute [rw] next_token
4482
5327
  # The next token used for paginated responses. When this field isn't
4483
- # empty, there are additional elements that the service has'ot
5328
+ # empty, there are additional elements that the service hasn't
4484
5329
  # included in this request. Use this token with the next request to
4485
5330
  # retrieve additional objects.
4486
5331
  # @return [String]
@@ -4518,7 +5363,7 @@ module Aws::Imagebuilder
4518
5363
  # @return [Integer]
4519
5364
  #
4520
5365
  # @!attribute [rw] next_token
4521
- # A token to specify where to start paginating. This is the NextToken
5366
+ # A token to specify where to start paginating. This is the nextToken
4522
5367
  # from a previously truncated response.
4523
5368
  # @return [String]
4524
5369
  #
@@ -4543,7 +5388,7 @@ module Aws::Imagebuilder
4543
5388
  #
4544
5389
  # @!attribute [rw] next_token
4545
5390
  # The next token used for paginated responses. When this field isn't
4546
- # empty, there are additional elements that the service has'ot
5391
+ # empty, there are additional elements that the service hasn't
4547
5392
  # included in this request. Use this token with the next request to
4548
5393
  # retrieve additional objects.
4549
5394
  # @return [String]
@@ -4567,7 +5412,7 @@ module Aws::Imagebuilder
4567
5412
  # @return [Integer]
4568
5413
  #
4569
5414
  # @!attribute [rw] next_token
4570
- # A token to specify where to start paginating. This is the NextToken
5415
+ # A token to specify where to start paginating. This is the nextToken
4571
5416
  # from a previously truncated response.
4572
5417
  # @return [String]
4573
5418
  #
@@ -4591,7 +5436,7 @@ module Aws::Imagebuilder
4591
5436
  #
4592
5437
  # @!attribute [rw] next_token
4593
5438
  # The next token used for paginated responses. When this field isn't
4594
- # empty, there are additional elements that the service has'ot
5439
+ # empty, there are additional elements that the service hasn't
4595
5440
  # included in this request. Use this token with the next request to
4596
5441
  # retrieve additional objects.
4597
5442
  # @return [String]
@@ -4630,7 +5475,7 @@ module Aws::Imagebuilder
4630
5475
  # @return [Integer]
4631
5476
  #
4632
5477
  # @!attribute [rw] next_token
4633
- # A token to specify where to start paginating. This is the NextToken
5478
+ # A token to specify where to start paginating. This is the nextToken
4634
5479
  # from a previously truncated response.
4635
5480
  # @return [String]
4636
5481
  #
@@ -4655,7 +5500,7 @@ module Aws::Imagebuilder
4655
5500
  #
4656
5501
  # @!attribute [rw] next_token
4657
5502
  # The next token used for paginated responses. When this field isn't
4658
- # empty, there are additional elements that the service has'ot
5503
+ # empty, there are additional elements that the service hasn't
4659
5504
  # included in this request. Use this token with the next request to
4660
5505
  # retrieve additional objects.
4661
5506
  # @return [String]
@@ -4680,7 +5525,7 @@ module Aws::Imagebuilder
4680
5525
  # @return [Integer]
4681
5526
  #
4682
5527
  # @!attribute [rw] next_token
4683
- # A token to specify where to start paginating. This is the NextToken
5528
+ # A token to specify where to start paginating. This is the nextToken
4684
5529
  # from a previously truncated response.
4685
5530
  # @return [String]
4686
5531
  #
@@ -4704,7 +5549,7 @@ module Aws::Imagebuilder
4704
5549
  #
4705
5550
  # @!attribute [rw] next_token
4706
5551
  # The next token used for paginated responses. When this field isn't
4707
- # empty, there are additional elements that the service has'ot
5552
+ # empty, there are additional elements that the service hasn't
4708
5553
  # included in this request. Use this token with the next request to
4709
5554
  # retrieve additional objects.
4710
5555
  # @return [String]
@@ -4737,7 +5582,7 @@ module Aws::Imagebuilder
4737
5582
  # @return [Integer]
4738
5583
  #
4739
5584
  # @!attribute [rw] next_token
4740
- # A token to specify where to start paginating. This is the NextToken
5585
+ # A token to specify where to start paginating. This is the nextToken
4741
5586
  # from a previously truncated response.
4742
5587
  # @return [String]
4743
5588
  #
@@ -4762,7 +5607,7 @@ module Aws::Imagebuilder
4762
5607
  #
4763
5608
  # @!attribute [rw] next_token
4764
5609
  # The next token used for paginated responses. When this field isn't
4765
- # empty, there are additional elements that the service has'ot
5610
+ # empty, there are additional elements that the service hasn't
4766
5611
  # included in this request. Use this token with the next request to
4767
5612
  # retrieve additional objects.
4768
5613
  # @return [String]
@@ -4798,7 +5643,7 @@ module Aws::Imagebuilder
4798
5643
  # @return [Integer]
4799
5644
  #
4800
5645
  # @!attribute [rw] next_token
4801
- # A token to specify where to start paginating. This is the NextToken
5646
+ # A token to specify where to start paginating. This is the nextToken
4802
5647
  # from a previously truncated response.
4803
5648
  # @return [String]
4804
5649
  #
@@ -4822,7 +5667,7 @@ module Aws::Imagebuilder
4822
5667
  #
4823
5668
  # @!attribute [rw] next_token
4824
5669
  # The next token used for paginated responses. When this field isn't
4825
- # empty, there are additional elements that the service has'ot
5670
+ # empty, there are additional elements that the service hasn't
4826
5671
  # included in this request. Use this token with the next request to
4827
5672
  # retrieve additional objects.
4828
5673
  # @return [String]
@@ -4860,7 +5705,7 @@ module Aws::Imagebuilder
4860
5705
  # @return [Integer]
4861
5706
  #
4862
5707
  # @!attribute [rw] next_token
4863
- # A token to specify where to start paginating. This is the NextToken
5708
+ # A token to specify where to start paginating. This is the nextToken
4864
5709
  # from a previously truncated response.
4865
5710
  # @return [String]
4866
5711
  #
@@ -4885,7 +5730,7 @@ module Aws::Imagebuilder
4885
5730
  #
4886
5731
  # @!attribute [rw] next_token
4887
5732
  # The next token used for paginated responses. When this field isn't
4888
- # empty, there are additional elements that the service has'ot
5733
+ # empty, there are additional elements that the service hasn't
4889
5734
  # included in this request. Use this token with the next request to
4890
5735
  # retrieve additional objects.
4891
5736
  # @return [String]
@@ -4908,7 +5753,7 @@ module Aws::Imagebuilder
4908
5753
  # @return [Types::Filter]
4909
5754
  #
4910
5755
  # @!attribute [rw] next_token
4911
- # A token to specify where to start paginating. This is the NextToken
5756
+ # A token to specify where to start paginating. This is the nextToken
4912
5757
  # from a previously truncated response.
4913
5758
  # @return [String]
4914
5759
  #
@@ -4953,7 +5798,7 @@ module Aws::Imagebuilder
4953
5798
  #
4954
5799
  # @!attribute [rw] next_token
4955
5800
  # The next token used for paginated responses. When this field isn't
4956
- # empty, there are additional elements that the service has'ot
5801
+ # empty, there are additional elements that the service hasn't
4957
5802
  # included in this request. Use this token with the next request to
4958
5803
  # retrieve additional objects.
4959
5804
  # @return [String]
@@ -4990,7 +5835,7 @@ module Aws::Imagebuilder
4990
5835
  # @return [Integer]
4991
5836
  #
4992
5837
  # @!attribute [rw] next_token
4993
- # A token to specify where to start paginating. This is the NextToken
5838
+ # A token to specify where to start paginating. This is the nextToken
4994
5839
  # from a previously truncated response.
4995
5840
  # @return [String]
4996
5841
  #
@@ -5015,7 +5860,7 @@ module Aws::Imagebuilder
5015
5860
  #
5016
5861
  # @!attribute [rw] next_token
5017
5862
  # The next token used for paginated responses. When this field isn't
5018
- # empty, there are additional elements that the service has'ot
5863
+ # empty, there are additional elements that the service hasn't
5019
5864
  # included in this request. Use this token with the next request to
5020
5865
  # retrieve additional objects.
5021
5866
  # @return [String]
@@ -5061,7 +5906,7 @@ module Aws::Imagebuilder
5061
5906
  # @return [Integer]
5062
5907
  #
5063
5908
  # @!attribute [rw] next_token
5064
- # A token to specify where to start paginating. This is the NextToken
5909
+ # A token to specify where to start paginating. This is the nextToken
5065
5910
  # from a previously truncated response.
5066
5911
  # @return [String]
5067
5912
  #
@@ -5104,7 +5949,7 @@ module Aws::Imagebuilder
5104
5949
  #
5105
5950
  # @!attribute [rw] next_token
5106
5951
  # The next token used for paginated responses. When this field isn't
5107
- # empty, there are additional elements that the service has'ot
5952
+ # empty, there are additional elements that the service hasn't
5108
5953
  # included in this request. Use this token with the next request to
5109
5954
  # retrieve additional objects.
5110
5955
  # @return [String]
@@ -5128,7 +5973,7 @@ module Aws::Imagebuilder
5128
5973
  # @return [Integer]
5129
5974
  #
5130
5975
  # @!attribute [rw] next_token
5131
- # A token to specify where to start paginating. This is the NextToken
5976
+ # A token to specify where to start paginating. This is the nextToken
5132
5977
  # from a previously truncated response.
5133
5978
  # @return [String]
5134
5979
  #
@@ -5152,7 +5997,7 @@ module Aws::Imagebuilder
5152
5997
  #
5153
5998
  # @!attribute [rw] next_token
5154
5999
  # The next token used for paginated responses. When this field isn't
5155
- # empty, there are additional elements that the service has'ot
6000
+ # empty, there are additional elements that the service hasn't
5156
6001
  # included in this request. Use this token with the next request to
5157
6002
  # retrieve additional objects.
5158
6003
  # @return [String]
@@ -5167,6 +6012,162 @@ module Aws::Imagebuilder
5167
6012
  include Aws::Structure
5168
6013
  end
5169
6014
 
6015
+ # @!attribute [rw] lifecycle_execution_id
6016
+ # Use the unique identifier for a runtime instance of the lifecycle
6017
+ # policy to get runtime details.
6018
+ # @return [String]
6019
+ #
6020
+ # @!attribute [rw] parent_resource_id
6021
+ # You can leave this empty to get a list of Image Builder resources
6022
+ # that were identified for lifecycle actions.
6023
+ #
6024
+ # To get a list of associated resources that are impacted for an
6025
+ # individual resource (the parent), specify its Amazon Resource Name
6026
+ # (ARN). Associated resources are produced from your image and
6027
+ # distributed when you run a build, such as AMIs or container images
6028
+ # stored in ECR repositories.
6029
+ # @return [String]
6030
+ #
6031
+ # @!attribute [rw] max_results
6032
+ # The maximum items to return in a request.
6033
+ # @return [Integer]
6034
+ #
6035
+ # @!attribute [rw] next_token
6036
+ # A token to specify where to start paginating. This is the nextToken
6037
+ # from a previously truncated response.
6038
+ # @return [String]
6039
+ #
6040
+ # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListLifecycleExecutionResourcesRequest AWS API Documentation
6041
+ #
6042
+ class ListLifecycleExecutionResourcesRequest < Struct.new(
6043
+ :lifecycle_execution_id,
6044
+ :parent_resource_id,
6045
+ :max_results,
6046
+ :next_token)
6047
+ SENSITIVE = []
6048
+ include Aws::Structure
6049
+ end
6050
+
6051
+ # @!attribute [rw] lifecycle_execution_id
6052
+ # Runtime details for the specified runtime instance of the lifecycle
6053
+ # policy.
6054
+ # @return [String]
6055
+ #
6056
+ # @!attribute [rw] lifecycle_execution_state
6057
+ # The current state of the lifecycle runtime instance.
6058
+ # @return [Types::LifecycleExecutionState]
6059
+ #
6060
+ # @!attribute [rw] resources
6061
+ # A list of resources that were identified for lifecycle actions.
6062
+ # @return [Array<Types::LifecycleExecutionResource>]
6063
+ #
6064
+ # @!attribute [rw] next_token
6065
+ # The next token used for paginated responses. When this field isn't
6066
+ # empty, there are additional elements that the service hasn't
6067
+ # included in this request. Use this token with the next request to
6068
+ # retrieve additional objects.
6069
+ # @return [String]
6070
+ #
6071
+ # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListLifecycleExecutionResourcesResponse AWS API Documentation
6072
+ #
6073
+ class ListLifecycleExecutionResourcesResponse < Struct.new(
6074
+ :lifecycle_execution_id,
6075
+ :lifecycle_execution_state,
6076
+ :resources,
6077
+ :next_token)
6078
+ SENSITIVE = []
6079
+ include Aws::Structure
6080
+ end
6081
+
6082
+ # @!attribute [rw] max_results
6083
+ # The maximum items to return in a request.
6084
+ # @return [Integer]
6085
+ #
6086
+ # @!attribute [rw] next_token
6087
+ # A token to specify where to start paginating. This is the nextToken
6088
+ # from a previously truncated response.
6089
+ # @return [String]
6090
+ #
6091
+ # @!attribute [rw] resource_arn
6092
+ # The Amazon Resource Name (ARN) of the resource for which to get a
6093
+ # list of lifecycle runtime instances.
6094
+ # @return [String]
6095
+ #
6096
+ # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListLifecycleExecutionsRequest AWS API Documentation
6097
+ #
6098
+ class ListLifecycleExecutionsRequest < Struct.new(
6099
+ :max_results,
6100
+ :next_token,
6101
+ :resource_arn)
6102
+ SENSITIVE = []
6103
+ include Aws::Structure
6104
+ end
6105
+
6106
+ # @!attribute [rw] lifecycle_executions
6107
+ # A list of lifecycle runtime instances for the specified resource.
6108
+ # @return [Array<Types::LifecycleExecution>]
6109
+ #
6110
+ # @!attribute [rw] next_token
6111
+ # The next token used for paginated responses. When this field isn't
6112
+ # empty, there are additional elements that the service hasn't
6113
+ # included in this request. Use this token with the next request to
6114
+ # retrieve additional objects.
6115
+ # @return [String]
6116
+ #
6117
+ # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListLifecycleExecutionsResponse AWS API Documentation
6118
+ #
6119
+ class ListLifecycleExecutionsResponse < Struct.new(
6120
+ :lifecycle_executions,
6121
+ :next_token)
6122
+ SENSITIVE = []
6123
+ include Aws::Structure
6124
+ end
6125
+
6126
+ # @!attribute [rw] filters
6127
+ # Streamline results based on one of the following values: `Name`,
6128
+ # `Status`.
6129
+ # @return [Array<Types::Filter>]
6130
+ #
6131
+ # @!attribute [rw] max_results
6132
+ # The maximum items to return in a request.
6133
+ # @return [Integer]
6134
+ #
6135
+ # @!attribute [rw] next_token
6136
+ # A token to specify where to start paginating. This is the nextToken
6137
+ # from a previously truncated response.
6138
+ # @return [String]
6139
+ #
6140
+ # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListLifecyclePoliciesRequest AWS API Documentation
6141
+ #
6142
+ class ListLifecyclePoliciesRequest < Struct.new(
6143
+ :filters,
6144
+ :max_results,
6145
+ :next_token)
6146
+ SENSITIVE = []
6147
+ include Aws::Structure
6148
+ end
6149
+
6150
+ # @!attribute [rw] lifecycle_policy_summary_list
6151
+ # A list of lifecycle policies in your Amazon Web Services account
6152
+ # that meet the criteria specified in the request.
6153
+ # @return [Array<Types::LifecyclePolicySummary>]
6154
+ #
6155
+ # @!attribute [rw] next_token
6156
+ # The next token used for paginated responses. When this field isn't
6157
+ # empty, there are additional elements that the service hasn't
6158
+ # included in this request. Use this token with the next request to
6159
+ # retrieve additional objects.
6160
+ # @return [String]
6161
+ #
6162
+ # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListLifecyclePoliciesResponse AWS API Documentation
6163
+ #
6164
+ class ListLifecyclePoliciesResponse < Struct.new(
6165
+ :lifecycle_policy_summary_list,
6166
+ :next_token)
6167
+ SENSITIVE = []
6168
+ include Aws::Structure
6169
+ end
6170
+
5170
6171
  # @!attribute [rw] resource_arn
5171
6172
  # The Amazon Resource Name (ARN) of the resource whose tags you want
5172
6173
  # to retrieve.
@@ -5197,7 +6198,7 @@ module Aws::Imagebuilder
5197
6198
  # @return [Integer]
5198
6199
  #
5199
6200
  # @!attribute [rw] next_token
5200
- # A token to specify where to start paginating. This is the NextToken
6201
+ # A token to specify where to start paginating. This is the nextToken
5201
6202
  # from a previously truncated response.
5202
6203
  # @return [String]
5203
6204
  #
@@ -5236,7 +6237,7 @@ module Aws::Imagebuilder
5236
6237
  #
5237
6238
  # @!attribute [rw] next_token
5238
6239
  # The next token used for paginated responses. When this field isn't
5239
- # empty, there are additional elements that the service has'ot
6240
+ # empty, there are additional elements that the service hasn't
5240
6241
  # included in this request. Use this token with the next request to
5241
6242
  # retrieve additional objects.
5242
6243
  # @return [String]
@@ -5258,7 +6259,7 @@ module Aws::Imagebuilder
5258
6259
  # @return [Integer]
5259
6260
  #
5260
6261
  # @!attribute [rw] next_token
5261
- # A token to specify where to start paginating. This is the NextToken
6262
+ # A token to specify where to start paginating. This is the nextToken
5262
6263
  # from a previously truncated response.
5263
6264
  # @return [String]
5264
6265
  #
@@ -5307,7 +6308,7 @@ module Aws::Imagebuilder
5307
6308
  #
5308
6309
  # @!attribute [rw] next_token
5309
6310
  # The next token used for paginated responses. When this field isn't
5310
- # empty, there are additional elements that the service has'ot
6311
+ # empty, there are additional elements that the service hasn't
5311
6312
  # included in this request. Use this token with the next request to
5312
6313
  # retrieve additional objects.
5313
6314
  # @return [String]
@@ -5659,6 +6660,64 @@ module Aws::Imagebuilder
5659
6660
  include Aws::Structure
5660
6661
  end
5661
6662
 
6663
+ # The current state of an impacted resource.
6664
+ #
6665
+ # @!attribute [rw] status
6666
+ # Shows the current lifecycle policy action that was applied to an
6667
+ # impacted resource.
6668
+ # @return [String]
6669
+ #
6670
+ # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ResourceState AWS API Documentation
6671
+ #
6672
+ class ResourceState < Struct.new(
6673
+ :status)
6674
+ SENSITIVE = []
6675
+ include Aws::Structure
6676
+ end
6677
+
6678
+ # Additional rules to specify resources that should be exempt from
6679
+ # ad-hoc lifecycle actions.
6680
+ #
6681
+ # @!attribute [rw] amis
6682
+ # Defines criteria for AMIs that are excluded from lifecycle actions.
6683
+ # @return [Types::LifecyclePolicyDetailExclusionRulesAmis]
6684
+ #
6685
+ # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ResourceStateUpdateExclusionRules AWS API Documentation
6686
+ #
6687
+ class ResourceStateUpdateExclusionRules < Struct.new(
6688
+ :amis)
6689
+ SENSITIVE = []
6690
+ include Aws::Structure
6691
+ end
6692
+
6693
+ # Specifies if the lifecycle policy should apply actions to selected
6694
+ # resources.
6695
+ #
6696
+ # @!attribute [rw] amis
6697
+ # Specifies whether the lifecycle action should apply to distributed
6698
+ # AMIs
6699
+ # @return [Boolean]
6700
+ #
6701
+ # @!attribute [rw] snapshots
6702
+ # Specifies whether the lifecycle action should apply to snapshots
6703
+ # associated with distributed AMIs.
6704
+ # @return [Boolean]
6705
+ #
6706
+ # @!attribute [rw] containers
6707
+ # Specifies whether the lifecycle action should apply to distributed
6708
+ # containers.
6709
+ # @return [Boolean]
6710
+ #
6711
+ # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ResourceStateUpdateIncludeResources AWS API Documentation
6712
+ #
6713
+ class ResourceStateUpdateIncludeResources < Struct.new(
6714
+ :amis,
6715
+ :snapshots,
6716
+ :containers)
6717
+ SENSITIVE = []
6718
+ include Aws::Structure
6719
+ end
6720
+
5662
6721
  # Properties that configure export from your build instance to a
5663
6722
  # compatible file format for your VM.
5664
6723
  #
@@ -5856,10 +6915,16 @@ module Aws::Imagebuilder
5856
6915
  # @return [String]
5857
6916
  #
5858
6917
  # @!attribute [rw] client_token
5859
- # The idempotency token used to make this request idempotent.
6918
+ # Unique, case-sensitive identifier you provide to ensure idempotency
6919
+ # of the request. For more information, see [Ensuring idempotency][1]
6920
+ # in the *Amazon EC2 API Reference*.
5860
6921
  #
5861
6922
  # **A suitable default value is auto-generated.** You should normally
5862
6923
  # not need to pass this option.
6924
+ #
6925
+ #
6926
+ #
6927
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
5863
6928
  # @return [String]
5864
6929
  #
5865
6930
  # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/StartImagePipelineExecutionRequest AWS API Documentation
@@ -5876,12 +6941,12 @@ module Aws::Imagebuilder
5876
6941
  # @return [String]
5877
6942
  #
5878
6943
  # @!attribute [rw] client_token
5879
- # The idempotency token used to make this request idempotent.
6944
+ # The client token that uniquely identifies the request.
5880
6945
  # @return [String]
5881
6946
  #
5882
6947
  # @!attribute [rw] image_build_version_arn
5883
- # The Amazon Resource Name (ARN) of the image that was created by this
5884
- # request.
6948
+ # The Amazon Resource Name (ARN) of the image that the request
6949
+ # created.
5885
6950
  # @return [String]
5886
6951
  #
5887
6952
  # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/StartImagePipelineExecutionResponse AWS API Documentation
@@ -5894,6 +6959,80 @@ module Aws::Imagebuilder
5894
6959
  include Aws::Structure
5895
6960
  end
5896
6961
 
6962
+ # @!attribute [rw] resource_arn
6963
+ # The ARN of the Image Builder resource that is updated. The state
6964
+ # update might also impact associated resources.
6965
+ # @return [String]
6966
+ #
6967
+ # @!attribute [rw] state
6968
+ # Indicates the lifecycle action to take for this request.
6969
+ # @return [Types::ResourceState]
6970
+ #
6971
+ # @!attribute [rw] execution_role
6972
+ # The name or Amazon Resource Name (ARN) of the IAM role that’s used
6973
+ # to update image state.
6974
+ # @return [String]
6975
+ #
6976
+ # @!attribute [rw] include_resources
6977
+ # A list of image resources to update state for.
6978
+ # @return [Types::ResourceStateUpdateIncludeResources]
6979
+ #
6980
+ # @!attribute [rw] exclusion_rules
6981
+ # Skip action on the image resource and associated resources if
6982
+ # specified exclusion rules are met.
6983
+ # @return [Types::ResourceStateUpdateExclusionRules]
6984
+ #
6985
+ # @!attribute [rw] update_at
6986
+ # The timestamp that indicates when resources are updated by a
6987
+ # lifecycle action.
6988
+ # @return [Time]
6989
+ #
6990
+ # @!attribute [rw] client_token
6991
+ # Unique, case-sensitive identifier you provide to ensure idempotency
6992
+ # of the request. For more information, see [Ensuring idempotency][1]
6993
+ # in the *Amazon EC2 API Reference*.
6994
+ #
6995
+ # **A suitable default value is auto-generated.** You should normally
6996
+ # not need to pass this option.
6997
+ #
6998
+ #
6999
+ #
7000
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
7001
+ # @return [String]
7002
+ #
7003
+ # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/StartResourceStateUpdateRequest AWS API Documentation
7004
+ #
7005
+ class StartResourceStateUpdateRequest < Struct.new(
7006
+ :resource_arn,
7007
+ :state,
7008
+ :execution_role,
7009
+ :include_resources,
7010
+ :exclusion_rules,
7011
+ :update_at,
7012
+ :client_token)
7013
+ SENSITIVE = []
7014
+ include Aws::Structure
7015
+ end
7016
+
7017
+ # @!attribute [rw] lifecycle_execution_id
7018
+ # Identifies the lifecycle runtime instance that started the resource
7019
+ # state update.
7020
+ # @return [String]
7021
+ #
7022
+ # @!attribute [rw] resource_arn
7023
+ # The requested ARN of the Image Builder resource for the asynchronous
7024
+ # update.
7025
+ # @return [String]
7026
+ #
7027
+ # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/StartResourceStateUpdateResponse AWS API Documentation
7028
+ #
7029
+ class StartResourceStateUpdateResponse < Struct.new(
7030
+ :lifecycle_execution_id,
7031
+ :resource_arn)
7032
+ SENSITIVE = []
7033
+ include Aws::Structure
7034
+ end
7035
+
5897
7036
  # Contains settings for the Systems Manager agent on your build
5898
7037
  # instance.
5899
7038
  #
@@ -5990,10 +7129,16 @@ module Aws::Imagebuilder
5990
7129
  # @return [Array<Types::Distribution>]
5991
7130
  #
5992
7131
  # @!attribute [rw] client_token
5993
- # The idempotency token of the distribution configuration.
7132
+ # Unique, case-sensitive identifier you provide to ensure idempotency
7133
+ # of the request. For more information, see [Ensuring idempotency][1]
7134
+ # in the *Amazon EC2 API Reference*.
5994
7135
  #
5995
7136
  # **A suitable default value is auto-generated.** You should normally
5996
7137
  # not need to pass this option.
7138
+ #
7139
+ #
7140
+ #
7141
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
5997
7142
  # @return [String]
5998
7143
  #
5999
7144
  # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/UpdateDistributionConfigurationRequest AWS API Documentation
@@ -6012,7 +7157,7 @@ module Aws::Imagebuilder
6012
7157
  # @return [String]
6013
7158
  #
6014
7159
  # @!attribute [rw] client_token
6015
- # The idempotency token used to make this request idempotent.
7160
+ # The client token that uniquely identifies the request.
6016
7161
  # @return [String]
6017
7162
  #
6018
7163
  # @!attribute [rw] distribution_configuration_arn
@@ -6080,10 +7225,16 @@ module Aws::Imagebuilder
6080
7225
  # @return [String]
6081
7226
  #
6082
7227
  # @!attribute [rw] client_token
6083
- # The idempotency token used to make this request idempotent.
7228
+ # Unique, case-sensitive identifier you provide to ensure idempotency
7229
+ # of the request. For more information, see [Ensuring idempotency][1]
7230
+ # in the *Amazon EC2 API Reference*.
6084
7231
  #
6085
7232
  # **A suitable default value is auto-generated.** You should normally
6086
7233
  # not need to pass this option.
7234
+ #
7235
+ #
7236
+ #
7237
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
6087
7238
  # @return [String]
6088
7239
  #
6089
7240
  # @!attribute [rw] image_scanning_configuration
@@ -6114,7 +7265,7 @@ module Aws::Imagebuilder
6114
7265
  # @return [String]
6115
7266
  #
6116
7267
  # @!attribute [rw] client_token
6117
- # The idempotency token used to make this request idempotent.
7268
+ # The client token that uniquely identifies the request.
6118
7269
  # @return [String]
6119
7270
  #
6120
7271
  # @!attribute [rw] image_pipeline_arn
@@ -6191,10 +7342,16 @@ module Aws::Imagebuilder
6191
7342
  # @return [String]
6192
7343
  #
6193
7344
  # @!attribute [rw] client_token
6194
- # The idempotency token used to make this request idempotent.
7345
+ # Unique, case-sensitive identifier you provide to ensure idempotency
7346
+ # of the request. For more information, see [Ensuring idempotency][1]
7347
+ # in the *Amazon EC2 API Reference*.
6195
7348
  #
6196
7349
  # **A suitable default value is auto-generated.** You should normally
6197
7350
  # not need to pass this option.
7351
+ #
7352
+ #
7353
+ #
7354
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
6198
7355
  # @return [String]
6199
7356
  #
6200
7357
  # @!attribute [rw] resource_tags
@@ -6244,7 +7401,7 @@ module Aws::Imagebuilder
6244
7401
  # @return [String]
6245
7402
  #
6246
7403
  # @!attribute [rw] client_token
6247
- # The idempotency token used to make this request idempotent.
7404
+ # The client token that uniquely identifies the request.
6248
7405
  # @return [String]
6249
7406
  #
6250
7407
  # @!attribute [rw] infrastructure_configuration_arn
@@ -6262,6 +7419,76 @@ module Aws::Imagebuilder
6262
7419
  include Aws::Structure
6263
7420
  end
6264
7421
 
7422
+ # @!attribute [rw] lifecycle_policy_arn
7423
+ # The Amazon Resource Name (ARN) of the lifecycle policy resource.
7424
+ # @return [String]
7425
+ #
7426
+ # @!attribute [rw] description
7427
+ # Optional description for the lifecycle policy.
7428
+ # @return [String]
7429
+ #
7430
+ # @!attribute [rw] status
7431
+ # Indicates whether the lifecycle policy resource is enabled.
7432
+ # @return [String]
7433
+ #
7434
+ # @!attribute [rw] execution_role
7435
+ # The name of the IAM role that Image Builder should use to update the
7436
+ # lifecycle policy.
7437
+ # @return [String]
7438
+ #
7439
+ # @!attribute [rw] resource_type
7440
+ # The type of image resource that the lifecycle policy applies to.
7441
+ # @return [String]
7442
+ #
7443
+ # @!attribute [rw] policy_details
7444
+ # The configuration details for a lifecycle policy resource.
7445
+ # @return [Array<Types::LifecyclePolicyDetail>]
7446
+ #
7447
+ # @!attribute [rw] resource_selection
7448
+ # Selection criteria for resources that the lifecycle policy applies
7449
+ # to.
7450
+ # @return [Types::LifecyclePolicyResourceSelection]
7451
+ #
7452
+ # @!attribute [rw] client_token
7453
+ # Unique, case-sensitive identifier you provide to ensure idempotency
7454
+ # of the request. For more information, see [Ensuring idempotency][1]
7455
+ # in the *Amazon EC2 API Reference*.
7456
+ #
7457
+ # **A suitable default value is auto-generated.** You should normally
7458
+ # not need to pass this option.
7459
+ #
7460
+ #
7461
+ #
7462
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
7463
+ # @return [String]
7464
+ #
7465
+ # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/UpdateLifecyclePolicyRequest AWS API Documentation
7466
+ #
7467
+ class UpdateLifecyclePolicyRequest < Struct.new(
7468
+ :lifecycle_policy_arn,
7469
+ :description,
7470
+ :status,
7471
+ :execution_role,
7472
+ :resource_type,
7473
+ :policy_details,
7474
+ :resource_selection,
7475
+ :client_token)
7476
+ SENSITIVE = []
7477
+ include Aws::Structure
7478
+ end
7479
+
7480
+ # @!attribute [rw] lifecycle_policy_arn
7481
+ # The ARN of the image lifecycle policy resource that was updated.
7482
+ # @return [String]
7483
+ #
7484
+ # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/UpdateLifecyclePolicyResponse AWS API Documentation
7485
+ #
7486
+ class UpdateLifecyclePolicyResponse < Struct.new(
7487
+ :lifecycle_policy_arn)
7488
+ SENSITIVE = []
7489
+ include Aws::Structure
7490
+ end
7491
+
6265
7492
  # Includes counts of image and pipeline resource findings by
6266
7493
  # vulnerability.
6267
7494
  #