aws-sdk-mainframemodernization 1.11.0 → 1.12.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 37c51048a4df4257f334f1fd36e50b69fd61ee09eeda557c44693835e78324bd
4
- data.tar.gz: 9de3d2687dd3c36b8eadf519c241c12faefd41e0a48eed5c1e24c9727be897f9
3
+ metadata.gz: 7bb86d42c51dbfca8e5877494556d2c75810840b02d812659bb012266622f7e3
4
+ data.tar.gz: 0dfaeef8f88d9c5a121291dd569ff67413a056598280becda02901f225401a5f
5
5
  SHA512:
6
- metadata.gz: d08b187f7da2f8f05b58961ad71842a41777a572b34ad4004d49adeacb65c652121ea2c67b0137a23e88618acc4fa0751ad5e21213b7daa4fa13fa7594ed2b9f
7
- data.tar.gz: 2235436224a3b6cf19aa772a1d0b6601caa7d3d07a327d03a2e4fe9a72be7dc6173c92708662480d779b3ad0f85f6374edb9022dacca44db4a40d2bd085d0ec1
6
+ metadata.gz: b1acf76d8cd71e41590edc3305a70357714c22657878bfd8f5f4deddf45a14846948ce490de869a05a39a515d861214fecdb14e96723bc4af0db9adb09524b14
7
+ data.tar.gz: 9ef3d593f86618b4c0c7713741d7b95f805652f255d0dce07e1c0df0ae8f97e46588498acc25cc20f1106e5918f2fe405229b0ae90bded0c4a45297aa4111b68
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.12.0 (2023-10-31)
5
+ ------------------
6
+
7
+ * Feature - Added name filter ability for ListDataSets API, added ForceUpdate for Updating environment and BatchJob submission using S3BatchJobIdentifier
8
+
4
9
  1.11.0 (2023-09-27)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.11.0
1
+ 1.12.0
@@ -675,9 +675,14 @@ module Aws::MainframeModernization
675
675
  # account.
676
676
  #
677
677
  # @option params [String] :preferred_maintenance_window
678
- # Configures the maintenance window you want for the runtime
679
- # environment. If you do not provide a value, a random system-generated
680
- # value will be assigned.
678
+ # Configures the maintenance window that you want for the runtime
679
+ # environment. The maintenance window must have the format
680
+ # `ddd:hh24:mi-ddd:hh24:mi` and must be less than 24 hours. The
681
+ # following two examples are valid maintenance windows:
682
+ # `sun:23:45-mon:00:15` or `sat:01:00-sat:03:00`.
683
+ #
684
+ # If you do not provide a value, a random system-generated value will be
685
+ # assigned.
681
686
  #
682
687
  # @option params [Boolean] :publicly_accessible
683
688
  # Specifies whether the runtime environment is publicly accessible.
@@ -866,7 +871,7 @@ module Aws::MainframeModernization
866
871
  # resp.application_id #=> String
867
872
  # resp.creation_time #=> Time
868
873
  # resp.deployed_version.application_version #=> Integer
869
- # resp.deployed_version.status #=> String, one of "Deploying", "Succeeded", "Failed"
874
+ # resp.deployed_version.status #=> String, one of "Deploying", "Succeeded", "Failed", "Updating Deployment"
870
875
  # resp.deployed_version.status_reason #=> String
871
876
  # resp.description #=> String
872
877
  # resp.engine_type #=> String, one of "microfocus", "bluage"
@@ -983,6 +988,10 @@ module Aws::MainframeModernization
983
988
  # resp.application_id #=> String
984
989
  # resp.batch_job_identifier.file_batch_job_identifier.file_name #=> String
985
990
  # resp.batch_job_identifier.file_batch_job_identifier.folder_path #=> String
991
+ # resp.batch_job_identifier.s3_batch_job_identifier.bucket #=> String
992
+ # resp.batch_job_identifier.s3_batch_job_identifier.identifier.file_name #=> String
993
+ # resp.batch_job_identifier.s3_batch_job_identifier.identifier.script_name #=> String
994
+ # resp.batch_job_identifier.s3_batch_job_identifier.key_prefix #=> String
986
995
  # resp.batch_job_identifier.script_batch_job_identifier.script_name #=> String
987
996
  # resp.end_time #=> Time
988
997
  # resp.execution_id #=> String
@@ -1019,6 +1028,7 @@ module Aws::MainframeModernization
1019
1028
  # * {Types::GetDataSetDetailsResponse#creation_time #creation_time} => Time
1020
1029
  # * {Types::GetDataSetDetailsResponse#data_set_name #data_set_name} => String
1021
1030
  # * {Types::GetDataSetDetailsResponse#data_set_org #data_set_org} => Types::DatasetDetailOrgAttributes
1031
+ # * {Types::GetDataSetDetailsResponse#file_size #file_size} => Integer
1022
1032
  # * {Types::GetDataSetDetailsResponse#last_referenced_time #last_referenced_time} => Time
1023
1033
  # * {Types::GetDataSetDetailsResponse#last_updated_time #last_updated_time} => Time
1024
1034
  # * {Types::GetDataSetDetailsResponse#location #location} => String
@@ -1054,6 +1064,7 @@ module Aws::MainframeModernization
1054
1064
  # resp.data_set_org.vsam.primary_key.name #=> String
