aws-sdk-imagebuilder 1.44.0 → 1.46.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -275,6 +275,11 @@ module Aws::Imagebuilder
275
275
  # in the future.
276
276
  #
277
277
  #
278
+ # @option options [String] :sdk_ua_app_id
279
+ # A unique and opaque application ID that is appended to the
280
+ # User-Agent header as app/<sdk_ua_app_id>. It should have a
281
+ # maximum length of 50.
282
+ #
278
283
  # @option options [String] :secret_access_key
279
284
  #
280
285
  # @option options [String] :session_token
@@ -372,8 +377,8 @@ module Aws::Imagebuilder
372
377
  # only be used on images in a non-terminal state.
373
378
  #
374
379
  # @option params [required, String] :image_build_version_arn
375
- # The Amazon Resource Name (ARN) of the image whose creation you want to
376
- # cancel.
380
+ # The Amazon Resource Name (ARN) of the image that you want to cancel
381
+ # creation for.
377
382
  #
378
383
  # @option params [required, String] :client_token
379
384
  # Unique, case-sensitive identifier you provide to ensure idempotency of
@@ -831,6 +836,9 @@ module Aws::Imagebuilder
831
836
  # **A suitable default value is auto-generated.** You should normally
832
837
  # not need to pass this option.**
833
838
  #
839
+ # @option params [Types::ImageScanningConfiguration] :image_scanning_configuration
840
+ # Contains settings for vulnerability scans.
841
+ #
834
842
  # @return [Types::CreateImageResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
835
843
  #
836
844
  # * {Types::CreateImageResponse#request_id #request_id} => String
@@ -853,6 +861,13 @@ module Aws::Imagebuilder
853
861
  # "TagKey" => "TagValue",
854
862
  # },
855
863
  # client_token: "ClientToken", # required
864
+ # image_scanning_configuration: {
865
+ # image_scanning_enabled: false,
866
+ # ecr_configuration: {
867
+ # repository_name: "NonEmptyString",
868
+ # container_tags: ["NonEmptyString"],
869
+ # },
870
+ # },
856
871
  # })
857
872
  #
858
873
  # @example Response structure
@@ -920,6 +935,9 @@ module Aws::Imagebuilder
920
935
  # **A suitable default value is auto-generated.** You should normally
921
936
  # not need to pass this option.**
922
937
  #
938
+ # @option params [Types::ImageScanningConfiguration] :image_scanning_configuration
939
+ # Contains settings for vulnerability scans.
940
+ #
923
941
  # @return [Types::CreateImagePipelineResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
924
942
  #
925
943
  # * {Types::CreateImagePipelineResponse#request_id #request_id} => String
@@ -950,6 +968,13 @@ module Aws::Imagebuilder
950
968
  # "TagKey" => "TagValue",
951
969
  # },
952
970
  # client_token: "ClientToken", # required
971
+ # image_scanning_configuration: {
972
+ # image_scanning_enabled: false,
973
+ # ecr_configuration: {
974
+ # repository_name: "NonEmptyString",
975
+ # container_tags: ["NonEmptyString"],
976
+ # },
977
+ # },
953
978
  # })
954
979
  #
955
980
  # @example Response structure
@@ -1451,8 +1476,8 @@ module Aws::Imagebuilder
1451
1476
  # Gets a component object.
1452
1477
  #
1453
1478
  # @option params [required, String] :component_build_version_arn
1454
- # The Amazon Resource Name (ARN) of the component that you want to
1455
- # retrieve. Regex requires "/\\d+$" suffix.
1479
+ # The Amazon Resource Name (ARN) of the component that you want to get.
1480
+ # Regex requires the suffix `/\d+$`.
1456
1481
  #
1457
1482
  # @return [Types::GetComponentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1458
1483
  #
@@ -1712,7 +1737,7 @@ module Aws::Imagebuilder
1712
1737
  # Gets an image.
1713
1738
  #
1714
1739
  # @option params [required, String] :image_build_version_arn
1715
- # The Amazon Resource Name (ARN) of the image that you want to retrieve.
1740
+ # The Amazon Resource Name (ARN) of the image that you want to get.
1716
1741
  #
1717
1742
  # @return [Types::GetImageResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1718
1743
  #
@@ -1896,6 +1921,12 @@ module Aws::Imagebuilder
1896
1921
  # resp.image.tags["TagKey"] #=> String
1897
1922
  # resp.image.build_type #=> String, one of "USER_INITIATED", "SCHEDULED", "IMPORT"
1898
1923
  # resp.image.image_source #=> String, one of "AMAZON_MANAGED", "AWS_MARKETPLACE", "IMPORTED", "CUSTOM"
