aws-sdk-athena 1.79.0 → 1.80.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: 1f5d691cbe84be625ed0fdd128696b2fab544e785933545755e0a3b578e0a1d7
4
+ data.tar.gz: 514d2d90b3708547c8f4c2125804c0f648178f66d0702c162a7e6cadd6f69dcc
5
5
  SHA512:
6
- metadata.gz: bfec7f3b7762e1af334d483220deb3890370aafd9fee94461acdf085c807f29a6f6e842263ab34ef652286de9df4c5f642529cf7c448f8dd5f7482847637beca
7
- data.tar.gz: e35d73ea8bacbd637c0242860f2883a4fb863db8d4ac4ef921407c007bf0d806dfec046a62657d2bae82dcf1c31d9ec44ef40576f9e74896071b9c84ded77f4c
6
+ metadata.gz: 7719d9c6c7db4573513002ec14ccfa00fe4b864035f2746e0447e2bdebb9e4ad85008c8b47896eb58f9ee3d8793960968eb27f7c4db7ab3cad1c73d841fe1518
7
+ data.tar.gz: 62dc62497d64469a2dd043351c7b8612985366139444c4f45e77cf680171651217e859d9e7628028e2b061d2f7814d690f5a48fe0c64a36950cc4b2a30870130
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.80.0 (2024-01-19)
5
+ ------------------
6
+
7
+ * 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.
8
+
4
9
  1.79.0 (2023-12-05)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.79.0
1
+ 1.80.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.80.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
 
@@ -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.80.0'
56
56
 
57
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-athena
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.79.0
4
+ version: 1.80.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-12-05 00:00:00.000000000 Z
11
+ date: 2024-01-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -72,7 +72,7 @@ licenses:
72
72
  metadata:
73
73
  source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-athena
74
74
  changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-athena/CHANGELOG.md
75
- post_install_message:
75
+ post_install_message:
76
76
  rdoc_options: []
77
77
  require_paths:
78
78
  - lib
@@ -87,8 +87,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
87
87
  - !ruby/object:Gem::Version
88
88
  version: '0'
89
89
  requirements: []
90
- rubygems_version: 3.1.6
91
- signing_key:
90
+ rubygems_version: 3.4.10
91
+ signing_key:
92
92
  specification_version: 4
93
93
  summary: AWS SDK for Ruby - Amazon Athena
94
94
  test_files: []