aws-sdk-imagebuilder 1.44.0 → 1.45.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.
@@ -10,6 +10,30 @@
10
10
  module Aws::Imagebuilder
11
11
  module Types
12
12
 
13
+ # Contains counts of vulnerability findings from image scans that run
14
+ # when you create new Image Builder images, or build new versions of
15
+ # existing images. The vulnerability counts are grouped by severity
16
+ # level. The counts are aggregated across resources to create the final
17
+ # tally for the account that owns them.
18
+ #
19
+ # @!attribute [rw] account_id
20
+ # Identifies the account that owns the aggregated resource findings.
21
+ # @return [String]
22
+ #
23
+ # @!attribute [rw] severity_counts
24
+ # Counts by severity level for medium severity and higher level
25
+ # findings, plus a total for all of the findings.
26
+ # @return [Types::SeverityCounts]
27
+ #
28
+ # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/AccountAggregation AWS API Documentation
29
+ #
30
+ class AccountAggregation < Struct.new(
31
+ :account_id,
32
+ :severity_counts)
33
+ SENSITIVE = []
34
+ include Aws::Structure
35
+ end
36
+
13
37
  # In addition to your infrastructure configuration, these settings
14
38
  # provide an extra layer of control over your build instances. You can
15
39
  # also specify commands to run on launch for all of your build
@@ -40,7 +64,7 @@ module Aws::Imagebuilder
40
64
  #
41
65
  # <note markdown="1"> The user data is always base 64 encoded. For example, the following
42
66
  # commands are encoded as
43
- # `IyEvYmluL2Jhc2gKbWtkaXIgLXAgL3Zhci9iYi8KdG91Y2ggL3Zhci$`\:
67
+ # `IyEvYmluL2Jhc2gKbWtkaXIgLXAgL3Zhci9iYi8KdG91Y2ggL3Zhci$`:
44
68
  #
45
69
  # *#!/bin/bash*
46
70
  #
@@ -80,7 +104,7 @@ module Aws::Imagebuilder
80
104
  # @return [String]
81
105
  #
82
106
  # @!attribute [rw] state
83
- # Image state shows the image status and the reason for that status.
107
+ # Image status and the reason for that status.
84
108
  # @return [Types::ImageState]
85
109
  #
86
110
  # @!attribute [rw] account_id
@@ -156,8 +180,8 @@ module Aws::Imagebuilder
156
180
  end
157
181
 
158
182
  # @!attribute [rw] image_build_version_arn
159
- # The Amazon Resource Name (ARN) of the image whose creation you want
160
- # to cancel.
183
+ # The Amazon Resource Name (ARN) of the image that you want to cancel
184
+ # creation for.
161
185
  # @return [String]
162
186
  #
163
187
  # @!attribute [rw] client_token
@@ -191,8 +215,7 @@ module Aws::Imagebuilder
191
215
  # @return [String]
192
216
  #
193
217
  # @!attribute [rw] image_build_version_arn
194
- # The Amazon Resource Name (ARN) of the image whose creation has been
195
- # cancelled.
218
+ # The ARN of the image whose creation this request canceled.
196
219
  # @return [String]
197
220
  #
198
221
  # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/CancelImageCreationResponse AWS API Documentation
@@ -937,8 +960,8 @@ module Aws::Imagebuilder
937
960
  # @return [String]
938
961
  #
939
962
  # @!attribute [rw] component_build_version_arn
940
- # The Amazon Resource Name (ARN) of the component that was created by
941
- # this request.
963
+ # The Amazon Resource Name (ARN) of the component that this request
964
+ # created.
942
965
  # @return [String]
943
966
  #
944
967
  # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/CreateComponentResponse AWS API Documentation
@@ -1204,6 +1227,10 @@ module Aws::Imagebuilder
1204
1227
  # not need to pass this option.
1205
1228
  # @return [String]
1206
1229
  #
1230
+ # @!attribute [rw] image_scanning_configuration
1231
+ # Contains settings for vulnerability scans.
1232
+ # @return [Types::ImageScanningConfiguration]
1233
+ #
1207
1234
  # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/CreateImagePipelineRequest AWS API Documentation
1208
1235
  #
1209
1236
  class CreateImagePipelineRequest < Struct.new(
@@ -1218,7 +1245,8 @@ module Aws::Imagebuilder
1218
1245
  :schedule,
1219
1246
  :status,
1220
1247
  :tags,
1221
- :client_token)
1248
+ :client_token,
1249
+ :image_scanning_configuration)
1222
1250
  SENSITIVE = []
1223
1251
  include Aws::Structure
1224
1252
  end
@@ -1397,6 +1425,10 @@ module Aws::Imagebuilder
1397
1425
  # not need to pass this option.
1398
1426
  # @return [String]
1399
1427
  #
1428
+ # @!attribute [rw] image_scanning_configuration
1429
+ # Contains settings for vulnerability scans.
1430
+ # @return [Types::ImageScanningConfiguration]
1431
+ #
1400
1432
  # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/CreateImageRequest AWS API Documentation
1401
1433
  #
1402
1434
  class CreateImageRequest < Struct.new(
@@ -1407,7 +1439,8 @@ module Aws::Imagebuilder
1407
1439
  :image_tests_configuration,
1408
1440
  :enhanced_image_metadata_enabled,
1409
1441
  :tags,
1410
- :client_token)
1442
+ :client_token,
1443
+ :image_scanning_configuration)
1411
1444
  SENSITIVE = []
1412
1445
  include Aws::Structure
1413
1446
  end
@@ -1421,8 +1454,8 @@ module Aws::Imagebuilder
1421
1454
  # @return [String]
1422
1455
  #
1423
1456
  # @!attribute [rw] image_build_version_arn
1424
- # The Amazon Resource Name (ARN) of the image that was created by this
1425
- # request.
1457
+ # The Amazon Resource Name (ARN) of the image that this request
1458
+ # created.
1426
1459
  # @return [String]
1427
1460
  #
1428
1461
  # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/CreateImageResponse AWS API Documentation
@@ -1556,6 +1589,107 @@ module Aws::Imagebuilder
1556
1589
  include Aws::Structure
1557
1590
  end
1558
1591
 
1592
+ # Amazon Inspector generates a risk score for each finding. This score
1593
+ # helps you to prioritize findings, to focus on the most critical
1594
+ # findings and the most vulnerable resources. The score uses the Common
1595
+ # Vulnerability Scoring System (CVSS) format. This format is a
1596
+ # modification of the base CVSS score that the National Vulnerability
1597
+ # Database (NVD) provides. For more information about severity levels,
1598
+ # see [Severity levels for Amazon Inspector findings][1] in the *Amazon
1599
+ # Inspector User Guide*.
1600
+ #
1601
+ #
1602
+ #
1603
+ # [1]: https://docs.aws.amazon.com/inspector/latest/user/findings-understanding-severity.html
1604
+ #
1605
+ # @!attribute [rw] base_score
1606
+ # The CVSS base score.
1607
+ # @return [Float]
1608
+ #
1609
+ # @!attribute [rw] scoring_vector
1610
+ # The vector string of the CVSS score.
1611
+ # @return [String]
1612
+ #
1613
+ # @!attribute [rw] version
1614
+ # The CVSS version that generated the score.
1615
+ # @return [String]
1616
+ #
1617
+ # @!attribute [rw] source
1618
+ # The source of the CVSS score.
1619
+ # @return [String]
1620
+ #
1621
+ # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/CvssScore AWS API Documentation
1622
+ #
1623
+ class CvssScore < Struct.new(
1624
+ :base_score,
1625
+ :scoring_vector,
1626
+ :version,
1627
+ :source)
1628
+ SENSITIVE = []
1629
+ include Aws::Structure
1630
+ end
1631
+
1632
+ # Details about an adjustment that Amazon Inspector made to the CVSS
1633
+ # score for a finding.
1634
+ #
1635
+ # @!attribute [rw] metric
1636
+ # The metric that Amazon Inspector used to adjust the CVSS score.
1637
+ # @return [String]
1638
+ #
1639
+ # @!attribute [rw] reason
1640
+ # The reason for the CVSS score adjustment.
1641
+ # @return [String]
1642
+ #
1643
+ # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/CvssScoreAdjustment AWS API Documentation
1644
+ #
1645
+ class CvssScoreAdjustment < Struct.new(
1646
+ :metric,
1647
+ :reason)
1648
+ SENSITIVE = []
1649
+ include Aws::Structure
1650
+ end
1651
+
1652
+ # Details about the source of the score, and the factors that determined
1653
+ # the adjustments to create the final score.
1654
+ #
1655
+ # @!attribute [rw] score_source
1656
+ # The source for the CVSS score.
1657
+ # @return [String]
1658
+ #
1659
+ # @!attribute [rw] cvss_source
1660
+ # The source of the finding.
1661
+ # @return [String]
1662
+ #
1663
+ # @!attribute [rw] version
1664
+ # The CVSS version that generated the score.
1665
+ # @return [String]
1666
+ #
1667
+ # @!attribute [rw] score
1668
+ # The CVSS score.
1669
+ # @return [Float]
1670
+ #
1671
+ # @!attribute [rw] scoring_vector
1672
+ # A vector that measures the severity of the vulnerability.
1673
+ # @return [String]
1674
+ #
1675
+ # @!attribute [rw] adjustments
1676
+ # An object that contains details about an adjustment that Amazon
1677
+ # Inspector made to the CVSS score for the finding.
1678
+ # @return [Array<Types::CvssScoreAdjustment>]
1679
+ #
1680
+ # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/CvssScoreDetails AWS API Documentation
1681
+ #
1682
+ class CvssScoreDetails < Struct.new(
1683
+ :score_source,
1684
+ :cvss_source,
1685
+ :version,
1686
+ :score,
1687
+ :scoring_vector,
1688
+ :adjustments)
1689
+ SENSITIVE = []
1690
+ include Aws::Structure
1691
+ end
1692
+
1559
1693
  # @!attribute [rw] component_build_version_arn
