aws-sdk-mainframemodernization 1.29.0 → 1.31.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-mainframemodernization/client.rb +38 -15
- data/lib/aws-sdk-mainframemodernization/client_api.rb +15 -4
- data/lib/aws-sdk-mainframemodernization/types.rb +57 -19
- data/lib/aws-sdk-mainframemodernization.rb +1 -1
- data/sig/client.rbs +6 -1
- data/sig/types.rbs +8 -2
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8f647af3674f7540355c5abd39c5695cb233997024c1b878fc07f88764eb9c03
|
4
|
+
data.tar.gz: c706e8f1ed369f6fcf0b68966eef5d3870046995377e1cdfc2c103a605f9d13a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ffb8efc2d28ca973cb31603c0dd7a64655393888326b3be1a7f99e639045ce4abd40b94cdc72fdf5cb1e80ada1ca3d4fa2768e933b4880598796d1b6f3c7b310
|
7
|
+
data.tar.gz: 29ceddbfedf505540bc358883de0c18181cd072277c68ee404b944b1bc997dd352f0f2c843875607462a56e34b4103857ac8aaa952173d0549f4a9ba3cf43084
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.31.0 (2024-12-17)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds support for AWS Mainframe Modernization(M2) Service to allow specifying network type(ipv4, dual) for the environment instances. For dual network type, m2 environment applications will serve both IPv4 and IPv6 requests, whereas for ipv4 it will serve only IPv4 requests.
|
8
|
+
|
9
|
+
1.30.0 (2024-10-22)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Add AuthSecretsManagerArn optional parameter to batch job APIs, expand batch parameter limits, and introduce clientToken constraints.
|
13
|
+
|
4
14
|
1.29.0 (2024-10-18)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.31.0
|
@@ -452,6 +452,11 @@ module Aws::MainframeModernization
|
|
452
452
|
# @option params [required, String] :application_id
|
453
453
|
# The unique identifier of the application.
|
454
454
|
#
|
455
|
+
# @option params [String] :auth_secrets_manager_arn
|
456
|
+
# The Amazon Web Services Secrets Manager containing user's credentials
|
457
|
+
# for authentication and authorization for Cancel Batch Job Execution
|
458
|
+
# operation.
|
459
|
+
#
|
455
460
|
# @option params [required, String] :execution_id
|
456
461
|
# The unique identifier of the batch job execution.
|
457
462
|
#
|
@@ -461,6 +466,7 @@ module Aws::MainframeModernization
|
|
461
466
|
#
|
462
467
|
# resp = client.cancel_batch_job_execution({
|
463
468
|
# application_id: "Identifier", # required
|
469
|
+
# auth_secrets_manager_arn: "AuthSecretsManagerArn",
|
464
470
|
# execution_id: "Identifier", # required
|
465
471
|
# })
|
466
472
|
#
|
@@ -477,12 +483,10 @@ module Aws::MainframeModernization
|
|
477
483
|
# runtime environment and application definition file.
|
478
484
|
#
|
479
485
|
# @option params [String] :client_token
|
480
|
-
#
|
481
|
-
#
|
482
|
-
#
|
483
|
-
#
|
484
|
-
# with the same clientToken, you will get the same response. The service
|
485
|
-
# also handles deleting the clientToken after it expires.
|
486
|
+
# A client token is a unique, case-sensitive string of up to 128 ASCII
|
487
|
+
# characters with ASCII values of 33-126 inclusive. It's generated by
|
488
|
+
# the client to ensure idempotent operations, allowing for safe retries
|
489
|
+
# without unintended side effects.
|
486
490
|
#
|
487
491
|
# **A suitable default value is auto-generated.** You should normally
|
488
492
|
# not need to pass this option.**
|
@@ -521,7 +525,7 @@ module Aws::MainframeModernization
|
|
521
525
|
# @example Request syntax with placeholder values
|
522
526
|
#
|
523
527
|
# resp = client.create_application({
|
524
|
-
# client_token: "
|
528
|
+
# client_token: "ClientToken",
|
525
529
|
# definition: { # required
|
526
530
|
# content: "StringFree65000",
|
527
531
|
# s3_location: "String2000",
|
@@ -579,7 +583,7 @@ module Aws::MainframeModernization
|
|
579
583
|
#
|
580
584
|
# resp = client.create_data_set_import_task({
|
581
585
|
# application_id: "Identifier", # required
|
582
|
-
# client_token: "
|
586
|
+
# client_token: "ClientToken",
|
583
587
|
# import_config: { # required
|
584
588
|
# data_sets: [
|
585
589
|
# {
|
@@ -680,7 +684,7 @@ module Aws::MainframeModernization
|
|
680
684
|
# resp = client.create_deployment({
|
681
685
|
# application_id: "Identifier", # required
|
682
686
|
# application_version: 1, # required
|
683
|
-
# client_token: "
|
687
|
+
# client_token: "ClientToken",
|
684
688
|
# environment_id: "Identifier", # required
|
685
689
|
# })
|
686
690
|
#
|
@@ -733,6 +737,9 @@ module Aws::MainframeModernization
|
|
733
737
|
# The name of the runtime environment. Must be unique within the
|
734
738
|
# account.
|
735
739
|
#
|
740
|
+
# @option params [String] :network_type
|
741
|
+
# The network type required for the runtime environment.
|
742
|
+
#
|
736
743
|
# @option params [String] :preferred_maintenance_window
|
737
744
|
# Configures the maintenance window that you want for the runtime
|
738
745
|
# environment. The maintenance window must have the format
|
@@ -767,7 +774,7 @@ module Aws::MainframeModernization
|
|
767
774
|
# @example Request syntax with placeholder values
|
768
775
|
#
|
769
776
|
# resp = client.create_environment({
|
770
|
-
# client_token: "
|
777
|
+
# client_token: "ClientToken",
|
771
778
|
# description: "EntityDescription",
|
772
779
|
# engine_type: "microfocus", # required, accepts microfocus, bluage
|
773
780
|
# engine_version: "EngineVersion",
|
@@ -777,6 +784,7 @@ module Aws::MainframeModernization
|
|
777
784
|
# instance_type: "String20", # required
|
778
785
|
# kms_key_id: "String",
|
779
786
|
# name: "EntityName", # required
|
787
|
+
# network_type: "ipv4", # accepts ipv4, dual
|
780
788
|
# preferred_maintenance_window: "String50",
|
781
789
|
# publicly_accessible: false,
|
782
790
|
# security_group_ids: ["String50"],
|
@@ -1253,6 +1261,7 @@ module Aws::MainframeModernization
|
|
1253
1261
|
# * {Types::GetEnvironmentResponse#kms_key_id #kms_key_id} => String
|
1254
1262
|
# * {Types::GetEnvironmentResponse#load_balancer_arn #load_balancer_arn} => String
|
1255
1263
|
# * {Types::GetEnvironmentResponse#name #name} => String
|
1264
|
+
# * {Types::GetEnvironmentResponse#network_type #network_type} => String
|
1256
1265
|
# * {Types::GetEnvironmentResponse#pending_maintenance #pending_maintenance} => Types::PendingMaintenance
|
1257
1266
|
# * {Types::GetEnvironmentResponse#preferred_maintenance_window #preferred_maintenance_window} => String
|
1258
1267
|
# * {Types::GetEnvironmentResponse#publicly_accessible #publicly_accessible} => Boolean
|
@@ -1284,6 +1293,7 @@ module Aws::MainframeModernization
|
|
1284
1293
|
# resp.kms_key_id #=> String
|
1285
1294
|
# resp.load_balancer_arn #=> String
|
1286
1295
|
# resp.name #=> String
|
1296
|
+
# resp.network_type #=> String, one of "ipv4", "dual"
|
1287
1297
|
# resp.pending_maintenance.engine_version #=> String
|
1288
1298
|
# resp.pending_maintenance.schedule.end_time #=> Time
|
1289
1299
|
# resp.pending_maintenance.schedule.start_time #=> Time
|
@@ -1291,7 +1301,7 @@ module Aws::MainframeModernization
|
|
1291
1301
|
# resp.publicly_accessible #=> Boolean
|
1292
1302
|
# resp.security_group_ids #=> Array
|
1293
1303
|
# resp.security_group_ids[0] #=> String
|
1294
|
-
# resp.status #=> String, one of "Creating", "Available", "Updating", "Deleting", "Failed"
|
1304
|
+
# resp.status #=> String, one of "Creating", "Available", "Updating", "Deleting", "Failed", "UnHealthy"
|
1295
1305
|
# resp.status_reason #=> String
|
1296
1306
|
# resp.storage_configurations #=> Array
|
1297
1307
|
# resp.storage_configurations[0].efs.file_system_id #=> String
|
@@ -1576,14 +1586,19 @@ module Aws::MainframeModernization
|
|
1576
1586
|
req.send_request(options)
|
1577
1587
|
end
|
1578
1588
|
|
1579
|
-
# Lists all the job steps for JCL
|
1589
|
+
# Lists all the job steps for a JCL file to restart a batch job. This is
|
1580
1590
|
# only applicable for Micro Focus engine with versions 8.0.6 and above.
|
1581
1591
|
#
|
1582
1592
|
# @option params [required, String] :application_id
|
1583
1593
|
# The unique identifier of the application.
|
1584
1594
|
#
|
1595
|
+
# @option params [String] :auth_secrets_manager_arn
|
1596
|
+
# The Amazon Web Services Secrets Manager containing user's credentials
|
1597
|
+
# for authentication and authorization for List Batch Job Restart Points
|
1598
|
+
# operation.
|
1599
|
+
#
|
1585
1600
|
# @option params [required, String] :execution_id
|
1586
|
-
# The unique identifier of
|
1601
|
+
# The unique identifier of the batch job execution.
|
1587
1602
|
#
|
1588
1603
|
# @return [Types::ListBatchJobRestartPointsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1589
1604
|
#
|
@@ -1593,6 +1608,7 @@ module Aws::MainframeModernization
|
|
1593
1608
|
#
|
1594
1609
|
# resp = client.list_batch_job_restart_points({
|
1595
1610
|
# application_id: "Identifier", # required
|
1611
|
+
# auth_secrets_manager_arn: "AuthSecretsManagerArn",
|
1596
1612
|
# execution_id: "Identifier", # required
|
1597
1613
|
# })
|
1598
1614
|
#
|
@@ -1871,7 +1887,8 @@ module Aws::MainframeModernization
|
|
1871
1887
|
# resp.environments[0].environment_id #=> String
|
1872
1888
|
# resp.environments[0].instance_type #=> String
|
1873
1889
|
# resp.environments[0].name #=> String
|
1874
|
-
# resp.environments[0].
|
1890
|
+
# resp.environments[0].network_type #=> String, one of "ipv4", "dual"
|
1891
|
+
# resp.environments[0].status #=> String, one of "Creating", "Available", "Updating", "Deleting", "Failed", "UnHealthy"
|
1875
1892
|
# resp.next_token #=> String
|
1876
1893
|
#
|
1877
1894
|
# @see http://docs.aws.amazon.com/goto/WebAPI/m2-2021-04-28/ListEnvironments AWS API Documentation
|
@@ -1942,6 +1959,11 @@ module Aws::MainframeModernization
|
|
1942
1959
|
# The unique identifier of the application associated with this batch
|
1943
1960
|
# job.
|
1944
1961
|
#
|
1962
|
+
# @option params [String] :auth_secrets_manager_arn
|
1963
|
+
# The Amazon Web Services Secrets Manager containing user's credentials
|
1964
|
+
# for authentication and authorization for Start Batch Job execution
|
1965
|
+
# operation.
|
1966
|
+
#
|
1945
1967
|
# @option params [required, Types::BatchJobIdentifier] :batch_job_identifier
|
1946
1968
|
# The unique identifier of the batch job.
|
1947
1969
|
#
|
@@ -1961,6 +1983,7 @@ module Aws::MainframeModernization
|
|
1961
1983
|
#
|
1962
1984
|
# resp = client.start_batch_job({
|
1963
1985
|
# application_id: "Identifier", # required
|
1986
|
+
# auth_secrets_manager_arn: "AuthSecretsManagerArn",
|
1964
1987
|
# batch_job_identifier: { # required
|
1965
1988
|
# file_batch_job_identifier: {
|
1966
1989
|
# file_name: "String", # required
|
@@ -2225,7 +2248,7 @@ module Aws::MainframeModernization
|
|
2225
2248
|
tracer: tracer
|
2226
2249
|
)
|
2227
2250
|
context[:gem_name] = 'aws-sdk-mainframemodernization'
|
2228
|
-
context[:gem_version] = '1.
|
2251
|
+
context[:gem_version] = '1.31.0'
|
2229
2252
|
Seahorse::Client::Request.new(handlers, context)
|
2230
2253
|
end
|
2231
2254
|
|
@@ -26,6 +26,7 @@ module Aws::MainframeModernization
|
|
26
26
|
ApplicationVersionSummaryList = Shapes::ListShape.new(name: 'ApplicationVersionSummaryList')
|
27
27
|
Arn = Shapes::StringShape.new(name: 'Arn')
|
28
28
|
ArnList = Shapes::ListShape.new(name: 'ArnList')
|
29
|
+
AuthSecretsManagerArn = Shapes::StringShape.new(name: 'AuthSecretsManagerArn')
|
29
30
|
BatchJobDefinition = Shapes::UnionShape.new(name: 'BatchJobDefinition')
|
30
31
|
BatchJobDefinitions = Shapes::ListShape.new(name: 'BatchJobDefinitions')
|
31
32
|
BatchJobExecutionStatus = Shapes::StringShape.new(name: 'BatchJobExecutionStatus')
|
@@ -41,6 +42,7 @@ module Aws::MainframeModernization
|
|
41
42
|
CancelBatchJobExecutionRequest = Shapes::StructureShape.new(name: 'CancelBatchJobExecutionRequest')
|
42
43
|
CancelBatchJobExecutionResponse = Shapes::StructureShape.new(name: 'CancelBatchJobExecutionResponse')
|
43
44
|
CapacityValue = Shapes::IntegerShape.new(name: 'CapacityValue')
|
45
|
+
ClientToken = Shapes::StringShape.new(name: 'ClientToken')
|
44
46
|
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
45
47
|
CreateApplicationRequest = Shapes::StructureShape.new(name: 'CreateApplicationRequest')
|
46
48
|
CreateApplicationResponse = Shapes::StructureShape.new(name: 'CreateApplicationResponse')
|
@@ -142,6 +144,7 @@ module Aws::MainframeModernization
|
|
142
144
|
Long = Shapes::IntegerShape.new(name: 'Long')
|
143
145
|
MaintenanceSchedule = Shapes::StructureShape.new(name: 'MaintenanceSchedule')
|
144
146
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
147
|
+
NetworkType = Shapes::StringShape.new(name: 'NetworkType')
|
145
148
|
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
146
149
|
PendingMaintenance = Shapes::StructureShape.new(name: 'PendingMaintenance')
|
147
150
|
PoAttributes = Shapes::StructureShape.new(name: 'PoAttributes')
|
@@ -277,6 +280,7 @@ module Aws::MainframeModernization
|
|
277
280
|
BatchJobStepList.member = Shapes::ShapeRef.new(shape: JobStep)
|
278
281
|
|
279
282
|
CancelBatchJobExecutionRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: Identifier, required: true, location: "uri", location_name: "applicationId"))
|
283
|
+
CancelBatchJobExecutionRequest.add_member(:auth_secrets_manager_arn, Shapes::ShapeRef.new(shape: AuthSecretsManagerArn, location_name: "authSecretsManagerArn"))
|
280
284
|
CancelBatchJobExecutionRequest.add_member(:execution_id, Shapes::ShapeRef.new(shape: Identifier, required: true, location: "uri", location_name: "executionId"))
|
281
285
|
CancelBatchJobExecutionRequest.struct_class = Types::CancelBatchJobExecutionRequest
|
282
286
|
|
@@ -287,7 +291,7 @@ module Aws::MainframeModernization
|
|
287
291
|
ConflictException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, location_name: "resourceType"))
|
288
292
|
ConflictException.struct_class = Types::ConflictException
|
289
293
|
|
290
|
-
CreateApplicationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape:
|
294
|
+
CreateApplicationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
291
295
|
CreateApplicationRequest.add_member(:definition, Shapes::ShapeRef.new(shape: Definition, required: true, location_name: "definition"))
|
292
296
|
CreateApplicationRequest.add_member(:description, Shapes::ShapeRef.new(shape: EntityDescription, location_name: "description"))
|
293
297
|
CreateApplicationRequest.add_member(:engine_type, Shapes::ShapeRef.new(shape: EngineType, required: true, location_name: "engineType"))
|
@@ -303,7 +307,7 @@ module Aws::MainframeModernization
|
|
303
307
|
CreateApplicationResponse.struct_class = Types::CreateApplicationResponse
|
304
308
|
|
305
309
|
CreateDataSetImportTaskRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: Identifier, required: true, location: "uri", location_name: "applicationId"))
|
306
|
-
CreateDataSetImportTaskRequest.add_member(:client_token, Shapes::ShapeRef.new(shape:
|
310
|
+
CreateDataSetImportTaskRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
307
311
|
CreateDataSetImportTaskRequest.add_member(:import_config, Shapes::ShapeRef.new(shape: DataSetImportConfig, required: true, location_name: "importConfig"))
|
308
312
|
CreateDataSetImportTaskRequest.struct_class = Types::CreateDataSetImportTaskRequest
|
309
313
|
|
@@ -312,14 +316,14 @@ module Aws::MainframeModernization
|
|
312
316
|
|
313
317
|
CreateDeploymentRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: Identifier, required: true, location: "uri", location_name: "applicationId"))
|
314
318
|
CreateDeploymentRequest.add_member(:application_version, Shapes::ShapeRef.new(shape: Version, required: true, location_name: "applicationVersion"))
|
315
|
-
CreateDeploymentRequest.add_member(:client_token, Shapes::ShapeRef.new(shape:
|
319
|
+
CreateDeploymentRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
316
320
|
CreateDeploymentRequest.add_member(:environment_id, Shapes::ShapeRef.new(shape: Identifier, required: true, location_name: "environmentId"))
|
317
321
|
CreateDeploymentRequest.struct_class = Types::CreateDeploymentRequest
|
318
322
|
|
319
323
|
CreateDeploymentResponse.add_member(:deployment_id, Shapes::ShapeRef.new(shape: Identifier, required: true, location_name: "deploymentId"))
|
320
324
|
CreateDeploymentResponse.struct_class = Types::CreateDeploymentResponse
|
321
325
|
|
322
|
-
CreateEnvironmentRequest.add_member(:client_token, Shapes::ShapeRef.new(shape:
|
326
|
+
CreateEnvironmentRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
323
327
|
CreateEnvironmentRequest.add_member(:description, Shapes::ShapeRef.new(shape: EntityDescription, location_name: "description"))
|
324
328
|
CreateEnvironmentRequest.add_member(:engine_type, Shapes::ShapeRef.new(shape: EngineType, required: true, location_name: "engineType"))
|
325
329
|
CreateEnvironmentRequest.add_member(:engine_version, Shapes::ShapeRef.new(shape: EngineVersion, location_name: "engineVersion"))
|
@@ -327,6 +331,7 @@ module Aws::MainframeModernization
|
|
327
331
|
CreateEnvironmentRequest.add_member(:instance_type, Shapes::ShapeRef.new(shape: String20, required: true, location_name: "instanceType"))
|
328
332
|
CreateEnvironmentRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "kmsKeyId"))
|
329
333
|
CreateEnvironmentRequest.add_member(:name, Shapes::ShapeRef.new(shape: EntityName, required: true, location_name: "name"))
|
334
|
+
CreateEnvironmentRequest.add_member(:network_type, Shapes::ShapeRef.new(shape: NetworkType, location_name: "networkType"))
|
330
335
|
CreateEnvironmentRequest.add_member(:preferred_maintenance_window, Shapes::ShapeRef.new(shape: String50, location_name: "preferredMaintenanceWindow"))
|
331
336
|
CreateEnvironmentRequest.add_member(:publicly_accessible, Shapes::ShapeRef.new(shape: Boolean, location_name: "publiclyAccessible"))
|
332
337
|
CreateEnvironmentRequest.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: String50List, location_name: "securityGroupIds"))
|
@@ -467,6 +472,7 @@ module Aws::MainframeModernization
|
|
467
472
|
EnvironmentSummary.add_member(:environment_id, Shapes::ShapeRef.new(shape: Identifier, required: true, location_name: "environmentId"))
|
468
473
|
EnvironmentSummary.add_member(:instance_type, Shapes::ShapeRef.new(shape: String20, required: true, location_name: "instanceType"))
|
469
474
|
EnvironmentSummary.add_member(:name, Shapes::ShapeRef.new(shape: EntityName, required: true, location_name: "name"))
|
475
|
+
EnvironmentSummary.add_member(:network_type, Shapes::ShapeRef.new(shape: NetworkType, location_name: "networkType"))
|
470
476
|
EnvironmentSummary.add_member(:status, Shapes::ShapeRef.new(shape: EnvironmentLifecycle, required: true, location_name: "status"))
|
471
477
|
EnvironmentSummary.struct_class = Types::EnvironmentSummary
|
472
478
|
|
@@ -610,6 +616,7 @@ module Aws::MainframeModernization
|
|
610
616
|
GetEnvironmentResponse.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "kmsKeyId"))
|
611
617
|
GetEnvironmentResponse.add_member(:load_balancer_arn, Shapes::ShapeRef.new(shape: String, location_name: "loadBalancerArn"))
|
612
618
|
GetEnvironmentResponse.add_member(:name, Shapes::ShapeRef.new(shape: EntityName, required: true, location_name: "name"))
|
619
|
+
GetEnvironmentResponse.add_member(:network_type, Shapes::ShapeRef.new(shape: NetworkType, location_name: "networkType"))
|
613
620
|
GetEnvironmentResponse.add_member(:pending_maintenance, Shapes::ShapeRef.new(shape: PendingMaintenance, location_name: "pendingMaintenance"))
|
614
621
|
GetEnvironmentResponse.add_member(:preferred_maintenance_window, Shapes::ShapeRef.new(shape: String50, location_name: "preferredMaintenanceWindow"))
|
615
622
|
GetEnvironmentResponse.add_member(:publicly_accessible, Shapes::ShapeRef.new(shape: Boolean, location_name: "publiclyAccessible"))
|
@@ -700,6 +707,7 @@ module Aws::MainframeModernization
|
|
700
707
|
ListBatchJobExecutionsResponse.struct_class = Types::ListBatchJobExecutionsResponse
|
701
708
|
|
702
709
|
ListBatchJobRestartPointsRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: Identifier, required: true, location: "uri", location_name: "applicationId"))
|
710
|
+
ListBatchJobRestartPointsRequest.add_member(:auth_secrets_manager_arn, Shapes::ShapeRef.new(shape: AuthSecretsManagerArn, location: "querystring", location_name: "authSecretsManagerArn"))
|
703
711
|
ListBatchJobRestartPointsRequest.add_member(:execution_id, Shapes::ShapeRef.new(shape: Identifier, required: true, location: "uri", location_name: "executionId"))
|
704
712
|
ListBatchJobRestartPointsRequest.struct_class = Types::ListBatchJobRestartPointsRequest
|
705
713
|
|
@@ -838,6 +846,7 @@ module Aws::MainframeModernization
|
|
838
846
|
StartApplicationResponse.struct_class = Types::StartApplicationResponse
|
839
847
|
|
840
848
|
StartBatchJobRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: Identifier, required: true, location: "uri", location_name: "applicationId"))
|
849
|
+
StartBatchJobRequest.add_member(:auth_secrets_manager_arn, Shapes::ShapeRef.new(shape: AuthSecretsManagerArn, location_name: "authSecretsManagerArn"))
|
841
850
|
StartBatchJobRequest.add_member(:batch_job_identifier, Shapes::ShapeRef.new(shape: BatchJobIdentifier, required: true, location_name: "batchJobIdentifier"))
|
842
851
|
StartBatchJobRequest.add_member(:job_params, Shapes::ShapeRef.new(shape: BatchJobParametersMap, location_name: "jobParams"))
|
843
852
|
StartBatchJobRequest.struct_class = Types::StartBatchJobRequest
|
@@ -943,9 +952,11 @@ module Aws::MainframeModernization
|
|
943
952
|
|
944
953
|
api.metadata = {
|
945
954
|
"apiVersion" => "2021-04-28",
|
955
|
+
"auth" => ["aws.auth#sigv4"],
|
946
956
|
"endpointPrefix" => "m2",
|
947
957
|
"jsonVersion" => "1.1",
|
948
958
|
"protocol" => "rest-json",
|
959
|
+
"protocols" => ["rest-json"],
|
949
960
|
"serviceFullName" => "AWSMainframeModernization",
|
950
961
|
"serviceId" => "m2",
|
951
962
|
"signatureVersion" => "v4",
|
@@ -271,8 +271,8 @@ module Aws::MainframeModernization
|
|
271
271
|
# @return [Types::FileBatchJobIdentifier]
|
272
272
|
#
|
273
273
|
# @!attribute [rw] restart_batch_job_identifier
|
274
|
-
# Specifies the required information for restart, including
|
275
|
-
#
|
274
|
+
# Specifies the required information for restart, including
|
275
|
+
# `executionId` and `JobStepRestartMarker`.
|
276
276
|
# @return [Types::RestartBatchJobIdentifier]
|
277
277
|
#
|
278
278
|
# @!attribute [rw] s3_batch_job_identifier
|
@@ -308,6 +308,12 @@ module Aws::MainframeModernization
|
|
308
308
|
# The unique identifier of the application.
|
309
309
|
# @return [String]
|
310
310
|
#
|
311
|
+
# @!attribute [rw] auth_secrets_manager_arn
|
312
|
+
# The Amazon Web Services Secrets Manager containing user's
|
313
|
+
# credentials for authentication and authorization for Cancel Batch
|
314
|
+
# Job Execution operation.
|
315
|
+
# @return [String]
|
316
|
+
#
|
311
317
|
# @!attribute [rw] execution_id
|
312
318
|
# The unique identifier of the batch job execution.
|
313
319
|
# @return [String]
|
@@ -316,6 +322,7 @@ module Aws::MainframeModernization
|
|
316
322
|
#
|
317
323
|
class CancelBatchJobExecutionRequest < Struct.new(
|
318
324
|
:application_id,
|
325
|
+
:auth_secrets_manager_arn,
|
319
326
|
:execution_id)
|
320
327
|
SENSITIVE = []
|
321
328
|
include Aws::Structure
|
@@ -350,12 +357,10 @@ module Aws::MainframeModernization
|
|
350
357
|
end
|
351
358
|
|
352
359
|
# @!attribute [rw] client_token
|
353
|
-
#
|
354
|
-
#
|
355
|
-
#
|
356
|
-
#
|
357
|
-
# timeframe with the same clientToken, you will get the same response.
|
358
|
-
# The service also handles deleting the clientToken after it expires.
|
360
|
+
# A client token is a unique, case-sensitive string of up to 128 ASCII
|
361
|
+
# characters with ASCII values of 33-126 inclusive. It's generated by
|
362
|
+
# the client to ensure idempotent operations, allowing for safe
|
363
|
+
# retries without unintended side effects.
|
359
364
|
#
|
360
365
|
# **A suitable default value is auto-generated.** You should normally
|
361
366
|
# not need to pass this option.
|
@@ -565,6 +570,10 @@ module Aws::MainframeModernization
|
|
565
570
|
# account.
|
566
571
|
# @return [String]
|
567
572
|
#
|
573
|
+
# @!attribute [rw] network_type
|
574
|
+
# The network type required for the runtime environment.
|
575
|
+
# @return [String]
|
576
|
+
#
|
568
577
|
# @!attribute [rw] preferred_maintenance_window
|
569
578
|
# Configures the maintenance window that you want for the runtime
|
570
579
|
# environment. The maintenance window must have the format
|
@@ -609,6 +618,7 @@ module Aws::MainframeModernization
|
|
609
618
|
:instance_type,
|
610
619
|
:kms_key_id,
|
611
620
|
:name,
|
621
|
+
:network_type,
|
612
622
|
:preferred_maintenance_window,
|
613
623
|
:publicly_accessible,
|
614
624
|
:security_group_ids,
|
@@ -1122,6 +1132,10 @@ module Aws::MainframeModernization
|
|
1122
1132
|
# The name of the runtime environment.
|
1123
1133
|
# @return [String]
|
1124
1134
|
#
|
1135
|
+
# @!attribute [rw] network_type
|
1136
|
+
# The network type supported by the runtime environment.
|
1137
|
+
# @return [String]
|
1138
|
+
#
|
1125
1139
|
# @!attribute [rw] status
|
1126
1140
|
# The status of the runtime environment
|
1127
1141
|
# @return [String]
|
@@ -1136,6 +1150,7 @@ module Aws::MainframeModernization
|
|
1136
1150
|
:environment_id,
|
1137
1151
|
:instance_type,
|
1138
1152
|
:name,
|
1153
|
+
:network_type,
|
1139
1154
|
:status)
|
1140
1155
|
SENSITIVE = []
|
1141
1156
|
include Aws::Structure
|
@@ -1522,7 +1537,8 @@ module Aws::MainframeModernization
|
|
1522
1537
|
# @return [String]
|
1523
1538
|
#
|
1524
1539
|
# @!attribute [rw] job_step_restart_marker
|
1525
|
-
# The
|
1540
|
+
# The step/procedure step information for the restart batch job
|
1541
|
+
# operation.
|
1526
1542
|
# @return [Types::JobStepRestartMarker]
|
1527
1543
|
#
|
1528
1544
|
# @!attribute [rw] job_type
|
@@ -1810,6 +1826,10 @@ module Aws::MainframeModernization
|
|
1810
1826
|
# account.
|
1811
1827
|
# @return [String]
|
1812
1828
|
#
|
1829
|
+
# @!attribute [rw] network_type
|
1830
|
+
# The network type supported by the runtime environment.
|
1831
|
+
# @return [String]
|
1832
|
+
#
|
1813
1833
|
# @!attribute [rw] pending_maintenance
|
1814
1834
|
# Indicates the pending maintenance scheduled on this environment.
|
1815
1835
|
# @return [Types::PendingMaintenance]
|
@@ -1831,7 +1851,9 @@ module Aws::MainframeModernization
|
|
1831
1851
|
# @return [Array<String>]
|
1832
1852
|
#
|
1833
1853
|
# @!attribute [rw] status
|
1834
|
-
# The status of the runtime environment.
|
1854
|
+
# The status of the runtime environment. If the Amazon Web Services
|
1855
|
+
# Mainframe Modernization environment is missing a connection to the
|
1856
|
+
# customer owned dependent resource, the status will be `Unhealthy`.
|
1835
1857
|
# @return [String]
|
1836
1858
|
#
|
1837
1859
|
# @!attribute [rw] status_reason
|
@@ -1871,6 +1893,7 @@ module Aws::MainframeModernization
|
|
1871
1893
|
:kms_key_id,
|
1872
1894
|
:load_balancer_arn,
|
1873
1895
|
:name,
|
1896
|
+
:network_type,
|
1874
1897
|
:pending_maintenance,
|
1875
1898
|
:preferred_maintenance_window,
|
1876
1899
|
:publicly_accessible,
|
@@ -1998,15 +2021,15 @@ module Aws::MainframeModernization
|
|
1998
2021
|
include Aws::Structure
|
1999
2022
|
end
|
2000
2023
|
|
2001
|
-
# Provides
|
2024
|
+
# Provides step/procedure step information for a restart batch job
|
2002
2025
|
# operation.
|
2003
2026
|
#
|
2004
2027
|
# @!attribute [rw] from_proc_step
|
2005
|
-
# The procedure step name that a job was restarted from.
|
2028
|
+
# The procedure step name that a batch job was restarted from.
|
2006
2029
|
# @return [String]
|
2007
2030
|
#
|
2008
2031
|
# @!attribute [rw] from_step
|
2009
|
-
# The step name that a batch job
|
2032
|
+
# The step name that a batch job was restarted from.
|
2010
2033
|
# @return [String]
|
2011
2034
|
#
|
2012
2035
|
# @!attribute [rw] to_proc_step
|
@@ -2014,7 +2037,7 @@ module Aws::MainframeModernization
|
|
2014
2037
|
# @return [String]
|
2015
2038
|
#
|
2016
2039
|
# @!attribute [rw] to_step
|
2017
|
-
# The step name that a job was restarted to.
|
2040
|
+
# The step name that a batch job was restarted to.
|
2018
2041
|
# @return [String]
|
2019
2042
|
#
|
2020
2043
|
# @see http://docs.aws.amazon.com/goto/WebAPI/m2-2021-04-28/JobStepRestartMarker AWS API Documentation
|
@@ -2238,14 +2261,21 @@ module Aws::MainframeModernization
|
|
2238
2261
|
# The unique identifier of the application.
|
2239
2262
|
# @return [String]
|
2240
2263
|
#
|
2264
|
+
# @!attribute [rw] auth_secrets_manager_arn
|
2265
|
+
# The Amazon Web Services Secrets Manager containing user's
|
2266
|
+
# credentials for authentication and authorization for List Batch Job
|
2267
|
+
# Restart Points operation.
|
2268
|
+
# @return [String]
|
2269
|
+
#
|
2241
2270
|
# @!attribute [rw] execution_id
|
2242
|
-
# The unique identifier of
|
2271
|
+
# The unique identifier of the batch job execution.
|
2243
2272
|
# @return [String]
|
2244
2273
|
#
|
2245
2274
|
# @see http://docs.aws.amazon.com/goto/WebAPI/m2-2021-04-28/ListBatchJobRestartPointsRequest AWS API Documentation
|
2246
2275
|
#
|
2247
2276
|
class ListBatchJobRestartPointsRequest < Struct.new(
|
2248
2277
|
:application_id,
|
2278
|
+
:auth_secrets_manager_arn,
|
2249
2279
|
:execution_id)
|
2250
2280
|
SENSITIVE = []
|
2251
2281
|
include Aws::Structure
|
@@ -2734,16 +2764,17 @@ module Aws::MainframeModernization
|
|
2734
2764
|
include Aws::Structure
|
2735
2765
|
end
|
2736
2766
|
|
2737
|
-
# An identifier for the StartBatchJob API to show that it is a restart
|
2767
|
+
# An identifier for the `StartBatchJob` API to show that it is a restart
|
2738
2768
|
# operation.
|
2739
2769
|
#
|
2740
2770
|
# @!attribute [rw] execution_id
|
2741
|
-
# The executionId from the StartBatchJob response when the job ran
|
2742
|
-
# the first time.
|
2771
|
+
# The `executionId` from the `StartBatchJob` response when the job ran
|
2772
|
+
# for the first time.
|
2743
2773
|
# @return [String]
|
2744
2774
|
#
|
2745
2775
|
# @!attribute [rw] job_step_restart_marker
|
2746
|
-
# The
|
2776
|
+
# The step/procedure step information for a restart batch job
|
2777
|
+
# operation.
|
2747
2778
|
# @return [Types::JobStepRestartMarker]
|
2748
2779
|
#
|
2749
2780
|
# @see http://docs.aws.amazon.com/goto/WebAPI/m2-2021-04-28/RestartBatchJobIdentifier AWS API Documentation
|
@@ -2883,6 +2914,12 @@ module Aws::MainframeModernization
|
|
2883
2914
|
# job.
|
2884
2915
|
# @return [String]
|
2885
2916
|
#
|
2917
|
+
# @!attribute [rw] auth_secrets_manager_arn
|
2918
|
+
# The Amazon Web Services Secrets Manager containing user's
|
2919
|
+
# credentials for authentication and authorization for Start Batch Job
|
2920
|
+
# execution operation.
|
2921
|
+
# @return [String]
|
2922
|
+
#
|
2886
2923
|
# @!attribute [rw] batch_job_identifier
|
2887
2924
|
# The unique identifier of the batch job.
|
2888
2925
|
# @return [Types::BatchJobIdentifier]
|
@@ -2900,6 +2937,7 @@ module Aws::MainframeModernization
|
|
2900
2937
|
#
|
2901
2938
|
class StartBatchJobRequest < Struct.new(
|
2902
2939
|
:application_id,
|
2940
|
+
:auth_secrets_manager_arn,
|
2903
2941
|
:batch_job_identifier,
|
2904
2942
|
:job_params)
|
2905
2943
|
SENSITIVE = []
|
data/sig/client.rbs
CHANGED
@@ -81,6 +81,7 @@ module Aws
|
|
81
81
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MainframeModernization/Client.html#cancel_batch_job_execution-instance_method
|
82
82
|
def cancel_batch_job_execution: (
|
83
83
|
application_id: ::String,
|
84
|
+
?auth_secrets_manager_arn: ::String,
|
84
85
|
execution_id: ::String
|
85
86
|
) -> _CancelBatchJobExecutionResponseSuccess
|
86
87
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CancelBatchJobExecutionResponseSuccess
|
@@ -199,6 +200,7 @@ module Aws
|
|
199
200
|
instance_type: ::String,
|
200
201
|
?kms_key_id: ::String,
|
201
202
|
name: ::String,
|
203
|
+
?network_type: ("ipv4" | "dual"),
|
202
204
|
?preferred_maintenance_window: ::String,
|
203
205
|
?publicly_accessible: bool,
|
204
206
|
?security_group_ids: Array[::String],
|
@@ -379,11 +381,12 @@ module Aws
|
|
379
381
|
def kms_key_id: () -> ::String
|
380
382
|
def load_balancer_arn: () -> ::String
|
381
383
|
def name: () -> ::String
|
384
|
+
def network_type: () -> ("ipv4" | "dual")
|
382
385
|
def pending_maintenance: () -> Types::PendingMaintenance
|
383
386
|
def preferred_maintenance_window: () -> ::String
|
384
387
|
def publicly_accessible: () -> bool
|
385
388
|
def security_group_ids: () -> ::Array[::String]
|
386
|
-
def status: () -> ("Creating" | "Available" | "Updating" | "Deleting" | "Failed")
|
389
|
+
def status: () -> ("Creating" | "Available" | "Updating" | "Deleting" | "Failed" | "UnHealthy")
|
387
390
|
def status_reason: () -> ::String
|
388
391
|
def storage_configurations: () -> ::Array[Types::StorageConfiguration]
|
389
392
|
def subnet_ids: () -> ::Array[::String]
|
@@ -470,6 +473,7 @@ module Aws
|
|
470
473
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MainframeModernization/Client.html#list_batch_job_restart_points-instance_method
|
471
474
|
def list_batch_job_restart_points: (
|
472
475
|
application_id: ::String,
|
476
|
+
?auth_secrets_manager_arn: ::String,
|
473
477
|
execution_id: ::String
|
474
478
|
) -> _ListBatchJobRestartPointsResponseSuccess
|
475
479
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListBatchJobRestartPointsResponseSuccess
|
@@ -568,6 +572,7 @@ module Aws
|
|
568
572
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MainframeModernization/Client.html#start_batch_job-instance_method
|
569
573
|
def start_batch_job: (
|
570
574
|
application_id: ::String,
|
575
|
+
?auth_secrets_manager_arn: ::String,
|
571
576
|
batch_job_identifier: {
|
572
577
|
file_batch_job_identifier: {
|
573
578
|
file_name: ::String,
|
data/sig/types.rbs
CHANGED
@@ -96,6 +96,7 @@ module Aws::MainframeModernization
|
|
96
96
|
|
97
97
|
class CancelBatchJobExecutionRequest
|
98
98
|
attr_accessor application_id: ::String
|
99
|
+
attr_accessor auth_secrets_manager_arn: ::String
|
99
100
|
attr_accessor execution_id: ::String
|
100
101
|
SENSITIVE: []
|
101
102
|
end
|
@@ -163,6 +164,7 @@ module Aws::MainframeModernization
|
|
163
164
|
attr_accessor instance_type: ::String
|
164
165
|
attr_accessor kms_key_id: ::String
|
165
166
|
attr_accessor name: ::String
|
167
|
+
attr_accessor network_type: ("ipv4" | "dual")
|
166
168
|
attr_accessor preferred_maintenance_window: ::String
|
167
169
|
attr_accessor publicly_accessible: bool
|
168
170
|
attr_accessor security_group_ids: ::Array[::String]
|
@@ -350,7 +352,8 @@ module Aws::MainframeModernization
|
|
350
352
|
attr_accessor environment_id: ::String
|
351
353
|
attr_accessor instance_type: ::String
|
352
354
|
attr_accessor name: ::String
|
353
|
-
attr_accessor
|
355
|
+
attr_accessor network_type: ("ipv4" | "dual")
|
356
|
+
attr_accessor status: ("Creating" | "Available" | "Updating" | "Deleting" | "Failed" | "UnHealthy")
|
354
357
|
SENSITIVE: []
|
355
358
|
end
|
356
359
|
|
@@ -536,11 +539,12 @@ module Aws::MainframeModernization
|
|
536
539
|
attr_accessor kms_key_id: ::String
|
537
540
|
attr_accessor load_balancer_arn: ::String
|
538
541
|
attr_accessor name: ::String
|
542
|
+
attr_accessor network_type: ("ipv4" | "dual")
|
539
543
|
attr_accessor pending_maintenance: Types::PendingMaintenance
|
540
544
|
attr_accessor preferred_maintenance_window: ::String
|
541
545
|
attr_accessor publicly_accessible: bool
|
542
546
|
attr_accessor security_group_ids: ::Array[::String]
|
543
|
-
attr_accessor status: ("Creating" | "Available" | "Updating" | "Deleting" | "Failed")
|
547
|
+
attr_accessor status: ("Creating" | "Available" | "Updating" | "Deleting" | "Failed" | "UnHealthy")
|
544
548
|
attr_accessor status_reason: ::String
|
545
549
|
attr_accessor storage_configurations: ::Array[Types::StorageConfiguration]
|
546
550
|
attr_accessor subnet_ids: ::Array[::String]
|
@@ -658,6 +662,7 @@ module Aws::MainframeModernization
|
|
658
662
|
|
659
663
|
class ListBatchJobRestartPointsRequest
|
660
664
|
attr_accessor application_id: ::String
|
665
|
+
attr_accessor auth_secrets_manager_arn: ::String
|
661
666
|
attr_accessor execution_id: ::String
|
662
667
|
SENSITIVE: []
|
663
668
|
end
|
@@ -855,6 +860,7 @@ module Aws::MainframeModernization
|
|
855
860
|
|
856
861
|
class StartBatchJobRequest
|
857
862
|
attr_accessor application_id: ::String
|
863
|
+
attr_accessor auth_secrets_manager_arn: ::String
|
858
864
|
attr_accessor batch_job_identifier: Types::BatchJobIdentifier
|
859
865
|
attr_accessor job_params: ::Hash[::String, ::String]
|
860
866
|
SENSITIVE: []
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-mainframemodernization
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.31.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-12-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -36,14 +36,14 @@ dependencies:
|
|
36
36
|
requirements:
|
37
37
|
- - "~>"
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version: '1.
|
39
|
+
version: '1.5'
|
40
40
|
type: :runtime
|
41
41
|
prerelease: false
|
42
42
|
version_requirements: !ruby/object:Gem::Requirement
|
43
43
|
requirements:
|
44
44
|
- - "~>"
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: '1.
|
46
|
+
version: '1.5'
|
47
47
|
description: Official AWS Ruby gem for AWSMainframeModernization. This gem is part
|
48
48
|
of the AWS SDK for Ruby.
|
49
49
|
email:
|