1924
+ # resp.image.scan_state.status #=> String, one of "PENDING", "SCANNING", "COLLECTING", "COMPLETED", "ABANDONED", "FAILED", "TIMED_OUT"
1925
+ # resp.image.scan_state.reason #=> String
1926
+ # resp.image.image_scanning_configuration.image_scanning_enabled #=> Boolean
1927
+ # resp.image.image_scanning_configuration.ecr_configuration.repository_name #=> String
1928
+ # resp.image.image_scanning_configuration.ecr_configuration.container_tags #=> Array
1929
+ # resp.image.image_scanning_configuration.ecr_configuration.container_tags[0] #=> String
1899
1930
  #
1900
1931
  # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetImage AWS API Documentation
1901
1932
  #
@@ -1947,6 +1978,10 @@ module Aws::Imagebuilder
1947
1978
  # resp.image_pipeline.date_next_run #=> String
1948
1979
  # resp.image_pipeline.tags #=> Hash
1949
1980
  # resp.image_pipeline.tags["TagKey"] #=> String
1981
+ # resp.image_pipeline.image_scanning_configuration.image_scanning_enabled #=> Boolean
1982
+ # resp.image_pipeline.image_scanning_configuration.ecr_configuration.repository_name #=> String
1983
+ # resp.image_pipeline.image_scanning_configuration.ecr_configuration.container_tags #=> Array
1984
+ # resp.image_pipeline.image_scanning_configuration.ecr_configuration.container_tags[0] #=> String
1950
1985
  #
1951
1986
  # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetImagePipeline AWS API Documentation
1952
1987
  #
@@ -2133,6 +2168,122 @@ module Aws::Imagebuilder
2133
2168
  req.send_request(options)
2134
2169
  end
2135
2170
 