1560
1694
  # The Amazon Resource Name (ARN) of the component build version to
1561
1695
  # delete.
@@ -1574,8 +1708,7 @@ module Aws::Imagebuilder
1574
1708
  # @return [String]
1575
1709
  #
1576
1710
  # @!attribute [rw] component_build_version_arn
1577
- # The Amazon Resource Name (ARN) of the component build version that
1578
- # was deleted.
1711
+ # The ARN of the component build version that this request deleted.
1579
1712
  # @return [String]
1580
1713
  #
1581
1714
  # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/DeleteComponentResponse AWS API Documentation
@@ -1725,8 +1858,8 @@ module Aws::Imagebuilder
1725
1858
  # @return [String]
1726
1859
  #
1727
1860
  # @!attribute [rw] image_build_version_arn
1728
- # The Amazon Resource Name (ARN) of the Image Builder image resource
1729
- # that was deleted.
1861
+ # The ARN of the Image Builder image resource that this request
1862
+ # deleted.
1730
1863
  # @return [String]
1731
1864
  #
1732
1865
  # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/DeleteImageResponse AWS API Documentation
@@ -1964,6 +2097,33 @@ module Aws::Imagebuilder
1964
2097
  include Aws::Structure
1965
2098
  end
1966
2099
 
2100
+ # Settings that Image Builder uses to configure the ECR repository and
2101
+ # the output container images that Amazon Inspector scans.
2102
+ #
2103
+ # @!attribute [rw] repository_name
2104
+ # The name of the container repository that Amazon Inspector scans to
2105
+ # identify findings for your container images. The name includes the
2106
+ # path for the repository location. If you don’t provide this
2107
+ # information, Image Builder creates a repository in your account
2108
+ # named `image-builder-image-scanning-repository` for vulnerability
2109
+ # scans of your output container images.
2110
+ # @return [String]
2111
+ #
2112
+ # @!attribute [rw] container_tags
2113
+ # Tags for Image Builder to apply to the output container image that
2114
+ # &amp;INS; scans. Tags can help you identify and manage your scanned
2115
+ # images.
2116
+ # @return [Array<String>]
2117
+ #
2118
+ # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/EcrConfiguration AWS API Documentation
2119
+ #
2120
+ class EcrConfiguration < Struct.new(
2121
+ :repository_name,
2122
+ :container_tags)
2123
+ SENSITIVE = []
2124
+ include Aws::Structure
2125
+ end
2126
+
1967
2127
  # Define and configure faster launching for output Windows AMIs.
1968
2128
  #
1969
2129
  # @!attribute [rw] enabled
@@ -2121,7 +2281,7 @@ module Aws::Imagebuilder
2121
2281
 
2122
2282
  # @!attribute [rw] component_build_version_arn
2123
2283
  # The Amazon Resource Name (ARN) of the component that you want to
2124
- # retrieve. Regex requires "/\\d+$" suffix.
2284
+ # get. Regex requires the suffix `/\d+$`.
2125
2285
  # @return [String]
2126
2286
  #
2127
2287
  # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetComponentRequest AWS API Documentation
@@ -2359,8 +2519,7 @@ module Aws::Imagebuilder
2359
2519
  end
2360
2520
 
2361
2521
  # @!attribute [rw] image_build_version_arn
2362
- # The Amazon Resource Name (ARN) of the image that you want to
2363
- # retrieve.
2522
+ # The Amazon Resource Name (ARN) of the image that you want to get.
2364
2523
  # @return [String]
2365
2524
  #
2366
2525
  # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetImageRequest AWS API Documentation
@@ -2422,6 +2581,222 @@ module Aws::Imagebuilder
2422
2581
  include Aws::Structure
2423
2582
  end
2424
2583
 
2584
+ # @!attribute [rw] workflow_execution_id
2585
+ # Use the unique identifier for a runtime instance of the workflow to
2586
+ # get runtime details.
2587
+ # @return [String]
2588
+ #
2589
+ # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetWorkflowExecutionRequest AWS API Documentation
2590
+ #
2591
+ class GetWorkflowExecutionRequest < Struct.new(
2592
+ :workflow_execution_id)
2593
+ SENSITIVE = []
2594
+ include Aws::Structure
2595
+ end
2596
+
2597
+ # @!attribute [rw] request_id
2598
+ # The request ID that uniquely identifies this request.
2599
+ # @return [String]
2600
+ #
2601
+ # @!attribute [rw] workflow_build_version_arn
2602
+ # The Amazon Resource Name (ARN) of the build version for the Image
2603
+ # Builder workflow resource that defines the specified runtime
2604
+ # instance of the workflow.
2605
+ # @return [String]
2606
+ #
2607
+ # @!attribute [rw] workflow_execution_id
2608
+ # The unique identifier that Image Builder assigned to keep track of
2609
+ # runtime details when it ran the workflow.
2610
+ # @return [String]
2611
+ #
2612
+ # @!attribute [rw] image_build_version_arn
2613
+ # The Amazon Resource Name (ARN) of the image resource build version
2614
+ # that the specified runtime instance of the workflow created.
2615
+ # @return [String]
2616
+ #
2617
+ # @!attribute [rw] type
2618
+ # The type of workflow that Image Builder ran for the specified
2619
+ # runtime instance of the workflow.
2620
+ # @return [String]
2621
+ #
2622
+ # @!attribute [rw] status
2623
+ # The current runtime status for the specified runtime instance of the
2624
+ # workflow.
2625
+ # @return [String]
2626
+ #
2627
+ # @!attribute [rw] message
2628
+ # The output message from the specified runtime instance of the
2629
+ # workflow, if applicable.
2630
+ # @return [String]
2631
+ #
2632
+ # @!attribute [rw] total_step_count
2633
+ # The total number of steps in the specified runtime instance of the
2634
+ # workflow that ran. This number should equal the sum of the step
2635
+ # counts for steps that succeeded, were skipped, and failed.
2636
+ # @return [Integer]
2637
+ #
2638
+ # @!attribute [rw] total_steps_succeeded
2639
+ # A runtime count for the number of steps that ran successfully in the
2640
+ # specified runtime instance of the workflow.
2641
+ # @return [Integer]
2642
+ #
2643
+ # @!attribute [rw] total_steps_failed
2644
+ # A runtime count for the number of steps that failed in the specified
2645
+ # runtime instance of the workflow.
2646
+ # @return [Integer]
2647
+ #
2648
+ # @!attribute [rw] total_steps_skipped
2649
+ # A runtime count for the number of steps that were skipped in the
2650
+ # specified runtime instance of the workflow.
2651
+ # @return [Integer]
2652
+ #
2653
+ # @!attribute [rw] start_time
2654
+ # The timestamp when the specified runtime instance of the workflow
2655
+ # started.
2656
+ # @return [String]
2657
+ #
2658
+ # @!attribute [rw] end_time
2659
+ # The timestamp when the specified runtime instance of the workflow
2660
+ # finished.
2661
+ # @return [String]
2662
+ #
2663
+ # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetWorkflowExecutionResponse AWS API Documentation
2664
+ #
2665
+ class GetWorkflowExecutionResponse < Struct.new(
2666
+ :request_id,
2667
+ :workflow_build_version_arn,
2668
+ :workflow_execution_id,
2669
+ :image_build_version_arn,
2670
+ :type,
2671
+ :status,
2672
+ :message,
2673
+ :total_step_count,
2674
+ :total_steps_succeeded,
2675
+ :total_steps_failed,
2676
+ :total_steps_skipped,
2677
+ :start_time,
2678
+ :end_time)
2679
+ SENSITIVE = []
2680
+ include Aws::Structure
2681
+ end
2682
+
2683
+ # @!attribute [rw] step_execution_id
2684
+ # Use the unique identifier for a specific runtime instance of the
2685
+ # workflow step to get runtime details for that step.
2686
+ # @return [String]
2687
+ #
2688
+ # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetWorkflowStepExecutionRequest AWS API Documentation
2689
+ #
2690
+ class GetWorkflowStepExecutionRequest < Struct.new(
2691
+ :step_execution_id)
2692
+ SENSITIVE = []
2693
+ include Aws::Structure
2694
+ end
2695
+
2696
+ # @!attribute [rw] request_id
2697
+ # The request ID that uniquely identifies this request.
2698
+ # @return [String]
2699
+ #
2700
+ # @!attribute [rw] step_execution_id
2701
+ # The unique identifier for the runtime version of the workflow step
2702
+ # that you specified in the request.
2703
+ # @return [String]
2704
+ #
2705
+ # @!attribute [rw] workflow_build_version_arn
2706
+ # The Amazon Resource Name (ARN) of the build version for the Image
2707
+ # Builder workflow resource that defines this workflow step.
2708
+ # @return [String]
2709
+ #
2710
+ # @!attribute [rw] workflow_execution_id
2711
+ # The unique identifier that Image Builder assigned to keep track of
2712
+ # runtime details when it ran the workflow.
2713
+ # @return [String]
2714
+ #
2715
+ # @!attribute [rw] image_build_version_arn
2716
+ # The Amazon Resource Name (ARN) of the image resource build version
2717
+ # that the specified runtime instance of the workflow step creates.
2718
+ # @return [String]
2719
+ #
2720
+ # @!attribute [rw] name
2721
+ # The name of the specified runtime instance of the workflow step.
2722
+ # @return [String]
2723
+ #
2724
+ # @!attribute [rw] description
2725
+ # Describes the specified workflow step.
2726
+ # @return [String]
2727
+ #
2728
+ # @!attribute [rw] action
2729
+ # The name of the action that the specified step performs.
2730
+ # @return [String]
2731
+ #
2732
+ # @!attribute [rw] status
2733
+ # The current status for the specified runtime version of the workflow
2734
+ # step.
2735
+ # @return [String]
2736
+ #
2737
+ # @!attribute [rw] rollback_status
2738
+ # Reports on the rollback status of the specified runtime version of
2739
+ # the workflow step, if applicable.
2740
+ # @return [String]
2741
+ #
2742
+ # @!attribute [rw] message
2743
+ # The output message from the specified runtime instance of the
2744
+ # workflow step, if applicable.
2745
+ # @return [String]
2746
+ #
2747
+ # @!attribute [rw] inputs
2748
+ # Input parameters that Image Builder provided for the specified
2749
+ # runtime instance of the workflow step.
2750
+ # @return [String]
2751
+ #
2752
+ # @!attribute [rw] outputs
2753
+ # The file names that the specified runtime version of the workflow
2754
+ # step created as output.
2755
+ # @return [String]
2756
+ #
2757
+ # @!attribute [rw] start_time
2758
+ # The timestamp when the specified runtime version of the workflow
2759
+ # step started.
2760
+ # @return [String]
2761
+ #
2762
+ # @!attribute [rw] end_time
2763
+ # The timestamp when the specified runtime instance of the workflow
2764
+ # step finished.
2765
+ # @return [String]
2766
+ #
2767
+ # @!attribute [rw] on_failure
2768
+ # The action to perform if the workflow step fails.
2769
+ # @return [String]
2770
+ #
2771
+ # @!attribute [rw] timeout_seconds
2772
+ # The maximum duration in seconds for this step to complete its
2773
+ # action.
2774
+ # @return [Integer]
2775
+ #
2776
+ # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetWorkflowStepExecutionResponse AWS API Documentation
2777
+ #
2778
+ class GetWorkflowStepExecutionResponse < Struct.new(
2779
+ :request_id,
2780
+ :step_execution_id,
2781
+ :workflow_build_version_arn,
2782
+ :workflow_execution_id,
2783
+ :image_build_version_arn,
2784
+ :name,
2785
+ :description,
2786
+ :action,
2787
+ :status,
2788
+ :rollback_status,
2789
+ :message,
2790
+ :inputs,
2791
+ :outputs,
2792
+ :start_time,
2793
+ :end_time,
2794
+ :on_failure,
2795
+ :timeout_seconds)
2796
+ SENSITIVE = []
2797
+ include Aws::Structure
2798
+ end
2799
+
2425
2800
  # You have specified a client token for an operation using parameter
