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
|
@@ -718,6 +718,122 @@ module Aws::EMRServerless
|
|
|
718
718
|
include Aws::Structure
|
|
719
719
|
end
|
|
720
720
|
|
|
721
|
+
# @!attribute [rw] application_id
|
|
722
|
+
# The ID of the application that the resource belongs to.
|
|
723
|
+
# @return [String]
|
|
724
|
+
#
|
|
725
|
+
# @!attribute [rw] resource_id
|
|
726
|
+
# The ID of the resource.
|
|
727
|
+
# @return [String]
|
|
728
|
+
#
|
|
729
|
+
# @!attribute [rw] resource_type
|
|
730
|
+
# The type of resource to access the dashboard for. Currently, only
|
|
731
|
+
# `Session` is supported.
|
|
732
|
+
# @return [String]
|
|
733
|
+
#
|
|
734
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/GetResourceDashboardRequest AWS API Documentation
|
|
735
|
+
#
|
|
736
|
+
class GetResourceDashboardRequest < Struct.new(
|
|
737
|
+
:application_id,
|
|
738
|
+
:resource_id,
|
|
739
|
+
:resource_type)
|
|
740
|
+
SENSITIVE = []
|
|
741
|
+
include Aws::Structure
|
|
742
|
+
end
|
|
743
|
+
|
|
744
|
+
# @!attribute [rw] url
|
|
745
|
+
# A URL to the resource dashboard. For an active resource, this URL
|
|
746
|
+
# opens the live application UI. For a terminated resource, this URL
|
|
747
|
+
# opens the persistent application UI. This value is not included in
|
|
748
|
+
# the response if the URL is not available.
|
|
749
|
+
# @return [String]
|
|
750
|
+
#
|
|
751
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/GetResourceDashboardResponse AWS API Documentation
|
|
752
|
+
#
|
|
753
|
+
class GetResourceDashboardResponse < Struct.new(
|
|
754
|
+
:url)
|
|
755
|
+
SENSITIVE = []
|
|
756
|
+
include Aws::Structure
|
|
757
|
+
end
|
|
758
|
+
|
|
759
|
+
# @!attribute [rw] application_id
|
|
760
|
+
# The ID of the application that the session belongs to.
|
|
761
|
+
# @return [String]
|
|
762
|
+
#
|
|
763
|
+
# @!attribute [rw] session_id
|
|
764
|
+
# The ID of the session.
|
|
765
|
+
# @return [String]
|
|
766
|
+
#
|
|
767
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/GetSessionEndpointRequest AWS API Documentation
|
|
768
|
+
#
|
|
769
|
+
class GetSessionEndpointRequest < Struct.new(
|
|
770
|
+
:application_id,
|
|
771
|
+
:session_id)
|
|
772
|
+
SENSITIVE = []
|
|
773
|
+
include Aws::Structure
|
|
774
|
+
end
|
|
775
|
+
|
|
776
|
+
# @!attribute [rw] application_id
|
|
777
|
+
# The output contains the ID of the application.
|
|
778
|
+
# @return [String]
|
|
779
|
+
#
|
|
780
|
+
# @!attribute [rw] session_id
|
|
781
|
+
# The output contains the ID of the session.
|
|
782
|
+
# @return [String]
|
|
783
|
+
#
|
|
784
|
+
# @!attribute [rw] endpoint
|
|
785
|
+
# The endpoint URL for connecting to the session.
|
|
786
|
+
# @return [String]
|
|
787
|
+
#
|
|
788
|
+
# @!attribute [rw] auth_token
|
|
789
|
+
# Authentication token for accessing the session endpoint.
|
|
790
|
+
# @return [String]
|
|
791
|
+
#
|
|
792
|
+
# @!attribute [rw] auth_token_expires_at
|
|
793
|
+
# The expiration time of the authentication token.
|
|
794
|
+
# @return [Time]
|
|
795
|
+
#
|
|
796
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/GetSessionEndpointResponse AWS API Documentation
|
|
797
|
+
#
|
|
798
|
+
class GetSessionEndpointResponse < Struct.new(
|
|
799
|
+
:application_id,
|
|
800
|
+
:session_id,
|
|
801
|
+
:endpoint,
|
|
802
|
+
:auth_token,
|
|
803
|
+
:auth_token_expires_at)
|
|
804
|
+
SENSITIVE = [:auth_token]
|
|
805
|
+
include Aws::Structure
|
|
806
|
+
end
|
|
807
|
+
|
|
808
|
+
# @!attribute [rw] application_id
|
|
809
|
+
# The ID of the application that the session belongs to.
|
|
810
|
+
# @return [String]
|
|
811
|
+
#
|
|
812
|
+
# @!attribute [rw] session_id
|
|
813
|
+
# The ID of the session.
|
|
814
|
+
# @return [String]
|
|
815
|
+
#
|
|
816
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/GetSessionRequest AWS API Documentation
|
|
817
|
+
#
|
|
818
|
+
class GetSessionRequest < Struct.new(
|
|
819
|
+
:application_id,
|
|
820
|
+
:session_id)
|
|
821
|
+
SENSITIVE = []
|
|
822
|
+
include Aws::Structure
|
|
823
|
+
end
|
|
824
|
+
|
|
825
|
+
# @!attribute [rw] session
|
|
826
|
+
# The output displays information about the session.
|
|
827
|
+
# @return [Types::Session]
|
|
828
|
+
#
|
|
829
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/GetSessionResponse AWS API Documentation
|
|
830
|
+
#
|
|
831
|
+
class GetSessionResponse < Struct.new(
|
|
832
|
+
:session)
|
|
833
|
+
SENSITIVE = []
|
|
834
|
+
include Aws::Structure
|
|
835
|
+
end
|
|
836
|
+
|
|
721
837
|
# The configurations for the Hive job driver.
|
|
722
838
|
#
|
|
723
839
|
# @!attribute [rw] query
|
|
@@ -865,11 +981,18 @@ module Aws::EMRServerless
|
|
|
865
981
|
# interactive jobs.
|
|
866
982
|
# @return [Boolean]
|
|
867
983
|
#
|
|
984
|
+
# @!attribute [rw] session_enabled
|
|
985
|
+
# Enables interactive sessions on the application. When set to `true`,
|
|
986
|
+
# you can start interactive sessions using the `StartSession`
|
|
987
|
+
# operation.
|
|
988
|
+
# @return [Boolean]
|
|
989
|
+
#
|
|
868
990
|
# @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/InteractiveConfiguration AWS API Documentation
|
|
869
991
|
#
|
|
870
992
|
class InteractiveConfiguration < Struct.new(
|
|
871
993
|
:studio_enabled,
|
|
872
|
-
:livy_endpoint_enabled
|
|
994
|
+
:livy_endpoint_enabled,
|
|
995
|
+
:session_enabled)
|
|
873
996
|
SENSITIVE = []
|
|
874
997
|
include Aws::Structure
|
|
875
998
|
end
|
|
@@ -1445,6 +1568,64 @@ module Aws::EMRServerless
|
|
|
1445
1568
|
include Aws::Structure
|
|
1446
1569
|
end
|
|
1447
1570
|
|
|
1571
|
+
# @!attribute [rw] application_id
|
|
1572
|
+
# The ID of the application to list sessions for.
|
|
1573
|
+
# @return [String]
|
|
1574
|
+
#
|
|
1575
|
+
# @!attribute [rw] next_token
|
|
1576
|
+
# The token for the next set of session results.
|
|
1577
|
+
# @return [String]
|
|
1578
|
+
#
|
|
1579
|
+
# @!attribute [rw] max_results
|
|
1580
|
+
# The maximum number of sessions to return in each page of results.
|
|
1581
|
+
# @return [Integer]
|
|
1582
|
+
#
|
|
1583
|
+
# @!attribute [rw] states
|
|
1584
|
+
# An optional filter for session states. Note that if this filter
|
|
1585
|
+
# contains multiple states, the resulting list will be grouped by the
|
|
1586
|
+
# state.
|
|
1587
|
+
# @return [Array<String>]
|
|
1588
|
+
#
|
|
1589
|
+
# @!attribute [rw] created_at_after
|
|
1590
|
+
# The lower bound of the option to filter by creation date and time.
|
|
1591
|
+
# @return [Time]
|
|
1592
|
+
#
|
|
1593
|
+
# @!attribute [rw] created_at_before
|
|
1594
|
+
# The upper bound of the option to filter by creation date and time.
|
|
1595
|
+
# @return [Time]
|
|
1596
|
+
#
|
|
1597
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/ListSessionsRequest AWS API Documentation
|
|
1598
|
+
#
|
|
1599
|
+
class ListSessionsRequest < Struct.new(
|
|
1600
|
+
:application_id,
|
|
1601
|
+
:next_token,
|
|
1602
|
+
:max_results,
|
|
1603
|
+
:states,
|
|
1604
|
+
:created_at_after,
|
|
1605
|
+
:created_at_before)
|
|
1606
|
+
SENSITIVE = []
|
|
1607
|
+
include Aws::Structure
|
|
1608
|
+
end
|
|
1609
|
+
|
|
1610
|
+
# @!attribute [rw] sessions
|
|
1611
|
+
# The output lists information about the specified sessions.
|
|
1612
|
+
# @return [Array<Types::SessionSummary>]
|
|
1613
|
+
#
|
|
1614
|
+
# @!attribute [rw] next_token
|
|
1615
|
+
# The output displays the token for the next set of session results.
|
|
1616
|
+
# This is required for pagination and is available as a response of
|
|
1617
|
+
# the previous request.
|
|
1618
|
+
# @return [String]
|
|
1619
|
+
#
|
|
1620
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/ListSessionsResponse AWS API Documentation
|
|
1621
|
+
#
|
|
1622
|
+
class ListSessionsResponse < Struct.new(
|
|
1623
|
+
:sessions,
|
|
1624
|
+
:next_token)
|
|
1625
|
+
SENSITIVE = []
|
|
1626
|
+
include Aws::Structure
|
|
1627
|
+
end
|
|
1628
|
+
|
|
1448
1629
|
# @!attribute [rw] resource_arn
|
|
1449
1630
|
# The Amazon Resource Name (ARN) that identifies the resource to list
|
|
1450
1631
|
# the tags for. Currently, the supported resources are Amazon EMR
|
|
@@ -1702,6 +1883,211 @@ module Aws::EMRServerless
|
|
|
1702
1883
|
include Aws::Structure
|
|
1703
1884
|
end
|
|
1704
1885
|
|
|
1886
|
+
# Information about a session, including the session state,
|
|
1887
|
+
# configuration, and timestamps.
|
|
1888
|
+
#
|
|
1889
|
+
# @!attribute [rw] application_id
|
|
1890
|
+
# The ID of the application that the session belongs to.
|
|
1891
|
+
# @return [String]
|
|
1892
|
+
#
|
|
1893
|
+
# @!attribute [rw] session_id
|
|
1894
|
+
# The ID of the session.
|
|
1895
|
+
# @return [String]
|
|
1896
|
+
#
|
|
1897
|
+
# @!attribute [rw] arn
|
|
1898
|
+
# The Amazon Resource Name (ARN) of the session.
|
|
1899
|
+
# @return [String]
|
|
1900
|
+
#
|
|
1901
|
+
# @!attribute [rw] name
|
|
1902
|
+
# The optional name of the session.
|
|
1903
|
+
# @return [String]
|
|
1904
|
+
#
|
|
1905
|
+
# @!attribute [rw] state
|
|
1906
|
+
# The state of the session.
|
|
1907
|
+
# @return [String]
|
|
1908
|
+
#
|
|
1909
|
+
# @!attribute [rw] state_details
|
|
1910
|
+
# Additional details about the current state of the session.
|
|
1911
|
+
# @return [String]
|
|
1912
|
+
#
|
|
1913
|
+
# @!attribute [rw] release_label
|
|
1914
|
+
# The Amazon EMR release label associated with the session.
|
|
1915
|
+
# @return [String]
|
|
1916
|
+
#
|
|
1917
|
+
# @!attribute [rw] execution_role_arn
|
|
1918
|
+
# The Amazon Resource Name (ARN) of the execution role for the
|
|
1919
|
+
# session.
|
|
1920
|
+
# @return [String]
|
|
1921
|
+
#
|
|
1922
|
+
# @!attribute [rw] created_by
|
|
1923
|
+
# The IAM principal that created the session.
|
|
1924
|
+
# @return [String]
|
|
1925
|
+
#
|
|
1926
|
+
# @!attribute [rw] created_at
|
|
1927
|
+
# The date and time that the session was created.
|
|
1928
|
+
# @return [Time]
|
|
1929
|
+
#
|
|
1930
|
+
# @!attribute [rw] updated_at
|
|
1931
|
+
# The date and time that the session was last updated.
|
|
1932
|
+
# @return [Time]
|
|
1933
|
+
#
|
|
1934
|
+
# @!attribute [rw] started_at
|
|
1935
|
+
# The date and time that the session moved to a running state.
|
|
1936
|
+
# @return [Time]
|
|
1937
|
+
#
|
|
1938
|
+
# @!attribute [rw] ended_at
|
|
1939
|
+
# The date and time that the session was terminated or failed.
|
|
1940
|
+
# @return [Time]
|
|
1941
|
+
#
|
|
1942
|
+
# @!attribute [rw] idle_since
|
|
1943
|
+
# The date and time that the session became idle.
|
|
1944
|
+
# @return [Time]
|
|
1945
|
+
#
|
|
1946
|
+
# @!attribute [rw] configuration_overrides
|
|
1947
|
+
# The configuration overrides for the session, including runtime
|
|
1948
|
+
# configuration properties.
|
|
1949
|
+
# @return [Types::SessionConfigurationOverrides]
|
|
1950
|
+
#
|
|
1951
|
+
# @!attribute [rw] network_configuration
|
|
1952
|
+
# The network configuration for customer VPC connectivity for the
|
|
1953
|
+
# session.
|
|
1954
|
+
# @return [Types::NetworkConfiguration]
|
|
1955
|
+
#
|
|
1956
|
+
# @!attribute [rw] idle_timeout_minutes
|
|
1957
|
+
# The idle timeout in minutes for the session. After the session
|
|
1958
|
+
# remains idle for this duration, it is automatically terminated.
|
|
1959
|
+
# @return [Integer]
|
|
1960
|
+
#
|
|
1961
|
+
# @!attribute [rw] tags
|
|
1962
|
+
# The tags assigned to the session.
|
|
1963
|
+
# @return [Hash<String,String>]
|
|
1964
|
+
#
|
|
1965
|
+
# @!attribute [rw] total_resource_utilization
|
|
1966
|
+
# The aggregate vCPU, memory, and storage resources used from the time
|
|
1967
|
+
# the session starts to execute, until the time the session
|
|
1968
|
+
# terminates, rounded up to the nearest second.
|
|
1969
|
+
# @return [Types::TotalResourceUtilization]
|
|
1970
|
+
#
|
|
1971
|
+
# @!attribute [rw] billed_resource_utilization
|
|
1972
|
+
# The aggregate vCPU, memory, and storage that Amazon Web Services has
|
|
1973
|
+
# billed for the session. The billed resources include a 1-minute
|
|
1974
|
+
# minimum usage for workers, plus additional storage over 20 GB per
|
|
1975
|
+
# worker. Note that billed resources do not include usage for idle
|
|
1976
|
+
# pre-initialized workers.
|
|
1977
|
+
# @return [Types::ResourceUtilization]
|
|
1978
|
+
#
|
|
1979
|
+
# @!attribute [rw] total_execution_duration_seconds
|
|
1980
|
+
# The total execution duration of the session in seconds.
|
|
1981
|
+
# @return [Integer]
|
|
1982
|
+
#
|
|
1983
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/Session AWS API Documentation
|
|
1984
|
+
#
|
|
1985
|
+
class Session < Struct.new(
|
|
1986
|
+
:application_id,
|
|
1987
|
+
:session_id,
|
|
1988
|
+
:arn,
|
|
1989
|
+
:name,
|
|
1990
|
+
:state,
|
|
1991
|
+
:state_details,
|
|
1992
|
+
:release_label,
|
|
1993
|
+
:execution_role_arn,
|
|
1994
|
+
:created_by,
|
|
1995
|
+
:created_at,
|
|
1996
|
+
:updated_at,
|
|
1997
|
+
:started_at,
|
|
1998
|
+
:ended_at,
|
|
1999
|
+
:idle_since,
|
|
2000
|
+
:configuration_overrides,
|
|
2001
|
+
:network_configuration,
|
|
2002
|
+
:idle_timeout_minutes,
|
|
2003
|
+
:tags,
|
|
2004
|
+
:total_resource_utilization,
|
|
2005
|
+
:billed_resource_utilization,
|
|
2006
|
+
:total_execution_duration_seconds)
|
|
2007
|
+
SENSITIVE = []
|
|
2008
|
+
include Aws::Structure
|
|
2009
|
+
end
|
|
2010
|
+
|
|
2011
|
+
# The configuration overrides for a session.
|
|
2012
|
+
#
|
|
2013
|
+
# @!attribute [rw] runtime_configuration
|
|
2014
|
+
# The runtime configuration for the session. Contains Spark
|
|
2015
|
+
# configuration properties specified at session creation time.
|
|
2016
|
+
# @return [Array<Types::Configuration>]
|
|
2017
|
+
#
|
|
2018
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/SessionConfigurationOverrides AWS API Documentation
|
|
2019
|
+
#
|
|
2020
|
+
class SessionConfigurationOverrides < Struct.new(
|
|
2021
|
+
:runtime_configuration)
|
|
2022
|
+
SENSITIVE = []
|
|
2023
|
+
include Aws::Structure
|
|
2024
|
+
end
|
|
2025
|
+
|
|
2026
|
+
# The summary of attributes associated with a session.
|
|
2027
|
+
#
|
|
2028
|
+
# @!attribute [rw] application_id
|
|
2029
|
+
# The ID of the application that the session belongs to.
|
|
2030
|
+
# @return [String]
|
|
2031
|
+
#
|
|
2032
|
+
# @!attribute [rw] session_id
|
|
2033
|
+
# The ID of the session.
|
|
2034
|
+
# @return [String]
|
|
2035
|
+
#
|
|
2036
|
+
# @!attribute [rw] arn
|
|
2037
|
+
# The Amazon Resource Name (ARN) of the session.
|
|
2038
|
+
# @return [String]
|
|
2039
|
+
#
|
|
2040
|
+
# @!attribute [rw] name
|
|
2041
|
+
# The optional name of the session.
|
|
2042
|
+
# @return [String]
|
|
2043
|
+
#
|
|
2044
|
+
# @!attribute [rw] state
|
|
2045
|
+
# The state of the session.
|
|
2046
|
+
# @return [String]
|
|
2047
|
+
#
|
|
2048
|
+
# @!attribute [rw] state_details
|
|
2049
|
+
# Additional details about the current state of the session.
|
|
2050
|
+
# @return [String]
|
|
2051
|
+
#
|
|
2052
|
+
# @!attribute [rw] release_label
|
|
2053
|
+
# The Amazon EMR release label associated with the session.
|
|
2054
|
+
# @return [String]
|
|
2055
|
+
#
|
|
2056
|
+
# @!attribute [rw] execution_role_arn
|
|
2057
|
+
# The Amazon Resource Name (ARN) of the execution role for the
|
|
2058
|
+
# session.
|
|
2059
|
+
# @return [String]
|
|
2060
|
+
#
|
|
2061
|
+
# @!attribute [rw] created_by
|
|
2062
|
+
# The IAM principal that created the session.
|
|
2063
|
+
# @return [String]
|
|
2064
|
+
#
|
|
2065
|
+
# @!attribute [rw] created_at
|
|
2066
|
+
# The date and time that the session was created.
|
|
2067
|
+
# @return [Time]
|
|
2068
|
+
#
|
|
2069
|
+
# @!attribute [rw] updated_at
|
|
2070
|
+
# The date and time that the session was last updated.
|
|
2071
|
+
# @return [Time]
|
|
2072
|
+
#
|
|
2073
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/SessionSummary AWS API Documentation
|
|
2074
|
+
#
|
|
2075
|
+
class SessionSummary < Struct.new(
|
|
2076
|
+
:application_id,
|
|
2077
|
+
:session_id,
|
|
2078
|
+
:arn,
|
|
2079
|
+
:name,
|
|
2080
|
+
:state,
|
|
2081
|
+
:state_details,
|
|
2082
|
+
:release_label,
|
|
2083
|
+
:execution_role_arn,
|
|
2084
|
+
:created_by,
|
|
2085
|
+
:created_at,
|
|
2086
|
+
:updated_at)
|
|
2087
|
+
SENSITIVE = []
|
|
2088
|
+
include Aws::Structure
|
|
2089
|
+
end
|
|
2090
|
+
|
|
1705
2091
|
# The configurations for the Spark submit job driver.
|
|
1706
2092
|
#
|
|
1707
2093
|
# @!attribute [rw] entry_point
|
|
@@ -1834,6 +2220,82 @@ module Aws::EMRServerless
|
|
|
1834
2220
|
include Aws::Structure
|
|
1835
2221
|
end
|
|
1836
2222
|
|
|
2223
|
+
# @!attribute [rw] application_id
|
|
2224
|
+
# The ID of the application on which to start the session.
|
|
2225
|
+
# @return [String]
|
|
2226
|
+
#
|
|
2227
|
+
# @!attribute [rw] client_token
|
|
2228
|
+
# A unique, case-sensitive identifier that you provide to ensure the
|
|
2229
|
+
# idempotency of the request. If you retry a request that completed
|
|
2230
|
+
# successfully using the same client token, the server returns the
|
|
2231
|
+
# successful response without performing the operation again.
|
|
2232
|
+
#
|
|
2233
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
2234
|
+
# not need to pass this option.
|
|
2235
|
+
# @return [String]
|
|
2236
|
+
#
|
|
2237
|
+
# @!attribute [rw] execution_role_arn
|
|
2238
|
+
# The execution role ARN for the session. Amazon EMR Serverless uses
|
|
2239
|
+
# this role to access Amazon Web Services resources on your behalf
|
|
2240
|
+
# during session execution.
|
|
2241
|
+
# @return [String]
|
|
2242
|
+
#
|
|
2243
|
+
# @!attribute [rw] configuration_overrides
|
|
2244
|
+
# The configuration overrides for the session. Only runtime
|
|
2245
|
+
# configuration overrides are supported.
|
|
2246
|
+
# @return [Types::SessionConfigurationOverrides]
|
|
2247
|
+
#
|
|
2248
|
+
# @!attribute [rw] tags
|
|
2249
|
+
# The tags to assign to the session.
|
|
2250
|
+
# @return [Hash<String,String>]
|
|
2251
|
+
#
|
|
2252
|
+
# @!attribute [rw] idle_timeout_minutes
|
|
2253
|
+
# The idle timeout in minutes for the session. After the session
|
|
2254
|
+
# remains idle for this duration, Amazon EMR Serverless automatically
|
|
2255
|
+
# terminates it.
|
|
2256
|
+
# @return [Integer]
|
|
2257
|
+
#
|
|
2258
|
+
# @!attribute [rw] name
|
|
2259
|
+
# The optional name for the session.
|
|
2260
|
+
# @return [String]
|
|
2261
|
+
#
|
|
2262
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/StartSessionRequest AWS API Documentation
|
|
2263
|
+
#
|
|
2264
|
+
class StartSessionRequest < Struct.new(
|
|
2265
|
+
:application_id,
|
|
2266
|
+
:client_token,
|
|
2267
|
+
:execution_role_arn,
|
|
2268
|
+
:configuration_overrides,
|
|
2269
|
+
:tags,
|
|
2270
|
+
:idle_timeout_minutes,
|
|
2271
|
+
:name)
|
|
2272
|
+
SENSITIVE = []
|
|
2273
|
+
include Aws::Structure
|
|
2274
|
+
end
|
|
2275
|
+
|
|
2276
|
+
# @!attribute [rw] application_id
|
|
2277
|
+
# The output contains the application ID on which the session was
|
|
2278
|
+
# started.
|
|
2279
|
+
# @return [String]
|
|
2280
|
+
#
|
|
2281
|
+
# @!attribute [rw] session_id
|
|
2282
|
+
# The output contains the ID of the session.
|
|
2283
|
+
# @return [String]
|
|
2284
|
+
#
|
|
2285
|
+
# @!attribute [rw] arn
|
|
2286
|
+
# The output contains the ARN of the session.
|
|
2287
|
+
# @return [String]
|
|
2288
|
+
#
|
|
2289
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/StartSessionResponse AWS API Documentation
|
|
2290
|
+
#
|
|
2291
|
+
class StartSessionResponse < Struct.new(
|
|
2292
|
+
:application_id,
|
|
2293
|
+
:session_id,
|
|
2294
|
+
:arn)
|
|
2295
|
+
SENSITIVE = []
|
|
2296
|
+
include Aws::Structure
|
|
2297
|
+
end
|
|
2298
|
+
|
|
1837
2299
|
# @!attribute [rw] application_id
|
|
1838
2300
|
# The ID of the application to stop.
|
|
1839
2301
|
# @return [String]
|
|
@@ -1874,6 +2336,41 @@ module Aws::EMRServerless
|
|
|
1874
2336
|
#
|
|
1875
2337
|
class TagResourceResponse < Aws::EmptyStructure; end
|
|
1876
2338
|
|
|
2339
|
+
# @!attribute [rw] application_id
|
|
2340
|
+
# The ID of the application that the session belongs to.
|
|
2341
|
+
# @return [String]
|
|
2342
|
+
#
|
|
2343
|
+
# @!attribute [rw] session_id
|
|
2344
|
+
# The ID of the session to terminate.
|
|
2345
|
+
# @return [String]
|
|
2346
|
+
#
|
|
2347
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/TerminateSessionRequest AWS API Documentation
|
|
2348
|
+
#
|
|
2349
|
+
class TerminateSessionRequest < Struct.new(
|
|
2350
|
+
:application_id,
|
|
2351
|
+
:session_id)
|
|
2352
|
+
SENSITIVE = []
|
|
2353
|
+
include Aws::Structure
|
|
2354
|
+
end
|
|
2355
|
+
|
|
2356
|
+
# @!attribute [rw] application_id
|
|
2357
|
+
# The output contains the application ID on which the session was
|
|
2358
|
+
# terminated.
|
|
2359
|
+
# @return [String]
|
|
2360
|
+
#
|
|
2361
|
+
# @!attribute [rw] session_id
|
|
2362
|
+
# The output contains the ID of the terminated session.
|
|
2363
|
+
# @return [String]
|
|
2364
|
+
#
|
|
2365
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/TerminateSessionResponse AWS API Documentation
|
|
2366
|
+
#
|
|
2367
|
+
class TerminateSessionResponse < Struct.new(
|
|
2368
|
+
:application_id,
|
|
2369
|
+
:session_id)
|
|
2370
|
+
SENSITIVE = []
|
|
2371
|
+
include Aws::Structure
|
|
2372
|
+
end
|
|
2373
|
+
|
|
1877
2374
|
# The aggregate vCPU, memory, and storage resources used from the time
|
|
1878
2375
|
# job start executing till the time job is terminated, rounded up to the
|
|
1879
2376
|
# nearest second.
|
data/sig/client.rbs
CHANGED
|
@@ -171,7 +171,8 @@ module Aws
|
|
|
171
171
|
},
|
|
172
172
|
?interactive_configuration: {
|
|
173
173
|
studio_enabled: bool?,
|
|
174
|
-
livy_endpoint_enabled: bool
|
|
174
|
+
livy_endpoint_enabled: bool?,
|
|
175
|
+
session_enabled: bool?
|
|
175
176
|
},
|
|
176
177
|
?scheduler_configuration: {
|
|
177
178
|
queue_timeout_minutes: ::Integer?,
|
|
@@ -231,6 +232,44 @@ module Aws
|
|
|
231
232
|
) -> _GetJobRunResponseSuccess
|
|
232
233
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetJobRunResponseSuccess
|
|
233
234
|
|
|
235
|
+
interface _GetResourceDashboardResponseSuccess
|
|
236
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetResourceDashboardResponse]
|
|
237
|
+
def url: () -> ::String
|
|
238
|
+
end
|
|
239
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMRServerless/Client.html#get_resource_dashboard-instance_method
|
|
240
|
+
def get_resource_dashboard: (
|
|
241
|
+
application_id: ::String,
|
|
242
|
+
resource_id: ::String,
|
|
243
|
+
resource_type: ("SESSION")
|
|
244
|
+
) -> _GetResourceDashboardResponseSuccess
|
|
245
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetResourceDashboardResponseSuccess
|
|
246
|
+
|
|
247
|
+
interface _GetSessionResponseSuccess
|
|
248
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetSessionResponse]
|
|
249
|
+
def session: () -> Types::Session
|
|
250
|
+
end
|
|
251
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMRServerless/Client.html#get_session-instance_method
|
|
252
|
+
def get_session: (
|
|
253
|
+
application_id: ::String,
|
|
254
|
+
session_id: ::String
|
|
255
|
+
) -> _GetSessionResponseSuccess
|
|
256
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSessionResponseSuccess
|
|
257
|
+
|
|
258
|
+
interface _GetSessionEndpointResponseSuccess
|
|
259
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetSessionEndpointResponse]
|
|
260
|
+
def application_id: () -> ::String
|
|
261
|
+
def session_id: () -> ::String
|
|
262
|
+
def endpoint: () -> ::String
|
|
263
|
+
def auth_token: () -> ::String
|
|
264
|
+
def auth_token_expires_at: () -> ::Time
|
|
265
|
+
end
|
|
266
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMRServerless/Client.html#get_session_endpoint-instance_method
|
|
267
|
+
def get_session_endpoint: (
|
|
268
|
+
application_id: ::String,
|
|
269
|
+
session_id: ::String
|
|
270
|
+
) -> _GetSessionEndpointResponseSuccess
|
|
271
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSessionEndpointResponseSuccess
|
|
272
|
+
|
|
234
273
|
interface _ListApplicationsResponseSuccess
|
|
235
274
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListApplicationsResponse]
|
|
236
275
|
def applications: () -> ::Array[Types::ApplicationSummary]
|
|
@@ -275,6 +314,22 @@ module Aws
|
|
|
275
314
|
) -> _ListJobRunsResponseSuccess
|
|
276
315
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListJobRunsResponseSuccess
|
|
277
316
|
|
|
317
|
+
interface _ListSessionsResponseSuccess
|
|
318
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListSessionsResponse]
|
|
319
|
+
def sessions: () -> ::Array[Types::SessionSummary]
|
|
320
|
+
def next_token: () -> ::String
|
|
321
|
+
end
|
|
322
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMRServerless/Client.html#list_sessions-instance_method
|
|
323
|
+
def list_sessions: (
|
|
324
|
+
application_id: ::String,
|
|
325
|
+
?next_token: ::String,
|
|
326
|
+
?max_results: ::Integer,
|
|
327
|
+
?states: Array[("SUBMITTED" | "STARTING" | "STARTED" | "IDLE" | "BUSY" | "FAILED" | "TERMINATING" | "TERMINATED")],
|
|
328
|
+
?created_at_after: ::Time,
|
|
329
|
+
?created_at_before: ::Time
|
|
330
|
+
) -> _ListSessionsResponseSuccess
|
|
331
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSessionsResponseSuccess
|
|
332
|
+
|
|
278
333
|
interface _ListTagsForResourceResponseSuccess
|
|
279
334
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
|
|
280
335
|
def tags: () -> ::Hash[::String, ::String]
|
|
@@ -365,6 +420,32 @@ module Aws
|
|
|
365
420
|
) -> _StartJobRunResponseSuccess
|
|
366
421
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartJobRunResponseSuccess
|
|
367
422
|
|
|
423
|
+
interface _StartSessionResponseSuccess
|
|
424
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::StartSessionResponse]
|
|
425
|
+
def application_id: () -> ::String
|
|
426
|
+
def session_id: () -> ::String
|
|
427
|
+
def arn: () -> ::String
|
|
428
|
+
end
|
|
429
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMRServerless/Client.html#start_session-instance_method
|
|
430
|
+
def start_session: (
|
|
431
|
+
application_id: ::String,
|
|
432
|
+
client_token: ::String,
|
|
433
|
+
execution_role_arn: ::String,
|
|
434
|
+
?configuration_overrides: {
|
|
435
|
+
runtime_configuration: Array[
|
|
436
|
+
{
|
|
437
|
+
classification: ::String,
|
|
438
|
+
properties: Hash[::String, ::String]?,
|
|
439
|
+
configurations: untyped?
|
|
440
|
+
},
|
|
441
|
+
]?
|
|
442
|
+
},
|
|
443
|
+
?tags: Hash[::String, ::String],
|
|
444
|
+
?idle_timeout_minutes: ::Integer,
|
|
445
|
+
?name: ::String
|
|
446
|
+
) -> _StartSessionResponseSuccess
|
|
447
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartSessionResponseSuccess
|
|
448
|
+
|
|
368
449
|
interface _StopApplicationResponseSuccess
|
|
369
450
|
include ::Seahorse::Client::_ResponseSuccess[Types::StopApplicationResponse]
|
|
370
451
|
end
|
|
@@ -384,6 +465,18 @@ module Aws
|
|
|
384
465
|
) -> _TagResourceResponseSuccess
|
|
385
466
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
|
|
386
467
|
|
|
468
|
+
interface _TerminateSessionResponseSuccess
|
|
469
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::TerminateSessionResponse]
|
|
470
|
+
def application_id: () -> ::String
|
|
471
|
+
def session_id: () -> ::String
|
|
472
|
+
end
|
|
473
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMRServerless/Client.html#terminate_session-instance_method
|
|
474
|
+
def terminate_session: (
|
|
475
|
+
application_id: ::String,
|
|
476
|
+
session_id: ::String
|
|
477
|
+
) -> _TerminateSessionResponseSuccess
|
|
478
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TerminateSessionResponseSuccess
|
|
479
|
+
|
|
387
480
|
interface _UntagResourceResponseSuccess
|
|
388
481
|
include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
|
|
389
482
|
end
|
|
@@ -438,7 +531,8 @@ module Aws
|
|
|
438
531
|
}],
|
|
439
532
|
?interactive_configuration: {
|
|
440
533
|
studio_enabled: bool?,
|
|
441
|
-
livy_endpoint_enabled: bool
|
|
534
|
+
livy_endpoint_enabled: bool?,
|
|
535
|
+
session_enabled: bool?
|
|
442
536
|
},
|
|
443
537
|
?release_label: ::String,
|
|
444
538
|
?runtime_configuration: Array[
|