aws-sdk-securityagent 1.36.0 → 1.37.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 057b41bda90d36a0ce3cd46c71d00a5fb826fd051b214e54c30a17ef04a6fa53
4
- data.tar.gz: 40219dce34ead31ea4cbdc5367e5e72ea03ceaa99d4a007ab46fc4c0a0ff66bf
3
+ metadata.gz: 56f5acdeb1f461fc0ee489d7df0afae1659325d0c0b511dd6f79c2d99d23ca78
4
+ data.tar.gz: 69da292f46863f4bf58cf802dd8f60090f742109161919a61695dbbf2b2db2dd
5
5
  SHA512:
6
- metadata.gz: a4cc540fef21b951792f0fdea2ecce44a4aa5e2cc4f2b84314d0e7dd81ce50b873179182c5e150ed640390b6ab499395fb0c680295a54b8a9c7ccf1ba1271353
7
- data.tar.gz: 1b13ea0a0bb0e4e6a458eb0542a463aee22f51c4358f321fc7df78c28b93e9c077fce0875f1e9267726ee978fa8894f7f86303c36de369f61887e8d92ba079f2
6
+ metadata.gz: cfbe21e46b4cbe7b45ea0f4c07eca1bf079735bbb5f45a4181fa6e0102766bba180ff5a5fe315d64221d4e423dc6baac4839b5381c1fb25b4987ddde7344cf1d
7
+ data.tar.gz: 824b8b69d4253c8526c59580b73cb94cbffc077ff910a6f92c9ff2413b627534b44773b02547bad5544e7e0d541091fa66cdb31c0e5a5f59766364fd72bf4f4b
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.37.0 (2026-11-18)
5
+ ------------------
6
+
7
+ * Feature - This release adds support for resuming a paused penetration test job from its last saved checkpoint.
8
+
4
9
  1.36.0 (2026-11-16)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.36.0
1
+ 1.37.0
@@ -843,7 +843,7 @@ module Aws::SecurityAgent
843
843
  #
844
844
  # resp.errors #=> Array
845
845
  # resp.errors[0].finding_id #=> String
846
- # resp.errors[0].code #=> String, one of "CLIENT_ERROR", "INTERNAL_ERROR", "STOPPED_BY_USER"
846
+ # resp.errors[0].code #=> String, one of "CLIENT_ERROR", "INTERNAL_ERROR", "STOPPED_BY_USER", "PAUSED_BY_USER"
847
847
  # resp.errors[0].message #=> String
848
848
  #
849
849
  # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/BatchDisassociateFindingIssue AWS API Documentation
@@ -907,7 +907,7 @@ module Aws::SecurityAgent
907
907
  # resp.results[0].linked_issue.site_url #=> String
908
908
  # resp.errors #=> Array
909
909
  # resp.errors[0].finding_id #=> String
910
- # resp.errors[0].code #=> String, one of "CLIENT_ERROR", "INTERNAL_ERROR", "STOPPED_BY_USER"
910
+ # resp.errors[0].code #=> String, one of "CLIENT_ERROR", "INTERNAL_ERROR", "STOPPED_BY_USER", "PAUSED_BY_USER"
911
911
  # resp.errors[0].message #=> String
912
912
  #
913
913
  # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/BatchExportFindings AWS API Documentation
@@ -1093,7 +1093,7 @@ module Aws::SecurityAgent
1093
1093
  # resp.code_review_jobs[0].code_review_id #=> String
1094
1094
  # resp.code_review_jobs[0].title #=> String
1095
1095
  # resp.code_review_jobs[0].overview #=> String
1096
- # resp.code_review_jobs[0].status #=> String, one of "IN_PROGRESS", "STOPPING", "STOPPED", "FAILED", "COMPLETED"
1096
+ # resp.code_review_jobs[0].status #=> String, one of "IN_PROGRESS", "STOPPING", "STOPPED", "PAUSING", "PAUSED", "FAILED", "COMPLETED"
1097
1097
  # resp.code_review_jobs[0].documents #=> Array
1098
1098
  # resp.code_review_jobs[0].documents[0].s3_location #=> String
1099
1099
  # resp.code_review_jobs[0].documents[0].artifact_id #=> String
@@ -1113,7 +1113,7 @@ module Aws::SecurityAgent
1113
1113
  # resp.code_review_jobs[0].service_role #=> String
1114
1114
  # resp.code_review_jobs[0].log_config.log_group #=> String
1115
1115
  # resp.code_review_jobs[0].log_config.log_stream #=> String
1116
- # resp.code_review_jobs[0].error_information.code #=> String, one of "CLIENT_ERROR", "INTERNAL_ERROR", "STOPPED_BY_USER"
1116
+ # resp.code_review_jobs[0].error_information.code #=> String, one of "CLIENT_ERROR", "INTERNAL_ERROR", "STOPPED_BY_USER", "PAUSED_BY_USER"
1117
1117
  # resp.code_review_jobs[0].error_information.message #=> String
1118
1118
  # resp.code_review_jobs[0].integrated_repositories #=> Array
1119
1119
  # resp.code_review_jobs[0].integrated_repositories[0].integration_id #=> String
@@ -1404,7 +1404,7 @@ module Aws::SecurityAgent
1404
1404
  # resp.pentest_jobs[0].pentest_id #=> String
1405
1405
  # resp.pentest_jobs[0].title #=> String
1406
1406
  # resp.pentest_jobs[0].overview #=> String
1407
- # resp.pentest_jobs[0].status #=> String, one of "IN_PROGRESS", "STOPPING", "STOPPED", "FAILED", "COMPLETED"
1407
+ # resp.pentest_jobs[0].status #=> String, one of "IN_PROGRESS", "STOPPING", "STOPPED", "PAUSING", "PAUSED", "FAILED", "COMPLETED"
1408
1408
  # resp.pentest_jobs[0].endpoints #=> Array
1409
1409
  # resp.pentest_jobs[0].endpoints[0].uri #=> String
1410
1410
  # resp.pentest_jobs[0].actors #=> Array
@@ -1453,7 +1453,7 @@ module Aws::SecurityAgent
1453
1453
  # resp.pentest_jobs[0].network_traffic_config.custom_headers #=> Array
1454
1454
  # resp.pentest_jobs[0].network_traffic_config.custom_headers[0].name #=> String
1455
1455
  # resp.pentest_jobs[0].network_traffic_config.custom_headers[0].value #=> String