2426
2801
  # values that differ from a previous request that used the same client
2427
2802
  # token.
@@ -2579,6 +2954,15 @@ module Aws::Imagebuilder
2579
2954
  # image.
2580
2955
  # @return [String]
2581
2956
  #
2957
+ # @!attribute [rw] scan_state
2958
+ # Contains information about the current state of scans for this
2959
+ # image.
2960
+ # @return [Types::ImageScanState]
2961
+ #
2962
+ # @!attribute [rw] image_scanning_configuration
2963
+ # Contains settings for vulnerability scans.
2964
+ # @return [Types::ImageScanningConfiguration]
2965
+ #
2582
2966
  # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/Image AWS API Documentation
2583
2967
  #
2584
2968
  class Image < Struct.new(
@@ -2601,7 +2985,31 @@ module Aws::Imagebuilder
2601
2985
  :output_resources,
2602
2986
  :tags,
2603
2987
  :build_type,
2604
- :image_source)
2988
+ :image_source,
2989
+ :scan_state,
2990
+ :image_scanning_configuration)
2991
+ SENSITIVE = []
2992
+ include Aws::Structure
2993
+ end
2994
+
2995
+ # Contains vulnerability counts for a specific image.
2996
+ #
2997
+ # @!attribute [rw] image_build_version_arn
2998
+ # The Amazon Resource Name (ARN) that identifies the image for this
2999
+ # aggregation.
3000
+ # @return [String]
3001
+ #
3002
+ # @!attribute [rw] severity_counts
3003
+ # Counts by severity level for medium severity and higher level
3004
+ # findings, plus a total for all of the findings for the specified
3005
+ # image.
3006
+ # @return [Types::SeverityCounts]
3007
+ #
3008
+ # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ImageAggregation AWS API Documentation
3009
+ #
3010
+ class ImageAggregation < Struct.new(
3011
+ :image_build_version_arn,
3012
+ :severity_counts)
2605
3013
  SENSITIVE = []
2606
3014
  include Aws::Structure
2607
3015
  end
@@ -2704,6 +3112,10 @@ module Aws::Imagebuilder
2704
3112
  # The tags of this image pipeline.
2705
3113
  # @return [Hash<String,String>]
2706
3114
  #
3115
+ # @!attribute [rw] image_scanning_configuration
3116
+ # Contains settings for vulnerability scans.
3117
+ # @return [Types::ImageScanningConfiguration]
3118
+ #
2707
3119
  # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ImagePipeline AWS API Documentation
2708
3120
  #
2709
3121
  class ImagePipeline < Struct.new(
@@ -2723,7 +3135,30 @@ module Aws::Imagebuilder
2723
3135
  :date_updated,
2724
3136
  :date_last_run,
2725
3137
  :date_next_run,
2726
- :tags)
3138
+ :tags,
3139
+ :image_scanning_configuration)
3140
+ SENSITIVE = []
3141
+ include Aws::Structure
3142
+ end
3143
+
3144
+ # Contains vulnerability counts for a specific image pipeline.
3145
+ #
3146
+ # @!attribute [rw] image_pipeline_arn
3147
+ # The Amazon Resource Name (ARN) that identifies the image pipeline
3148
+ # for this aggregation.
3149
+ # @return [String]
3150
+ #
3151
+ # @!attribute [rw] severity_counts
3152
+ # Counts by severity level for medium severity and higher level
3153
+ # findings, plus a total for all of the findings for the specified
3154
+ # image pipeline.
3155
+ # @return [Types::SeverityCounts]
3156
+ #
3157
+ # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ImagePipelineAggregation AWS API Documentation
3158
+ #
3159
+ class ImagePipelineAggregation < Struct.new(
3160
+ :image_pipeline_arn,
3161
+ :severity_counts)
2727
3162
  SENSITIVE = []
2728
3163
  include Aws::Structure
2729
3164
  end
@@ -2859,56 +3294,240 @@ module Aws::Imagebuilder
2859
3294
  include Aws::Structure
2860
3295
  end
2861
3296
 
2862
- # Image state shows the image status and the reason for that status.
2863
- #
2864
- # @!attribute [rw] status
2865
- # The status of the image.
2866
- # @return [String]
3297
+ # Contains details about a vulnerability scan finding.
2867
3298
  #
2868
- # @!attribute [rw] reason
2869
- # The reason for the image's status.
3299
+ # @!attribute [rw] aws_account_id
3300
+ # The Amazon Web Services account ID that's associated with the
3301
+ # finding.
2870
3302
  # @return [String]
2871
3303
  #
2872
- # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ImageState AWS API Documentation
2873
- #
2874
- class ImageState < Struct.new(
2875
- :status,
2876
- :reason)
2877
- SENSITIVE = []
2878
- include Aws::Structure
2879
- end
2880
-
2881
- # An image summary.
2882
- #
2883
- # @!attribute [rw] arn
2884
- # The Amazon Resource Name (ARN) of the image.
3304
+ # @!attribute [rw] image_build_version_arn
3305
+ # The Amazon Resource Name (ARN) of the image build version that's
3306
+ # associated with the finding.
2885
3307
  # @return [String]
2886
3308
  #
2887
- # @!attribute [rw] name
2888
- # The name of the image.
3309
+ # @!attribute [rw] image_pipeline_arn
3310
+ # The Amazon Resource Name (ARN) of the image pipeline that's
3311
+ # associated with the finding.
2889
3312
  # @return [String]
2890
3313
  #
2891
3314
  # @!attribute [rw] type
2892
- # Specifies whether this image produces an AMI or a container image.
3315
+ # The type of the finding. Image Builder looks for findings of the
3316
+ # type `PACKAGE_VULNERABILITY` that apply to output images, and
3317
+ # excludes other types.
2893
3318
  # @return [String]
2894
3319
  #