1055
1065
  # resp.data_set_org.vsam.primary_key.offset #=> Integer
1056
1066
  # resp.data_set_org.vsam.record_format #=> String
1067
+ # resp.file_size #=> Integer
1057
1068
  # resp.last_referenced_time #=> Time
1058
1069
  # resp.last_updated_time #=> Time
1059
1070
  # resp.location #=> String
@@ -1092,7 +1103,7 @@ module Aws::MainframeModernization
1092
1103
  #
1093
1104
  # @example Response structure
1094
1105
  #
1095
- # resp.status #=> String, one of "Creating", "Running", "Completed"
1106
+ # resp.status #=> String, one of "Creating", "Running", "Completed", "Failed"
1096
1107
  # resp.summary.failed #=> Integer
1097
1108
  # resp.summary.in_progress #=> Integer
1098
1109
  # resp.summary.pending #=> Integer
@@ -1142,7 +1153,7 @@ module Aws::MainframeModernization
1142
1153
  # resp.creation_time #=> Time
1143
1154
  # resp.deployment_id #=> String
1144
1155
  # resp.environment_id #=> String
1145
- # resp.status #=> String, one of "Deploying", "Succeeded", "Failed"
1156
+ # resp.status #=> String, one of "Deploying", "Succeeded", "Failed", "Updating Deployment"
1146
1157
  # resp.status_reason #=> String
1147
1158
  #
1148
1159
  # @see http://docs.aws.amazon.com/goto/WebAPI/m2-2021-04-28/GetDeployment AWS API Documentation
@@ -1467,6 +1478,10 @@ module Aws::MainframeModernization
1467
1478
  # resp.batch_job_executions[0].application_id #=> String
1468
1479
  # resp.batch_job_executions[0].batch_job_identifier.file_batch_job_identifier.file_name #=> String
1469
1480
  # resp.batch_job_executions[0].batch_job_identifier.file_batch_job_identifier.folder_path #=> String
1481
+ # resp.batch_job_executions[0].batch_job_identifier.s3_batch_job_identifier.bucket #=> String
1482
+ # resp.batch_job_executions[0].batch_job_identifier.s3_batch_job_identifier.identifier.file_name #=> String
1483
+ # resp.batch_job_executions[0].batch_job_identifier.s3_batch_job_identifier.identifier.script_name #=> String
1484
+ # resp.batch_job_executions[0].batch_job_identifier.s3_batch_job_identifier.key_prefix #=> String
1470
1485
  # resp.batch_job_executions[0].batch_job_identifier.script_batch_job_identifier.script_name #=> String
1471
1486
  # resp.batch_job_executions[0].end_time #=> Time
1472
1487
  # resp.batch_job_executions[0].execution_id #=> String
@@ -1518,7 +1533,8 @@ module Aws::MainframeModernization
1518
1533
  # @example Response structure
1519
1534
  #
1520
1535
  # resp.data_set_import_tasks #=> Array
1521
- # resp.data_set_import_tasks[0].status #=> String, one of "Creating", "Running", "Completed"
1536
+ # resp.data_set_import_tasks[0].status #=> String, one of "Creating", "Running", "Completed", "Failed"
1537
+ # resp.data_set_import_tasks[0].status_reason #=> String
1522
1538
  # resp.data_set_import_tasks[0].summary.failed #=> Integer
1523
1539
  # resp.data_set_import_tasks[0].summary.in_progress #=> Integer
1524
1540
  # resp.data_set_import_tasks[0].summary.pending #=> Integer
@@ -1554,6 +1570,10 @@ module Aws::MainframeModernization
1554
1570
  # @option params [Integer] :max_results
1555
1571
  # The maximum number of objects to return.
1556
1572
  #
1573
+ # @option params [String] :name_filter
1574
+ # Filter dataset name matching the specified pattern. Can use * and %
1575
+ # as wild cards.
1576
+ #
1557
1577
  # @option params [String] :next_token
1558
1578
  # A pagination token returned from a previous call to this operation.
1559
1579
  # This specifies the next item to return. To return to the beginning of
@@ -1575,6 +1595,7 @@ module Aws::MainframeModernization
1575
1595
  # resp = client.list_data_sets({
1576
1596
  # application_id: "Identifier", # required
1577
1597
  # max_results: 1,
1598
+ # name_filter: "String200",
1578
1599
  # next_token: "NextToken",
1579
1600
  # prefix: "String200",
1580
1601
  # })
@@ -1638,7 +1659,7 @@ module Aws::MainframeModernization
1638
1659
  # resp.deployments[0].creation_time #=> Time
1639
1660
  # resp.deployments[0].deployment_id #=> String
1640
1661
  # resp.deployments[0].environment_id #=> String
1641
- # resp.deployments[0].status #=> String, one of "Deploying", "Succeeded", "Failed"
1662
+ # resp.deployments[0].status #=> String, one of "Deploying", "Succeeded", "Failed", "Updating Deployment"
1642
1663
  # resp.deployments[0].status_reason #=> String
1643
1664
  # resp.next_token #=> String
1644
1665
  #
@@ -1832,6 +1853,14 @@ module Aws::MainframeModernization
1832
1853
  # file_name: "String", # required
1833
1854
  # folder_path: "String",
1834
1855
  # },