1456
- # resp.pentest_jobs[0].error_information.code #=> String, one of "CLIENT_ERROR", "INTERNAL_ERROR", "STOPPED_BY_USER"
1456
+ # resp.pentest_jobs[0].error_information.code #=> String, one of "CLIENT_ERROR", "INTERNAL_ERROR", "STOPPED_BY_USER", "PAUSED_BY_USER"
1457
1457
  # resp.pentest_jobs[0].error_information.message #=> String
1458
1458
  # resp.pentest_jobs[0].integrated_repositories #=> Array
1459
1459
  # resp.pentest_jobs[0].integrated_repositories[0].integration_id #=> String
@@ -1491,6 +1491,7 @@ module Aws::SecurityAgent
1491
1491
  # resp.pentest_jobs[0].scope_changes[0].trigger_run_id #=> String
1492
1492
  # resp.pentest_jobs[0].cicd_configuration.enabled #=> Boolean
1493
1493
  # resp.pentest_jobs[0].test_scope.type #=> String, one of "WEB_APP", "GENERATIVE_AI_APP"
1494
+ # resp.pentest_jobs[0].version #=> String
1494
1495
  # resp.pentest_jobs[0].created_at #=> Time
1495
1496
  # resp.pentest_jobs[0].updated_at #=> Time
1496
1497
  # resp.not_found #=> Array
@@ -1784,7 +1785,7 @@ module Aws::SecurityAgent
1784
1785
  # resp.threat_model_jobs[0].threat_model_id #=> String
1785
1786
  # resp.threat_model_jobs[0].agent_space_id #=> String
1786
1787
  # resp.threat_model_jobs[0].title #=> String
1787
- # resp.threat_model_jobs[0].status #=> String, one of "IN_PROGRESS", "STOPPING", "STOPPED", "FAILED", "COMPLETED"
1788
+ # resp.threat_model_jobs[0].status #=> String, one of "IN_PROGRESS", "STOPPING", "STOPPED", "PAUSING", "PAUSED", "FAILED", "COMPLETED"
1788
1789
  # resp.threat_model_jobs[0].created_at #=> Time
1789
1790
  # resp.threat_model_jobs[0].updated_at #=> Time
1790
1791
  # resp.threat_model_jobs[0].execution_start_time #=> Time
@@ -1805,7 +1806,7 @@ module Aws::SecurityAgent
1805
1806
  # resp.threat_model_jobs[0].scope_docs[0].artifact_id #=> String
1806
1807
  # resp.threat_model_jobs[0].scope_docs[0].integrated_document.integration_id #=> String
1807
1808
  # resp.threat_model_jobs[0].scope_docs[0].integrated_document.resource_id #=> String
1808
- # resp.threat_model_jobs[0].error_information.code #=> String, one of "CLIENT_ERROR", "INTERNAL_ERROR", "STOPPED_BY_USER"
1809
+ # resp.threat_model_jobs[0].error_information.code #=> String, one of "CLIENT_ERROR", "INTERNAL_ERROR", "STOPPED_BY_USER", "PAUSED_BY_USER"
1809
1810
  # resp.threat_model_jobs[0].error_information.message #=> String
1810
1811
  # resp.threat_model_jobs[0].system_overview #=> String
1811
1812
  # resp.threat_model_jobs[0].report_destination.integration_id #=> String
@@ -4168,7 +4169,7 @@ module Aws::SecurityAgent
4168
4169
  # resp.code_review_job_summaries[0].code_review_job_id #=> String
4169
4170
  # resp.code_review_job_summaries[0].code_review_id #=> String
4170
4171
  # resp.code_review_job_summaries[0].title #=> String
4171
- # resp.code_review_job_summaries[0].status #=> String, one of "IN_PROGRESS", "STOPPING", "STOPPED", "FAILED", "COMPLETED"
4172
+ # resp.code_review_job_summaries[0].status #=> String, one of "IN_PROGRESS", "STOPPING", "STOPPED", "PAUSING", "PAUSED", "FAILED", "COMPLETED"
4172
4173
  # resp.code_review_job_summaries[0].created_at #=> Time
4173
4174
  # resp.code_review_job_summaries[0].updated_at #=> Time
4174
4175
  # resp.next_token #=> String
@@ -4738,11 +4739,12 @@ module Aws::SecurityAgent
4738
4739
  # resp.pentest_job_summaries[0].pentest_job_id #=> String
4739
4740
  # resp.pentest_job_summaries[0].pentest_id #=> String
4740
4741
  # resp.pentest_job_summaries[0].title #=> String
4741
- # resp.pentest_job_summaries[0].status #=> String, one of "IN_PROGRESS", "STOPPING", "STOPPED", "FAILED", "COMPLETED"
4742
+ # resp.pentest_job_summaries[0].status #=> String, one of "IN_PROGRESS", "STOPPING", "STOPPED", "PAUSING", "PAUSED", "FAILED", "COMPLETED"
4742
4743
  # resp.pentest_job_summaries[0].created_at #=> Time
4743
4744
  # resp.pentest_job_summaries[0].updated_at #=> Time
4744
4745
  # resp.pentest_job_summaries[0].job_type #=> String, one of "FULL", "REVALIDATION", "CICD"
4745
4746
  # resp.pentest_job_summaries[0].report_url #=> String
4747
+ # resp.pentest_job_summaries[0].version #=> String
4746
4748
  # resp.next_token #=> String
4747
4749
  #
4748
4750
  # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/ListPentestJobsForPentest AWS API Documentation
@@ -5115,7 +5117,7 @@ module Aws::SecurityAgent
5115
5117
  # resp.threat_model_job_summaries[0].threat_model_id #=> String
5116
5118
  # resp.threat_model_job_summaries[0].agent_space_id #=> String
5117
5119
  # resp.threat_model_job_summaries[0].title #=> String
5118
- # resp.threat_model_job_summaries[0].status #=> String, one of "IN_PROGRESS", "STOPPING", "STOPPED", "FAILED", "COMPLETED"
5120
+ # resp.threat_model_job_summaries[0].status #=> String, one of "IN_PROGRESS", "STOPPING", "STOPPED", "PAUSING", "PAUSED", "FAILED", "COMPLETED"
5119
5121
  # resp.threat_model_job_summaries[0].created_at #=> Time
5120
5122
  # resp.threat_model_job_summaries[0].updated_at #=> Time
5121
5123
  # resp.next_token #=> String
@@ -5233,6 +5235,112 @@ module Aws::SecurityAgent
5233
5235
  req.send_request(options)