2895
- # @!attribute [rw] version
2896
- # The version of the image.
3320
+ # @!attribute [rw] description
3321
+ # The description of the finding.
2897
3322
  # @return [String]
2898
3323
  #
2899
- # @!attribute [rw] platform
2900
- # The image operating system platform, such as Linux or Windows.
3324
+ # @!attribute [rw] title
3325
+ # The title of the finding.
2901
3326
  # @return [String]
2902
3327
  #
2903
- # @!attribute [rw] os_version
2904
- # The operating system version of the instances that launch from this
2905
- # image. For example, Amazon Linux 2, Ubuntu 18, or Microsoft Windows
2906
- # Server 2019.
3328
+ # @!attribute [rw] remediation
3329
+ # An object that contains the details about how to remediate the
3330
+ # finding.
3331
+ # @return [Types::Remediation]
3332
+ #
3333
+ # @!attribute [rw] severity
3334
+ # The severity of the finding.
2907
3335
  # @return [String]
2908
3336
  #
2909
- # @!attribute [rw] state
2910
- # The state of the image.
2911
- # @return [Types::ImageState]
3337
+ # @!attribute [rw] first_observed_at
3338
+ # The date and time when the finding was first observed.
3339
+ # @return [Time]
3340
+ #
3341
+ # @!attribute [rw] updated_at
3342
+ # The timestamp when the finding was last updated.
3343
+ # @return [Time]
3344
+ #
3345
+ # @!attribute [rw] inspector_score
3346
+ # The score that Amazon Inspector assigned for the finding.
3347
+ # @return [Float]
3348
+ #
3349
+ # @!attribute [rw] inspector_score_details
3350
+ # An object that contains details of the Amazon Inspector score.
3351
+ # @return [Types::InspectorScoreDetails]
3352
+ #
3353
+ # @!attribute [rw] package_vulnerability_details
3354
+ # An object that contains the details of a package vulnerability
3355
+ # finding.
3356
+ # @return [Types::PackageVulnerabilityDetails]
3357
+ #
3358
+ # @!attribute [rw] fix_available
3359
+ # Details about whether a fix is available for any of the packages
3360
+ # that are identified in the finding through a version update.
3361
+ # @return [String]
3362
+ #
3363
+ # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ImageScanFinding AWS API Documentation
3364
+ #
3365
+ class ImageScanFinding < Struct.new(
3366
+ :aws_account_id,
3367
+ :image_build_version_arn,
3368
+ :image_pipeline_arn,
3369
+ :type,
3370
+ :description,
3371
+ :title,
3372
+ :remediation,
3373
+ :severity,
3374
+ :first_observed_at,
3375
+ :updated_at,
3376
+ :inspector_score,
3377
+ :inspector_score_details,
3378
+ :package_vulnerability_details,
3379
+ :fix_available)
3380
+ SENSITIVE = []
3381
+ include Aws::Structure
3382
+ end
3383
+
3384
+ # This returns exactly one type of aggregation, based on the filter that
3385
+ # Image Builder applies in its API action.
3386
+ #
3387
+ # @!attribute [rw] account_aggregation
3388
+ # Returns an object that contains severity counts based on an account
3389
+ # ID.
3390
+ # @return [Types::AccountAggregation]
3391
+ #
3392
+ # @!attribute [rw] image_aggregation
3393
+ # Returns an object that contains severity counts based on the Amazon
3394
+ # Resource Name (ARN) for a specific image.
3395
+ # @return [Types::ImageAggregation]
3396
+ #
3397
+ # @!attribute [rw] image_pipeline_aggregation
3398
+ # Returns an object that contains severity counts based on an image
3399
+ # pipeline ARN.
3400
+ # @return [Types::ImagePipelineAggregation]
3401
+ #
3402
+ # @!attribute [rw] vulnerability_id_aggregation
3403
+ # Returns an object that contains severity counts based on
3404
+ # vulnerability ID.
3405
+ # @return [Types::VulnerabilityIdAggregation]
3406
+ #
3407
+ # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ImageScanFindingAggregation AWS API Documentation
3408
+ #
3409
+ class ImageScanFindingAggregation < Struct.new(
3410
+ :account_aggregation,
3411
+ :image_aggregation,
3412
+ :image_pipeline_aggregation,
3413
+ :vulnerability_id_aggregation)
3414
+ SENSITIVE = []
3415
+ include Aws::Structure
3416
+ end
3417
+
3418
+ # A name value pair that Image Builder applies to streamline results
3419
+ # from the vulnerability scan findings list action.
3420
+ #
3421
+ # @!attribute [rw] name
3422
+ # The name of the image scan finding filter. Filter names are
3423
+ # case-sensitive.
3424
+ # @return [String]
3425
+ #
3426
+ # @!attribute [rw] values
3427
+ # The filter values. Filter values are case-sensitive.
3428
+ # @return [Array<String>]
3429
+ #
3430
+ # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ImageScanFindingsFilter AWS API Documentation
3431
+ #
3432
+ class ImageScanFindingsFilter < Struct.new(
3433
+ :name,
3434
+ :values)
3435
+ SENSITIVE = []
3436
+ include Aws::Structure
3437
+ end
3438
+
3439
+ # Shows the vulnerability scan status for a specific image, and the
3440
+ # reason for that status.
3441
+ #
3442
+ # @!attribute [rw] status
3443
+ # The current state of vulnerability scans for the image.
3444
+ # @return [String]
3445
+ #
3446
+ # @!attribute [rw] reason
3447
+ # The reason for the scan status for the image.
3448
+ # @return [String]
3449
+ #
3450
+ # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ImageScanState AWS API Documentation
3451
+ #
3452
+ class ImageScanState < Struct.new(
3453
+ :status,
3454
+ :reason)
3455
+ SENSITIVE = []
3456
+ include Aws::Structure
3457
+ end
3458
+
3459
+ # Contains settings for Image Builder image resource and container image
3460
+ # scans.
3461
+ #
3462
+ # @!attribute [rw] image_scanning_enabled
3463
+ # A setting that indicates whether Image Builder keeps a snapshot of
3464
+ # the vulnerability scans that Amazon Inspector runs against the build
3465
+ # instance when you create a new image.
3466
+ # @return [Boolean]
3467
+ #
3468
+ # @!attribute [rw] ecr_configuration
3469
+ # Contains Amazon ECR settings for vulnerability scans.
3470
+ # @return [Types::EcrConfiguration]
3471
+ #
3472
+ # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ImageScanningConfiguration AWS API Documentation
3473
+ #
3474
+ class ImageScanningConfiguration < Struct.new(
3475
+ :image_scanning_enabled,
3476
+ :ecr_configuration)
3477
+ SENSITIVE = []
3478
+ include Aws::Structure
3479
+ end
3480
+
3481
+ # Image status and the reason for that status.
3482
+ #
3483
+ # @!attribute [rw] status
3484
+ # The status of the image.
3485
+ # @return [String]
3486
+ #
3487
+ # @!attribute [rw] reason
3488
+ # The reason for the status of the image.
3489
+ # @return [String]
3490
+ #
3491
+ # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ImageState AWS API Documentation
3492
+ #
3493
+ class ImageState < Struct.new(
3494
+ :status,
3495
+ :reason)
3496
+ SENSITIVE = []
3497
+ include Aws::Structure
3498
+ end
3499
+
3500
+ # An image summary.
3501
+ #
3502
+ # @!attribute [rw] arn
3503
+ # The Amazon Resource Name (ARN) of the image.
3504
+ # @return [String]
3505
+ #
3506
+ # @!attribute [rw] name
3507
+ # The name of the image.
3508
+ # @return [String]
3509
+ #
3510
+ # @!attribute [rw] type
3511
+ # Specifies whether this image produces an AMI or a container image.
3512
+ # @return [String]
3513
+ #
3514
+ # @!attribute [rw] version
3515
+ # The version of the image.
3516
+ # @return [String]
3517
+ #
3518
+ # @!attribute [rw] platform
3519
+ # The image operating system platform, such as Linux or Windows.
3520
+ # @return [String]
3521
+ #
3522
+ # @!attribute [rw] os_version
3523
+ # The operating system version of the instances that launch from this
3524
+ # image. For example, Amazon Linux 2, Ubuntu 18, or Microsoft Windows
3525
+ # Server 2019.
3526
+ # @return [String]
3527
+ #
3528
+ # @!attribute [rw] state
3529
+ # The state of the image.
3530
+ # @return [Types::ImageState]
2912
3531
  #
2913
3532
  # @!attribute [rw] owner
2914
3533
  # The owner of the image.
@@ -3133,9 +3752,9 @@ module Aws::Imagebuilder
3133
3752
  # @return [String]
3134
3753
  #
3135
3754
  # @!attribute [rw] change_description
3136
- # The change description of the component. Describes what change has
3137
- # been made in this version, or what makes this version different from
3138
- # other versions of this component.
3755
+ # The change description of the component. This description indicates
3756
+ # the change that has been made in this version, or what makes this
3757
+ # version different from other versions of this component.
3139
3758
  # @return [String]
3140
3759
  #
3141
3760
  # @!attribute [rw] type
@@ -3476,6 +4095,22 @@ module Aws::Imagebuilder
3476
4095
  include Aws::Structure
3477
4096
  end
3478
4097
 