2171
+ # Get the runtime information that was logged for a specific runtime
2172
+ # instance of the workflow.
2173
+ #
2174
+ # @option params [required, String] :workflow_execution_id
2175
+ # Use the unique identifier for a runtime instance of the workflow to
2176
+ # get runtime details.
2177
+ #
2178
+ # @return [Types::GetWorkflowExecutionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2179
+ #
2180
+ # * {Types::GetWorkflowExecutionResponse#request_id #request_id} => String
2181
+ # * {Types::GetWorkflowExecutionResponse#workflow_build_version_arn #workflow_build_version_arn} => String
2182
+ # * {Types::GetWorkflowExecutionResponse#workflow_execution_id #workflow_execution_id} => String
2183
+ # * {Types::GetWorkflowExecutionResponse#image_build_version_arn #image_build_version_arn} => String
2184
+ # * {Types::GetWorkflowExecutionResponse#type #type} => String
2185
+ # * {Types::GetWorkflowExecutionResponse#status #status} => String
2186
+ # * {Types::GetWorkflowExecutionResponse#message #message} => String
2187
+ # * {Types::GetWorkflowExecutionResponse#total_step_count #total_step_count} => Integer
2188
+ # * {Types::GetWorkflowExecutionResponse#total_steps_succeeded #total_steps_succeeded} => Integer
2189
+ # * {Types::GetWorkflowExecutionResponse#total_steps_failed #total_steps_failed} => Integer
2190
+ # * {Types::GetWorkflowExecutionResponse#total_steps_skipped #total_steps_skipped} => Integer
2191
+ # * {Types::GetWorkflowExecutionResponse#start_time #start_time} => String
2192
+ # * {Types::GetWorkflowExecutionResponse#end_time #end_time} => String
2193
+ #
2194
+ # @example Request syntax with placeholder values
2195
+ #
2196
+ # resp = client.get_workflow_execution({
2197
+ # workflow_execution_id: "WorkflowExecutionId", # required
2198
+ # })
2199
+ #
2200
+ # @example Response structure
2201
+ #
2202
+ # resp.request_id #=> String
2203
+ # resp.workflow_build_version_arn #=> String
2204
+ # resp.workflow_execution_id #=> String
2205
+ # resp.image_build_version_arn #=> String
2206
+ # resp.type #=> String, one of "BUILD", "TEST", "DISTRIBUTION"
2207
+ # resp.status #=> String, one of "PENDING", "SKIPPED", "RUNNING", "COMPLETED", "FAILED", "ROLLBACK_IN_PROGRESS", "ROLLBACK_COMPLETED"
2208
+ # resp.message #=> String
2209
+ # resp.total_step_count #=> Integer
2210
+ # resp.total_steps_succeeded #=> Integer
2211
+ # resp.total_steps_failed #=> Integer
2212
+ # resp.total_steps_skipped #=> Integer
2213
+ # resp.start_time #=> String
2214
+ # resp.end_time #=> String
2215
+ #
2216
+ # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetWorkflowExecution AWS API Documentation
2217
+ #
2218
+ # @overload get_workflow_execution(params = {})
2219
+ # @param [Hash] params ({})
2220
+ def get_workflow_execution(params = {}, options = {})
2221
+ req = build_request(:get_workflow_execution, params)
2222
+ req.send_request(options)
2223
+ end
2224
+
2225
+ # Get the runtime information that was logged for a specific runtime
2226
+ # instance of the workflow step.
2227
+ #
2228
+ # @option params [required, String] :step_execution_id
2229
+ # Use the unique identifier for a specific runtime instance of the
2230
+ # workflow step to get runtime details for that step.
2231
+ #
2232
+ # @return [Types::GetWorkflowStepExecutionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2233
+ #
2234
+ # * {Types::GetWorkflowStepExecutionResponse#request_id #request_id} => String
2235
+ # * {Types::GetWorkflowStepExecutionResponse#step_execution_id #step_execution_id} => String
2236
+ # * {Types::GetWorkflowStepExecutionResponse#workflow_build_version_arn #workflow_build_version_arn} => String
2237
+ # * {Types::GetWorkflowStepExecutionResponse#workflow_execution_id #workflow_execution_id} => String
2238
+ # * {Types::GetWorkflowStepExecutionResponse#image_build_version_arn #image_build_version_arn} => String
2239
+ # * {Types::GetWorkflowStepExecutionResponse#name #name} => String
2240
+ # * {Types::GetWorkflowStepExecutionResponse#description #description} => String
2241
+ # * {Types::GetWorkflowStepExecutionResponse#action #action} => String
2242
+ # * {Types::GetWorkflowStepExecutionResponse#status #status} => String
2243
+ # * {Types::GetWorkflowStepExecutionResponse#rollback_status #rollback_status} => String
2244
+ # * {Types::GetWorkflowStepExecutionResponse#message #message} => String
2245
+ # * {Types::GetWorkflowStepExecutionResponse#inputs #inputs} => String
2246
+ # * {Types::GetWorkflowStepExecutionResponse#outputs #outputs} => String
2247
+ # * {Types::GetWorkflowStepExecutionResponse#start_time #start_time} => String
2248
+ # * {Types::GetWorkflowStepExecutionResponse#end_time #end_time} => String
2249
+ # * {Types::GetWorkflowStepExecutionResponse#on_failure #on_failure} => String
2250
+ # * {Types::GetWorkflowStepExecutionResponse#timeout_seconds #timeout_seconds} => Integer
2251
+ #
2252
+ # @example Request syntax with placeholder values
2253
+ #
2254
+ # resp = client.get_workflow_step_execution({
2255
+ # step_execution_id: "WorkflowStepExecutionId", # required
2256
+ # })
2257
+ #
2258
+ # @example Response structure
2259
+ #
2260
+ # resp.request_id #=> String
2261
+ # resp.step_execution_id #=> String
2262
+ # resp.workflow_build_version_arn #=> String
2263
+ # resp.workflow_execution_id #=> String
2264
+ # resp.image_build_version_arn #=> String
2265
+ # resp.name #=> String
2266
+ # resp.description #=> String
2267
+ # resp.action #=> String
2268
+ # resp.status #=> String, one of "PENDING", "SKIPPED", "RUNNING", "COMPLETED", "FAILED"
2269
+ # resp.rollback_status #=> String, one of "RUNNING", "COMPLETED", "SKIPPED", "FAILED"
2270
+ # resp.message #=> String
2271
+ # resp.inputs #=> String
2272
+ # resp.outputs #=> String
2273
+ # resp.start_time #=> String
2274
+ # resp.end_time #=> String
2275
+ # resp.on_failure #=> String
2276
+ # resp.timeout_seconds #=> Integer
2277
+ #
2278
+ # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetWorkflowStepExecution AWS API Documentation
2279
+ #
2280
+ # @overload get_workflow_step_execution(params = {})
2281
+ # @param [Hash] params ({})
2282
+ def get_workflow_step_execution(params = {}, options = {})
2283
+ req = build_request(:get_workflow_step_execution, params)
2284
+ req.send_request(options)
2285
+ end
2286
+
2136
2287
  # Imports a component and transforms its data into a component document.
2137
2288
  #
2138
2289
  # @option params [required, String] :name
@@ -2159,9 +2310,9 @@ module Aws::Imagebuilder
2159
2310
  # component.
2160
2311
  #
2161
2312
  # @option params [String] :change_description
2162
- # The change description of the component. Describes what change has
2163
- # been made in this version, or what makes this version different from
2164
- # other versions of this component.
2313
+ # The change description of the component. This description indicates
2314
+ # the change that has been made in this version, or what makes this
2315
+ # version different from other versions of this component.
2165
2316
  #