5234
5236
  end
5235
5237
 
5238
+ # Resumes a stopped or paused pentest job from its last saved
5239
+ # checkpoint. The job keeps its pentest job identifier and continues as
5240
+ # a new version, keeping the findings and progress from earlier runs.
5241
+ # You can resume a job within 7 days of when it was created.
5242
+ #
5243
+ # @option params [String] :agent_space_id
5244
+ # The unique identifier of the agent space.
5245
+ #
5246
+ # @option params [String] :pentest_job_id
5247
+ # The unique identifier of the pentest job to resume.
5248
+ #
5249
+ # @option params [Array<Types::Actor>] :actors
5250
+ # The actors to use for the resumed job. When specified, replaces the
5251
+ # actors the job used before it stopped.
5252
+ #
5253
+ # @option params [Types::NetworkTrafficConfig] :network_traffic_config
5254
+ # The network traffic configuration to use for the resumed job. When
5255
+ # specified, replaces the configuration the job used before it stopped.
5256
+ #
5257
+ # @option params [Types::VpcConfig] :vpc_config
5258
+ # The VPC configuration to use for the resumed job. When specified,
5259
+ # replaces the configuration the job used before it stopped.
5260
+ #
5261
+ # @option params [Float] :max_task_hours
5262
+ # The maximum number of task hours for the resumed job. To resume a job
5263
+ # that stopped because it reached its task hours limit, specify a higher
5264
+ # value.
5265
+ #
5266
+ # @option params [Boolean] :copy_config_from_pentest
5267
+ # Specifies whether to copy the current actors, network traffic
5268
+ # configuration, VPC configuration, and maximum task hours from the
5269
+ # pentest to the resumed job. The job's scope, such as its target
5270
+ # endpoints, is never changed. Values you specify in this request take
5271
+ # precedence over copied values.
5272
+ #
5273
+ # @return [Types::ResumePentestJobOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5274
+ #
5275
+ # * {Types::ResumePentestJobOutput#title #title} => String
5276
+ # * {Types::ResumePentestJobOutput#status #status} => String
5277
+ # * {Types::ResumePentestJobOutput#created_at #created_at} => Time
5278
+ # * {Types::ResumePentestJobOutput#updated_at #updated_at} => Time
5279
+ # * {Types::ResumePentestJobOutput#pentest_id #pentest_id} => String
5280
+ # * {Types::ResumePentestJobOutput#pentest_job_id #pentest_job_id} => String
5281
+ # * {Types::ResumePentestJobOutput#version #version} => String
5282
+ #
5283
+ # @example Request syntax with placeholder values
5284
+ #
5285
+ # resp = client.resume_pentest_job({
5286
+ # agent_space_id: "String",
5287
+ # pentest_job_id: "String",
5288
+ # actors: [
5289
+ # {
5290
+ # identifier: "String",
5291
+ # uris: ["String"],
5292
+ # authentication: {
5293
+ # provider_type: "SECRETS_MANAGER", # accepts SECRETS_MANAGER, AWS_LAMBDA, AWS_IAM_ROLE, AWS_INTERNAL
5294
+ # value: "String",
5295
+ # },
5296
+ # description: "String",
5297
+ # enable_email_mfa: false,
5298
+ # mfa_forwarding_address: "SensitiveEmailAddress",
5299
+ # },
5300
+ # ],
5301
+ # network_traffic_config: {
5302
+ # rules: [
5303
+ # {
5304
+ # effect: "ALLOW", # accepts ALLOW, DENY
5305
+ # pattern: "String",
5306
+ # network_traffic_rule_type: "URL", # accepts URL
5307
+ # },
5308
+ # ],
5309
+ # custom_headers: [
5310
+ # {
5311
+ # name: "String",
5312
+ # value: "String",
5313
+ # },
5314
+ # ],
5315
+ # },
5316
+ # vpc_config: {
5317
+ # vpc_arn: "VpcArn",
5318
+ # security_group_arns: ["SecurityGroupArn"],
5319
+ # subnet_arns: ["SubnetArn"],
5320
+ # },
5321
+ # max_task_hours: 1.0,
5322
+ # copy_config_from_pentest: false,
5323
+ # })
5324
+ #
5325
+ # @example Response structure
5326
+ #
5327
+ # resp.title #=> String
5328
+ # resp.status #=> String, one of "IN_PROGRESS", "STOPPING", "STOPPED", "PAUSING", "PAUSED", "FAILED", "COMPLETED"
5329
+ # resp.created_at #=> Time
5330
+ # resp.updated_at #=> Time
5331
+ # resp.pentest_id #=> String
5332
+ # resp.pentest_job_id #=> String
5333
+ # resp.version #=> String
5334
+ #
5335
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/ResumePentestJob AWS API Documentation
5336
+ #
5337
+ # @overload resume_pentest_job(params = {})
5338
+ # @param [Hash] params ({})
5339
+ def resume_pentest_job(params = {}, options = {})
5340
+ req = build_request(:resume_pentest_job, params)
5341
+ req.send_request(options)
5342
+ end
5343
+
5236
5344
  # Initiates code remediation for one or more security findings. This
5237
5345
  # creates pull requests in integrated repositories to fix the identified
5238
5346
  # vulnerabilities.
@@ -5308,7 +5416,7 @@ module Aws::SecurityAgent
5308
5416
  # @example Response structure
5309
5417
  #
5310
5418
  # resp.title #=> String
5311
- # resp.status #=> String, one of "IN_PROGRESS", "STOPPING", "STOPPED", "FAILED", "COMPLETED"
5419
+ # resp.status #=> String, one of "IN_PROGRESS", "STOPPING", "STOPPED", "PAUSING", "PAUSED", "FAILED", "COMPLETED"
5312
5420
  # resp.created_at #=> Time
5313
5421
  # resp.updated_at #=> Time
5314
5422
  # resp.code_review_id #=> String
@@ -5380,7 +5488,7 @@ module Aws::SecurityAgent
5380
5488
  # @example Response structure
5381
5489
  #
5382
5490
  # resp.title #=> String
5383
- # resp.status #=> String, one of "IN_PROGRESS", "STOPPING", "STOPPED", "FAILED", "COMPLETED"
5491
+ # resp.status #=> String, one of "IN_PROGRESS", "STOPPING", "STOPPED", "PAUSING", "PAUSED", "FAILED", "COMPLETED"
5384
5492
  # resp.created_at #=> Time