1856
+ # s3_batch_job_identifier: {
1857
+ # bucket: "String", # required
1858
+ # identifier: { # required
1859
+ # file_name: "String",
1860
+ # script_name: "String",
1861
+ # },
1862
+ # key_prefix: "String",
1863
+ # },
1835
1864
  # script_batch_job_identifier: {
1836
1865
  # script_name: "String", # required
1837
1866
  # },
@@ -2002,13 +2031,30 @@ module Aws::MainframeModernization
2002
2031
  # The unique identifier of the runtime environment that you want to
2003
2032
  # update.
2004
2033
  #
2034
+ # @option params [Boolean] :force_update
2035
+ # Forces the updates on the environment. This option is needed if the
2036
+ # applications in the environment are not stopped or if there are
2037
+ # ongoing application-related activities in the environment.
2038
+ #
2039
+ # If you use this option, be aware that it could lead to data corruption
2040
+ # in the applications, and that you might need to perform repair and
2041
+ # recovery procedures for the applications.
2042
+ #
2043
+ # This option is not needed if the attribute being updated is
2044
+ # `preferredMaintenanceWindow`.
2045
+ #
2005
2046
  # @option params [String] :instance_type
2006
2047
  # The instance type for the runtime environment to update.
2007
2048
  #
2008
2049
  # @option params [String] :preferred_maintenance_window
2009
- # Configures the maintenance window you want for the runtime
2010
- # environment. If you do not provide a value, a random system-generated
2011
- # value will be assigned.
2050
+ # Configures the maintenance window that you want for the runtime
2051
+ # environment. The maintenance window must have the format
2052
+ # `ddd:hh24:mi-ddd:hh24:mi` and must be less than 24 hours. The
2053
+ # following two examples are valid maintenance windows:
2054
+ # `sun:23:45-mon:00:15` or `sat:01:00-sat:03:00`.
2055
+ #
2056
+ # If you do not provide a value, a random system-generated value will be
2057
+ # assigned.
2012
2058
  #
2013
2059
  # @return [Types::UpdateEnvironmentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2014
2060
  #
@@ -2021,6 +2067,7 @@ module Aws::MainframeModernization
2021
2067
  # desired_capacity: 1,
2022
2068
  # engine_version: "EngineVersion",
2023
2069
  # environment_id: "Identifier", # required
2070
+ # force_update: false,
2024
2071
  # instance_type: "String20",
2025
2072
  # preferred_maintenance_window: "String",
2026
2073
  # })
@@ -2051,7 +2098,7 @@ module Aws::MainframeModernization
2051
2098
  params: params,
2052
2099
  config: config)
2053
2100
  context[:gem_name] = 'aws-sdk-mainframemodernization'
2054
- context[:gem_version] = '1.11.0'
2101
+ context[:gem_version] = '1.12.0'
2055
2102
  Seahorse::Client::Request.new(handlers, context)
2056
2103
  end
2057
2104
 
@@ -82,6 +82,7 @@ module Aws::MainframeModernization
82
82
  EnvironmentLifecycle = Shapes::StringShape.new(name: 'EnvironmentLifecycle')
83
83
  EnvironmentSummary = Shapes::StructureShape.new(name: 'EnvironmentSummary')
84
84
  EnvironmentSummaryList = Shapes::ListShape.new(name: 'EnvironmentSummaryList')
85
+ ExecutionTimeoutException = Shapes::StructureShape.new(name: 'ExecutionTimeoutException')
85
86
  ExternalLocation = Shapes::UnionShape.new(name: 'ExternalLocation')
86
87
  FileBatchJobDefinition = Shapes::StructureShape.new(name: 'FileBatchJobDefinition')
87
88
  FileBatchJobIdentifier = Shapes::StructureShape.new(name: 'FileBatchJobIdentifier')
@@ -108,6 +109,7 @@ module Aws::MainframeModernization
108
109
  IdentifierList = Shapes::ListShape.new(name: 'IdentifierList')
109
110
  Integer = Shapes::IntegerShape.new(name: 'Integer')
110
111
  InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
112
+ JobIdentifier = Shapes::UnionShape.new(name: 'JobIdentifier')
111
113
  ListApplicationVersionsRequest = Shapes::StructureShape.new(name: 'ListApplicationVersionsRequest')
112
114
  ListApplicationVersionsResponse = Shapes::StructureShape.new(name: 'ListApplicationVersionsResponse')
113
115
  ListApplicationsRequest = Shapes::StructureShape.new(name: 'ListApplicationsRequest')
@@ -131,6 +133,7 @@ module Aws::MainframeModernization
131
133
  LogGroupIdentifier = Shapes::StringShape.new(name: 'LogGroupIdentifier')
132
134
  LogGroupSummaries = Shapes::ListShape.new(name: 'LogGroupSummaries')
133
135
  LogGroupSummary = Shapes::StructureShape.new(name: 'LogGroupSummary')
136
+ Long = Shapes::IntegerShape.new(name: 'Long')
134
137
  MaintenanceSchedule = Shapes::StructureShape.new(name: 'MaintenanceSchedule')
135
138
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
136
139
  NextToken = Shapes::StringShape.new(name: 'NextToken')
@@ -143,9 +146,11 @@ module Aws::MainframeModernization
143
146
  PsDetailAttributes = Shapes::StructureShape.new(name: 'PsDetailAttributes')
144
147
  RecordLength = Shapes::StructureShape.new(name: 'RecordLength')