2166
2317
  # @option params [required, String] :type
2167
2318
  # The type of the component denotes whether the component is used to
@@ -2532,12 +2683,11 @@ module Aws::Imagebuilder
2532
2683
  # * `platform`
2533
2684
  #
2534
2685
  # @option params [Integer] :max_results
2535
- # The maximum number of results to return in the list.
2686
+ # The maximum items to return in a request.
2536
2687
  #
2537
2688
  # @option params [String] :next_token
2538
- # Provides a token for pagination, which determines where to begin the
2539
- # next set of results when the current set reaches the maximum for one
2540
- # request.
2689
+ # A token to specify where to start paginating. This is the NextToken
2690
+ # from a previously truncated response.
2541
2691
  #
2542
2692
  # @return [Types::ListContainerRecipesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2543
2693
  #
@@ -2740,8 +2890,7 @@ module Aws::Imagebuilder
2740
2890
  # Version ARN
2741
2891
  #
2742
2892
  # @option params [Integer] :max_results
2743
- # The maxiumum number of results to return from the ListImagePackages
2744
- # request.
2893
+ # The maximum items to return in a request.
2745
2894
  #
2746
2895
  # @option params [String] :next_token
2747
2896
  # A token to specify where to start paginating. This is the NextToken
@@ -2933,6 +3082,10 @@ module Aws::Imagebuilder
2933
3082
  # resp.image_pipeline_list[0].date_next_run #=> String
2934
3083
  # resp.image_pipeline_list[0].tags #=> Hash
2935
3084
  # resp.image_pipeline_list[0].tags["TagKey"] #=> String
3085
+ # resp.image_pipeline_list[0].image_scanning_configuration.image_scanning_enabled #=> Boolean
3086
+ # resp.image_pipeline_list[0].image_scanning_configuration.ecr_configuration.repository_name #=> String
3087
+ # resp.image_pipeline_list[0].image_scanning_configuration.ecr_configuration.container_tags #=> Array
3088
+ # resp.image_pipeline_list[0].image_scanning_configuration.ecr_configuration.container_tags[0] #=> String
2936
3089
  # resp.next_token #=> String
2937
3090
  #
2938
3091
  # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListImagePipelines AWS API Documentation
@@ -3014,6 +3167,196 @@ module Aws::Imagebuilder
3014
3167
  req.send_request(options)
3015
3168
  end
3016
3169
 