5385
5493
  # resp.updated_at #=> Time
5386
5494
  # resp.pentest_id #=> String
@@ -5424,7 +5532,7 @@ module Aws::SecurityAgent
5424
5532
  # @example Response structure
5425
5533
  #
5426
5534
  # resp.title #=> String
5427
- # resp.status #=> String, one of "IN_PROGRESS", "STOPPING", "STOPPED", "FAILED", "COMPLETED"
5535
+ # resp.status #=> String, one of "IN_PROGRESS", "STOPPING", "STOPPED", "PAUSING", "PAUSED", "FAILED", "COMPLETED"
5428
5536
  # resp.created_at #=> Time
5429
5537
  # resp.updated_at #=> Time
5430
5538
  # resp.threat_model_id #=> String
@@ -5476,6 +5584,12 @@ module Aws::SecurityAgent
5476
5584
  # @option params [required, String] :pentest_job_id
5477
5585
  # The unique identifier of the pentest job to stop.
5478
5586
  #
5587
+ # @option params [Boolean] :pause
5588
+ # Specifies whether to pause the job instead of stopping it. A paused
5589
+ # job moves to `PAUSING` and then to `PAUSED`, and you can resume it
5590
+ # later with `ResumePentestJob`. You can pause only a job that is
5591
+ # `IN_PROGRESS`. The default is false.
5592
+ #
5479
5593
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
5480
5594
  #
5481
5595
  # @example Request syntax with placeholder values
@@ -5483,6 +5597,7 @@ module Aws::SecurityAgent
5483
5597
  # resp = client.stop_pentest_job({
5484
5598
  # agent_space_id: "String", # required
5485
5599
  # pentest_job_id: "String", # required
5600
+ # pause: false,
5486
5601
  # })
5487
5602
  #
5488
5603
  # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/StopPentestJob AWS API Documentation
@@ -6982,7 +7097,7 @@ module Aws::SecurityAgent
6982
7097
  tracer: tracer
6983
7098
  )
6984
7099
  context[:gem_name] = 'aws-sdk-securityagent'
6985
- context[:gem_version] = '1.36.0'
7100
+ context[:gem_version] = '1.37.0'
6986
7101
  Seahorse::Client::Request.new(handlers, context)
6987
7102
  end
6988
7103
 
@@ -411,6 +411,8 @@ module Aws::SecurityAgent
411
411
  ResourceGatewayId = Shapes::StringShape.new(name: 'ResourceGatewayId')
412
412
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
413
413
  ResourceType = Shapes::StringShape.new(name: 'ResourceType')
414
+ ResumePentestJobInput = Shapes::StructureShape.new(name: 'ResumePentestJobInput')
415
+ ResumePentestJobOutput = Shapes::StructureShape.new(name: 'ResumePentestJobOutput')
414
416
  RiskLevel = Shapes::StringShape.new(name: 'RiskLevel')
415
417
  RiskLevelFilterList = Shapes::ListShape.new(name: 'RiskLevelFilterList')
416
418
  RiskType = Shapes::StringShape.new(name: 'RiskType')
@@ -2170,6 +2172,7 @@ module Aws::SecurityAgent
2170
2172
  PentestJob.add_member(:scope_changes, Shapes::ShapeRef.new(shape: ScopeChangeList, location_name: "scopeChanges"))
2171
2173
  PentestJob.add_member(:cicd_configuration, Shapes::ShapeRef.new(shape: CiCdConfiguration, location_name: "cicdConfiguration"))
2172
2174
  PentestJob.add_member(:test_scope, Shapes::ShapeRef.new(shape: TestScope, location_name: "testScope"))
2175
+ PentestJob.add_member(:version, Shapes::ShapeRef.new(shape: String, location_name: "version"))
2173
2176
  PentestJob.add_member(:created_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "createdAt"))
2174
2177
  PentestJob.add_member(:updated_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "updatedAt"))
2175
2178
  PentestJob.struct_class = Types::PentestJob
@@ -2186,6 +2189,7 @@ module Aws::SecurityAgent
2186
2189
  PentestJobSummary.add_member(:updated_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "updatedAt"))
2187
2190
  PentestJobSummary.add_member(:job_type, Shapes::ShapeRef.new(shape: JobType, location_name: "jobType"))
2188
2191
  PentestJobSummary.add_member(:report_url, Shapes::ShapeRef.new(shape: String, location_name: "reportUrl"))
2192
+ PentestJobSummary.add_member(:version, Shapes::ShapeRef.new(shape: String, location_name: "version"))
2189
2193
  PentestJobSummary.struct_class = Types::PentestJobSummary
2190
2194
 
2191
2195
  PentestJobSummaryList.member = Shapes::ShapeRef.new(shape: PentestJobSummary)
@@ -2285,6 +2289,24 @@ module Aws::SecurityAgent
2285
2289
  ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
2286
2290
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
2287
2291
 
2292
+ ResumePentestJobInput.add_member(:agent_space_id, Shapes::ShapeRef.new(shape: String, location_name: "agentSpaceId"))
2293
+ ResumePentestJobInput.add_member(:pentest_job_id, Shapes::ShapeRef.new(shape: String, location_name: "pentestJobId"))
2294
+ ResumePentestJobInput.add_member(:actors, Shapes::ShapeRef.new(shape: ActorList, location_name: "actors"))
2295
+ ResumePentestJobInput.add_member(:network_traffic_config, Shapes::ShapeRef.new(shape: NetworkTrafficConfig, location_name: "networkTrafficConfig"))
2296
+ ResumePentestJobInput.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "vpcConfig"))
2297
+ ResumePentestJobInput.add_member(:max_task_hours, Shapes::ShapeRef.new(shape: Double, location_name: "maxTaskHours"))
2298
+ ResumePentestJobInput.add_member(:copy_config_from_pentest, Shapes::ShapeRef.new(shape: Boolean, location_name: "copyConfigFromPentest"))
2299
+ ResumePentestJobInput.struct_class = Types::ResumePentestJobInput
2300
+
2301
+ ResumePentestJobOutput.add_member(:title, Shapes::ShapeRef.new(shape: String, location_name: "title"))
2302
+ ResumePentestJobOutput.add_member(:status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "status"))
2303
+ ResumePentestJobOutput.add_member(:created_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "createdAt"))
2304
+ ResumePentestJobOutput.add_member(:updated_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "updatedAt"))
2305
+ ResumePentestJobOutput.add_member(:pentest_id, Shapes::ShapeRef.new(shape: String, location_name: "pentestId"))
2306
+ ResumePentestJobOutput.add_member(:pentest_job_id, Shapes::ShapeRef.new(shape: String, location_name: "pentestJobId"))
2307
+ ResumePentestJobOutput.add_member(:version, Shapes::ShapeRef.new(shape: String, location_name: "version"))
2308
+ ResumePentestJobOutput.struct_class = Types::ResumePentestJobOutput
2309
+
2288
2310
  RiskLevelFilterList.member = Shapes::ShapeRef.new(shape: RiskLevel)