4098
+ # Information about the factors that influenced the score that Amazon
4099
+ # Inspector assigned for a finding.
4100
+ #
4101
+ # @!attribute [rw] adjusted_cvss
4102
+ # An object that contains details about an adjustment that Amazon
4103
+ # Inspector made to the CVSS score for the finding.
4104
+ # @return [Types::CvssScoreDetails]
4105
+ #
4106
+ # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/InspectorScoreDetails AWS API Documentation
4107
+ #
4108
+ class InspectorScoreDetails < Struct.new(
4109
+ :adjusted_cvss)
4110
+ SENSITIVE = []
4111
+ include Aws::Structure
4112
+ end
4113
+
3479
4114
  # Defines block device mappings for the instance used to configure your
3480
4115
  # image.
3481
4116
  #
@@ -3628,8 +4263,7 @@ module Aws::Imagebuilder
3628
4263
  include Aws::Structure
3629
4264
  end
3630
4265
 
3631
- # You have made a request for an action that is not supported by the
3632
- # service.
4266
+ # You have requested an action that that the service doesn't support.
3633
4267
  #
3634
4268
  # @!attribute [rw] message
3635
4269
  # @return [String]
@@ -3765,10 +4399,10 @@ module Aws::Imagebuilder
3765
4399
  # @return [Array<Types::ComponentSummary>]
3766
4400
  #
3767
4401
  # @!attribute [rw] next_token
3768
- # The next token used for paginated responses. When this is not empty,
3769
- # there are additional elements that the service has not included in
3770
- # this request. Use this token with the next request to retrieve
3771
- # additional objects.
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.
3772
4406
  # @return [String]
3773
4407
  #
3774
4408
  # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListComponentBuildVersionsResponse AWS API Documentation
@@ -3845,10 +4479,10 @@ module Aws::Imagebuilder
3845
4479
  # @return [Array<Types::ComponentVersion>]
3846
4480
  #
3847
4481
  # @!attribute [rw] next_token
3848
- # The next token used for paginated responses. When this is not empty,
3849
- # there are additional elements that the service has not included in
3850
- # this request. Use this token with the next request to retrieve
3851
- # additional objects.
4482
+ # The next token used for paginated responses. When this field isn't
4483
+ # empty, there are additional elements that the service has'ot
4484
+ # included in this request. Use this token with the next request to
4485
+ # retrieve additional objects.
3852
4486
  # @return [String]
3853
4487
  #
3854
4488
  # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListComponentsResponse AWS API Documentation
@@ -3880,13 +4514,12 @@ module Aws::Imagebuilder
3880
4514
  # @return [Array<Types::Filter>]
3881
4515
  #
3882
4516
  # @!attribute [rw] max_results
3883
- # The maximum number of results to return in the list.
4517
+ # The maximum items to return in a request.
3884
4518
  # @return [Integer]
3885
4519
  #
3886
4520
  # @!attribute [rw] next_token
3887
- # Provides a token for pagination, which determines where to begin the
3888
- # next set of results when the current set reaches the maximum for one
3889
- # request.
4521
+ # A token to specify where to start paginating. This is the NextToken
4522
+ # from a previously truncated response.
3890
4523
  # @return [String]
3891
4524
  #
3892
4525
  # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListContainerRecipesRequest AWS API Documentation
@@ -3909,10 +4542,10 @@ module Aws::Imagebuilder
3909
4542
  # @return [Array<Types::ContainerRecipeSummary>]
3910
4543
  #
3911
4544
  # @!attribute [rw] next_token
3912
- # The next token field is used for paginated responses. When this is
3913
- # not empty, there are additional container recipes that the service
3914
- # has not included in this response. Use this token with the next
3915
- # request to retrieve additional list items.
4545
+ # The next token used for paginated responses. When this field isn't
4546
+ # empty, there are additional elements that the service has'ot
4547
+ # included in this request. Use this token with the next request to
4548
+ # retrieve additional objects.
3916
4549
  # @return [String]
3917
4550
  #
3918
4551
  # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListContainerRecipesResponse AWS API Documentation
@@ -3957,10 +4590,10 @@ module Aws::Imagebuilder
3957
4590
  # @return [Array<Types::DistributionConfigurationSummary>]
3958
4591
  #
3959
4592
  # @!attribute [rw] next_token
3960
- # The next token used for paginated responses. When this is not empty,
3961
- # there are additional elements that the service has not included in
3962
- # this request. Use this token with the next request to retrieve
3963
- # additional objects.
4593
+ # The next token used for paginated responses. When this field isn't
4594
+ # empty, there are additional elements that the service has'ot
4595
+ # included in this request. Use this token with the next request to
4596
+ # retrieve additional objects.
3964
4597
  # @return [String]
3965
4598
  #
3966
4599
  # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListDistributionConfigurationsResponse AWS API Documentation
@@ -4021,10 +4654,10 @@ module Aws::Imagebuilder
4021
4654
  # @return [Array<Types::ImageSummary>]
4022
4655
  #
4023
4656
  # @!attribute [rw] next_token
4024
- # The next token used for paginated responses. When this is not empty,
4025
- # there are additional elements that the service has not included in
4026
- # this request. Use this token with the next request to retrieve
4027
- # additional objects.
4657
+ # The next token used for paginated responses. When this field isn't
4658
+ # empty, there are additional elements that the service has'ot
4659
+ # included in this request. Use this token with the next request to
4660
+ # retrieve additional objects.
4028
4661
  # @return [String]
4029
4662
  #
4030
4663
  # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListImageBuildVersionsResponse AWS API Documentation
@@ -4043,8 +4676,7 @@ module Aws::Imagebuilder
4043
4676
  # @return [String]
4044
4677
  #
4045
4678
  # @!attribute [rw] max_results
4046
- # The maxiumum number of results to return from the ListImagePackages
4047
- # request.
4679
+ # The maximum items to return in a request.
4048
4680
  # @return [Integer]
4049
4681
  #
4050
4682
  # @!attribute [rw] next_token
@@ -4071,8 +4703,10 @@ module Aws::Imagebuilder
4071
4703
  # @return [Array<Types::ImagePackage>]
4072
4704
  #
4073
4705
  # @!attribute [rw] next_token
4074
- # A token to specify where to start paginating. This is the NextToken
4075
- # from a previously truncated response.
4706
+ # The next token used for paginated responses. When this field isn't
4707
+ # empty, there are additional elements that the service has'ot
4708
+ # included in this request. Use this token with the next request to
4709
+ # retrieve additional objects.
4076
4710
  # @return [String]
4077
4711
  #
4078
4712
  # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListImagePackagesResponse AWS API Documentation
@@ -4127,10 +4761,10 @@ module Aws::Imagebuilder
4127
4761
  # @return [Array<Types::ImageSummary>]
4128
4762
  #
4129
4763
  # @!attribute [rw] next_token
4130
- # The next token used for paginated responses. When this is not empty,
4131
- # there are additional elements that the service has not included in
4132
- # this request. Use this token with the next request to retrieve
4133
- # additional objects.
4764
+ # The next token used for paginated responses. When this field isn't
4765
+ # empty, there are additional elements that the service has'ot
4766
+ # included in this request. Use this token with the next request to
4767
+ # retrieve additional objects.
4134
4768
  # @return [String]
4135
4769
  #
4136
4770
  # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListImagePipelineImagesResponse AWS API Documentation
@@ -4187,10 +4821,10 @@ module Aws::Imagebuilder
4187
4821
  # @return [Array<Types::ImagePipeline>]
4188
4822
  #
4189
4823
  # @!attribute [rw] next_token
4190
- # The next token used for paginated responses. When this is not empty,
4191
- # there are additional elements that the service has not included in
4192
- # this request. Use this token with the next request to retrieve
4193
- # additional objects.
4824
+ # The next token used for paginated responses. When this field isn't
4825
+ # empty, there are additional elements that the service has'ot
4826
+ # included in this request. Use this token with the next request to
4827
+ # retrieve additional objects.
4194
4828
  # @return [String]
4195
4829
  #
4196
4830
  # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListImagePipelinesResponse AWS API Documentation
@@ -4250,10 +4884,10 @@ module Aws::Imagebuilder
4250
4884
  # @return [Array<Types::ImageRecipeSummary>]
4251
4885
  #
4252
4886
  # @!attribute [rw] next_token
4253
- # The next token used for paginated responses. When this is not empty,
4254
- # there are additional elements that the service has not included in
4255
- # this request. Use this token with the next request to retrieve
4256
- # additional objects.
4887
+ # The next token used for paginated responses. When this field isn't
4888
+ # empty, there are additional elements that the service has'ot
4889
+ # included in this request. Use this token with the next request to
4890
+ # retrieve additional objects.
4257
4891
  # @return [String]
4258
4892
  #
4259
4893
  # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListImageRecipesResponse AWS API Documentation
@@ -4266,6 +4900,136 @@ module Aws::Imagebuilder
4266
4900
  include Aws::Structure
4267
4901
  end
4268
4902
 