3170
+ # Returns a list of image scan aggregations for your account. You can
3171
+ # filter by the type of key that Image Builder uses to group results.
3172
+ # For example, if you want to get a list of findings by severity level
3173
+ # for one of your pipelines, you might specify your pipeline with the
3174
+ # `imagePipelineArn` filter. If you don't specify a filter, Image
3175
+ # Builder returns an aggregation for your account.
3176
+ #
3177
+ # To streamline results, you can use the following filters in your
3178
+ # request:
3179
+ #
3180
+ # * `accountId`
3181
+ #
3182
+ # * `imageBuildVersionArn`
3183
+ #
3184
+ # * `imagePipelineArn`
3185
+ #
3186
+ # * `vulnerabilityId`
3187
+ #
3188
+ # @option params [Types::Filter] :filter
3189
+ # A filter name and value pair that is used to return a more specific
3190
+ # list of results from a list operation. Filters can be used to match a
3191
+ # set of resources by specific criteria, such as tags, attributes, or
3192
+ # IDs.
3193
+ #
3194
+ # @option params [String] :next_token
3195
+ # A token to specify where to start paginating. This is the NextToken
3196
+ # from a previously truncated response.
3197
+ #
3198
+ # @return [Types::ListImageScanFindingAggregationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3199
+ #
3200
+ # * {Types::ListImageScanFindingAggregationsResponse#request_id #request_id} => String
3201
+ # * {Types::ListImageScanFindingAggregationsResponse#aggregation_type #aggregation_type} => String
3202
+ # * {Types::ListImageScanFindingAggregationsResponse#responses #responses} => Array&lt;Types::ImageScanFindingAggregation&gt;
3203
+ # * {Types::ListImageScanFindingAggregationsResponse#next_token #next_token} => String
3204
+ #
3205
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3206
+ #
3207
+ # @example Request syntax with placeholder values
3208
+ #
3209
+ # resp = client.list_image_scan_finding_aggregations({
3210
+ # filter: {
3211
+ # name: "FilterName",
3212
+ # values: ["FilterValue"],
3213
+ # },
3214
+ # next_token: "PaginationToken",
3215
+ # })
3216
+ #
3217
+ # @example Response structure
3218
+ #
3219
+ # resp.request_id #=> String
3220
+ # resp.aggregation_type #=> String
3221
+ # resp.responses #=> Array
3222
+ # resp.responses[0].account_aggregation.account_id #=> String
3223
+ # resp.responses[0].account_aggregation.severity_counts.all #=> Integer
3224
+ # resp.responses[0].account_aggregation.severity_counts.critical #=> Integer
3225
+ # resp.responses[0].account_aggregation.severity_counts.high #=> Integer
3226
+ # resp.responses[0].account_aggregation.severity_counts.medium #=> Integer
3227
+ # resp.responses[0].image_aggregation.image_build_version_arn #=> String
3228
+ # resp.responses[0].image_aggregation.severity_counts.all #=> Integer
3229
+ # resp.responses[0].image_aggregation.severity_counts.critical #=> Integer
3230
+ # resp.responses[0].image_aggregation.severity_counts.high #=> Integer
3231
+ # resp.responses[0].image_aggregation.severity_counts.medium #=> Integer
3232
+ # resp.responses[0].image_pipeline_aggregation.image_pipeline_arn #=> String
3233
+ # resp.responses[0].image_pipeline_aggregation.severity_counts.all #=> Integer
3234
+ # resp.responses[0].image_pipeline_aggregation.severity_counts.critical #=> Integer
3235
+ # resp.responses[0].image_pipeline_aggregation.severity_counts.high #=> Integer
3236
+ # resp.responses[0].image_pipeline_aggregation.severity_counts.medium #=> Integer
3237
+ # resp.responses[0].vulnerability_id_aggregation.vulnerability_id #=> String
3238
+ # resp.responses[0].vulnerability_id_aggregation.severity_counts.all #=> Integer
3239
+ # resp.responses[0].vulnerability_id_aggregation.severity_counts.critical #=> Integer
3240
+ # resp.responses[0].vulnerability_id_aggregation.severity_counts.high #=> Integer
3241
+ # resp.responses[0].vulnerability_id_aggregation.severity_counts.medium #=> Integer
3242
+ # resp.next_token #=> String
3243
+ #
3244
+ # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListImageScanFindingAggregations AWS API Documentation
3245
+ #
3246
+ # @overload list_image_scan_finding_aggregations(params = {})
3247
+ # @param [Hash] params ({})
3248
+ def list_image_scan_finding_aggregations(params = {}, options = {})
3249
+ req = build_request(:list_image_scan_finding_aggregations, params)
3250
+ req.send_request(options)
3251
+ end
3252
+
3253
+ # Returns a list of image scan findings for your account.
3254
+ #
3255
+ # @option params [Array<Types::ImageScanFindingsFilter>] :filters
3256
+ # An array of name value pairs that you can use to filter your results.
3257
+ # You can use the following filters to streamline results:
3258
+ #
3259
+ # * `imageBuildVersionArn`
3260
+ #
3261
+ # * `imagePipelineArn`
3262
+ #
3263
+ # * `vulnerabilityId`
3264
+ #
3265
+ # * `severity`
3266
+ #
3267
+ # If you don't request a filter, then all findings in your account are
3268
+ # listed.
3269
+ #
3270
+ # @option params [Integer] :max_results
3271
+ # The maximum items to return in a request.
3272
+ #
3273
+ # @option params [String] :next_token
3274
+ # A token to specify where to start paginating. This is the NextToken
3275
+ # from a previously truncated response.
3276
+ #
3277
+ # @return [Types::ListImageScanFindingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3278
+ #
3279
+ # * {Types::ListImageScanFindingsResponse#request_id #request_id} => String
3280
+ # * {Types::ListImageScanFindingsResponse#findings #findings} => Array&lt;Types::ImageScanFinding&gt;
3281
+ # * {Types::ListImageScanFindingsResponse#next_token #next_token} => String
3282
+ #
3283
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3284
+ #
3285
+ # @example Request syntax with placeholder values
3286
+ #
3287
+ # resp = client.list_image_scan_findings({
3288
+ # filters: [
3289
+ # {
3290
+ # name: "FilterName",
3291
+ # values: ["FilterValue"],
3292
+ # },
3293
+ # ],
3294
+ # max_results: 1,
3295
+ # next_token: "PaginationToken",
3296
+ # })
3297
+ #
3298
+ # @example Response structure
3299
+ #
3300
+ # resp.request_id #=> String
3301
+ # resp.findings #=> Array
3302
+ # resp.findings[0].aws_account_id #=> String
3303
+ # resp.findings[0].image_build_version_arn #=> String
3304
+ # resp.findings[0].image_pipeline_arn #=> String
3305
+ # resp.findings[0].type #=> String
3306
+ # resp.findings[0].description #=> String
3307
+ # resp.findings[0].title #=> String
3308
+ # resp.findings[0].remediation.recommendation.text #=> String
3309
+ # resp.findings[0].remediation.recommendation.url #=> String
3310
+ # resp.findings[0].severity #=> String
3311
+ # resp.findings[0].first_observed_at #=> Time
3312
+ # resp.findings[0].updated_at #=> Time
3313
+ # resp.findings[0].inspector_score #=> Float
3314
+ # resp.findings[0].inspector_score_details.adjusted_cvss.score_source #=> String
3315
+ # resp.findings[0].inspector_score_details.adjusted_cvss.cvss_source #=> String
3316
+ # resp.findings[0].inspector_score_details.adjusted_cvss.version #=> String
3317
+ # resp.findings[0].inspector_score_details.adjusted_cvss.score #=> Float
3318
+ # resp.findings[0].inspector_score_details.adjusted_cvss.scoring_vector #=> String
3319
+ # resp.findings[0].inspector_score_details.adjusted_cvss.adjustments #=> Array
3320
+ # resp.findings[0].inspector_score_details.adjusted_cvss.adjustments[0].metric #=> String
3321
+ # resp.findings[0].inspector_score_details.adjusted_cvss.adjustments[0].reason #=> String
3322
+ # resp.findings[0].package_vulnerability_details.vulnerability_id #=> String
3323
+ # resp.findings[0].package_vulnerability_details.vulnerable_packages #=> Array
3324
+ # resp.findings[0].package_vulnerability_details.vulnerable_packages[0].name #=> String
3325
+ # resp.findings[0].package_vulnerability_details.vulnerable_packages[0].version #=> String
3326
+ # resp.findings[0].package_vulnerability_details.vulnerable_packages[0].source_layer_hash #=> String
3327
+ # resp.findings[0].package_vulnerability_details.vulnerable_packages[0].epoch #=> Integer
3328
+ # resp.findings[0].package_vulnerability_details.vulnerable_packages[0].release #=> String
3329
+ # resp.findings[0].package_vulnerability_details.vulnerable_packages[0].arch #=> String
3330
+ # resp.findings[0].package_vulnerability_details.vulnerable_packages[0].package_manager #=> String
3331
+ # resp.findings[0].package_vulnerability_details.vulnerable_packages[0].file_path #=> String
3332
+ # resp.findings[0].package_vulnerability_details.vulnerable_packages[0].fixed_in_version #=> String
3333
+ # resp.findings[0].package_vulnerability_details.vulnerable_packages[0].remediation #=> String
3334
+ # resp.findings[0].package_vulnerability_details.source #=> String
3335
+ # resp.findings[0].package_vulnerability_details.cvss #=> Array
3336
+ # resp.findings[0].package_vulnerability_details.cvss[0].base_score #=> Float
3337
+ # resp.findings[0].package_vulnerability_details.cvss[0].scoring_vector #=> String
3338
+ # resp.findings[0].package_vulnerability_details.cvss[0].version #=> String
3339
+ # resp.findings[0].package_vulnerability_details.cvss[0].source #=> String
3340
+ # resp.findings[0].package_vulnerability_details.related_vulnerabilities #=> Array
3341
+ # resp.findings[0].package_vulnerability_details.related_vulnerabilities[0] #=> String
3342
+ # resp.findings[0].package_vulnerability_details.source_url #=> String
3343
+ # resp.findings[0].package_vulnerability_details.vendor_severity #=> String
3344
+ # resp.findings[0].package_vulnerability_details.vendor_created_at #=> Time
3345
+ # resp.findings[0].package_vulnerability_details.vendor_updated_at #=> Time
3346
+ # resp.findings[0].package_vulnerability_details.reference_urls #=> Array
3347
+ # resp.findings[0].package_vulnerability_details.reference_urls[0] #=> String
3348
+ # resp.findings[0].fix_available #=> String
3349
+ # resp.next_token #=> String
3350
+ #
3351
+ # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListImageScanFindings AWS API Documentation
3352
+ #
3353
+ # @overload list_image_scan_findings(params = {})
3354
+ # @param [Hash] params ({})
3355
+ def list_image_scan_findings(params = {}, options = {})
3356
+ req = build_request(:list_image_scan_findings, params)
3357
+ req.send_request(options)
3358
+ end
3359
+
3017
3360
  # Returns the list of images that you have access to. Newly created
