aws-sdk-athena 1.79.0 → 1.81.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: 9990a60a482515dff7d6459a27252e06b4aa470f40f47807eb70f608527aac0b
4
- data.tar.gz: fb79d73ac3d0c083d4882f60ff90dea9ebd606aec00988493d6f036c2f26d211
3
+ metadata.gz: 6331310c34d6a473d4782cc38e949ec86cc54d44af3121b06303e3986154e9e5
4
+ data.tar.gz: b3eb521f51591cb5c5a2cbd707269738610f180e76580bb39d58e092a3e8c759
5
5
  SHA512:
6
- metadata.gz: bfec7f3b7762e1af334d483220deb3890370aafd9fee94461acdf085c807f29a6f6e842263ab34ef652286de9df4c5f642529cf7c448f8dd5f7482847637beca
7
- data.tar.gz: e35d73ea8bacbd637c0242860f2883a4fb863db8d4ac4ef921407c007bf0d806dfec046a62657d2bae82dcf1c31d9ec44ef40576f9e74896071b9c84ded77f4c
6
+ metadata.gz: 0167d41e0390f2c6cf8239e513a44cdae7700a32d485f37462ccfc0039680889bdd89f4854969f7e0eeb040e7ff263daceb83bcc1a26d02264bbd73e8072110d
7
+ data.tar.gz: 26074ae5bcb92ddc96ebd64bd0297b1ac31f3beda65335ae1b7f9b85bfa37beac82c7f641602648743763353a390183a8e40596a4143ce423388872215818468
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.81.0 (2024-01-26)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.80.0 (2024-01-19)
10
+ ------------------
11
+
12
+ * Feature - Introducing new NotebookS3LocationUri parameter to Athena ImportNotebook API. Payload is no longer required and either Payload or NotebookS3LocationUri needs to be provided (not both) for a successful ImportNotebook API call. If both are provided, an InvalidRequestException will be thrown.
13
+
4
14
  1.79.0 (2023-12-05)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.79.0
1
+ 1.81.0
@@ -1945,10 +1945,12 @@ module Aws::Athena
1945
1945
  req.send_request(options)
1946
1946
  end
1947
1947
 
1948
- # Imports a single `ipynb` file to a Spark enabled workgroup. The
1949
- # maximum file size that can be imported is 10 megabytes. If an `ipynb`
1950
- # file with the same name already exists in the workgroup, throws an
1951
- # error.
1948
+ # Imports a single `ipynb` file to a Spark enabled workgroup. To import
1949
+ # the notebook, the request must specify a value for either `Payload` or
1950
+ # `NoteBookS3LocationUri`. If neither is specified or both are
1951
+ # specified, an `InvalidRequestException` occurs. The maximum file size
1952
+ # that can be imported is 10 megabytes. If an `ipynb` file with the same
1953
+ # name already exists in the workgroup, throws an error.
1952
1954
  #
1953
1955
  # @option params [required, String] :work_group
1954
1956
  # The name of the Spark enabled workgroup to import the notebook to.
@@ -1956,12 +1958,17 @@ module Aws::Athena
1956
1958
  # @option params [required, String] :name
1957
1959
  # The name of the notebook to import.
1958
1960
  #
1959
- # @option params [required, String] :payload
1960
- # The notebook content to be imported.
1961
+ # @option params [String] :payload
1962
+ # The notebook content to be imported. The payload must be in `ipynb`
1963
+ # format.
1961
1964
  #
1962
1965
  # @option params [required, String] :type
1963
1966
  # The notebook content type. Currently, the only valid type is `IPYNB`.
1964
1967
  #
1968
+ # @option params [String] :notebook_s3_location_uri
1969
+ # A URI that specifies the Amazon S3 location of a notebook file in
1970
+ # `ipynb` format.
1971
+ #
1965
1972
  # @option params [String] :client_request_token
1966
1973
  # A unique case-sensitive string used to ensure the request to import
1967
1974
  # the notebook is idempotent (executes only once).
@@ -1981,8 +1988,9 @@ module Aws::Athena
1981
1988
  # resp = client.import_notebook({
1982
1989
  # work_group: "WorkGroupName", # required
1983
1990
  # name: "NotebookName", # required
1984
- # payload: "Payload", # required
1991
+ # payload: "Payload",
1985
1992
  # type: "IPYNB", # required, accepts IPYNB
1993
+ # notebook_s3_location_uri: "S3Uri",
1986
1994
  # client_request_token: "ClientRequestToken",