145
148
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
149
+ S3BatchJobIdentifier = Shapes::StructureShape.new(name: 'S3BatchJobIdentifier')
146
150
  ScriptBatchJobDefinition = Shapes::StructureShape.new(name: 'ScriptBatchJobDefinition')
147
151
  ScriptBatchJobIdentifier = Shapes::StructureShape.new(name: 'ScriptBatchJobIdentifier')
148
152
  ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
153
+ ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
149
154
  StartApplicationRequest = Shapes::StructureShape.new(name: 'StartApplicationRequest')
150
155
  StartApplicationResponse = Shapes::StructureShape.new(name: 'StartApplicationResponse')
151
156
  StartBatchJobRequest = Shapes::StructureShape.new(name: 'StartBatchJobRequest')
@@ -248,9 +253,11 @@ module Aws::MainframeModernization
248
253
  BatchJobExecutionSummaryList.member = Shapes::ShapeRef.new(shape: BatchJobExecutionSummary)
249
254
 
250
255
  BatchJobIdentifier.add_member(:file_batch_job_identifier, Shapes::ShapeRef.new(shape: FileBatchJobIdentifier, location_name: "fileBatchJobIdentifier"))
256
+ BatchJobIdentifier.add_member(:s3_batch_job_identifier, Shapes::ShapeRef.new(shape: S3BatchJobIdentifier, location_name: "s3BatchJobIdentifier"))
251
257
  BatchJobIdentifier.add_member(:script_batch_job_identifier, Shapes::ShapeRef.new(shape: ScriptBatchJobIdentifier, location_name: "scriptBatchJobIdentifier"))
252
258
  BatchJobIdentifier.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
253
259
  BatchJobIdentifier.add_member_subclass(:file_batch_job_identifier, Types::BatchJobIdentifier::FileBatchJobIdentifier)
260
+ BatchJobIdentifier.add_member_subclass(:s3_batch_job_identifier, Types::BatchJobIdentifier::S3BatchJobIdentifier)
254
261
  BatchJobIdentifier.add_member_subclass(:script_batch_job_identifier, Types::BatchJobIdentifier::ScriptBatchJobIdentifier)
255
262
  BatchJobIdentifier.add_member_subclass(:unknown, Types::BatchJobIdentifier::Unknown)
256
263
  BatchJobIdentifier.struct_class = Types::BatchJobIdentifier
@@ -349,6 +356,7 @@ module Aws::MainframeModernization
349
356
  DataSetImportSummary.struct_class = Types::DataSetImportSummary
350
357
 
351
358
  DataSetImportTask.add_member(:status, Shapes::ShapeRef.new(shape: DataSetTaskLifecycle, required: true, location_name: "status"))
359
+ DataSetImportTask.add_member(:status_reason, Shapes::ShapeRef.new(shape: String, location_name: "statusReason"))
352
360
  DataSetImportTask.add_member(:summary, Shapes::ShapeRef.new(shape: DataSetImportSummary, required: true, location_name: "summary"))
353
361
  DataSetImportTask.add_member(:task_id, Shapes::ShapeRef.new(shape: Identifier, required: true, location_name: "taskId"))
354
362
  DataSetImportTask.struct_class = Types::DataSetImportTask
@@ -453,6 +461,9 @@ module Aws::MainframeModernization
453
461
 
454
462
  EnvironmentSummaryList.member = Shapes::ShapeRef.new(shape: EnvironmentSummary)
455
463
 
464
+ ExecutionTimeoutException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
465
+ ExecutionTimeoutException.struct_class = Types::ExecutionTimeoutException
466
+
456
467
  ExternalLocation.add_member(:s3_location, Shapes::ShapeRef.new(shape: String2000, location_name: "s3Location"))
457
468
  ExternalLocation.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
458
469
  ExternalLocation.add_member_subclass(:s3_location, Types::ExternalLocation::S3Location)
@@ -543,6 +554,7 @@ module Aws::MainframeModernization
543
554
  GetDataSetDetailsResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationTime"))
544
555
  GetDataSetDetailsResponse.add_member(:data_set_name, Shapes::ShapeRef.new(shape: String200, required: true, location_name: "dataSetName"))
545
556
  GetDataSetDetailsResponse.add_member(:data_set_org, Shapes::ShapeRef.new(shape: DatasetDetailOrgAttributes, location_name: "dataSetOrg"))
557
+ GetDataSetDetailsResponse.add_member(:file_size, Shapes::ShapeRef.new(shape: Long, location_name: "fileSize"))
546
558
  GetDataSetDetailsResponse.add_member(:last_referenced_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastReferencedTime"))
547
559
  GetDataSetDetailsResponse.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdatedTime"))
548
560
  GetDataSetDetailsResponse.add_member(:location, Shapes::ShapeRef.new(shape: String2000, location_name: "location"))
@@ -610,6 +622,14 @@ module Aws::MainframeModernization
610
622
  InternalServerException.add_member(:retry_after_seconds, Shapes::ShapeRef.new(shape: Integer, location: "header", location_name: "Retry-After"))
611
623
  InternalServerException.struct_class = Types::InternalServerException
612
624
 
625
+ JobIdentifier.add_member(:file_name, Shapes::ShapeRef.new(shape: String, location_name: "fileName"))
626
+ JobIdentifier.add_member(:script_name, Shapes::ShapeRef.new(shape: String, location_name: "scriptName"))
627
+ JobIdentifier.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
628
+ JobIdentifier.add_member_subclass(:file_name, Types::JobIdentifier::FileName)
629
+ JobIdentifier.add_member_subclass(:script_name, Types::JobIdentifier::ScriptName)
630
+ JobIdentifier.add_member_subclass(:unknown, Types::JobIdentifier::Unknown)
631
+ JobIdentifier.struct_class = Types::JobIdentifier
632
+
613
633
  ListApplicationVersionsRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: Identifier, required: true, location: "uri", location_name: "applicationId"))