3018
3361
  # images can take up to two minutes to appear in the ListImages API
3019
3362
  # Results.
@@ -3190,6 +3533,130 @@ module Aws::Imagebuilder
3190
3533
  req.send_request(options)
3191
3534
  end
3192
3535
 
3536
+ # Returns a list of workflow runtime instance metadata objects for a
3537
+ # specific image build version.
3538
+ #
3539
+ # @option params [Integer] :max_results
3540
+ # The maximum items to return in a request.
3541
+ #
3542
+ # @option params [String] :next_token
3543
+ # A token to specify where to start paginating. This is the NextToken
3544
+ # from a previously truncated response.
3545
+ #
3546
+ # @option params [required, String] :image_build_version_arn
3547
+ # List all workflow runtime instances for the specified image build
3548
+ # version resource ARN.
3549
+ #
3550
+ # @return [Types::ListWorkflowExecutionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3551
+ #
3552
+ # * {Types::ListWorkflowExecutionsResponse#request_id #request_id} => String
3553
+ # * {Types::ListWorkflowExecutionsResponse#workflow_executions #workflow_executions} => Array&lt;Types::WorkflowExecutionMetadata&gt;
3554
+ # * {Types::ListWorkflowExecutionsResponse#image_build_version_arn #image_build_version_arn} => String
3555
+ # * {Types::ListWorkflowExecutionsResponse#message #message} => String
3556
+ # * {Types::ListWorkflowExecutionsResponse#next_token #next_token} => String
3557
+ #
3558
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3559
+ #
3560
+ # @example Request syntax with placeholder values
3561
+ #
3562
+ # resp = client.list_workflow_executions({
3563
+ # max_results: 1,
3564
+ # next_token: "PaginationToken",
3565
+ # image_build_version_arn: "ImageBuildVersionArn", # required
3566
+ # })
3567
+ #
3568
+ # @example Response structure
3569
+ #
3570
+ # resp.request_id #=> String
3571
+ # resp.workflow_executions #=> Array
3572
+ # resp.workflow_executions[0].workflow_build_version_arn #=> String
3573
+ # resp.workflow_executions[0].workflow_execution_id #=> String
3574
+ # resp.workflow_executions[0].type #=> String, one of "BUILD", "TEST", "DISTRIBUTION"
3575
+ # resp.workflow_executions[0].status #=> String, one of "PENDING", "SKIPPED", "RUNNING", "COMPLETED", "FAILED", "ROLLBACK_IN_PROGRESS", "ROLLBACK_COMPLETED"
3576
+ # resp.workflow_executions[0].message #=> String
3577
+ # resp.workflow_executions[0].total_step_count #=> Integer
3578
+ # resp.workflow_executions[0].total_steps_succeeded #=> Integer
3579
+ # resp.workflow_executions[0].total_steps_failed #=> Integer
3580
+ # resp.workflow_executions[0].total_steps_skipped #=> Integer
3581
+ # resp.workflow_executions[0].start_time #=> String
3582
+ # resp.workflow_executions[0].end_time #=> String
3583
+ # resp.image_build_version_arn #=> String
3584
+ # resp.message #=> String
3585
+ # resp.next_token #=> String
3586
+ #
3587
+ # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListWorkflowExecutions AWS API Documentation
3588
+ #
3589
+ # @overload list_workflow_executions(params = {})
3590
+ # @param [Hash] params ({})
3591
+ def list_workflow_executions(params = {}, options = {})
3592
+ req = build_request(:list_workflow_executions, params)
3593
+ req.send_request(options)
3594
+ end
3595
+
3596
+ # Shows runtime data for each step in a runtime instance of the workflow
3597
+ # that you specify in the request.
3598
+ #
3599
+ # @option params [Integer] :max_results
3600
+ # The maximum items to return in a request.
3601
+ #
3602
+ # @option params [String] :next_token
3603
+ # A token to specify where to start paginating. This is the NextToken
3604
+ # from a previously truncated response.
3605
+ #
3606
+ # @option params [required, String] :workflow_execution_id
3607
+ # The unique identifier that Image Builder assigned to keep track of
3608
+ # runtime details when it ran the workflow.
3609
+ #
3610
+ # @return [Types::ListWorkflowStepExecutionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3611
+ #
3612
+ # * {Types::ListWorkflowStepExecutionsResponse#request_id #request_id} => String
3613
+ # * {Types::ListWorkflowStepExecutionsResponse#steps #steps} => Array&lt;Types::WorkflowStepMetadata&gt;
3614
+ # * {Types::ListWorkflowStepExecutionsResponse#workflow_build_version_arn #workflow_build_version_arn} => String
3615
+ # * {Types::ListWorkflowStepExecutionsResponse#workflow_execution_id #workflow_execution_id} => String
3616
+ # * {Types::ListWorkflowStepExecutionsResponse#image_build_version_arn #image_build_version_arn} => String
3617
+ # * {Types::ListWorkflowStepExecutionsResponse#message #message} => String
3618
+ # * {Types::ListWorkflowStepExecutionsResponse#next_token #next_token} => String
3619
+ #
3620
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3621
+ #
3622
+ # @example Request syntax with placeholder values
3623
+ #
3624
+ # resp = client.list_workflow_step_executions({
3625
+ # max_results: 1,
3626
+ # next_token: "PaginationToken",
3627
+ # workflow_execution_id: "WorkflowExecutionId", # required
3628
+ # })
3629
+ #
3630
+ # @example Response structure
3631
+ #
3632
+ # resp.request_id #=> String
3633
+ # resp.steps #=> Array
3634
+ # resp.steps[0].step_execution_id #=> String
3635
+ # resp.steps[0].name #=> String
3636
+ # resp.steps[0].description #=> String
3637
+ # resp.steps[0].action #=> String
3638
+ # resp.steps[0].status #=> String, one of "PENDING", "SKIPPED", "RUNNING", "COMPLETED", "FAILED"
3639
+ # resp.steps[0].rollback_status #=> String, one of "RUNNING", "COMPLETED", "SKIPPED", "FAILED"
3640
+ # resp.steps[0].message #=> String
3641
+ # resp.steps[0].inputs #=> String
3642
+ # resp.steps[0].outputs #=> String
3643
+ # resp.steps[0].start_time #=> String
3644
+ # resp.steps[0].end_time #=> String
3645
+ # resp.workflow_build_version_arn #=> String
3646
+ # resp.workflow_execution_id #=> String
3647
+ # resp.image_build_version_arn #=> String
3648
+ # resp.message #=> String
3649
+ # resp.next_token #=> String
3650
+ #
3651
+ # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListWorkflowStepExecutions AWS API Documentation
3652
+ #
3653
+ # @overload list_workflow_step_executions(params = {})
3654
+ # @param [Hash] params ({})
3655
+ def list_workflow_step_executions(params = {}, options = {})
3656
+ req = build_request(:list_workflow_step_executions, params)
3657
+ req.send_request(options)
3658
+ end
3659
+
3193
3660
  # Applies a policy to a component. We recommend that you call the RAM