2289
2311
 
2290
2312
  RiskTypeFilterList.member = Shapes::ShapeRef.new(shape: RiskType)
@@ -2432,6 +2454,7 @@ module Aws::SecurityAgent
2432
2454
 
2433
2455
  StopPentestJobInput.add_member(:agent_space_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "agentSpaceId"))
2434
2456
  StopPentestJobInput.add_member(:pentest_job_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "pentestJobId"))
2457
+ StopPentestJobInput.add_member(:pause, Shapes::ShapeRef.new(shape: Boolean, location_name: "pause"))
2435
2458
  StopPentestJobInput.struct_class = Types::StopPentestJobInput
2436
2459
 
2437
2460
  StopPentestJobOutput.struct_class = Types::StopPentestJobOutput
@@ -3878,6 +3901,14 @@ module Aws::SecurityAgent
3878
3901
  )
3879
3902
  end)
3880
3903
 
3904
+ api.add_operation(:resume_pentest_job, Seahorse::Model::Operation.new.tap do |o|
3905
+ o.name = "ResumePentestJob"
3906
+ o.http_method = "POST"
3907
+ o.http_request_uri = "/ResumePentestJob"
3908
+ o.input = Shapes::ShapeRef.new(shape: ResumePentestJobInput)
3909
+ o.output = Shapes::ShapeRef.new(shape: ResumePentestJobOutput)
3910
+ end)
3911
+
3881
3912
  api.add_operation(:start_code_remediation, Seahorse::Model::Operation.new.tap do |o|
3882
3913
  o.name = "StartCodeRemediation"
3883
3914
  o.http_method = "POST"
@@ -7281,6 +7281,12 @@ module Aws::SecurityAgent
7281
7281
  # The category of application a pentest targets.
7282
7282
  # @return [Types::TestScope]
7283
7283
  #
7284
+ # @!attribute [rw] version
7285
+ # The version of the pentest job. The version increases each time the
7286
+ # job is resumed. This value is absent for jobs created before
7287
+ # versions were recorded.
7288
+ # @return [String]
7289
+ #
7284
7290
  # @!attribute [rw] created_at
7285
7291
  # The date and time the pentest job was created, in UTC format.
7286
7292
  # @return [Time]
@@ -7326,6 +7332,7 @@ module Aws::SecurityAgent
7326
7332
  :scope_changes,
7327
7333
  :cicd_configuration,
7328
7334
  :test_scope,
7335
+ :version,
7329
7336
  :created_at,
7330
7337
  :updated_at)
7331
7338
  SENSITIVE = [:trusted_ca_certificates]
@@ -7367,6 +7374,12 @@ module Aws::SecurityAgent
7367
7374
  # The URL to view this pentest job's findings report in the console.
7368
7375
  # @return [String]
7369
7376
  #
7377
+ # @!attribute [rw] version
7378
+ # The version of the pentest job. The version increases each time the
7379
+ # job is resumed. This value is absent for jobs created before
7380
+ # versions were recorded.
7381
+ # @return [String]
7382
+ #
7370
7383
  # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/PentestJobSummary AWS API Documentation
7371
7384
  #
7372
7385
  class PentestJobSummary < Struct.new(
@@ -7377,7 +7390,8 @@ module Aws::SecurityAgent
7377
7390
  :created_at,
7378
7391
  :updated_at,
7379
7392
  :job_type,
7380
- :report_url)
7393
+ :report_url,
7394
+ :version)
7381
7395
  SENSITIVE = []
7382
7396
  include Aws::Structure
7383
7397
  end
@@ -7725,6 +7739,105 @@ module Aws::SecurityAgent
7725
7739
  include Aws::Structure
7726
7740
  end
7727
7741
 
7742
+ # Input for resuming a stopped or paused pentest job.
7743
+ #
7744
+ # @!attribute [rw] agent_space_id
7745
+ # The unique identifier of the agent space.
7746
+ # @return [String]
7747
+ #
7748
+ # @!attribute [rw] pentest_job_id
7749
+ # The unique identifier of the pentest job to resume.
7750
+ # @return [String]
7751
+ #
7752
+ # @!attribute [rw] actors
7753
+ # The actors to use for the resumed job. When specified, replaces the
7754
+ # actors the job used before it stopped.
7755
+ # @return [Array<Types::Actor>]
7756
+ #
7757
+ # @!attribute [rw] network_traffic_config
7758
+ # The network traffic configuration to use for the resumed job. When
7759
+ # specified, replaces the configuration the job used before it
7760
+ # stopped.
7761
+ # @return [Types::NetworkTrafficConfig]
7762
+ #
7763
+ # @!attribute [rw] vpc_config
7764
+ # The VPC configuration to use for the resumed job. When specified,
7765
+ # replaces the configuration the job used before it stopped.
7766
+ # @return [Types::VpcConfig]
7767
+ #
7768
+ # @!attribute [rw] max_task_hours
7769
+ # The maximum number of task hours for the resumed job. To resume a
7770
+ # job that stopped because it reached its task hours limit, specify a
7771
+ # higher value.
7772
+ # @return [Float]
7773
+ #
7774
+ # @!attribute [rw] copy_config_from_pentest
7775
+ # Specifies whether to copy the current actors, network traffic
7776
+ # configuration, VPC configuration, and maximum task hours from the
7777
+ # pentest to the resumed job. The job's scope, such as its target
7778
+ # endpoints, is never changed. Values you specify in this request take
7779
+ # precedence over copied values.
7780
+ # @return [Boolean]
7781
+ #
7782
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/ResumePentestJobInput AWS API Documentation
7783
+ #
7784
+ class ResumePentestJobInput < Struct.new(
7785
+ :agent_space_id,
7786
+ :pentest_job_id,
7787
+ :actors,
7788
+ :network_traffic_config,
7789
+ :vpc_config,
7790
+ :max_task_hours,
7791
+ :copy_config_from_pentest)
7792
+ SENSITIVE = []
7793
+ include Aws::Structure
7794
+ end
7795
+
7796
+ # Output for the ResumePentestJob operation.
7797
+ #
7798
+ # @!attribute [rw] title
7799
+ # The title of the pentest job.
7800
+ # @return [String]
7801
+ #
7802
+ # @!attribute [rw] status
7803
+ # The current status of the pentest job.
7804
+ # @return [String]
7805
+ #
7806
+ # @!attribute [rw] created_at
7807
+ # The date and time the pentest job was created, in UTC format.
7808
+ # @return [Time]
7809
+ #
7810
+ # @!attribute [rw] updated_at
7811
+ # The date and time the pentest job was last updated, in UTC format.
7812
+ # @return [Time]
7813
+ #
7814
+ # @!attribute [rw] pentest_id
7815
+ # The unique identifier of the pentest.
7816
+ # @return [String]
7817
+ #
7818
+ # @!attribute [rw] pentest_job_id
7819
+ # The unique identifier of the resumed pentest job.
7820
+ # @return [String]
7821
+ #
7822
+ # @!attribute [rw] version
7823
+ # The version of the pentest job that the resume started. The version
7824
+ # increases each time the job is resumed.
7825
+ # @return [String]
7826
+ #
7827
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/ResumePentestJobOutput AWS API Documentation
7828
+ #
7829
+ class ResumePentestJobOutput < Struct.new(
7830
+ :title,
7831
+ :status,
7832
+ :created_at,
7833
+ :updated_at,
7834
+ :pentest_id,
7835
+ :pentest_job_id,
7836
+ :version)
7837
+ SENSITIVE = []
7838
+ include Aws::Structure
7839
+ end
7840
+
7728
7841
  # A code change in a CI/CD pipeline run that defines what a CI/CD