614
634
  ListApplicationVersionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
615
635
  ListApplicationVersionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
@@ -664,6 +684,7 @@ module Aws::MainframeModernization
664
684
 
665
685
  ListDataSetsRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: Identifier, required: true, location: "uri", location_name: "applicationId"))
666
686
  ListDataSetsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
687
+ ListDataSetsRequest.add_member(:name_filter, Shapes::ShapeRef.new(shape: String200, location: "querystring", location_name: "nameFilter"))
667
688
  ListDataSetsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
668
689
  ListDataSetsRequest.add_member(:prefix, Shapes::ShapeRef.new(shape: String200, location: "querystring", location_name: "prefix"))
669
690
  ListDataSetsRequest.struct_class = Types::ListDataSetsRequest
@@ -753,6 +774,11 @@ module Aws::MainframeModernization
753
774
  ResourceNotFoundException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, location_name: "resourceType"))
754
775
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
755
776
 
777
+ S3BatchJobIdentifier.add_member(:bucket, Shapes::ShapeRef.new(shape: String, required: true, location_name: "bucket"))
778
+ S3BatchJobIdentifier.add_member(:identifier, Shapes::ShapeRef.new(shape: JobIdentifier, required: true, location_name: "identifier"))
779
+ S3BatchJobIdentifier.add_member(:key_prefix, Shapes::ShapeRef.new(shape: String, location_name: "keyPrefix"))
780
+ S3BatchJobIdentifier.struct_class = Types::S3BatchJobIdentifier
781
+
756
782
  ScriptBatchJobDefinition.add_member(:script_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "scriptName"))
757
783
  ScriptBatchJobDefinition.struct_class = Types::ScriptBatchJobDefinition
758
784
 
@@ -766,6 +792,9 @@ module Aws::MainframeModernization
766
792
  ServiceQuotaExceededException.add_member(:service_code, Shapes::ShapeRef.new(shape: String, location_name: "serviceCode"))
767
793
  ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
768
794
 
795
+ ServiceUnavailableException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
796
+ ServiceUnavailableException.struct_class = Types::ServiceUnavailableException
797
+
769
798
  StartApplicationRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: Identifier, required: true, location: "uri", location_name: "applicationId"))
770
799
  StartApplicationRequest.struct_class = Types::StartApplicationRequest
771
800
 
@@ -835,6 +864,7 @@ module Aws::MainframeModernization
835
864
  UpdateEnvironmentRequest.add_member(:desired_capacity, Shapes::ShapeRef.new(shape: CapacityValue, location_name: "desiredCapacity"))
836
865
  UpdateEnvironmentRequest.add_member(:engine_version, Shapes::ShapeRef.new(shape: EngineVersion, location_name: "engineVersion"))
837
866
  UpdateEnvironmentRequest.add_member(:environment_id, Shapes::ShapeRef.new(shape: Identifier, required: true, location: "uri", location_name: "environmentId"))
867
+ UpdateEnvironmentRequest.add_member(:force_update, Shapes::ShapeRef.new(shape: Boolean, location_name: "forceUpdate"))
838
868
  UpdateEnvironmentRequest.add_member(:instance_type, Shapes::ShapeRef.new(shape: String20, location_name: "instanceType"))
839
869
  UpdateEnvironmentRequest.add_member(:preferred_maintenance_window, Shapes::ShapeRef.new(shape: String, location_name: "preferredMaintenanceWindow"))
840
870
  UpdateEnvironmentRequest.struct_class = Types::UpdateEnvironmentRequest
@@ -1044,8 +1074,11 @@ module Aws::MainframeModernization
1044
1074
  o.input = Shapes::ShapeRef.new(shape: GetDataSetDetailsRequest)
1045
1075
  o.output = Shapes::ShapeRef.new(shape: GetDataSetDetailsResponse)
1046
1076
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1077
+ o.errors << Shapes::ShapeRef.new(shape: ExecutionTimeoutException)
1078
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1047
1079
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1048
1080
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1081
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1049
1082
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1050
1083
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1051
1084
  end)
@@ -1201,8 +1234,11 @@ module Aws::MainframeModernization
1201
1234
  o.input = Shapes::ShapeRef.new(shape: ListDataSetsRequest)
1202
1235
  o.output = Shapes::ShapeRef.new(shape: ListDataSetsResponse)