3194
3661
  # API [CreateResourceShare][1] to share resources. If you call the Image
3195
3662
  # Builder API `PutComponentPolicy`, you must also call the RAM API
@@ -3590,12 +4057,13 @@ module Aws::Imagebuilder
3590
4057
  #
3591
4058
  # @option params [required, String] :infrastructure_configuration_arn
3592
4059
  # The Amazon Resource Name (ARN) of the infrastructure configuration
3593
- # that will be used to build images updated by this image pipeline.
4060
+ # that Image Builder uses to build images that this image pipeline has
4061
+ # updated.
3594
4062
  #
3595
4063
  # @option params [String] :distribution_configuration_arn
3596
4064
  # The Amazon Resource Name (ARN) of the distribution configuration that
3597
- # will be used to configure and distribute images updated by this image
3598
- # pipeline.
4065
+ # Image Builder uses to configure and distribute images that this image
4066
+ # pipeline has updated.
3599
4067
  #
3600
4068
  # @option params [Types::ImageTestsConfiguration] :image_tests_configuration
3601
4069
  # The image test configuration of the image pipeline.
@@ -3618,6 +4086,9 @@ module Aws::Imagebuilder
3618
4086
  # **A suitable default value is auto-generated.** You should normally
3619
4087
  # not need to pass this option.**