7729
7842
  # pentest job tests. Each scope change identifies an integrated
7730
7843
  # repository and the commit range for the change.
@@ -8326,11 +8439,19 @@ module Aws::SecurityAgent
8326
8439
  # The unique identifier of the pentest job to stop.
8327
8440
  # @return [String]
8328
8441
  #
8442
+ # @!attribute [rw] pause
8443
+ # Specifies whether to pause the job instead of stopping it. A paused
8444
+ # job moves to `PAUSING` and then to `PAUSED`, and you can resume it
8445
+ # later with `ResumePentestJob`. You can pause only a job that is
8446
+ # `IN_PROGRESS`. The default is false.
8447
+ # @return [Boolean]
8448
+ #
8329
8449
  # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/StopPentestJobInput AWS API Documentation
8330
8450
  #
8331
8451
  class StopPentestJobInput < Struct.new(
8332
8452
  :agent_space_id,
8333
- :pentest_job_id)
8453
+ :pentest_job_id,
8454
+ :pause)
8334
8455
  SENSITIVE = []
8335
8456
  include Aws::Structure
8336
8457
  end
@@ -55,7 +55,7 @@ module Aws::SecurityAgent
55
55
  autoload :EndpointProvider, 'aws-sdk-securityagent/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-securityagent/endpoints'
57
57
 
58
- GEM_VERSION = '1.36.0'
58
+ GEM_VERSION = '1.37.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -1304,6 +1304,34 @@ module Aws
1304
1304
  ) -> _ListThreatsResponseSuccess
1305
1305
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListThreatsResponseSuccess
1306
1306
 
1307
+ interface _ResumePentestJobResponseSuccess
1308
+ include ::Seahorse::Client::_ResponseSuccess[Types::ResumePentestJobOutput]
1309
+ def title: () -> ::String
1310
+ def status: () -> ("IN_PROGRESS" | "STOPPING" | "STOPPED" | "PAUSING" | "PAUSED" | "FAILED" | "COMPLETED")
1311
+ def created_at: () -> ::Time
1312
+ def updated_at: () -> ::Time
1313
+ def pentest_id: () -> ::String
1314
+ def pentest_job_id: () -> ::String
1315
+ def version: () -> ::String
1316
+ end
1317
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#resume_pentest_job-instance_method
1318
+ def resume_pentest_job: (
1319
+ ?agent_space_id: ::String,
1320
+ ?pentest_job_id: ::String,
1321
+ ?actors: Array[
1322
+ Params::actor
1323
+ ],
1324
+ ?network_traffic_config: Params::network_traffic_config,
1325
+ ?vpc_config: {
1326
+ vpc_arn: ::String?,
1327
+ security_group_arns: Array[::String]?,
1328
+ subnet_arns: Array[::String]?
1329
+ },
1330
+ ?max_task_hours: ::Float,
1331
+ ?copy_config_from_pentest: bool
1332
+ ) -> _ResumePentestJobResponseSuccess
1333
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ResumePentestJobResponseSuccess
1334
+
1307
1335
  interface _StartCodeRemediationResponseSuccess
1308
1336
  include ::Seahorse::Client::_ResponseSuccess[Types::StartCodeRemediationOutput]
1309
1337
  end
@@ -1319,7 +1347,7 @@ module Aws
1319
1347
  interface _StartCodeReviewJobResponseSuccess
1320
1348
  include ::Seahorse::Client::_ResponseSuccess[Types::StartCodeReviewJobOutput]
1321
1349
  def title: () -> ::String
1322
- def status: () -> ("IN_PROGRESS" | "STOPPING" | "STOPPED" | "FAILED" | "COMPLETED")
1350
+ def status: () -> ("IN_PROGRESS" | "STOPPING" | "STOPPED" | "PAUSING" | "PAUSED" | "FAILED" | "COMPLETED")
1323
1351
  def created_at: () -> ::Time
1324
1352
  def updated_at: () -> ::Time
1325
1353
  def code_review_id: () -> ::String
@@ -1339,7 +1367,7 @@ module Aws
1339
1367
  interface _StartPentestJobResponseSuccess
1340
1368
  include ::Seahorse::Client::_ResponseSuccess[Types::StartPentestJobOutput]
1341
1369
  def title: () -> ::String
1342
- def status: () -> ("IN_PROGRESS" | "STOPPING" | "STOPPED" | "FAILED" | "COMPLETED")
1370
+ def status: () -> ("IN_PROGRESS" | "STOPPING" | "STOPPED" | "PAUSING" | "PAUSED" | "FAILED" | "COMPLETED")
1343
1371
  def created_at: () -> ::Time
