aws-sdk-mainframemodernization 1.28.0 → 1.30.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 +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-mainframemodernization/client.rb +31 -15
- data/lib/aws-sdk-mainframemodernization/client_api.rb +11 -4
- data/lib/aws-sdk-mainframemodernization/endpoint_parameters.rb +9 -6
- data/lib/aws-sdk-mainframemodernization/endpoints.rb +2 -372
- data/lib/aws-sdk-mainframemodernization/plugins/endpoints.rb +1 -74
- data/lib/aws-sdk-mainframemodernization/types.rb +42 -19
- data/lib/aws-sdk-mainframemodernization.rb +1 -1
- data/sig/client.rbs +4 -1
- data/sig/types.rbs +5 -2
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6e2c58a96bcbc9f19675935de20bc5d70212e457c2be4e9bfaa554ea6264b3b6
|
4
|
+
data.tar.gz: 10111b5313e1dd2d04b3dbdadda900d0f59e236b60420a585c5f79c15ece5237
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f9c8aac9b8312f37ddb6085a43bd6415ab81ceceab13a2a14ff9ef329af87fe863607fb1e059af7c1d70559e20ac16797f41388e411797d054b1633d8d0d6844
|
7
|
+
data.tar.gz: 95e66496cd52e174cfd070e72eb3627580fce2fbf2dce27df88073817d43ec3c59b5e21e758ad85531613a9ce9280bfcde08dd531fba4fbfbd8c8cc26688fae2
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.30.0 (2024-10-22)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Add AuthSecretsManagerArn optional parameter to batch job APIs, expand batch parameter limits, and introduce clientToken constraints.
|
8
|
+
|
9
|
+
1.29.0 (2024-10-18)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.28.0 (2024-09-24)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.30.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
|
#
|
@@ -767,7 +771,7 @@ module Aws::MainframeModernization
|
|
767
771
|
# @example Request syntax with placeholder values
|
768
772
|
#
|
769
773
|
# resp = client.create_environment({
|
770
|
-
# client_token: "
|
774
|
+
# client_token: "ClientToken",
|
771
775
|
# description: "EntityDescription",
|
772
776
|
# engine_type: "microfocus", # required, accepts microfocus, bluage
|
773
777
|
# engine_version: "EngineVersion",
|
@@ -1291,7 +1295,7 @@ module Aws::MainframeModernization
|
|
1291
1295
|
# resp.publicly_accessible #=> Boolean
|
1292
1296
|
# resp.security_group_ids #=> Array
|
1293
1297
|
# resp.security_group_ids[0] #=> String
|
1294
|
-
# resp.status #=> String, one of "Creating", "Available", "Updating", "Deleting", "Failed"
|
1298
|
+
# resp.status #=> String, one of "Creating", "Available", "Updating", "Deleting", "Failed", "UnHealthy"
|
1295
1299
|
# resp.status_reason #=> String
|
1296
1300
|
# resp.storage_configurations #=> Array
|
1297
1301
|
# resp.storage_configurations[0].efs.file_system_id #=> String
|
@@ -1576,14 +1580,19 @@ module Aws::MainframeModernization
|
|
1576
1580
|
req.send_request(options)
|
1577
1581
|
end
|
1578
1582
|
|
1579
|
-
# Lists all the job steps for JCL
|
1583
|
+
# Lists all the job steps for a JCL file to restart a batch job. This is
|
1580
1584
|
# only applicable for Micro Focus engine with versions 8.0.6 and above.
|
1581
1585
|
#
|
1582
1586
|
# @option params [required, String] :application_id
|
1583
1587
|
# The unique identifier of the application.
|
1584
1588
|
#
|
1589
|
+
# @option params [String] :auth_secrets_manager_arn
|
1590
|
+
# The Amazon Web Services Secrets Manager containing user's credentials
|
1591
|
+
# for authentication and authorization for List Batch Job Restart Points
|
1592
|
+
# operation.
|
1593
|
+
#
|
1585
1594
|
# @option params [required, String] :execution_id
|
1586
|
-
# The unique identifier of
|
1595
|
+
# The unique identifier of the batch job execution.
|
1587
1596
|
#
|
1588
1597
|
# @return [Types::ListBatchJobRestartPointsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1589
1598
|
#
|
@@ -1593,6 +1602,7 @@ module Aws::MainframeModernization
|
|
1593
1602
|
#
|
1594
1603
|
# resp = client.list_batch_job_restart_points({
|
1595
1604
|
# application_id: "Identifier", # required
|
1605
|
+
# auth_secrets_manager_arn: "AuthSecretsManagerArn",
|
1596
1606
|
# execution_id: "Identifier", # required
|
1597
1607
|
# })
|
1598
1608
|
#
|
@@ -1871,7 +1881,7 @@ module Aws::MainframeModernization
|
|
1871
1881
|
# resp.environments[0].environment_id #=> String
|
1872
1882
|
# resp.environments[0].instance_type #=> String
|
1873
1883
|
# resp.environments[0].name #=> String
|
1874
|
-
# resp.environments[0].status #=> String, one of "Creating", "Available", "Updating", "Deleting", "Failed"
|
1884
|
+
# resp.environments[0].status #=> String, one of "Creating", "Available", "Updating", "Deleting", "Failed", "UnHealthy"
|
1875
1885
|
# resp.next_token #=> String
|
1876
1886
|
#
|
1877
1887
|
# @see http://docs.aws.amazon.com/goto/WebAPI/m2-2021-04-28/ListEnvironments AWS API Documentation
|
@@ -1942,6 +1952,11 @@ module Aws::MainframeModernization
|
|
1942
1952
|
# The unique identifier of the application associated with this batch
|
1943
1953
|
# job.
|
1944
1954
|
#
|
1955
|
+
# @option params [String] :auth_secrets_manager_arn
|
1956
|
+
# The Amazon Web Services Secrets Manager containing user's credentials
|
1957
|
+
# for authentication and authorization for Start Batch Job execution
|
1958
|
+
# operation.
|
1959
|
+
#
|
1945
1960
|
# @option params [required, Types::BatchJobIdentifier] :batch_job_identifier
|
1946
1961
|
# The unique identifier of the batch job.
|
1947
1962
|
#
|
@@ -1961,6 +1976,7 @@ module Aws::MainframeModernization
|
|
1961
1976
|
#
|
1962
1977
|
# resp = client.start_batch_job({
|
1963
1978
|
# application_id: "Identifier", # required
|
1979
|
+
# auth_secrets_manager_arn: "AuthSecretsManagerArn",
|
1964
1980
|
# batch_job_identifier: { # required
|
1965
1981
|
# file_batch_job_identifier: {
|
1966
1982
|
# file_name: "String", # required
|
@@ -2225,7 +2241,7 @@ module Aws::MainframeModernization
|
|
2225
2241
|
tracer: tracer
|
2226
2242
|
)
|
2227
2243
|
context[:gem_name] = 'aws-sdk-mainframemodernization'
|
2228
|
-
context[:gem_version] = '1.
|
2244
|
+
context[:gem_version] = '1.30.0'
|
2229
2245
|
Seahorse::Client::Request.new(handlers, context)
|
2230
2246
|
end
|
2231
2247
|
|
@@ -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')
|
@@ -277,6 +279,7 @@ module Aws::MainframeModernization
|
|
277
279
|
BatchJobStepList.member = Shapes::ShapeRef.new(shape: JobStep)
|
278
280
|
|
279
281
|
CancelBatchJobExecutionRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: Identifier, required: true, location: "uri", location_name: "applicationId"))
|
282
|
+
CancelBatchJobExecutionRequest.add_member(:auth_secrets_manager_arn, Shapes::ShapeRef.new(shape: AuthSecretsManagerArn, location_name: "authSecretsManagerArn"))
|
280
283
|
CancelBatchJobExecutionRequest.add_member(:execution_id, Shapes::ShapeRef.new(shape: Identifier, required: true, location: "uri", location_name: "executionId"))
|
281
284
|
CancelBatchJobExecutionRequest.struct_class = Types::CancelBatchJobExecutionRequest
|
282
285
|
|
@@ -287,7 +290,7 @@ module Aws::MainframeModernization
|
|
287
290
|
ConflictException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, location_name: "resourceType"))
|
288
291
|
ConflictException.struct_class = Types::ConflictException
|
289
292
|
|
290
|
-
CreateApplicationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape:
|
293
|
+
CreateApplicationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
291
294
|
CreateApplicationRequest.add_member(:definition, Shapes::ShapeRef.new(shape: Definition, required: true, location_name: "definition"))
|
292
295
|
CreateApplicationRequest.add_member(:description, Shapes::ShapeRef.new(shape: EntityDescription, location_name: "description"))
|
293
296
|
CreateApplicationRequest.add_member(:engine_type, Shapes::ShapeRef.new(shape: EngineType, required: true, location_name: "engineType"))
|
@@ -303,7 +306,7 @@ module Aws::MainframeModernization
|
|
303
306
|
CreateApplicationResponse.struct_class = Types::CreateApplicationResponse
|
304
307
|
|
305
308
|
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:
|
309
|
+
CreateDataSetImportTaskRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
307
310
|
CreateDataSetImportTaskRequest.add_member(:import_config, Shapes::ShapeRef.new(shape: DataSetImportConfig, required: true, location_name: "importConfig"))
|
308
311
|
CreateDataSetImportTaskRequest.struct_class = Types::CreateDataSetImportTaskRequest
|
309
312
|
|
@@ -312,14 +315,14 @@ module Aws::MainframeModernization
|
|
312
315
|
|
313
316
|
CreateDeploymentRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: Identifier, required: true, location: "uri", location_name: "applicationId"))
|
314
317
|
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:
|
318
|
+
CreateDeploymentRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
316
319
|
CreateDeploymentRequest.add_member(:environment_id, Shapes::ShapeRef.new(shape: Identifier, required: true, location_name: "environmentId"))
|
317
320
|
CreateDeploymentRequest.struct_class = Types::CreateDeploymentRequest
|
318
321
|
|
319
322
|
CreateDeploymentResponse.add_member(:deployment_id, Shapes::ShapeRef.new(shape: Identifier, required: true, location_name: "deploymentId"))
|
320
323
|
CreateDeploymentResponse.struct_class = Types::CreateDeploymentResponse
|
321
324
|
|
322
|
-
CreateEnvironmentRequest.add_member(:client_token, Shapes::ShapeRef.new(shape:
|
325
|
+
CreateEnvironmentRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
323
326
|
CreateEnvironmentRequest.add_member(:description, Shapes::ShapeRef.new(shape: EntityDescription, location_name: "description"))
|
324
327
|
CreateEnvironmentRequest.add_member(:engine_type, Shapes::ShapeRef.new(shape: EngineType, required: true, location_name: "engineType"))
|
325
328
|
CreateEnvironmentRequest.add_member(:engine_version, Shapes::ShapeRef.new(shape: EngineVersion, location_name: "engineVersion"))
|
@@ -700,6 +703,7 @@ module Aws::MainframeModernization
|
|
700
703
|
ListBatchJobExecutionsResponse.struct_class = Types::ListBatchJobExecutionsResponse
|
701
704
|
|
702
705
|
ListBatchJobRestartPointsRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: Identifier, required: true, location: "uri", location_name: "applicationId"))
|
706
|
+
ListBatchJobRestartPointsRequest.add_member(:auth_secrets_manager_arn, Shapes::ShapeRef.new(shape: AuthSecretsManagerArn, location: "querystring", location_name: "authSecretsManagerArn"))
|
703
707
|
ListBatchJobRestartPointsRequest.add_member(:execution_id, Shapes::ShapeRef.new(shape: Identifier, required: true, location: "uri", location_name: "executionId"))
|
704
708
|
ListBatchJobRestartPointsRequest.struct_class = Types::ListBatchJobRestartPointsRequest
|
705
709
|
|
@@ -838,6 +842,7 @@ module Aws::MainframeModernization
|
|
838
842
|
StartApplicationResponse.struct_class = Types::StartApplicationResponse
|
839
843
|
|
840
844
|
StartBatchJobRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: Identifier, required: true, location: "uri", location_name: "applicationId"))
|
845
|
+
StartBatchJobRequest.add_member(:auth_secrets_manager_arn, Shapes::ShapeRef.new(shape: AuthSecretsManagerArn, location_name: "authSecretsManagerArn"))
|
841
846
|
StartBatchJobRequest.add_member(:batch_job_identifier, Shapes::ShapeRef.new(shape: BatchJobIdentifier, required: true, location_name: "batchJobIdentifier"))
|
842
847
|
StartBatchJobRequest.add_member(:job_params, Shapes::ShapeRef.new(shape: BatchJobParametersMap, location_name: "jobParams"))
|
843
848
|
StartBatchJobRequest.struct_class = Types::StartBatchJobRequest
|
@@ -943,9 +948,11 @@ module Aws::MainframeModernization
|
|
943
948
|
|
944
949
|
api.metadata = {
|
945
950
|
"apiVersion" => "2021-04-28",
|
951
|
+
"auth" => ["aws.auth#sigv4"],
|
946
952
|
"endpointPrefix" => "m2",
|
947
953
|
"jsonVersion" => "1.1",
|
948
954
|
"protocol" => "rest-json",
|
955
|
+
"protocols" => ["rest-json"],
|
949
956
|
"serviceFullName" => "AWSMainframeModernization",
|
950
957
|
"serviceId" => "m2",
|
951
958
|
"signatureVersion" => "v4",
|
@@ -52,15 +52,18 @@ module Aws::MainframeModernization
|
|
52
52
|
self[:region] = options[:region]
|
53
53
|
self[:use_dual_stack] = options[:use_dual_stack]
|
54
54
|
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
55
|
-
if self[:use_dual_stack].nil?
|
56
|
-
raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
|
57
|
-
end
|
58
55
|
self[:use_fips] = options[:use_fips]
|
59
56
|
self[:use_fips] = false if self[:use_fips].nil?
|
60
|
-
if self[:use_fips].nil?
|
61
|
-
raise ArgumentError, "Missing required EndpointParameter: :use_fips"
|
62
|
-
end
|
63
57
|
self[:endpoint] = options[:endpoint]
|
64
58
|
end
|
59
|
+
|
60
|
+
def self.create(config, options={})
|
61
|
+
new({
|
62
|
+
region: config.region,
|
63
|
+
use_dual_stack: config.use_dualstack_endpoint,
|
64
|
+
use_fips: config.use_fips_endpoint,
|
65
|
+
endpoint: (config.endpoint.to_s unless config.regional_endpoint),
|
66
|
+
}.merge(options))
|
67
|
+
end
|
65
68
|
end
|
66
69
|
end
|
@@ -12,379 +12,9 @@ module Aws::MainframeModernization
|
|
12
12
|
# @api private
|
13
13
|
module Endpoints
|
14
14
|
|
15
|
-
class CancelBatchJobExecution
|
16
|
-
def self.build(context)
|
17
|
-
Aws::MainframeModernization::EndpointParameters.new(
|
18
|
-
region: context.config.region,
|
19
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
20
|
-
use_fips: context.config.use_fips_endpoint,
|
21
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
22
|
-
)
|
23
|
-
end
|
24
|
-
end
|
25
|
-
|
26
|
-
class CreateApplication
|
27
|
-
def self.build(context)
|
28
|
-
Aws::MainframeModernization::EndpointParameters.new(
|
29
|
-
region: context.config.region,
|
30
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
31
|
-
use_fips: context.config.use_fips_endpoint,
|
32
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
33
|
-
)
|
34
|
-
end
|
35
|
-
end
|
36
|
-
|
37
|
-
class CreateDataSetImportTask
|
38
|
-
def self.build(context)
|
39
|
-
Aws::MainframeModernization::EndpointParameters.new(
|
40
|
-
region: context.config.region,
|
41
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
42
|
-
use_fips: context.config.use_fips_endpoint,
|
43
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
44
|
-
)
|
45
|
-
end
|
46
|
-
end
|
47
|
-
|
48
|
-
class CreateDeployment
|
49
|
-
def self.build(context)
|
50
|
-
Aws::MainframeModernization::EndpointParameters.new(
|
51
|
-
region: context.config.region,
|
52
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
53
|
-
use_fips: context.config.use_fips_endpoint,
|
54
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
55
|
-
)
|
56
|
-
end
|
57
|
-
end
|
58
|
-
|
59
|
-
class CreateEnvironment
|
60
|
-
def self.build(context)
|
61
|
-
Aws::MainframeModernization::EndpointParameters.new(
|
62
|
-
region: context.config.region,
|
63
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
64
|
-
use_fips: context.config.use_fips_endpoint,
|
65
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
66
|
-
)
|
67
|
-
end
|
68
|
-
end
|
69
|
-
|
70
|
-
class DeleteApplication
|
71
|
-
def self.build(context)
|
72
|
-
Aws::MainframeModernization::EndpointParameters.new(
|
73
|
-
region: context.config.region,
|
74
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
75
|
-
use_fips: context.config.use_fips_endpoint,
|
76
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
77
|
-
)
|
78
|
-
end
|
79
|
-
end
|
80
|
-
|
81
|
-
class DeleteApplicationFromEnvironment
|
82
|
-
def self.build(context)
|
83
|
-
Aws::MainframeModernization::EndpointParameters.new(
|
84
|
-
region: context.config.region,
|
85
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
86
|
-
use_fips: context.config.use_fips_endpoint,
|
87
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
88
|
-
)
|
89
|
-
end
|
90
|
-
end
|
91
|
-
|
92
|
-
class DeleteEnvironment
|
93
|
-
def self.build(context)
|
94
|
-
Aws::MainframeModernization::EndpointParameters.new(
|
95
|
-
region: context.config.region,
|
96
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
97
|
-
use_fips: context.config.use_fips_endpoint,
|
98
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
99
|
-
)
|
100
|
-
end
|
101
|
-
end
|
102
|
-
|
103
|
-
class GetApplication
|
104
|
-
def self.build(context)
|
105
|
-
Aws::MainframeModernization::EndpointParameters.new(
|
106
|
-
region: context.config.region,
|
107
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
108
|
-
use_fips: context.config.use_fips_endpoint,
|
109
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
110
|
-
)
|
111
|
-
end
|
112
|
-
end
|
113
|
-
|
114
|
-
class GetApplicationVersion
|
115
|
-
def self.build(context)
|
116
|
-
Aws::MainframeModernization::EndpointParameters.new(
|
117
|
-
region: context.config.region,
|
118
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
119
|
-
use_fips: context.config.use_fips_endpoint,
|
120
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
121
|
-
)
|
122
|
-
end
|
123
|
-
end
|
124
|
-
|
125
|
-
class GetBatchJobExecution
|
126
|
-
def self.build(context)
|
127
|
-
Aws::MainframeModernization::EndpointParameters.new(
|
128
|
-
region: context.config.region,
|
129
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
130
|
-
use_fips: context.config.use_fips_endpoint,
|
131
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
132
|
-
)
|
133
|
-
end
|
134
|
-
end
|
135
|
-
|
136
|
-
class GetDataSetDetails
|
137
|
-
def self.build(context)
|
138
|
-
Aws::MainframeModernization::EndpointParameters.new(
|
139
|
-
region: context.config.region,
|
140
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
141
|
-
use_fips: context.config.use_fips_endpoint,
|
142
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
143
|
-
)
|
144
|
-
end
|
145
|
-
end
|
146
|
-
|
147
|
-
class GetDataSetImportTask
|
148
|
-
def self.build(context)
|
149
|
-
Aws::MainframeModernization::EndpointParameters.new(
|
150
|
-
region: context.config.region,
|
151
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
152
|
-
use_fips: context.config.use_fips_endpoint,
|
153
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
154
|
-
)
|
155
|
-
end
|
156
|
-
end
|
157
|
-
|
158
|
-
class GetDeployment
|
159
|
-
def self.build(context)
|
160
|
-
Aws::MainframeModernization::EndpointParameters.new(
|
161
|
-
region: context.config.region,
|
162
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
163
|
-
use_fips: context.config.use_fips_endpoint,
|
164
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
165
|
-
)
|
166
|
-
end
|
167
|
-
end
|
168
|
-
|
169
|
-
class GetEnvironment
|
170
|
-
def self.build(context)
|
171
|
-
Aws::MainframeModernization::EndpointParameters.new(
|
172
|
-
region: context.config.region,
|
173
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
174
|
-
use_fips: context.config.use_fips_endpoint,
|
175
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
176
|
-
)
|
177
|
-
end
|
178
|
-
end
|
179
|
-
|
180
|
-
class GetSignedBluinsightsUrl
|
181
|
-
def self.build(context)
|
182
|
-
Aws::MainframeModernization::EndpointParameters.new(
|
183
|
-
region: context.config.region,
|
184
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
185
|
-
use_fips: context.config.use_fips_endpoint,
|
186
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
187
|
-
)
|
188
|
-
end
|
189
|
-
end
|
190
|
-
|
191
|
-
class ListApplicationVersions
|
192
|
-
def self.build(context)
|
193
|
-
Aws::MainframeModernization::EndpointParameters.new(
|
194
|
-
region: context.config.region,
|
195
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
196
|
-
use_fips: context.config.use_fips_endpoint,
|
197
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
198
|
-
)
|
199
|
-
end
|
200
|
-
end
|
201
15
|
|
202
|
-
|
203
|
-
|
204
|
-
Aws::MainframeModernization::EndpointParameters.new(
|
205
|
-
region: context.config.region,
|
206
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
207
|
-
use_fips: context.config.use_fips_endpoint,
|
208
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
209
|
-
)
|
210
|
-
end
|
16
|
+
def self.parameters_for_operation(context)
|
17
|
+
Aws::MainframeModernization::EndpointParameters.create(context.config)
|
211
18
|
end
|
212
|
-
|
213
|
-
class ListBatchJobDefinitions
|
214
|
-
def self.build(context)
|
215
|
-
Aws::MainframeModernization::EndpointParameters.new(
|
216
|
-
region: context.config.region,
|
217
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
218
|
-
use_fips: context.config.use_fips_endpoint,
|
219
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
220
|
-
)
|
221
|
-
end
|
222
|
-
end
|
223
|
-
|
224
|
-
class ListBatchJobExecutions
|
225
|
-
def self.build(context)
|
226
|
-
Aws::MainframeModernization::EndpointParameters.new(
|
227
|
-
region: context.config.region,
|
228
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
229
|
-
use_fips: context.config.use_fips_endpoint,
|
230
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
231
|
-
)
|
232
|
-
end
|
233
|
-
end
|
234
|
-
|
235
|
-
class ListBatchJobRestartPoints
|
236
|
-
def self.build(context)
|
237
|
-
Aws::MainframeModernization::EndpointParameters.new(
|
238
|
-
region: context.config.region,
|
239
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
240
|
-
use_fips: context.config.use_fips_endpoint,
|
241
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
242
|
-
)
|
243
|
-
end
|
244
|
-
end
|
245
|
-
|
246
|
-
class ListDataSetImportHistory
|
247
|
-
def self.build(context)
|
248
|
-
Aws::MainframeModernization::EndpointParameters.new(
|
249
|
-
region: context.config.region,
|
250
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
251
|
-
use_fips: context.config.use_fips_endpoint,
|
252
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
253
|
-
)
|
254
|
-
end
|
255
|
-
end
|
256
|
-
|
257
|
-
class ListDataSets
|
258
|
-
def self.build(context)
|
259
|
-
Aws::MainframeModernization::EndpointParameters.new(
|
260
|
-
region: context.config.region,
|
261
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
262
|
-
use_fips: context.config.use_fips_endpoint,
|
263
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
264
|
-
)
|
265
|
-
end
|
266
|
-
end
|
267
|
-
|
268
|
-
class ListDeployments
|
269
|
-
def self.build(context)
|
270
|
-
Aws::MainframeModernization::EndpointParameters.new(
|
271
|
-
region: context.config.region,
|
272
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
273
|
-
use_fips: context.config.use_fips_endpoint,
|
274
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
275
|
-
)
|
276
|
-
end
|
277
|
-
end
|
278
|
-
|
279
|
-
class ListEngineVersions
|
280
|
-
def self.build(context)
|
281
|
-
Aws::MainframeModernization::EndpointParameters.new(
|
282
|
-
region: context.config.region,
|
283
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
284
|
-
use_fips: context.config.use_fips_endpoint,
|
285
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
286
|
-
)
|
287
|
-
end
|
288
|
-
end
|
289
|
-
|
290
|
-
class ListEnvironments
|
291
|
-
def self.build(context)
|
292
|
-
Aws::MainframeModernization::EndpointParameters.new(
|
293
|
-
region: context.config.region,
|
294
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
295
|
-
use_fips: context.config.use_fips_endpoint,
|
296
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
297
|
-
)
|
298
|
-
end
|
299
|
-
end
|
300
|
-
|
301
|
-
class ListTagsForResource
|
302
|
-
def self.build(context)
|
303
|
-
Aws::MainframeModernization::EndpointParameters.new(
|
304
|
-
region: context.config.region,
|
305
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
306
|
-
use_fips: context.config.use_fips_endpoint,
|
307
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
308
|
-
)
|
309
|
-
end
|
310
|
-
end
|
311
|
-
|
312
|
-
class StartApplication
|
313
|
-
def self.build(context)
|
314
|
-
Aws::MainframeModernization::EndpointParameters.new(
|
315
|
-
region: context.config.region,
|
316
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
317
|
-
use_fips: context.config.use_fips_endpoint,
|
318
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
319
|
-
)
|
320
|
-
end
|
321
|
-
end
|
322
|
-
|
323
|
-
class StartBatchJob
|
324
|
-
def self.build(context)
|
325
|
-
Aws::MainframeModernization::EndpointParameters.new(
|
326
|
-
region: context.config.region,
|
327
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
328
|
-
use_fips: context.config.use_fips_endpoint,
|
329
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
330
|
-
)
|
331
|
-
end
|
332
|
-
end
|
333
|
-
|
334
|
-
class StopApplication
|
335
|
-
def self.build(context)
|
336
|
-
Aws::MainframeModernization::EndpointParameters.new(
|
337
|
-
region: context.config.region,
|
338
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
339
|
-
use_fips: context.config.use_fips_endpoint,
|
340
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
341
|
-
)
|
342
|
-
end
|
343
|
-
end
|
344
|
-
|
345
|
-
class TagResource
|
346
|
-
def self.build(context)
|
347
|
-
Aws::MainframeModernization::EndpointParameters.new(
|
348
|
-
region: context.config.region,
|
349
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
350
|
-
use_fips: context.config.use_fips_endpoint,
|
351
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
352
|
-
)
|
353
|
-
end
|
354
|
-
end
|
355
|
-
|
356
|
-
class UntagResource
|
357
|
-
def self.build(context)
|
358
|
-
Aws::MainframeModernization::EndpointParameters.new(
|
359
|
-
region: context.config.region,
|
360
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
361
|
-
use_fips: context.config.use_fips_endpoint,
|
362
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
363
|
-
)
|
364
|
-
end
|
365
|
-
end
|
366
|
-
|
367
|
-
class UpdateApplication
|
368
|
-
def self.build(context)
|
369
|
-
Aws::MainframeModernization::EndpointParameters.new(
|
370
|
-
region: context.config.region,
|
371
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
372
|
-
use_fips: context.config.use_fips_endpoint,
|
373
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
374
|
-
)
|
375
|
-
end
|
376
|
-
end
|
377
|
-
|
378
|
-
class UpdateEnvironment
|
379
|
-
def self.build(context)
|
380
|
-
Aws::MainframeModernization::EndpointParameters.new(
|
381
|
-
region: context.config.region,
|
382
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
383
|
-
use_fips: context.config.use_fips_endpoint,
|
384
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
385
|
-
)
|
386
|
-
end
|
387
|
-
end
|
388
|
-
|
389
19
|
end
|
390
20
|
end
|
@@ -27,7 +27,7 @@ The endpoint provider used to resolve endpoints. Any object that responds to
|
|
27
27
|
class Handler < Seahorse::Client::Handler
|
28
28
|
def call(context)
|
29
29
|
unless context[:discovered_endpoint]
|
30
|
-
params = parameters_for_operation(context)
|
30
|
+
params = Aws::MainframeModernization::Endpoints.parameters_for_operation(context)
|
31
31
|
endpoint = context.config.endpoint_provider.resolve_endpoint(params)
|
32
32
|
|
33
33
|
context.http_request.endpoint = endpoint.url
|
@@ -67,79 +67,6 @@ The endpoint provider used to resolve endpoints. Any object that responds to
|
|
67
67
|
context.http_request.headers[key] = value
|
68
68
|
end
|
69
69
|
end
|
70
|
-
|
71
|
-
def parameters_for_operation(context)
|
72
|
-
case context.operation_name
|
73
|
-
when :cancel_batch_job_execution
|
74
|
-
Aws::MainframeModernization::Endpoints::CancelBatchJobExecution.build(context)
|
75
|
-
when :create_application
|
76
|
-
Aws::MainframeModernization::Endpoints::CreateApplication.build(context)
|
77
|
-
when :create_data_set_import_task
|
78
|
-
Aws::MainframeModernization::Endpoints::CreateDataSetImportTask.build(context)
|
79
|
-
when :create_deployment
|
80
|
-
Aws::MainframeModernization::Endpoints::CreateDeployment.build(context)
|
81
|
-
when :create_environment
|
82
|
-
Aws::MainframeModernization::Endpoints::CreateEnvironment.build(context)
|
83
|
-
when :delete_application
|
84
|
-
Aws::MainframeModernization::Endpoints::DeleteApplication.build(context)
|
85
|
-
when :delete_application_from_environment
|
86
|
-
Aws::MainframeModernization::Endpoints::DeleteApplicationFromEnvironment.build(context)
|
87
|
-
when :delete_environment
|
88
|
-
Aws::MainframeModernization::Endpoints::DeleteEnvironment.build(context)
|
89
|
-
when :get_application
|
90
|
-
Aws::MainframeModernization::Endpoints::GetApplication.build(context)
|
91
|
-
when :get_application_version
|
92
|
-
Aws::MainframeModernization::Endpoints::GetApplicationVersion.build(context)
|
93
|
-
when :get_batch_job_execution
|
94
|
-
Aws::MainframeModernization::Endpoints::GetBatchJobExecution.build(context)
|
95
|
-
when :get_data_set_details
|
96
|
-
Aws::MainframeModernization::Endpoints::GetDataSetDetails.build(context)
|
97
|
-
when :get_data_set_import_task
|
98
|
-
Aws::MainframeModernization::Endpoints::GetDataSetImportTask.build(context)
|
99
|
-
when :get_deployment
|
100
|
-
Aws::MainframeModernization::Endpoints::GetDeployment.build(context)
|
101
|
-
when :get_environment
|
102
|
-
Aws::MainframeModernization::Endpoints::GetEnvironment.build(context)
|
103
|
-
when :get_signed_bluinsights_url
|
104
|
-
Aws::MainframeModernization::Endpoints::GetSignedBluinsightsUrl.build(context)
|
105
|
-
when :list_application_versions
|
106
|
-
Aws::MainframeModernization::Endpoints::ListApplicationVersions.build(context)
|
107
|
-
when :list_applications
|
108
|
-
Aws::MainframeModernization::Endpoints::ListApplications.build(context)
|
109
|
-
when :list_batch_job_definitions
|
110
|
-
Aws::MainframeModernization::Endpoints::ListBatchJobDefinitions.build(context)
|
111
|
-
when :list_batch_job_executions
|
112
|
-
Aws::MainframeModernization::Endpoints::ListBatchJobExecutions.build(context)
|
113
|
-
when :list_batch_job_restart_points
|
114
|
-
Aws::MainframeModernization::Endpoints::ListBatchJobRestartPoints.build(context)
|
115
|
-
when :list_data_set_import_history
|
116
|
-
Aws::MainframeModernization::Endpoints::ListDataSetImportHistory.build(context)
|
117
|
-
when :list_data_sets
|
118
|
-
Aws::MainframeModernization::Endpoints::ListDataSets.build(context)
|
119
|
-
when :list_deployments
|
120
|
-
Aws::MainframeModernization::Endpoints::ListDeployments.build(context)
|
121
|
-
when :list_engine_versions
|
122
|
-
Aws::MainframeModernization::Endpoints::ListEngineVersions.build(context)
|
123
|
-
when :list_environments
|
124
|
-
Aws::MainframeModernization::Endpoints::ListEnvironments.build(context)
|
125
|
-
when :list_tags_for_resource
|
126
|
-
Aws::MainframeModernization::Endpoints::ListTagsForResource.build(context)
|
127
|
-
when :start_application
|
128
|
-
Aws::MainframeModernization::Endpoints::StartApplication.build(context)
|
129
|
-
when :start_batch_job
|
130
|
-
Aws::MainframeModernization::Endpoints::StartBatchJob.build(context)
|
131
|
-
when :stop_application
|
132
|
-
Aws::MainframeModernization::Endpoints::StopApplication.build(context)
|
133
|
-
when :tag_resource
|
134
|
-
Aws::MainframeModernization::Endpoints::TagResource.build(context)
|
135
|
-
when :untag_resource
|
136
|
-
Aws::MainframeModernization::Endpoints::UntagResource.build(context)
|
137
|
-
when :update_application
|
138
|
-
Aws::MainframeModernization::Endpoints::UpdateApplication.build(context)
|
139
|
-
when :update_environment
|
140
|
-
Aws::MainframeModernization::Endpoints::UpdateEnvironment.build(context)
|
141
|
-
end
|
142
|
-
end
|
143
70
|
end
|
144
71
|
|
145
72
|
def add_handlers(handlers, _config)
|
@@ -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.
|
@@ -1522,7 +1527,8 @@ module Aws::MainframeModernization
|
|
1522
1527
|
# @return [String]
|
1523
1528
|
#
|
1524
1529
|
# @!attribute [rw] job_step_restart_marker
|
1525
|
-
# The
|
1530
|
+
# The step/procedure step information for the restart batch job
|
1531
|
+
# operation.
|
1526
1532
|
# @return [Types::JobStepRestartMarker]
|
1527
1533
|
#
|
1528
1534
|
# @!attribute [rw] job_type
|
@@ -1831,7 +1837,9 @@ module Aws::MainframeModernization
|
|
1831
1837
|
# @return [Array<String>]
|
1832
1838
|
#
|
1833
1839
|
# @!attribute [rw] status
|
1834
|
-
# The status of the runtime environment.
|
1840
|
+
# The status of the runtime environment. If the Amazon Web Services
|
1841
|
+
# Mainframe Modernization environment is missing a connection to the
|
1842
|
+
# customer owned dependent resource, the status will be `Unhealthy`.
|
1835
1843
|
# @return [String]
|
1836
1844
|
#
|
1837
1845
|
# @!attribute [rw] status_reason
|
@@ -1998,15 +2006,15 @@ module Aws::MainframeModernization
|
|
1998
2006
|
include Aws::Structure
|
1999
2007
|
end
|
2000
2008
|
|
2001
|
-
# Provides
|
2009
|
+
# Provides step/procedure step information for a restart batch job
|
2002
2010
|
# operation.
|
2003
2011
|
#
|
2004
2012
|
# @!attribute [rw] from_proc_step
|
2005
|
-
# The procedure step name that a job was restarted from.
|
2013
|
+
# The procedure step name that a batch job was restarted from.
|
2006
2014
|
# @return [String]
|
2007
2015
|
#
|
2008
2016
|
# @!attribute [rw] from_step
|
2009
|
-
# The step name that a batch job
|
2017
|
+
# The step name that a batch job was restarted from.
|
2010
2018
|
# @return [String]
|
2011
2019
|
#
|
2012
2020
|
# @!attribute [rw] to_proc_step
|
@@ -2014,7 +2022,7 @@ module Aws::MainframeModernization
|
|
2014
2022
|
# @return [String]
|
2015
2023
|
#
|
2016
2024
|
# @!attribute [rw] to_step
|
2017
|
-
# The step name that a job was restarted to.
|
2025
|
+
# The step name that a batch job was restarted to.
|
2018
2026
|
# @return [String]
|
2019
2027
|
#
|
2020
2028
|
# @see http://docs.aws.amazon.com/goto/WebAPI/m2-2021-04-28/JobStepRestartMarker AWS API Documentation
|
@@ -2238,14 +2246,21 @@ module Aws::MainframeModernization
|
|
2238
2246
|
# The unique identifier of the application.
|
2239
2247
|
# @return [String]
|
2240
2248
|
#
|
2249
|
+
# @!attribute [rw] auth_secrets_manager_arn
|
2250
|
+
# The Amazon Web Services Secrets Manager containing user's
|
2251
|
+
# credentials for authentication and authorization for List Batch Job
|
2252
|
+
# Restart Points operation.
|
2253
|
+
# @return [String]
|
2254
|
+
#
|
2241
2255
|
# @!attribute [rw] execution_id
|
2242
|
-
# The unique identifier of
|
2256
|
+
# The unique identifier of the batch job execution.
|
2243
2257
|
# @return [String]
|
2244
2258
|
#
|
2245
2259
|
# @see http://docs.aws.amazon.com/goto/WebAPI/m2-2021-04-28/ListBatchJobRestartPointsRequest AWS API Documentation
|
2246
2260
|
#
|
2247
2261
|
class ListBatchJobRestartPointsRequest < Struct.new(
|
2248
2262
|
:application_id,
|
2263
|
+
:auth_secrets_manager_arn,
|
2249
2264
|
:execution_id)
|
2250
2265
|
SENSITIVE = []
|
2251
2266
|
include Aws::Structure
|
@@ -2734,16 +2749,17 @@ module Aws::MainframeModernization
|
|
2734
2749
|
include Aws::Structure
|
2735
2750
|
end
|
2736
2751
|
|
2737
|
-
# An identifier for the StartBatchJob API to show that it is a restart
|
2752
|
+
# An identifier for the `StartBatchJob` API to show that it is a restart
|
2738
2753
|
# operation.
|
2739
2754
|
#
|
2740
2755
|
# @!attribute [rw] execution_id
|
2741
|
-
# The executionId from the StartBatchJob response when the job ran
|
2742
|
-
# the first time.
|
2756
|
+
# The `executionId` from the `StartBatchJob` response when the job ran
|
2757
|
+
# for the first time.
|
2743
2758
|
# @return [String]
|
2744
2759
|
#
|
2745
2760
|
# @!attribute [rw] job_step_restart_marker
|
2746
|
-
# The
|
2761
|
+
# The step/procedure step information for a restart batch job
|
2762
|
+
# operation.
|
2747
2763
|
# @return [Types::JobStepRestartMarker]
|
2748
2764
|
#
|
2749
2765
|
# @see http://docs.aws.amazon.com/goto/WebAPI/m2-2021-04-28/RestartBatchJobIdentifier AWS API Documentation
|
@@ -2883,6 +2899,12 @@ module Aws::MainframeModernization
|
|
2883
2899
|
# job.
|
2884
2900
|
# @return [String]
|
2885
2901
|
#
|
2902
|
+
# @!attribute [rw] auth_secrets_manager_arn
|
2903
|
+
# The Amazon Web Services Secrets Manager containing user's
|
2904
|
+
# credentials for authentication and authorization for Start Batch Job
|
2905
|
+
# execution operation.
|
2906
|
+
# @return [String]
|
2907
|
+
#
|
2886
2908
|
# @!attribute [rw] batch_job_identifier
|
2887
2909
|
# The unique identifier of the batch job.
|
2888
2910
|
# @return [Types::BatchJobIdentifier]
|
@@ -2900,6 +2922,7 @@ module Aws::MainframeModernization
|
|
2900
2922
|
#
|
2901
2923
|
class StartBatchJobRequest < Struct.new(
|
2902
2924
|
:application_id,
|
2925
|
+
:auth_secrets_manager_arn,
|
2903
2926
|
:batch_job_identifier,
|
2904
2927
|
:job_params)
|
2905
2928
|
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
|
@@ -383,7 +384,7 @@ module Aws
|
|
383
384
|
def preferred_maintenance_window: () -> ::String
|
384
385
|
def publicly_accessible: () -> bool
|
385
386
|
def security_group_ids: () -> ::Array[::String]
|
386
|
-
def status: () -> ("Creating" | "Available" | "Updating" | "Deleting" | "Failed")
|
387
|
+
def status: () -> ("Creating" | "Available" | "Updating" | "Deleting" | "Failed" | "UnHealthy")
|
387
388
|
def status_reason: () -> ::String
|
388
389
|
def storage_configurations: () -> ::Array[Types::StorageConfiguration]
|
389
390
|
def subnet_ids: () -> ::Array[::String]
|
@@ -470,6 +471,7 @@ module Aws
|
|
470
471
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MainframeModernization/Client.html#list_batch_job_restart_points-instance_method
|
471
472
|
def list_batch_job_restart_points: (
|
472
473
|
application_id: ::String,
|
474
|
+
?auth_secrets_manager_arn: ::String,
|
473
475
|
execution_id: ::String
|
474
476
|
) -> _ListBatchJobRestartPointsResponseSuccess
|
475
477
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListBatchJobRestartPointsResponseSuccess
|
@@ -568,6 +570,7 @@ module Aws
|
|
568
570
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MainframeModernization/Client.html#start_batch_job-instance_method
|
569
571
|
def start_batch_job: (
|
570
572
|
application_id: ::String,
|
573
|
+
?auth_secrets_manager_arn: ::String,
|
571
574
|
batch_job_identifier: {
|
572
575
|
file_batch_job_identifier: {
|
573
576
|
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
|
@@ -350,7 +351,7 @@ module Aws::MainframeModernization
|
|
350
351
|
attr_accessor environment_id: ::String
|
351
352
|
attr_accessor instance_type: ::String
|
352
353
|
attr_accessor name: ::String
|
353
|
-
attr_accessor status: ("Creating" | "Available" | "Updating" | "Deleting" | "Failed")
|
354
|
+
attr_accessor status: ("Creating" | "Available" | "Updating" | "Deleting" | "Failed" | "UnHealthy")
|
354
355
|
SENSITIVE: []
|
355
356
|
end
|
356
357
|
|
@@ -540,7 +541,7 @@ module Aws::MainframeModernization
|
|
540
541
|
attr_accessor preferred_maintenance_window: ::String
|
541
542
|
attr_accessor publicly_accessible: bool
|
542
543
|
attr_accessor security_group_ids: ::Array[::String]
|
543
|
-
attr_accessor status: ("Creating" | "Available" | "Updating" | "Deleting" | "Failed")
|
544
|
+
attr_accessor status: ("Creating" | "Available" | "Updating" | "Deleting" | "Failed" | "UnHealthy")
|
544
545
|
attr_accessor status_reason: ::String
|
545
546
|
attr_accessor storage_configurations: ::Array[Types::StorageConfiguration]
|
546
547
|
attr_accessor subnet_ids: ::Array[::String]
|
@@ -658,6 +659,7 @@ module Aws::MainframeModernization
|
|
658
659
|
|
659
660
|
class ListBatchJobRestartPointsRequest
|
660
661
|
attr_accessor application_id: ::String
|
662
|
+
attr_accessor auth_secrets_manager_arn: ::String
|
661
663
|
attr_accessor execution_id: ::String
|
662
664
|
SENSITIVE: []
|
663
665
|
end
|
@@ -855,6 +857,7 @@ module Aws::MainframeModernization
|
|
855
857
|
|
856
858
|
class StartBatchJobRequest
|
857
859
|
attr_accessor application_id: ::String
|
860
|
+
attr_accessor auth_secrets_manager_arn: ::String
|
858
861
|
attr_accessor batch_job_identifier: Types::BatchJobIdentifier
|
859
862
|
attr_accessor job_params: ::Hash[::String, ::String]
|
860
863
|
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.30.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-10-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.210.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,21 +29,21 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.210.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
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:
|