1203
1236
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1237
+ o.errors << Shapes::ShapeRef.new(shape: ExecutionTimeoutException)
1238
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1204
1239
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1205
1240
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1241
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1206
1242
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1207
1243
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1208
1244
  o[:pager] = Aws::Pager.new(
@@ -32,7 +32,7 @@ module Aws::MainframeModernization
32
32
  raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
33
  end
34
34
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
35
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
+ if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
36
36
  return Aws::Endpoints::Endpoint.new(url: "https://m2-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
37
  end
38
38
  raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
@@ -29,9 +29,11 @@ module Aws::MainframeModernization
29
29
  # ## Error Classes
30
30
  # * {AccessDeniedException}
31
31
  # * {ConflictException}
32
+ # * {ExecutionTimeoutException}
32
33
  # * {InternalServerException}
33
34
  # * {ResourceNotFoundException}
34
35
  # * {ServiceQuotaExceededException}
36
+ # * {ServiceUnavailableException}
35
37
  # * {ThrottlingException}
36
38
  # * {ValidationException}
37
39
  #
@@ -81,6 +83,25 @@ module Aws::MainframeModernization
81
83
  end
82
84
  end
83
85
 
86
+ class ExecutionTimeoutException < ServiceError
87
+
88
+ # @param [Seahorse::Client::RequestContext] context
89
+ # @param [String] message
90
+ # @param [Aws::MainframeModernization::Types::ExecutionTimeoutException] data
91
+ def initialize(context, message, data = Aws::EmptyStructure.new)
92
+ super(context, message, data)
93
+ end
94
+
95
+ # @return [String]
96
+ def message
97
+ @message || @data[:message]
98
+ end
99
+
100
+ def retryable?
101
+ true
102
+ end
103
+ end
104
+
84
105
  class InternalServerException < ServiceError
85
106
 
86
107
  # @param [Seahorse::Client::RequestContext] context
@@ -165,6 +186,25 @@ module Aws::MainframeModernization
165
186
  end
166
187
  end
167
188
 
189
+ class ServiceUnavailableException < ServiceError
190
+
191
+ # @param [Seahorse::Client::RequestContext] context
192
+ # @param [String] message
193
+ # @param [Aws::MainframeModernization::Types::ServiceUnavailableException] data
194
+ def initialize(context, message, data = Aws::EmptyStructure.new)
195
+ super(context, message, data)
196
+ end
197
+
198
+ # @return [String]
199
+ def message
200
+ @message || @data[:message]
201
+ end
202
+
203
+ def retryable?
204
+ true
205
+ end
206
+ end
207
+
168
208
  class ThrottlingException < ServiceError
169
209
 
170
210
  # @param [Seahorse::Client::RequestContext] context
@@ -270,6 +270,11 @@ module Aws::MainframeModernization
270
270
  # Specifies a file associated with a specific batch job.
271
271
  # @return [Types::FileBatchJobIdentifier]
272
272
  #
273
+ # @!attribute [rw] s3_batch_job_identifier
274
+ # Specifies an Amazon S3 location that identifies the batch jobs that
275
+ # you want to run. Use this identifier to run ad hoc batch jobs.
276
+ # @return [Types::S3BatchJobIdentifier]
277
+ #
273
278
  # @!attribute [rw] script_batch_job_identifier
274
279
  # A batch job identifier in which the batch job to run is identified
275
280
  # by the script name.
@@ -279,6 +284,7 @@ module Aws::MainframeModernization
279
284
  #
280
285
  class BatchJobIdentifier < Struct.new(
281
286
  :file_batch_job_identifier,
287
+ :s3_batch_job_identifier,
282
288
  :script_batch_job_identifier,
283
289
  :unknown)
284
290
  SENSITIVE = []
@@ -286,6 +292,7 @@ module Aws::MainframeModernization
286
292
  include Aws::Structure::Union
287
293
 
288
294
  class FileBatchJobIdentifier < BatchJobIdentifier; end
295
+ class S3BatchJobIdentifier < BatchJobIdentifier; end
289
296
  class ScriptBatchJobIdentifier < BatchJobIdentifier; end
290
297
  class Unknown < BatchJobIdentifier; end
291
298
  end
@@ -552,9 +559,14 @@ module Aws::MainframeModernization
552
559
  # @return [String]
553
560
  #
554
561
  # @!attribute [rw] preferred_maintenance_window
555
- # Configures the maintenance window you want for the runtime
556
- # environment. If you do not provide a value, a random
557
- # system-generated value will be assigned.
562
+ # Configures the maintenance window that you want for the runtime
563
+ # environment. The maintenance window must have the format
564
+ # `ddd:hh24:mi-ddd:hh24:mi` and must be less than 24 hours. The
565
+ # following two examples are valid maintenance windows:
566
+ # `sun:23:45-mon:00:15` or `sat:01:00-sat:03:00`.
567
+ #
568
+ # If you do not provide a value, a random system-generated value will
569
+ # be assigned.
558
570
  # @return [String]
559
571
  #
560
572
  # @!attribute [rw] publicly_accessible
@@ -738,6 +750,10 @@ module Aws::MainframeModernization
738
750
  # The status of the data set import task.
739
751
  # @return [String]
740
752
  #
753
+ # @!attribute [rw] status_reason
754
+ # If dataset import failed, the failure reason will show here.
755
+ # @return [String]
756
+ #
741
757
  # @!attribute [rw] summary
742
758
  # A summary of the data set import task.
743
759
  # @return [Types::DataSetImportSummary]
@@ -750,6 +766,7 @@ module Aws::MainframeModernization
750
766
  #
751
767
  class DataSetImportTask < Struct.new(
752
768
  :status,
769
+ :status_reason,
753
770
  :summary,
754
771
  :task_id)
755
772
  SENSITIVE = []
@@ -1117,6 +1134,20 @@ module Aws::MainframeModernization
1117
1134
  include Aws::Structure
1118
1135
  end
1119
1136
 
1137
+ # Failed to connect to server, or didn’t receive response within
1138
+ # expected time period.
1139
+ #
1140
+ # @!attribute [rw] message
1141
+ # @return [String]
1142
+ #
1143
+ # @see http://docs.aws.amazon.com/goto/WebAPI/m2-2021-04-28/ExecutionTimeoutException AWS API Documentation
1144
+ #
1145
+ class ExecutionTimeoutException < Struct.new(
1146
+ :message)
1147
+ SENSITIVE = []
1148
+ include Aws::Structure
1149
+ end
1150
+
1120
1151
  # Defines an external storage location.
1121
1152
  #
1122
1153
  # @note ExternalLocation is a union - when making an API calls you must set exactly one of the members.
@@ -1566,6 +1597,10 @@ module Aws::MainframeModernization
1566
1597
  # The type of data set. The only supported value is VSAM.
1567
1598
  # @return [Types::DatasetDetailOrgAttributes]
1568
1599
  #
1600
+ # @!attribute [rw] file_size
1601
+ # File size of the dataset.
1602
+ # @return [Integer]
1603
+ #
1569
1604
  # @!attribute [rw] last_referenced_time
1570
1605
  # The last time the data set was referenced.
1571
1606
  # @return [Time]
@@ -1589,6 +1624,7 @@ module Aws::MainframeModernization
1589
1624
  :creation_time,
1590
1625
  :data_set_name,
1591
1626
  :data_set_org,
1627
+ :file_size,
1592
1628
  :last_referenced_time,
1593
1629
  :last_updated_time,
1594
1630
  :location,
@@ -1710,7 +1746,7 @@ module Aws::MainframeModernization
1710
1746
 
1711
1747
  # @!attribute [rw] actual_capacity
1712
1748
  # The number of instances included in the runtime environment. A
1713
- # standalone runtime environment has a maxiumum of one instance.
1749
+ # standalone runtime environment has a maximum of one instance.
1714
1750
  # Currently, a high availability runtime environment has a maximum of
1715
1751
  # two instances.
1716
1752
  # @return [Integer]
@@ -1767,9 +1803,9 @@ module Aws::MainframeModernization
1767
1803
  # @return [Types::PendingMaintenance]
1768
1804
  #
1769
1805
  # @!attribute [rw] preferred_maintenance_window
1770
- # Configures the maintenance window you want for the runtime
1771
- # environment. If you do not provide a value, a random
1772
- # system-generated value will be assigned.
1806
+ # The maintenance window for the runtime environment. If you don't
1807
+ # provide a value for the maintenance window, the service assigns a
1808
+ # random value.
1773
1809
  # @return [String]
1774
1810
  #
1775
1811
  # @!attribute [rw] publicly_accessible
@@ -1882,6 +1918,35 @@ module Aws::MainframeModernization
1882
1918
  include Aws::Structure
1883
1919
  end
1884
1920
 
1921
+ # Identifies a specific batch job.
1922
+ #
1923
+ # @note JobIdentifier is a union - when making an API calls you must set exactly one of the members.
1924
+ #
1925
+ # @note JobIdentifier is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of JobIdentifier corresponding to the set member.
1926
+ #
1927
+ # @!attribute [rw] file_name
1928
+ # The name of the file that contains the batch job definition.
1929
+ # @return [String]
1930
+ #
1931
+ # @!attribute [rw] script_name
1932
+ # The name of the script that contains the batch job definition.
1933
+ # @return [String]
1934
+ #
1935
+ # @see http://docs.aws.amazon.com/goto/WebAPI/m2-2021-04-28/JobIdentifier AWS API Documentation
1936
+ #
1937
+ class JobIdentifier < Struct.new(
1938
+ :file_name,
1939
+ :script_name,
1940
+ :unknown)
1941
+ SENSITIVE = []
1942
+ include Aws::Structure
1943
+ include Aws::Structure::Union
1944
+
1945
+ class FileName < JobIdentifier; end
1946
+ class ScriptName < JobIdentifier; end
1947
+ class Unknown < JobIdentifier; end
1948
+ end
1949
+
1885
1950
  # @!attribute [rw] application_id
1886
1951
  # The unique identifier of the application.
1887
1952
  # @return [String]
@@ -2140,6 +2205,11 @@ module Aws::MainframeModernization
2140
2205
  # The maximum number of objects to return.
2141
2206
  # @return [Integer]
2142
2207
  #
2208
+ # @!attribute [rw] name_filter
2209
+ # Filter dataset name matching the specified pattern. Can use * and %
2210
+ # as wild cards.
2211
+ # @return [String]
2212
+ #
2143
2213
  # @!attribute [rw] next_token
2144
2214
  # A pagination token returned from a previous call to this operation.
2145
2215
  # This specifies the next item to return. To return to the beginning
@@ -2156,6 +2226,7 @@ module Aws::MainframeModernization
2156
2226
  class ListDataSetsRequest < Struct.new(
2157
2227
  :application_id,
2158
2228
  :max_results,
2229
+ :name_filter,
2159
2230
  :next_token,
2160
2231
  :prefix)
2161
2232
  SENSITIVE = []
@@ -2552,6 +2623,35 @@ module Aws::MainframeModernization
2552
2623
  include Aws::Structure
2553
2624
  end
2554
2625
 
2626
+ # A batch job identifier in which the batch jobs to run are identified
2627
+ # by an Amazon S3 location.
2628
+ #
2629
+ # @!attribute [rw] bucket
2630
+ # The Amazon S3 bucket that contains the batch job definitions.
2631
+ # @return [String]
2632
+ #
2633
+ # @!attribute [rw] identifier
2634
+ # Identifies the batch job definition. This identifier can also point
2635
+ # to any batch job definition that already exists in the application
2636
+ # or to one of the batch job definitions within the directory that is
2637
+ # specified in `keyPrefix`.
2638
+ # @return [Types::JobIdentifier]
2639
+ #
2640
+ # @!attribute [rw] key_prefix
2641
+ # The key prefix that specifies the path to the folder in the S3
2642
+ # bucket that has the batch job definitions.
2643
+ # @return [String]
2644
+ #
2645
+ # @see http://docs.aws.amazon.com/goto/WebAPI/m2-2021-04-28/S3BatchJobIdentifier AWS API Documentation
2646
+ #
2647
+ class S3BatchJobIdentifier < Struct.new(
2648
+ :bucket,
2649
+ :identifier,
2650
+ :key_prefix)
2651
+ SENSITIVE = []
2652
+ include Aws::Structure
2653
+ end
2654
+
2555
2655
  # A batch job definition contained in a script.
2556
2656
  #
2557
2657
  # @!attribute [rw] script_name
@@ -2617,6 +2717,19 @@ module Aws::MainframeModernization
2617
2717
  include Aws::Structure
2618
2718
  end
2619
2719
 
2720
+ # Server cannot process the request at the moment.
2721
+ #
2722
+ # @!attribute [rw] message
2723
+ # @return [String]
2724
+ #
2725
+ # @see http://docs.aws.amazon.com/goto/WebAPI/m2-2021-04-28/ServiceUnavailableException AWS API Documentation
2726
+ #
2727
+ class ServiceUnavailableException < Struct.new(
2728
+ :message)
2729
+ SENSITIVE = []
2730
+ include Aws::Structure
2731
+ end
2732
+
2620
2733
  # @!attribute [rw] application_id
2621
2734
  # The unique identifier of the application you want to start.
2622
2735
  # @return [String]
@@ -2753,7 +2866,7 @@ module Aws::MainframeModernization
2753
2866
  # @return [String]
2754
2867
  #
2755
2868
  # @!attribute [rw] quota_code
2756
- # The identifier of the throttled reuqest.
2869
+ # The identifier of the throttled request.
2757
2870
  # @return [String]
2758
2871
  #
2759
2872
  # @!attribute [rw] retry_after_seconds
@@ -2861,14 +2974,32 @@ module Aws::MainframeModernization
2861
2974
  # update.
2862
2975
  # @return [String]
2863
2976
  #
2977
+ # @!attribute [rw] force_update
2978
+ # Forces the updates on the environment. This option is needed if the
2979
+ # applications in the environment are not stopped or if there are
2980
+ # ongoing application-related activities in the environment.
2981
+ #
2982
+ # If you use this option, be aware that it could lead to data
2983
+ # corruption in the applications, and that you might need to perform
2984
+ # repair and recovery procedures for the applications.
2985
+ #
2986
+ # This option is not needed if the attribute being updated is
2987
+ # `preferredMaintenanceWindow`.
2988
+ # @return [Boolean]
2989
+ #
2864
2990
  # @!attribute [rw] instance_type
2865
2991
  # The instance type for the runtime environment to update.
2866
2992
  # @return [String]
2867
2993
  #
2868
2994
  # @!attribute [rw] preferred_maintenance_window
2869
- # Configures the maintenance window you want for the runtime
2870
- # environment. If you do not provide a value, a random
2871
- # system-generated value will be assigned.
2995
+ # Configures the maintenance window that you want for the runtime
2996
+ # environment. The maintenance window must have the format
2997
+ # `ddd:hh24:mi-ddd:hh24:mi` and must be less than 24 hours. The
2998
+ # following two examples are valid maintenance windows:
2999
+ # `sun:23:45-mon:00:15` or `sat:01:00-sat:03:00`.
3000
+ #
3001
+ # If you do not provide a value, a random system-generated value will
3002
+ # be assigned.
2872
3003
  # @return [String]
2873
3004
  #
2874
3005
  # @see http://docs.aws.amazon.com/goto/WebAPI/m2-2021-04-28/UpdateEnvironmentRequest AWS API Documentation
@@ -2878,6 +3009,7 @@ module Aws::MainframeModernization
2878
3009
  :desired_capacity,
2879
3010
  :engine_version,
2880
3011
  :environment_id,
3012
+ :force_update,
2881
3013
  :instance_type,
2882
3014
  :preferred_maintenance_window)
2883
3015
  SENSITIVE = []
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-mainframemodernization/customizations'
52
52
  # @!group service
53
53
  module Aws::MainframeModernization
54
54
 
55
- GEM_VERSION = '1.11.0'
55
+ GEM_VERSION = '1.12.0'
56
56
 
57
57
  end
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.11.0
4
+ version: 1.12.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: 2023-09-27 00:00:00.000000000 Z
11
+ date: 2023-10-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core