1344
1372
  def updated_at: () -> ::Time
1345
1373
  def pentest_id: () -> ::String
@@ -1367,7 +1395,7 @@ module Aws
1367
1395
  interface _StartThreatModelJobResponseSuccess
1368
1396
  include ::Seahorse::Client::_ResponseSuccess[Types::StartThreatModelJobOutput]
1369
1397
  def title: () -> ::String
1370
- def status: () -> ("IN_PROGRESS" | "STOPPING" | "STOPPED" | "FAILED" | "COMPLETED")
1398
+ def status: () -> ("IN_PROGRESS" | "STOPPING" | "STOPPED" | "PAUSING" | "PAUSED" | "FAILED" | "COMPLETED")
1371
1399
  def created_at: () -> ::Time
1372
1400
  def updated_at: () -> ::Time
1373
1401
  def threat_model_id: () -> ::String
@@ -1397,7 +1425,8 @@ module Aws
1397
1425
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#stop_pentest_job-instance_method
1398
1426
  def stop_pentest_job: (
1399
1427
  agent_space_id: ::String,
1400
- pentest_job_id: ::String
1428
+ pentest_job_id: ::String,
1429
+ ?pause: bool
1401
1430
  ) -> _StopPentestJobResponseSuccess
1402
1431
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StopPentestJobResponseSuccess
1403
1432
 
data/sig/types.rbs CHANGED
@@ -226,7 +226,7 @@ module Aws::SecurityAgent
226
226
 
227
227
  class BatchDisassociateFindingIssueError
228
228
  attr_accessor finding_id: ::String
229
- attr_accessor code: ("CLIENT_ERROR" | "INTERNAL_ERROR" | "STOPPED_BY_USER")
229
+ attr_accessor code: ("CLIENT_ERROR" | "INTERNAL_ERROR" | "STOPPED_BY_USER" | "PAUSED_BY_USER")
230
230
  attr_accessor message: ::String
231
231
  SENSITIVE: []
232
232
  end
@@ -246,7 +246,7 @@ module Aws::SecurityAgent
246
246
 
247
247
  class BatchExportFindingError
248
248
  attr_accessor finding_id: ::String
249
- attr_accessor code: ("CLIENT_ERROR" | "INTERNAL_ERROR" | "STOPPED_BY_USER")
249
+ attr_accessor code: ("CLIENT_ERROR" | "INTERNAL_ERROR" | "STOPPED_BY_USER" | "PAUSED_BY_USER")
250
250
  attr_accessor message: ::String
251
251
  SENSITIVE: []
252
252
  end
@@ -601,7 +601,7 @@ module Aws::SecurityAgent
601
601
  attr_accessor code_review_id: ::String
602
602
  attr_accessor title: ::String
603
603
  attr_accessor overview: ::String
604
- attr_accessor status: ("IN_PROGRESS" | "STOPPING" | "STOPPED" | "FAILED" | "COMPLETED")
604
+ attr_accessor status: ("IN_PROGRESS" | "STOPPING" | "STOPPED" | "PAUSING" | "PAUSED" | "FAILED" | "COMPLETED")
605
605
  attr_accessor documents: ::Array[Types::DocumentInfo]
606
606
  attr_accessor source_code: ::Array[Types::SourceCodeRepository]
607
607
  attr_accessor steps: ::Array[Types::Step]
@@ -622,7 +622,7 @@ module Aws::SecurityAgent
622
622
  attr_accessor code_review_job_id: ::String
623
623
  attr_accessor code_review_id: ::String
624
624
  attr_accessor title: ::String
625
- attr_accessor status: ("IN_PROGRESS" | "STOPPING" | "STOPPED" | "FAILED" | "COMPLETED")
625
+ attr_accessor status: ("IN_PROGRESS" | "STOPPING" | "STOPPED" | "PAUSING" | "PAUSED" | "FAILED" | "COMPLETED")
626
626
  attr_accessor created_at: ::Time
627
627
  attr_accessor updated_at: ::Time
628
628
  SENSITIVE: []
@@ -1147,7 +1147,7 @@ module Aws::SecurityAgent
1147
1147
  end
1148
1148
 
1149
1149
  class ErrorInformation
1150
- attr_accessor code: ("CLIENT_ERROR" | "INTERNAL_ERROR" | "STOPPED_BY_USER")
1150
+ attr_accessor code: ("CLIENT_ERROR" | "INTERNAL_ERROR" | "STOPPED_BY_USER" | "PAUSED_BY_USER")
1151
1151
  attr_accessor message: ::String
1152
1152
  SENSITIVE: []
1153
1153
  end
@@ -1974,7 +1974,7 @@ module Aws::SecurityAgent
1974
1974
  attr_accessor pentest_id: ::String
1975
1975
  attr_accessor title: ::String
1976
1976
  attr_accessor overview: ::String
1977
- attr_accessor status: ("IN_PROGRESS" | "STOPPING" | "STOPPED" | "FAILED" | "COMPLETED")
1977
+ attr_accessor status: ("IN_PROGRESS" | "STOPPING" | "STOPPED" | "PAUSING" | "PAUSED" | "FAILED" | "COMPLETED")
1978
1978
  attr_accessor endpoints: ::Array[Types::Endpoint]
1979
1979
  attr_accessor actors: ::Array[Types::Actor]
1980
1980
  attr_accessor documents: ::Array[Types::DocumentInfo]
@@ -2004,6 +2004,7 @@ module Aws::SecurityAgent
2004
2004
  attr_accessor scope_changes: ::Array[Types::ScopeChange]
2005
2005
  attr_accessor cicd_configuration: Types::CiCdConfiguration
2006
2006
  attr_accessor test_scope: Types::TestScope
2007
+ attr_accessor version: ::String
2007
2008
  attr_accessor created_at: ::Time
2008
2009
  attr_accessor updated_at: ::Time
2009
2010
  SENSITIVE: [:trusted_ca_certificates]
@@ -2013,11 +2014,12 @@ module Aws::SecurityAgent
2013
2014
  attr_accessor pentest_job_id: ::String
2014
2015
  attr_accessor pentest_id: ::String
2015
2016
  attr_accessor title: ::String
2016
- attr_accessor status: ("IN_PROGRESS" | "STOPPING" | "STOPPED" | "FAILED" | "COMPLETED")
2017
+ attr_accessor status: ("IN_PROGRESS" | "STOPPING" | "STOPPED" | "PAUSING" | "PAUSED" | "FAILED" | "COMPLETED")
2017
2018
  attr_accessor created_at: ::Time