4903
+ # @!attribute [rw] filter
4904
+ # A filter name and value pair that is used to return a more specific
4905
+ # list of results from a list operation. Filters can be used to match
4906
+ # a set of resources by specific criteria, such as tags, attributes,
4907
+ # or IDs.
4908
+ # @return [Types::Filter]
4909
+ #
4910
+ # @!attribute [rw] next_token
4911
+ # A token to specify where to start paginating. This is the NextToken
4912
+ # from a previously truncated response.
4913
+ # @return [String]
4914
+ #
4915
+ # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListImageScanFindingAggregationsRequest AWS API Documentation
4916
+ #
4917
+ class ListImageScanFindingAggregationsRequest < Struct.new(
4918
+ :filter,
4919
+ :next_token)
4920
+ SENSITIVE = []
4921
+ include Aws::Structure
4922
+ end
4923
+
4924
+ # @!attribute [rw] request_id
4925
+ # The request ID that uniquely identifies this request.
4926
+ # @return [String]
4927
+ #
4928
+ # @!attribute [rw] aggregation_type
4929
+ # The aggregation type specifies what type of key is used to group the
4930
+ # image scan findings. Image Builder returns results based on the
4931
+ # request filter. If you didn't specify a filter in the request, the
4932
+ # type defaults to `accountId`.
4933
+ #
4934
+ # **Aggregation types**
4935
+ #
4936
+ # * accountId
4937
+ #
4938
+ # * imageBuildVersionArn
4939
+ #
4940
+ # * imagePipelineArn
4941
+ #
4942
+ # * vulnerabilityId
4943
+ #
4944
+ # Each aggregation includes counts by severity level for medium
4945
+ # severity and higher level findings, plus a total for all of the
4946
+ # findings for each key value.
4947
+ # @return [String]
4948
+ #
4949
+ # @!attribute [rw] responses
4950
+ # An array of image scan finding aggregations that match the filter
4951
+ # criteria.
4952
+ # @return [Array<Types::ImageScanFindingAggregation>]
4953
+ #
4954
+ # @!attribute [rw] next_token
4955
+ # The next token used for paginated responses. When this field isn't
4956
+ # empty, there are additional elements that the service has'ot
4957
+ # included in this request. Use this token with the next request to
4958
+ # retrieve additional objects.
4959
+ # @return [String]
4960
+ #
4961
+ # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListImageScanFindingAggregationsResponse AWS API Documentation
4962
+ #
4963
+ class ListImageScanFindingAggregationsResponse < Struct.new(
4964
+ :request_id,
4965
+ :aggregation_type,
4966
+ :responses,
4967
+ :next_token)
4968
+ SENSITIVE = []
4969
+ include Aws::Structure
4970
+ end
4971
+
4972
+ # @!attribute [rw] filters
4973
+ # An array of name value pairs that you can use to filter your
4974
+ # results. You can use the following filters to streamline results:
4975
+ #
4976
+ # * `imageBuildVersionArn`
4977
+ #
4978
+ # * `imagePipelineArn`
4979
+ #
4980
+ # * `vulnerabilityId`
4981
+ #
4982
+ # * `severity`
4983
+ #
4984
+ # If you don't request a filter, then all findings in your account
4985
+ # are listed.
4986
+ # @return [Array<Types::ImageScanFindingsFilter>]
4987
+ #
4988
+ # @!attribute [rw] max_results
4989
+ # The maximum items to return in a request.
4990
+ # @return [Integer]
4991
+ #
4992
+ # @!attribute [rw] next_token
4993
+ # A token to specify where to start paginating. This is the NextToken
4994
+ # from a previously truncated response.
4995
+ # @return [String]
4996
+ #
4997
+ # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListImageScanFindingsRequest AWS API Documentation
4998
+ #
4999
+ class ListImageScanFindingsRequest < Struct.new(
5000
+ :filters,
5001
+ :max_results,
5002
+ :next_token)
5003
+ SENSITIVE = []
5004
+ include Aws::Structure
5005
+ end
5006
+
5007
+ # @!attribute [rw] request_id
5008
+ # The request ID that uniquely identifies this request.
5009
+ # @return [String]
5010
+ #
5011
+ # @!attribute [rw] findings
5012
+ # The image scan findings for your account that meet your request
5013
+ # filter criteria.
5014
+ # @return [Array<Types::ImageScanFinding>]
5015
+ #
5016
+ # @!attribute [rw] next_token
5017
+ # The next token used for paginated responses. When this field isn't
5018
+ # empty, there are additional elements that the service has'ot
5019
+ # included in this request. Use this token with the next request to
5020
+ # retrieve additional objects.
5021
+ # @return [String]
5022
+ #
5023
+ # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListImageScanFindingsResponse AWS API Documentation
5024
+ #
5025
+ class ListImageScanFindingsResponse < Struct.new(
5026
+ :request_id,
5027
+ :findings,
5028
+ :next_token)
5029
+ SENSITIVE = []
5030
+ include Aws::Structure
5031
+ end
5032
+
4269
5033
  # @!attribute [rw] owner
4270
5034
  # The owner defines which images you want to list. By default, this
4271
5035
  # request will only show images owned by your account. You can use
@@ -4339,10 +5103,10 @@ module Aws::Imagebuilder
4339
5103
  # @return [Array<Types::ImageVersion>]
4340
5104
  #
4341
5105
  # @!attribute [rw] next_token
4342
- # The next token used for paginated responses. When this is not empty,
4343
- # there are additional elements that the service has not included in
4344
- # this request. Use this token with the next request to retrieve
4345
- # additional objects.
5106
+ # The next token used for paginated responses. When this field isn't
5107
+ # empty, there are additional elements that the service has'ot
5108
+ # included in this request. Use this token with the next request to
5109
+ # retrieve additional objects.
4346
5110
  # @return [String]
4347
5111
  #
4348
5112
  # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListImagesResponse AWS API Documentation
@@ -4387,10 +5151,10 @@ module Aws::Imagebuilder
4387
5151
  # @return [Array<Types::InfrastructureConfigurationSummary>]
4388
5152
  #
4389
5153
  # @!attribute [rw] next_token
4390
- # The next token used for paginated responses. When this is not empty,
4391
- # there are additional elements that the service has not included in
4392
- # this request. Use this token with the next request to retrieve
4393
- # additional objects.
5154
+ # The next token used for paginated responses. When this field isn't
5155
+ # empty, there are additional elements that the service has'ot
5156
+ # included in this request. Use this token with the next request to
5157
+ # retrieve additional objects.
4394
5158
  # @return [String]
4395
5159
  #
4396
5160
  # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListInfrastructureConfigurationsResponse AWS API Documentation
@@ -4428,6 +5192,140 @@ module Aws::Imagebuilder
4428
5192
  include Aws::Structure
4429
5193
  end
4430
5194
 
5195
+ # @!attribute [rw] max_results
5196
+ # The maximum items to return in a request.
5197
+ # @return [Integer]
5198
+ #
5199
+ # @!attribute [rw] next_token
5200
+ # A token to specify where to start paginating. This is the NextToken
5201
+ # from a previously truncated response.
5202
+ # @return [String]
5203
+ #
5204
+ # @!attribute [rw] image_build_version_arn
5205
+ # List all workflow runtime instances for the specified image build
5206
+ # version resource ARN.
5207
+ # @return [String]
5208
+ #
5209
+ # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListWorkflowExecutionsRequest AWS API Documentation
5210
+ #
5211
+ class ListWorkflowExecutionsRequest < Struct.new(
5212
+ :max_results,
5213
+ :next_token,
5214
+ :image_build_version_arn)
5215
+ SENSITIVE = []
5216
+ include Aws::Structure
5217
+ end
5218
+
5219
+ # @!attribute [rw] request_id
5220
+ # The request ID that uniquely identifies this request.
5221
+ # @return [String]
5222
+ #
5223
+ # @!attribute [rw] workflow_executions
5224
+ # Contains an array of runtime details that represents each time a
5225
+ # workflow ran for the requested image build version.
5226
+ # @return [Array<Types::WorkflowExecutionMetadata>]
5227
+ #
5228
+ # @!attribute [rw] image_build_version_arn
5229
+ # The resource ARN of the image build version for which you requested
5230
+ # a list of workflow runtime details.
5231
+ # @return [String]
5232
+ #
5233
+ # @!attribute [rw] message
5234
+ # The output message from the list action, if applicable.
5235
+ # @return [String]
5236
+ #
5237
+ # @!attribute [rw] next_token
5238
+ # The next token used for paginated responses. When this field isn't
5239
+ # empty, there are additional elements that the service has'ot
5240
+ # included in this request. Use this token with the next request to
5241
+ # retrieve additional objects.
5242
+ # @return [String]
5243
+ #
5244
+ # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListWorkflowExecutionsResponse AWS API Documentation
5245
+ #
5246
+ class ListWorkflowExecutionsResponse < Struct.new(
5247
+ :request_id,
5248
+ :workflow_executions,
5249
+ :image_build_version_arn,
5250
+ :message,
5251
+ :next_token)
5252
+ SENSITIVE = []
5253
+ include Aws::Structure
5254
+ end
5255
+
5256
+ # @!attribute [rw] max_results
5257
+ # The maximum items to return in a request.
5258
+ # @return [Integer]
5259
+ #
5260
+ # @!attribute [rw] next_token
5261
+ # A token to specify where to start paginating. This is the NextToken
5262
+ # from a previously truncated response.
5263
+ # @return [String]
5264
+ #
5265
+ # @!attribute [rw] workflow_execution_id
5266
+ # The unique identifier that Image Builder assigned to keep track of
5267
+ # runtime details when it ran the workflow.
5268
+ # @return [String]
5269
+ #
5270
+ # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListWorkflowStepExecutionsRequest AWS API Documentation
5271
+ #
5272
+ class ListWorkflowStepExecutionsRequest < Struct.new(
5273
+ :max_results,
5274
+ :next_token,
5275
+ :workflow_execution_id)
5276
+ SENSITIVE = []
5277
+ include Aws::Structure
5278
+ end
5279
+
5280
+ # @!attribute [rw] request_id
5281
+ # The request ID that uniquely identifies this request.
5282
+ # @return [String]
5283
+ #
5284
+ # @!attribute [rw] steps
5285
+ # Contains an array of runtime details that represents each step in
5286
+ # this runtime instance of the workflow.
5287
+ # @return [Array<Types::WorkflowStepMetadata>]
5288
+ #
5289
+ # @!attribute [rw] workflow_build_version_arn
5290
+ # The build version ARN for the Image Builder workflow resource that
5291
+ # defines the steps for this runtime instance of the workflow.
5292
+ # @return [String]
5293
+ #
5294
+ # @!attribute [rw] workflow_execution_id
5295
+ # The unique identifier that Image Builder assigned to keep track of
5296
+ # runtime details when it ran the workflow.
5297
+ # @return [String]
5298
+ #
5299
+ # @!attribute [rw] image_build_version_arn
5300
+ # The image build version resource ARN that's associated with the
5301
+ # specified runtime instance of the workflow.
5302
+ # @return [String]
5303
+ #
5304
+ # @!attribute [rw] message
5305
+ # The output message from the list action, if applicable.
5306
+ # @return [String]
5307
+ #
5308
+ # @!attribute [rw] next_token
5309
+ # The next token used for paginated responses. When this field isn't
5310
+ # empty, there are additional elements that the service has'ot
5311
+ # included in this request. Use this token with the next request to
5312
+ # retrieve additional objects.
5313
+ # @return [String]
5314
+ #
5315
+ # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListWorkflowStepExecutionsResponse AWS API Documentation
5316
+ #
5317
+ class ListWorkflowStepExecutionsResponse < Struct.new(
5318
+ :request_id,
5319
+ :steps,
5320
+ :workflow_build_version_arn,
5321
+ :workflow_execution_id,
5322
+ :image_build_version_arn,
5323
+ :message,
5324
+ :next_token)
5325
+ SENSITIVE = []
5326
+ include Aws::Structure
5327
+ end
5328
+
4431
5329
  # Logging configuration defines where Image Builder uploads your logs.