1987
1995
  # })
1988
1996
  #
@@ -3650,7 +3658,7 @@ module Aws::Athena
3650
3658
  params: params,
3651
3659
  config: config)
3652
3660
  context[:gem_name] = 'aws-sdk-athena'
3653
- context[:gem_version] = '1.79.0'
3661
+ context[:gem_version] = '1.81.0'
3654
3662
  Seahorse::Client::Request.new(handlers, context)
3655
3663
  end
3656
3664
 
@@ -752,8 +752,9 @@ module Aws::Athena
752
752
 
753
753
  ImportNotebookInput.add_member(:work_group, Shapes::ShapeRef.new(shape: WorkGroupName, required: true, location_name: "WorkGroup"))
754
754
  ImportNotebookInput.add_member(:name, Shapes::ShapeRef.new(shape: NotebookName, required: true, location_name: "Name"))
755
- ImportNotebookInput.add_member(:payload, Shapes::ShapeRef.new(shape: Payload, required: true, location_name: "Payload"))
755
+ ImportNotebookInput.add_member(:payload, Shapes::ShapeRef.new(shape: Payload, location_name: "Payload"))
756
756
  ImportNotebookInput.add_member(:type, Shapes::ShapeRef.new(shape: NotebookType, required: true, location_name: "Type"))
757
+ ImportNotebookInput.add_member(:notebook_s3_location_uri, Shapes::ShapeRef.new(shape: S3Uri, location_name: "NotebookS3LocationUri"))
757
758
  ImportNotebookInput.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "ClientRequestToken"))
758
759
  ImportNotebookInput.struct_class = Types::ImportNotebookInput
759
760
 
@@ -14,6 +14,7 @@ module Aws::Athena
14
14
  option(
15
15
  :endpoint_provider,
16
16
  doc_type: 'Aws::Athena::EndpointProvider',
17
+ rbs_type: 'untyped',
17
18
  docstring: 'The endpoint provider used to resolve endpoints. Any '\
18
19
  'object that responds to `#resolve_endpoint(parameters)` '\
19
20
  'where `parameters` is a Struct similar to '\
@@ -1945,7 +1945,8 @@ module Aws::Athena
1945
1945
  # @return [String]
1946
1946
  #
1947
1947
  # @!attribute [rw] payload
1948
- # The notebook content to be imported.
1948
+ # The notebook content to be imported. The payload must be in `ipynb`
1949
+ # format.
1949
1950
  # @return [String]
1950
1951
  #
1951
1952
  # @!attribute [rw] type
@@ -1953,6 +1954,11 @@ module Aws::Athena
1953
1954
  # `IPYNB`.
1954
1955
  # @return [String]
1955
1956
  #
1957
+ # @!attribute [rw] notebook_s3_location_uri
1958
+ # A URI that specifies the Amazon S3 location of a notebook file in
1959
+ # `ipynb` format.
1960
+ # @return [String]
1961
+ #
1956
1962
  # @!attribute [rw] client_request_token
1957
1963
  # A unique case-sensitive string used to ensure the request to import
1958
1964
  # the notebook is idempotent (executes only once).
@@ -1971,6 +1977,7 @@ module Aws::Athena
1971
1977
  :name,
1972
1978
  :payload,
1973
1979
  :type,
1980
+ :notebook_s3_location_uri,
1974
1981
  :client_request_token)
1975
1982
  SENSITIVE = []
1976
1983
  include Aws::Structure
@@ -4941,9 +4948,10 @@ module Aws::Athena
4941
4948
  #
4942
4949
  # @!attribute [rw] execution_role
4943
4950
  # The ARN of the execution role used to access user resources for
4944
- # Spark sessions and Identity Center enabled workgroups. This property
4945
- # applies only to Spark enabled workgroups and Identity Center enabled
4946
- # workgroups.
4951
+ # Spark sessions and IAM Identity Center enabled workgroups. This
4952
+ # property applies only to Spark enabled workgroups and IAM Identity
4953
+ # Center enabled workgroups. The property is required for IAM Identity
4954
+ # Center enabled workgroups.
4947
4955
  # @return [String]
4948
4956
  #
4949
4957
  # @!attribute [rw] customer_content_encryption_configuration
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-athena/customizations'
52
52
  # @!group service
53
53
  module Aws::Athena
54
54
 
55
- GEM_VERSION = '1.79.0'
55
+ GEM_VERSION = '1.81.0'
56
56
 
57
57
  end