3620
4088
  #
4089
+ # @option params [Types::ImageScanningConfiguration] :image_scanning_configuration
4090
+ # Contains settings for vulnerability scans.
4091
+ #
3621
4092
  # @return [Types::UpdateImagePipelineResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3622
4093
  #
3623
4094
  # * {Types::UpdateImagePipelineResponse#request_id #request_id} => String
@@ -3645,6 +4116,13 @@ module Aws::Imagebuilder
3645
4116
  # },
3646
4117
  # status: "DISABLED", # accepts DISABLED, ENABLED
3647
4118
  # client_token: "ClientToken", # required
4119
+ # image_scanning_configuration: {
4120
+ # image_scanning_enabled: false,
4121
+ # ecr_configuration: {
4122
+ # repository_name: "NonEmptyString",
4123
+ # container_tags: ["NonEmptyString"],
4124
+ # },
4125
+ # },
3648
4126
  # })
3649
4127
  #
3650
4128
  # @example Response structure
@@ -3802,7 +4280,7 @@ module Aws::Imagebuilder
3802
4280
  params: params,
3803
4281
  config: config)
3804
4282
  context[:gem_name] = 'aws-sdk-imagebuilder'
3805
- context[:gem_version] = '1.44.0'
4283
+ context[:gem_version] = '1.46.0'
3806
4284
  Seahorse::Client::Request.new(handlers, context)
3807
4285
  end
3808
4286