4432
5330
  #
4433
5331
  # @!attribute [rw] s3_logs
@@ -4462,6 +5360,70 @@ module Aws::Imagebuilder
4462
5360
  include Aws::Structure
4463
5361
  end
4464
5362
 
5363
+ # Information about package vulnerability findings.
5364
+ #
5365
+ # @!attribute [rw] vulnerability_id
5366
+ # A unique identifier for this vulnerability.
5367
+ # @return [String]
5368
+ #
5369
+ # @!attribute [rw] vulnerable_packages
5370
+ # The packages that this vulnerability impacts.
5371
+ # @return [Array<Types::VulnerablePackage>]
5372
+ #
5373
+ # @!attribute [rw] source
5374
+ # The source of the vulnerability information.
5375
+ # @return [String]
5376
+ #
5377
+ # @!attribute [rw] cvss
5378
+ # CVSS scores for one or more vulnerabilities that Amazon Inspector
5379
+ # identified for a package.
5380
+ # @return [Array<Types::CvssScore>]
5381
+ #
5382
+ # @!attribute [rw] related_vulnerabilities
5383
+ # Vulnerabilities that are often related to the findings for the
5384
+ # package.
5385
+ # @return [Array<String>]
5386
+ #
5387
+ # @!attribute [rw] source_url
5388
+ # A link to the source of the vulnerability information.
5389
+ # @return [String]
5390
+ #
5391
+ # @!attribute [rw] vendor_severity
5392
+ # The severity that the vendor assigned to this vulnerability type.
5393
+ # @return [String]
5394
+ #
5395
+ # @!attribute [rw] vendor_created_at
5396
+ # The date and time when this vulnerability was first added to the
5397
+ # vendor's database.
5398
+ # @return [Time]
5399
+ #
5400
+ # @!attribute [rw] vendor_updated_at
5401
+ # The date and time when the vendor last updated this vulnerability in
5402
+ # their database.
5403
+ # @return [Time]
5404
+ #
5405
+ # @!attribute [rw] reference_urls
5406
+ # Links to web pages that contain details about the vulnerabilities
5407
+ # that Amazon Inspector identified for the package.
5408
+ # @return [Array<String>]
5409
+ #
5410
+ # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/PackageVulnerabilityDetails AWS API Documentation
5411
+ #
5412
+ class PackageVulnerabilityDetails < Struct.new(
5413
+ :vulnerability_id,
5414
+ :vulnerable_packages,
5415
+ :source,
5416
+ :cvss,
5417
+ :related_vulnerabilities,
5418
+ :source_url,
5419
+ :vendor_severity,
5420
+ :vendor_created_at,
5421
+ :vendor_updated_at,
5422
+ :reference_urls)
5423
+ SENSITIVE = []
5424
+ include Aws::Structure
5425
+ end
5426
+
4465
5427
  # @!attribute [rw] component_arn
4466
5428
  # The Amazon Resource Name (ARN) of the component that this policy
4467
5429
  # should be applied to.
@@ -4606,6 +5568,42 @@ module Aws::Imagebuilder
4606
5568
  include Aws::Structure
4607
5569
  end
4608
5570
 
5571
+ # Information about how to remediate a finding.
5572
+ #
5573
+ # @!attribute [rw] recommendation
5574
+ # An object that contains information about the recommended course of
5575
+ # action to remediate the finding.
5576
+ # @return [Types::RemediationRecommendation]
5577
+ #
5578
+ # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/Remediation AWS API Documentation
5579
+ #
5580
+ class Remediation < Struct.new(
5581
+ :recommendation)
5582
+ SENSITIVE = []
5583
+ include Aws::Structure
5584
+ end
5585
+
5586
+ # Details about the recommended course of action to remediate the
5587
+ # finding.
5588
+ #
5589
+ # @!attribute [rw] text
5590
+ # The recommended course of action to remediate the finding.
5591
+ # @return [String]
5592
+ #
5593
+ # @!attribute [rw] url
5594
+ # A link to more information about the recommended remediation for
5595
+ # this vulnerability.
5596
+ # @return [String]
5597
+ #
5598
+ # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/RemediationRecommendation AWS API Documentation
5599
+ #
5600
+ class RemediationRecommendation < Struct.new(
5601
+ :text,
5602
+ :url)
5603
+ SENSITIVE = []
5604
+ include Aws::Structure
5605
+ end
5606
+
4609
5607
  # The resource that you are trying to create already exists.
4610
5608
  #
4611
5609
  # @!attribute [rw] message
@@ -4820,6 +5818,38 @@ module Aws::Imagebuilder
4820
5818
  include Aws::Structure
4821
5819
  end
4822
5820
 
5821
+ # Includes counts by severity level for medium severity and higher level
5822
+ # findings, plus a total for all of the findings for the specified
5823
+ # filter.
5824
+ #
5825
+ # @!attribute [rw] all
5826
+ # The total number of findings across all severity levels for the
5827
+ # specified filter.
5828
+ # @return [Integer]
5829
+ #
5830
+ # @!attribute [rw] critical
5831
+ # The number of critical severity findings for the specified filter.
5832
+ # @return [Integer]
5833
+ #
5834
+ # @!attribute [rw] high
5835
+ # The number of high severity findings for the specified filter.
5836
+ # @return [Integer]
5837
+ #
5838
+ # @!attribute [rw] medium
5839
+ # The number of medium severity findings for the specified filter.
5840
+ # @return [Integer]
5841
+ #
5842
+ # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/SeverityCounts AWS API Documentation
5843
+ #
5844
+ class SeverityCounts < Struct.new(
5845
+ :all,
5846
+ :critical,
5847
+ :high,
5848
+ :medium)
5849
+ SENSITIVE = []
5850
+ include Aws::Structure
5851
+ end
5852
+
4823
5853
  # @!attribute [rw] image_pipeline_arn
4824
5854
  # The Amazon Resource Name (ARN) of the image pipeline that you want
4825
5855
  # to manually invoke.
@@ -5020,13 +6050,14 @@ module Aws::Imagebuilder
5020
6050
  #
5021
6051
  # @!attribute [rw] infrastructure_configuration_arn
5022
6052
  # The Amazon Resource Name (ARN) of the infrastructure configuration
5023
- # that will be used to build images updated by this image pipeline.
6053
+ # that Image Builder uses to build images that this image pipeline has
6054
+ # updated.
5024
6055
  # @return [String]
5025
6056
  #
5026
6057
  # @!attribute [rw] distribution_configuration_arn
5027
6058
  # The Amazon Resource Name (ARN) of the distribution configuration
5028
- # that will be used to configure and distribute images updated by this
5029
- # image pipeline.
6059
+ # that Image Builder uses to configure and distribute images that this
6060
+ # image pipeline has updated.
5030
6061
  # @return [String]
