aws-sdk-emrserverless 1.63.0 → 1.64.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-emrserverless/client.rb +348 -1
- data/lib/aws-sdk-emrserverless/client_api.rb +203 -0
- data/lib/aws-sdk-emrserverless/types.rb +498 -1
- data/lib/aws-sdk-emrserverless.rb +1 -1
- data/sig/client.rbs +96 -2
- data/sig/types.rbs +130 -0
- metadata +1 -1
|
@@ -54,6 +54,7 @@ module Aws::EMRServerless
|
|
|
54
54
|
EncryptionContextKey = Shapes::StringShape.new(name: 'EncryptionContextKey')
|
|
55
55
|
EncryptionContextValue = Shapes::StringShape.new(name: 'EncryptionContextValue')
|
|
56
56
|
EncryptionKeyArn = Shapes::StringShape.new(name: 'EncryptionKeyArn')
|
|
57
|
+
EndpointUrl = Shapes::StringShape.new(name: 'EndpointUrl')
|
|
57
58
|
EngineType = Shapes::StringShape.new(name: 'EngineType')
|
|
58
59
|
EntryPointArgument = Shapes::StringShape.new(name: 'EntryPointArgument')
|
|
59
60
|
EntryPointArguments = Shapes::ListShape.new(name: 'EntryPointArguments')
|
|
@@ -64,6 +65,12 @@ module Aws::EMRServerless
|
|
|
64
65
|
GetDashboardForJobRunResponse = Shapes::StructureShape.new(name: 'GetDashboardForJobRunResponse')
|
|
65
66
|
GetJobRunRequest = Shapes::StructureShape.new(name: 'GetJobRunRequest')
|
|
66
67
|
GetJobRunResponse = Shapes::StructureShape.new(name: 'GetJobRunResponse')
|
|
68
|
+
GetResourceDashboardRequest = Shapes::StructureShape.new(name: 'GetResourceDashboardRequest')
|
|
69
|
+
GetResourceDashboardResponse = Shapes::StructureShape.new(name: 'GetResourceDashboardResponse')
|
|
70
|
+
GetSessionEndpointRequest = Shapes::StructureShape.new(name: 'GetSessionEndpointRequest')
|
|
71
|
+
GetSessionEndpointResponse = Shapes::StructureShape.new(name: 'GetSessionEndpointResponse')
|
|
72
|
+
GetSessionRequest = Shapes::StructureShape.new(name: 'GetSessionRequest')
|
|
73
|
+
GetSessionResponse = Shapes::StructureShape.new(name: 'GetSessionResponse')
|
|
67
74
|
Hive = Shapes::StructureShape.new(name: 'Hive')
|
|
68
75
|
HiveCliParameters = Shapes::StringShape.new(name: 'HiveCliParameters')
|
|
69
76
|
IAMRoleArn = Shapes::StringShape.new(name: 'IAMRoleArn')
|
|
@@ -104,6 +111,9 @@ module Aws::EMRServerless
|
|
|
104
111
|
ListJobRunsRequest = Shapes::StructureShape.new(name: 'ListJobRunsRequest')
|
|
105
112
|
ListJobRunsRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListJobRunsRequestMaxResultsInteger')
|
|
106
113
|
ListJobRunsResponse = Shapes::StructureShape.new(name: 'ListJobRunsResponse')
|
|
114
|
+
ListSessionsRequest = Shapes::StructureShape.new(name: 'ListSessionsRequest')
|
|
115
|
+
ListSessionsRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListSessionsRequestMaxResultsInteger')
|
|
116
|
+
ListSessionsResponse = Shapes::StructureShape.new(name: 'ListSessionsResponse')
|
|
107
117
|
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
|
108
118
|
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
|
109
119
|
LogGroupName = Shapes::StringShape.new(name: 'LogGroupName')
|
|
@@ -126,7 +136,9 @@ module Aws::EMRServerless
|
|
|
126
136
|
ReleaseLabel = Shapes::StringShape.new(name: 'ReleaseLabel')
|
|
127
137
|
RequestIdentityUserArn = Shapes::StringShape.new(name: 'RequestIdentityUserArn')
|
|
128
138
|
ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
|
|
139
|
+
ResourceId = Shapes::StringShape.new(name: 'ResourceId')
|
|
129
140
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
|
141
|
+
ResourceType = Shapes::StringShape.new(name: 'ResourceType')
|
|
130
142
|
ResourceUtilization = Shapes::StructureShape.new(name: 'ResourceUtilization')
|
|
131
143
|
RetryPolicy = Shapes::StructureShape.new(name: 'RetryPolicy')
|
|
132
144
|
RetryPolicyMaxFailedAttemptsPerHourInteger = Shapes::IntegerShape.new(name: 'RetryPolicyMaxFailedAttemptsPerHourInteger')
|
|
@@ -136,6 +148,15 @@ module Aws::EMRServerless
|
|
|
136
148
|
SecurityGroupString = Shapes::StringShape.new(name: 'SecurityGroupString')
|
|
137
149
|
SensitivePropertiesMap = Shapes::MapShape.new(name: 'SensitivePropertiesMap')
|
|
138
150
|
ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
|
|
151
|
+
Session = Shapes::StructureShape.new(name: 'Session')
|
|
152
|
+
SessionArn = Shapes::StringShape.new(name: 'SessionArn')
|
|
153
|
+
SessionAuthToken = Shapes::StringShape.new(name: 'SessionAuthToken')
|
|
154
|
+
SessionConfigurationOverrides = Shapes::StructureShape.new(name: 'SessionConfigurationOverrides')
|
|
155
|
+
SessionId = Shapes::StringShape.new(name: 'SessionId')
|
|
156
|
+
SessionState = Shapes::StringShape.new(name: 'SessionState')
|
|
157
|
+
SessionStateSet = Shapes::ListShape.new(name: 'SessionStateSet')
|
|
158
|
+
SessionSummary = Shapes::StructureShape.new(name: 'SessionSummary')
|
|
159
|
+
Sessions = Shapes::ListShape.new(name: 'Sessions')
|
|
139
160
|
ShutdownGracePeriodInSeconds = Shapes::IntegerShape.new(name: 'ShutdownGracePeriodInSeconds')
|
|
140
161
|
SparkSubmit = Shapes::StructureShape.new(name: 'SparkSubmit')
|
|
141
162
|
SparkSubmitParameters = Shapes::StringShape.new(name: 'SparkSubmitParameters')
|
|
@@ -143,6 +164,8 @@ module Aws::EMRServerless
|
|
|
143
164
|
StartApplicationResponse = Shapes::StructureShape.new(name: 'StartApplicationResponse')
|
|
144
165
|
StartJobRunRequest = Shapes::StructureShape.new(name: 'StartJobRunRequest')
|
|
145
166
|
StartJobRunResponse = Shapes::StructureShape.new(name: 'StartJobRunResponse')
|
|
167
|
+
StartSessionRequest = Shapes::StructureShape.new(name: 'StartSessionRequest')
|
|
168
|
+
StartSessionResponse = Shapes::StructureShape.new(name: 'StartSessionResponse')
|
|
146
169
|
StopApplicationRequest = Shapes::StructureShape.new(name: 'StopApplicationRequest')
|
|
147
170
|
StopApplicationResponse = Shapes::StructureShape.new(name: 'StopApplicationResponse')
|
|
148
171
|
String1024 = Shapes::StringShape.new(name: 'String1024')
|
|
@@ -155,6 +178,8 @@ module Aws::EMRServerless
|
|
|
155
178
|
TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
|
|
156
179
|
TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
|
|
157
180
|
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
|
181
|
+
TerminateSessionRequest = Shapes::StructureShape.new(name: 'TerminateSessionRequest')
|
|
182
|
+
TerminateSessionResponse = Shapes::StructureShape.new(name: 'TerminateSessionResponse')
|
|
158
183
|
TotalResourceUtilization = Shapes::StructureShape.new(name: 'TotalResourceUtilization')
|
|
159
184
|
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
|
160
185
|
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
|
@@ -316,6 +341,32 @@ module Aws::EMRServerless
|
|
|
316
341
|
GetJobRunResponse.add_member(:job_run, Shapes::ShapeRef.new(shape: JobRun, required: true, location_name: "jobRun"))
|
|
317
342
|
GetJobRunResponse.struct_class = Types::GetJobRunResponse
|
|
318
343
|
|
|
344
|
+
GetResourceDashboardRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location: "uri", location_name: "applicationId"))
|
|
345
|
+
GetResourceDashboardRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location: "querystring", location_name: "resourceId"))
|
|
346
|
+
GetResourceDashboardRequest.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, required: true, location: "querystring", location_name: "resourceType"))
|
|
347
|
+
GetResourceDashboardRequest.struct_class = Types::GetResourceDashboardRequest
|
|
348
|
+
|
|
349
|
+
GetResourceDashboardResponse.add_member(:url, Shapes::ShapeRef.new(shape: Url, location_name: "url"))
|
|
350
|
+
GetResourceDashboardResponse.struct_class = Types::GetResourceDashboardResponse
|
|
351
|
+
|
|
352
|
+
GetSessionEndpointRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location: "uri", location_name: "applicationId"))
|
|
353
|
+
GetSessionEndpointRequest.add_member(:session_id, Shapes::ShapeRef.new(shape: SessionId, required: true, location: "uri", location_name: "sessionId"))
|
|
354
|
+
GetSessionEndpointRequest.struct_class = Types::GetSessionEndpointRequest
|
|
355
|
+
|
|
356
|
+
GetSessionEndpointResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location_name: "applicationId"))
|
|
357
|
+
GetSessionEndpointResponse.add_member(:session_id, Shapes::ShapeRef.new(shape: SessionId, required: true, location_name: "sessionId"))
|
|
358
|
+
GetSessionEndpointResponse.add_member(:endpoint, Shapes::ShapeRef.new(shape: EndpointUrl, required: true, location_name: "endpoint"))
|
|
359
|
+
GetSessionEndpointResponse.add_member(:auth_token, Shapes::ShapeRef.new(shape: SessionAuthToken, required: true, location_name: "authToken"))
|
|
360
|
+
GetSessionEndpointResponse.add_member(:auth_token_expires_at, Shapes::ShapeRef.new(shape: Date, required: true, location_name: "authTokenExpiresAt"))
|
|
361
|
+
GetSessionEndpointResponse.struct_class = Types::GetSessionEndpointResponse
|
|
362
|
+
|
|
363
|
+
GetSessionRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location: "uri", location_name: "applicationId"))
|
|
364
|
+
GetSessionRequest.add_member(:session_id, Shapes::ShapeRef.new(shape: SessionId, required: true, location: "uri", location_name: "sessionId"))
|
|
365
|
+
GetSessionRequest.struct_class = Types::GetSessionRequest
|
|
366
|
+
|
|
367
|
+
GetSessionResponse.add_member(:session, Shapes::ShapeRef.new(shape: Session, required: true, location_name: "session"))
|
|
368
|
+
GetSessionResponse.struct_class = Types::GetSessionResponse
|
|
369
|
+
|
|
319
370
|
Hive.add_member(:query, Shapes::ShapeRef.new(shape: Query, required: true, location_name: "query"))
|
|
320
371
|
Hive.add_member(:init_query_file, Shapes::ShapeRef.new(shape: InitScriptPath, location_name: "initQueryFile"))
|
|
321
372
|
Hive.add_member(:parameters, Shapes::ShapeRef.new(shape: HiveCliParameters, location_name: "parameters"))
|
|
@@ -346,6 +397,7 @@ module Aws::EMRServerless
|
|
|
346
397
|
|
|
347
398
|
InteractiveConfiguration.add_member(:studio_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "studioEnabled"))
|
|
348
399
|
InteractiveConfiguration.add_member(:livy_endpoint_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "livyEndpointEnabled"))
|
|
400
|
+
InteractiveConfiguration.add_member(:session_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "sessionEnabled"))
|
|
349
401
|
InteractiveConfiguration.struct_class = Types::InteractiveConfiguration
|
|
350
402
|
|
|
351
403
|
InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String1024, required: true, location_name: "message"))
|
|
@@ -469,6 +521,18 @@ module Aws::EMRServerless
|
|
|
469
521
|
ListJobRunsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
|
470
522
|
ListJobRunsResponse.struct_class = Types::ListJobRunsResponse
|
|
471
523
|
|
|
524
|
+
ListSessionsRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location: "uri", location_name: "applicationId"))
|
|
525
|
+
ListSessionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
|
526
|
+
ListSessionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListSessionsRequestMaxResultsInteger, location: "querystring", location_name: "maxResults"))
|
|
527
|
+
ListSessionsRequest.add_member(:states, Shapes::ShapeRef.new(shape: SessionStateSet, location: "querystring", location_name: "states"))
|
|
528
|
+
ListSessionsRequest.add_member(:created_at_after, Shapes::ShapeRef.new(shape: Date, location: "querystring", location_name: "createdAtAfter"))
|
|
529
|
+
ListSessionsRequest.add_member(:created_at_before, Shapes::ShapeRef.new(shape: Date, location: "querystring", location_name: "createdAtBefore"))
|
|
530
|
+
ListSessionsRequest.struct_class = Types::ListSessionsRequest
|
|
531
|
+
|
|
532
|
+
ListSessionsResponse.add_member(:sessions, Shapes::ShapeRef.new(shape: Sessions, required: true, location_name: "sessions"))
|
|
533
|
+
ListSessionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
|
534
|
+
ListSessionsResponse.struct_class = Types::ListSessionsResponse
|
|
535
|
+
|
|
472
536
|
ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location: "uri", location_name: "resourceArn"))
|
|
473
537
|
ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
|
|
474
538
|
|
|
@@ -532,6 +596,49 @@ module Aws::EMRServerless
|
|
|
532
596
|
ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String1024, required: true, location_name: "message"))
|
|
533
597
|
ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
|
|
534
598
|
|
|
599
|
+
Session.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location_name: "applicationId"))
|
|
600
|
+
Session.add_member(:session_id, Shapes::ShapeRef.new(shape: SessionId, required: true, location_name: "sessionId"))
|
|
601
|
+
Session.add_member(:arn, Shapes::ShapeRef.new(shape: SessionArn, required: true, location_name: "arn"))
|
|
602
|
+
Session.add_member(:name, Shapes::ShapeRef.new(shape: String256, location_name: "name"))
|
|
603
|
+
Session.add_member(:state, Shapes::ShapeRef.new(shape: SessionState, required: true, location_name: "state"))
|
|
604
|
+
Session.add_member(:state_details, Shapes::ShapeRef.new(shape: String1024, required: true, location_name: "stateDetails"))
|
|
605
|
+
Session.add_member(:release_label, Shapes::ShapeRef.new(shape: ReleaseLabel, required: true, location_name: "releaseLabel"))
|
|
606
|
+
Session.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: IAMRoleArn, required: true, location_name: "executionRoleArn"))
|
|
607
|
+
Session.add_member(:created_by, Shapes::ShapeRef.new(shape: RequestIdentityUserArn, required: true, location_name: "createdBy"))
|
|
608
|
+
Session.add_member(:created_at, Shapes::ShapeRef.new(shape: Date, required: true, location_name: "createdAt"))
|
|
609
|
+
Session.add_member(:updated_at, Shapes::ShapeRef.new(shape: Date, required: true, location_name: "updatedAt"))
|
|
610
|
+
Session.add_member(:started_at, Shapes::ShapeRef.new(shape: Date, location_name: "startedAt"))
|
|
611
|
+
Session.add_member(:ended_at, Shapes::ShapeRef.new(shape: Date, location_name: "endedAt"))
|
|
612
|
+
Session.add_member(:idle_since, Shapes::ShapeRef.new(shape: Date, location_name: "idleSince"))
|
|
613
|
+
Session.add_member(:configuration_overrides, Shapes::ShapeRef.new(shape: SessionConfigurationOverrides, location_name: "configurationOverrides"))
|
|
614
|
+
Session.add_member(:network_configuration, Shapes::ShapeRef.new(shape: NetworkConfiguration, location_name: "networkConfiguration"))
|
|
615
|
+
Session.add_member(:idle_timeout_minutes, Shapes::ShapeRef.new(shape: Duration, location_name: "idleTimeoutMinutes", metadata: {"box" => true}))
|
|
616
|
+
Session.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
|
617
|
+
Session.add_member(:total_resource_utilization, Shapes::ShapeRef.new(shape: TotalResourceUtilization, location_name: "totalResourceUtilization"))
|
|
618
|
+
Session.add_member(:billed_resource_utilization, Shapes::ShapeRef.new(shape: ResourceUtilization, location_name: "billedResourceUtilization"))
|
|
619
|
+
Session.add_member(:total_execution_duration_seconds, Shapes::ShapeRef.new(shape: Long, location_name: "totalExecutionDurationSeconds"))
|
|
620
|
+
Session.struct_class = Types::Session
|
|
621
|
+
|
|
622
|
+
SessionConfigurationOverrides.add_member(:runtime_configuration, Shapes::ShapeRef.new(shape: ConfigurationList, location_name: "runtimeConfiguration"))
|
|
623
|
+
SessionConfigurationOverrides.struct_class = Types::SessionConfigurationOverrides
|
|
624
|
+
|
|
625
|
+
SessionStateSet.member = Shapes::ShapeRef.new(shape: SessionState)
|
|
626
|
+
|
|
627
|
+
SessionSummary.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location_name: "applicationId"))
|
|
628
|
+
SessionSummary.add_member(:session_id, Shapes::ShapeRef.new(shape: SessionId, required: true, location_name: "sessionId"))
|
|
629
|
+
SessionSummary.add_member(:arn, Shapes::ShapeRef.new(shape: SessionArn, required: true, location_name: "arn"))
|
|
630
|
+
SessionSummary.add_member(:name, Shapes::ShapeRef.new(shape: String256, location_name: "name"))
|
|
631
|
+
SessionSummary.add_member(:state, Shapes::ShapeRef.new(shape: SessionState, required: true, location_name: "state"))
|
|
632
|
+
SessionSummary.add_member(:state_details, Shapes::ShapeRef.new(shape: String1024, required: true, location_name: "stateDetails"))
|
|
633
|
+
SessionSummary.add_member(:release_label, Shapes::ShapeRef.new(shape: ReleaseLabel, required: true, location_name: "releaseLabel"))
|
|
634
|
+
SessionSummary.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: IAMRoleArn, required: true, location_name: "executionRoleArn"))
|
|
635
|
+
SessionSummary.add_member(:created_by, Shapes::ShapeRef.new(shape: RequestIdentityUserArn, required: true, location_name: "createdBy"))
|
|
636
|
+
SessionSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: Date, required: true, location_name: "createdAt"))
|
|
637
|
+
SessionSummary.add_member(:updated_at, Shapes::ShapeRef.new(shape: Date, required: true, location_name: "updatedAt"))
|
|
638
|
+
SessionSummary.struct_class = Types::SessionSummary
|
|
639
|
+
|
|
640
|
+
Sessions.member = Shapes::ShapeRef.new(shape: SessionSummary)
|
|
641
|
+
|
|
535
642
|
SparkSubmit.add_member(:entry_point, Shapes::ShapeRef.new(shape: EntryPointPath, required: true, location_name: "entryPoint"))
|
|
536
643
|
SparkSubmit.add_member(:entry_point_arguments, Shapes::ShapeRef.new(shape: EntryPointArguments, location_name: "entryPointArguments"))
|
|
537
644
|
SparkSubmit.add_member(:spark_submit_parameters, Shapes::ShapeRef.new(shape: SparkSubmitParameters, location_name: "sparkSubmitParameters"))
|
|
@@ -560,6 +667,20 @@ module Aws::EMRServerless
|
|
|
560
667
|
StartJobRunResponse.add_member(:arn, Shapes::ShapeRef.new(shape: JobArn, required: true, location_name: "arn"))
|
|
561
668
|
StartJobRunResponse.struct_class = Types::StartJobRunResponse
|
|
562
669
|
|
|
670
|
+
StartSessionRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location: "uri", location_name: "applicationId"))
|
|
671
|
+
StartSessionRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, required: true, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
|
672
|
+
StartSessionRequest.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: IAMRoleArn, required: true, location_name: "executionRoleArn"))
|
|
673
|
+
StartSessionRequest.add_member(:configuration_overrides, Shapes::ShapeRef.new(shape: SessionConfigurationOverrides, location_name: "configurationOverrides"))
|
|
674
|
+
StartSessionRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
|
675
|
+
StartSessionRequest.add_member(:idle_timeout_minutes, Shapes::ShapeRef.new(shape: Duration, location_name: "idleTimeoutMinutes", metadata: {"box" => true}))
|
|
676
|
+
StartSessionRequest.add_member(:name, Shapes::ShapeRef.new(shape: String256, location_name: "name"))
|
|
677
|
+
StartSessionRequest.struct_class = Types::StartSessionRequest
|
|
678
|
+
|
|
679
|
+
StartSessionResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location_name: "applicationId"))
|
|
680
|
+
StartSessionResponse.add_member(:session_id, Shapes::ShapeRef.new(shape: SessionId, required: true, location_name: "sessionId"))
|
|
681
|
+
StartSessionResponse.add_member(:arn, Shapes::ShapeRef.new(shape: SessionArn, required: true, location_name: "arn"))
|
|
682
|
+
StartSessionResponse.struct_class = Types::StartSessionResponse
|
|
683
|
+
|
|
563
684
|
StopApplicationRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location: "uri", location_name: "applicationId"))
|
|
564
685
|
StopApplicationRequest.struct_class = Types::StopApplicationRequest
|
|
565
686
|
|
|
@@ -578,6 +699,14 @@ module Aws::EMRServerless
|
|
|
578
699
|
|
|
579
700
|
TagResourceResponse.struct_class = Types::TagResourceResponse
|
|
580
701
|
|
|
702
|
+
TerminateSessionRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location: "uri", location_name: "applicationId"))
|
|
703
|
+
TerminateSessionRequest.add_member(:session_id, Shapes::ShapeRef.new(shape: SessionId, required: true, location: "uri", location_name: "sessionId"))
|
|
704
|
+
TerminateSessionRequest.struct_class = Types::TerminateSessionRequest
|
|
705
|
+
|
|
706
|
+
TerminateSessionResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location_name: "applicationId"))
|
|
707
|
+
TerminateSessionResponse.add_member(:session_id, Shapes::ShapeRef.new(shape: SessionId, required: true, location_name: "sessionId"))
|
|
708
|
+
TerminateSessionResponse.struct_class = Types::TerminateSessionResponse
|
|
709
|
+
|
|
581
710
|
TotalResourceUtilization.add_member(:v_cpu_hour, Shapes::ShapeRef.new(shape: Double, location_name: "vCPUHour"))
|
|
582
711
|
TotalResourceUtilization.add_member(:memory_gb_hour, Shapes::ShapeRef.new(shape: Double, location_name: "memoryGBHour"))
|
|
583
712
|
TotalResourceUtilization.add_member(:storage_gb_hour, Shapes::ShapeRef.new(shape: Double, location_name: "storageGBHour"))
|
|
@@ -719,6 +848,39 @@ module Aws::EMRServerless
|
|
|
719
848
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
720
849
|
end)
|
|
721
850
|
|
|
851
|
+
api.add_operation(:get_resource_dashboard, Seahorse::Model::Operation.new.tap do |o|
|
|
852
|
+
o.name = "GetResourceDashboard"
|
|
853
|
+
o.http_method = "GET"
|
|
854
|
+
o.http_request_uri = "/applications/{applicationId}/dashboard"
|
|
855
|
+
o.input = Shapes::ShapeRef.new(shape: GetResourceDashboardRequest)
|
|
856
|
+
o.output = Shapes::ShapeRef.new(shape: GetResourceDashboardResponse)
|
|
857
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
858
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
859
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
860
|
+
end)
|
|
861
|
+
|
|
862
|
+
api.add_operation(:get_session, Seahorse::Model::Operation.new.tap do |o|
|
|
863
|
+
o.name = "GetSession"
|
|
864
|
+
o.http_method = "GET"
|
|
865
|
+
o.http_request_uri = "/applications/{applicationId}/sessions/{sessionId}"
|
|
866
|
+
o.input = Shapes::ShapeRef.new(shape: GetSessionRequest)
|
|
867
|
+
o.output = Shapes::ShapeRef.new(shape: GetSessionResponse)
|
|
868
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
869
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
870
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
871
|
+
end)
|
|
872
|
+
|
|
873
|
+
api.add_operation(:get_session_endpoint, Seahorse::Model::Operation.new.tap do |o|
|
|
874
|
+
o.name = "GetSessionEndpoint"
|
|
875
|
+
o.http_method = "GET"
|
|
876
|
+
o.http_request_uri = "/applications/{applicationId}/sessions/{sessionId}/endpoint"
|
|
877
|
+
o.input = Shapes::ShapeRef.new(shape: GetSessionEndpointRequest)
|
|
878
|
+
o.output = Shapes::ShapeRef.new(shape: GetSessionEndpointResponse)
|
|
879
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
880
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
881
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
882
|
+
end)
|
|
883
|
+
|
|
722
884
|
api.add_operation(:list_applications, Seahorse::Model::Operation.new.tap do |o|
|
|
723
885
|
o.name = "ListApplications"
|
|
724
886
|
o.http_method = "GET"
|
|
@@ -768,6 +930,23 @@ module Aws::EMRServerless
|
|
|
768
930
|
)
|
|
769
931
|
end)
|
|
770
932
|
|
|
933
|
+
api.add_operation(:list_sessions, Seahorse::Model::Operation.new.tap do |o|
|
|
934
|
+
o.name = "ListSessions"
|
|
935
|
+
o.http_method = "GET"
|
|
936
|
+
o.http_request_uri = "/applications/{applicationId}/sessions"
|
|
937
|
+
o.input = Shapes::ShapeRef.new(shape: ListSessionsRequest)
|
|
938
|
+
o.output = Shapes::ShapeRef.new(shape: ListSessionsResponse)
|
|
939
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
940
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
941
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
942
|
+
o[:pager] = Aws::Pager.new(
|
|
943
|
+
limit_key: "max_results",
|
|
944
|
+
tokens: {
|
|
945
|
+
"next_token" => "next_token"
|
|
946
|
+
}
|
|
947
|
+
)
|
|
948
|
+
end)
|
|
949
|
+
|
|
771
950
|
api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
|
|
772
951
|
o.name = "ListTagsForResource"
|
|
773
952
|
o.http_method = "GET"
|
|
@@ -803,6 +982,19 @@ module Aws::EMRServerless
|
|
|
803
982
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
|
804
983
|
end)
|
|
805
984
|
|
|
985
|
+
api.add_operation(:start_session, Seahorse::Model::Operation.new.tap do |o|
|
|
986
|
+
o.name = "StartSession"
|
|
987
|
+
o.http_method = "POST"
|
|
988
|
+
o.http_request_uri = "/applications/{applicationId}/sessions"
|
|
989
|
+
o.input = Shapes::ShapeRef.new(shape: StartSessionRequest)
|
|
990
|
+
o.output = Shapes::ShapeRef.new(shape: StartSessionResponse)
|
|
991
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
992
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
993
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
994
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
|
995
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
|
996
|
+
end)
|
|
997
|
+
|
|
806
998
|
api.add_operation(:stop_application, Seahorse::Model::Operation.new.tap do |o|
|
|
807
999
|
o.name = "StopApplication"
|
|
808
1000
|
o.http_method = "POST"
|
|
@@ -825,6 +1017,17 @@ module Aws::EMRServerless
|
|
|
825
1017
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
826
1018
|
end)
|
|
827
1019
|
|
|
1020
|
+
api.add_operation(:terminate_session, Seahorse::Model::Operation.new.tap do |o|
|
|
1021
|
+
o.name = "TerminateSession"
|
|
1022
|
+
o.http_method = "DELETE"
|
|
1023
|
+
o.http_request_uri = "/applications/{applicationId}/sessions/{sessionId}"
|
|
1024
|
+
o.input = Shapes::ShapeRef.new(shape: TerminateSessionRequest)
|
|
1025
|
+
o.output = Shapes::ShapeRef.new(shape: TerminateSessionResponse)
|
|
1026
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
1027
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
1028
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
1029
|
+
end)
|
|
1030
|
+
|
|
828
1031
|
api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
|
|
829
1032
|
o.name = "UntagResource"
|
|
830
1033
|
o.http_method = "DELETE"
|