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