5031
6062
  #
5032
6063
  # @!attribute [rw] image_tests_configuration
@@ -5055,6 +6086,10 @@ module Aws::Imagebuilder
5055
6086
  # not need to pass this option.
5056
6087
  # @return [String]
5057
6088
  #
6089
+ # @!attribute [rw] image_scanning_configuration
6090
+ # Contains settings for vulnerability scans.
6091
+ # @return [Types::ImageScanningConfiguration]
6092
+ #
5058
6093
  # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/UpdateImagePipelineRequest AWS API Documentation
5059
6094
  #
5060
6095
  class UpdateImagePipelineRequest < Struct.new(
@@ -5068,7 +6103,8 @@ module Aws::Imagebuilder
5068
6103
  :enhanced_image_metadata_enabled,
5069
6104
  :schedule,
5070
6105
  :status,
5071
- :client_token)
6106
+ :client_token,
6107
+ :image_scanning_configuration)
5072
6108
  SENSITIVE = []
5073
6109
  include Aws::Structure
5074
6110
  end
@@ -5226,5 +6262,225 @@ module Aws::Imagebuilder
5226
6262
  include Aws::Structure
5227
6263
  end
5228
6264
 
6265
+ # Includes counts of image and pipeline resource findings by
6266
+ # vulnerability.
6267
+ #
6268
+ # @!attribute [rw] vulnerability_id
6269
+ # The vulnerability Id for this set of counts.
6270
+ # @return [String]
6271
+ #
6272
+ # @!attribute [rw] severity_counts
6273
+ # Counts by severity level for medium severity and higher level
6274
+ # findings, plus a total for all of the findings for the specified
6275
+ # vulnerability.
6276
+ # @return [Types::SeverityCounts]
6277
+ #
6278
+ # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/VulnerabilityIdAggregation AWS API Documentation
6279
+ #
6280
+ class VulnerabilityIdAggregation < Struct.new(
6281
+ :vulnerability_id,
6282
+ :severity_counts)
6283
+ SENSITIVE = []
6284
+ include Aws::Structure
6285
+ end
6286
+
6287
+ # Information about a vulnerable package that Amazon Inspector
6288
+ # identifies in a finding.
6289
+ #
6290
+ # @!attribute [rw] name
6291
+ # The name of the vulnerable package.
6292
+ # @return [String]
6293
+ #
6294
+ # @!attribute [rw] version
6295
+ # The version of the vulnerable package.
6296
+ # @return [String]
6297
+ #
6298
+ # @!attribute [rw] source_layer_hash
6299
+ # The source layer hash of the vulnerable package.
6300
+ # @return [String]
6301
+ #
6302
+ # @!attribute [rw] epoch
6303
+ # The epoch of the vulnerable package.
6304
+ # @return [Integer]
6305
+ #
6306
+ # @!attribute [rw] release
6307
+ # The release of the vulnerable package.
6308
+ # @return [String]
6309
+ #
6310
+ # @!attribute [rw] arch
6311
+ # The architecture of the vulnerable package.
6312
+ # @return [String]
6313
+ #
6314
+ # @!attribute [rw] package_manager
6315
+ # The package manager of the vulnerable package.
6316
+ # @return [String]
6317
+ #
6318
+ # @!attribute [rw] file_path
6319
+ # The file path of the vulnerable package.
6320
+ # @return [String]
6321
+ #
6322
+ # @!attribute [rw] fixed_in_version
6323
+ # The version of the package that contains the vulnerability fix.
6324
+ # @return [String]
6325
+ #
6326
+ # @!attribute [rw] remediation
6327
+ # The code to run in your environment to update packages with a fix
6328
+ # available.
6329
+ # @return [String]
6330
+ #
6331
+ # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/VulnerablePackage AWS API Documentation
6332
+ #
6333
+ class VulnerablePackage < Struct.new(
6334
+ :name,
6335
+ :version,
6336
+ :source_layer_hash,
6337
+ :epoch,
6338
+ :release,
6339
+ :arch,
6340
+ :package_manager,
6341
+ :file_path,
6342
+ :fixed_in_version,
6343
+ :remediation)
6344
+ SENSITIVE = []
6345
+ include Aws::Structure
6346
+ end
6347
+
6348
+ # Metadata that includes details and status from this runtime instance
6349
+ # of the workflow.
6350
+ #
6351
+ # @!attribute [rw] workflow_build_version_arn
6352
+ # The Amazon Resource Name (ARN) of the workflow resource build
6353
+ # version that ran.
6354
+ # @return [String]
6355
+ #
6356
+ # @!attribute [rw] workflow_execution_id
6357
+ # Unique identifier that Image Builder assigns to keep track of
6358
+ # runtime resources each time it runs a workflow.
6359
+ # @return [String]
6360
+ #
6361
+ # @!attribute [rw] type
6362
+ # Indicates what type of workflow that Image Builder ran for this
6363
+ # runtime instance of the workflow.
6364
+ # @return [String]
6365
+ #
6366
+ # @!attribute [rw] status
6367
+ # The current runtime status for this workflow.
6368
+ # @return [String]
6369
+ #
6370
+ # @!attribute [rw] message
6371
+ # The runtime output message from the workflow, if applicable.
6372
+ # @return [String]
6373
+ #
6374
+ # @!attribute [rw] total_step_count
6375
+ # The total number of steps in the workflow. This should equal the sum
6376
+ # of the step counts for steps that succeeded, were skipped, and
6377
+ # failed.
6378
+ # @return [Integer]
6379
+ #
6380
+ # @!attribute [rw] total_steps_succeeded
6381
+ # A runtime count for the number of steps in the workflow that ran
6382
+ # successfully.
6383
+ # @return [Integer]
6384
+ #
6385
+ # @!attribute [rw] total_steps_failed
6386
+ # A runtime count for the number of steps in the workflow that failed.
6387
+ # @return [Integer]
6388
+ #
6389
+ # @!attribute [rw] total_steps_skipped
6390
+ # A runtime count for the number of steps in the workflow that were
6391
+ # skipped.
6392
+ # @return [Integer]
6393
+ #
6394
+ # @!attribute [rw] start_time
6395
+ # The timestamp when the runtime instance of this workflow started.
6396
+ # @return [String]
6397
+ #
6398
+ # @!attribute [rw] end_time
6399
+ # The timestamp when this runtime instance of the workflow finished.
6400
+ # @return [String]
6401
+ #
6402
+ # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/WorkflowExecutionMetadata AWS API Documentation
6403
+ #
6404
+ class WorkflowExecutionMetadata < Struct.new(
6405
+ :workflow_build_version_arn,
6406
+ :workflow_execution_id,
6407
+ :type,
6408
+ :status,
6409
+ :message,
6410
+ :total_step_count,
6411
+ :total_steps_succeeded,
6412
+ :total_steps_failed,
6413
+ :total_steps_skipped,
6414
+ :start_time,
6415
+ :end_time)
6416
+ SENSITIVE = []
6417
+ include Aws::Structure
6418
+ end
6419
+
6420
+ # Runtime details and status for the workflow step.
6421
+ #
6422
+ # @!attribute [rw] step_execution_id
6423
+ # A unique identifier for the workflow step, assigned at runtime.
6424
+ # @return [String]
6425
+ #
6426
+ # @!attribute [rw] name
6427
+ # The name of the workflow step.
6428
+ # @return [String]
6429
+ #
6430
+ # @!attribute [rw] description
6431
+ # Description of the workflow step.
6432
+ # @return [String]
6433
+ #
6434
+ # @!attribute [rw] action
6435
+ # The step action name.
6436
+ # @return [String]
6437
+ #
6438
+ # @!attribute [rw] status
6439
+ # Runtime status for the workflow step.
6440
+ # @return [String]
6441
+ #
6442
+ # @!attribute [rw] rollback_status
6443
+ # Reports on the rollback status of the step, if applicable.
6444
+ # @return [String]
6445
+ #
6446
+ # @!attribute [rw] message
6447
+ # Detailed output message that the workflow step provides at runtime.
6448
+ # @return [String]
6449
+ #
6450
+ # @!attribute [rw] inputs
6451
+ # Input parameters that Image Builder provides for the workflow step.
6452
+ # @return [String]
6453
+ #
6454
+ # @!attribute [rw] outputs
6455
+ # The file names that the workflow step created as output for this
6456
+ # runtime instance of the workflow.
6457
+ # @return [String]
6458
+ #
6459
+ # @!attribute [rw] start_time
6460
+ # The timestamp when the workflow step started.
6461
+ # @return [String]
6462
+ #
6463
+ # @!attribute [rw] end_time
6464
+ # The timestamp when the workflow step finished.
6465
+ # @return [String]
6466
+ #
6467
+ # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/WorkflowStepMetadata AWS API Documentation
6468
+ #
6469
+ class WorkflowStepMetadata < Struct.new(
6470
+ :step_execution_id,
6471
+ :name,
6472
+ :description,
6473
+ :action,
6474
+ :status,
6475
+ :rollback_status,
6476
+ :message,
6477
+ :inputs,
6478
+ :outputs,
6479
+ :start_time,
6480
+ :end_time)
6481
+ SENSITIVE = []
6482
+ include Aws::Structure
6483
+ end
6484
+
5229
6485
  end
5230
6486
  end