2018
2019
  attr_accessor updated_at: ::Time
2019
2020
  attr_accessor job_type: ("FULL" | "REVALIDATION" | "CICD")
2020
2021
  attr_accessor report_url: ::String
2022
+ attr_accessor version: ::String
2021
2023
  SENSITIVE: []
2022
2024
  end
2023
2025
 
@@ -2139,6 +2141,28 @@ module Aws::SecurityAgent
2139
2141
  SENSITIVE: []
2140
2142
  end
2141
2143
 
2144
+ class ResumePentestJobInput
2145
+ attr_accessor agent_space_id: ::String
2146
+ attr_accessor pentest_job_id: ::String
2147
+ attr_accessor actors: ::Array[Types::Actor]
2148
+ attr_accessor network_traffic_config: Types::NetworkTrafficConfig
2149
+ attr_accessor vpc_config: Types::VpcConfig
2150
+ attr_accessor max_task_hours: ::Float
2151
+ attr_accessor copy_config_from_pentest: bool
2152
+ SENSITIVE: []
2153
+ end
2154
+
2155
+ class ResumePentestJobOutput
2156
+ attr_accessor title: ::String
2157
+ attr_accessor status: ("IN_PROGRESS" | "STOPPING" | "STOPPED" | "PAUSING" | "PAUSED" | "FAILED" | "COMPLETED")
2158
+ attr_accessor created_at: ::Time
2159
+ attr_accessor updated_at: ::Time
2160
+ attr_accessor pentest_id: ::String
2161
+ attr_accessor pentest_job_id: ::String
2162
+ attr_accessor version: ::String
2163
+ SENSITIVE: []
2164
+ end
2165
+
2142
2166
  class ScopeChange
2143
2167
  attr_accessor integration_id: ::String
2144
2168
  attr_accessor provider_resource_id: ::String
@@ -2231,7 +2255,7 @@ module Aws::SecurityAgent
2231
2255
 
2232
2256
  class StartCodeReviewJobOutput
2233
2257
  attr_accessor title: ::String
2234
- attr_accessor status: ("IN_PROGRESS" | "STOPPING" | "STOPPED" | "FAILED" | "COMPLETED")
2258
+ attr_accessor status: ("IN_PROGRESS" | "STOPPING" | "STOPPED" | "PAUSING" | "PAUSED" | "FAILED" | "COMPLETED")
2235
2259
  attr_accessor created_at: ::Time
2236
2260
  attr_accessor updated_at: ::Time
2237
2261
  attr_accessor code_review_id: ::String
@@ -2251,7 +2275,7 @@ module Aws::SecurityAgent
2251
2275
 
2252
2276
  class StartPentestJobOutput
2253
2277
  attr_accessor title: ::String
2254
- attr_accessor status: ("IN_PROGRESS" | "STOPPING" | "STOPPED" | "FAILED" | "COMPLETED")
2278
+ attr_accessor status: ("IN_PROGRESS" | "STOPPING" | "STOPPED" | "PAUSING" | "PAUSED" | "FAILED" | "COMPLETED")
2255
2279
  attr_accessor created_at: ::Time
2256
2280
  attr_accessor updated_at: ::Time
2257
2281
  attr_accessor pentest_id: ::String
@@ -2268,7 +2292,7 @@ module Aws::SecurityAgent
2268
2292
 
2269
2293
  class StartThreatModelJobOutput
2270
2294
  attr_accessor title: ::String
2271
- attr_accessor status: ("IN_PROGRESS" | "STOPPING" | "STOPPED" | "FAILED" | "COMPLETED")
2295
+ attr_accessor status: ("IN_PROGRESS" | "STOPPING" | "STOPPED" | "PAUSING" | "PAUSED" | "FAILED" | "COMPLETED")
2272
2296
  attr_accessor created_at: ::Time
2273
2297
  attr_accessor updated_at: ::Time
2274
2298
  attr_accessor threat_model_id: ::String
@@ -2297,6 +2321,7 @@ module Aws::SecurityAgent
2297
2321
  class StopPentestJobInput
2298
2322
  attr_accessor agent_space_id: ::String
2299
2323
  attr_accessor pentest_job_id: ::String
2324
+ attr_accessor pause: bool
2300
2325
  SENSITIVE: []
2301
2326
  end
2302
2327
 
@@ -2434,7 +2459,7 @@ module Aws::SecurityAgent
2434
2459
  attr_accessor threat_model_id: ::String
2435
2460
  attr_accessor agent_space_id: ::String
2436
2461
  attr_accessor title: ::String
2437
- attr_accessor status: ("IN_PROGRESS" | "STOPPING" | "STOPPED" | "FAILED" | "COMPLETED")
2462
+ attr_accessor status: ("IN_PROGRESS" | "STOPPING" | "STOPPED" | "PAUSING" | "PAUSED" | "FAILED" | "COMPLETED")
2438
2463
  attr_accessor created_at: ::Time
2439
2464
  attr_accessor updated_at: ::Time
2440
2465
  attr_accessor execution_start_time: ::Time
@@ -2454,7 +2479,7 @@ module Aws::SecurityAgent
2454
2479
  attr_accessor threat_model_id: ::String
2455
2480
  attr_accessor agent_space_id: ::String
2456
2481
  attr_accessor title: ::String
2457
- attr_accessor status: ("IN_PROGRESS" | "STOPPING" | "STOPPED" | "FAILED" | "COMPLETED")
2482
+ attr_accessor status: ("IN_PROGRESS" | "STOPPING" | "STOPPED" | "PAUSING" | "PAUSED" | "FAILED" | "COMPLETED")
2458
2483
  attr_accessor created_at: ::Time
2459
2484
  attr_accessor updated_at: ::Time
2460
2485
  SENSITIVE: []
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-securityagent
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.36.0
4
+ version: 1.37.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
@@ -18,7 +18,7 @@ dependencies:
18
18
  version: '3'
19
19
  - - ">="
20
20
  - !ruby/object:Gem::Version
21
- version: 3.269.0
21
+ version: 3.270.0
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -28,7 +28,7 @@ dependencies:
28
28
  version: '3'
29
29
  - - ">="
30
30
  - !ruby/object:Gem::Version
31
- version: 3.269.0
31
+ version: 3.270.0
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: aws-sigv4
34
34
  requirement: !ruby/object:Gem::Requirement