aws-sdk-glue 1.16.0 → 1.17.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6e1369a902f2b710525b6ea11df977932debea23
4
- data.tar.gz: 63bbcf71a2767cfb3e7821a459cb6df45154864d
3
+ metadata.gz: 0aa7510864940d4640d54626d728e28f44f75096
4
+ data.tar.gz: ec85b36b53ae49680d2761f4416085e0a2d50678
5
5
  SHA512:
6
- metadata.gz: 692d2eb3954b86b7a49796fd87e22cebe7bd3ae4d1d52e17ac1c1397fb11a4f702b4708c55d824520ff69b39d2255e66cfc36a7f522a1bd41e7ea97cd80732a0
7
- data.tar.gz: e175dd916e29ff5c8896fe9b579ce80dec9e9c2ce95816ec7669cc9d2a92aaea0a593039fd6f47a9c019386db7e5867435f8a657a9f9af0761990122a5e4a3cc
6
+ metadata.gz: a32e64274a196d517f3393d9d92dd79bc5e477ea33071ec25331eddeffba0cb9016e3e6d0d18cc63c2e63e8ce14861db0d386afc8e89bf7527b9dd25b66a475f
7
+ data.tar.gz: 0bee0003ae3b328f405ce74c982be5b39788d62d45590f8a7f1eff1a62cce341e4b11203f0b9172748b3a6b96d287e4f98034c111176be431c7aebfde9afa385
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-glue/customizations'
42
42
  # @service
43
43
  module Aws::Glue
44
44
 
45
- GEM_VERSION = '1.16.0'
45
+ GEM_VERSION = '1.17.0'
46
46
 
47
47
  end
@@ -2247,6 +2247,37 @@ module Aws::Glue
2247
2247
  req.send_request(options)
2248
2248
  end
2249
2249
 
2250
+ # Retrieves the security configuration for a specified catalog.
2251
+ #
2252
+ # @option params [String] :catalog_id
2253
+ # The ID of the Data Catalog for which to retrieve the security
2254
+ # configuration. If none is supplied, the AWS account ID is used by
2255
+ # default.
2256
+ #
2257
+ # @return [Types::GetDataCatalogEncryptionSettingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2258
+ #
2259
+ # * {Types::GetDataCatalogEncryptionSettingsResponse#data_catalog_encryption_settings #data_catalog_encryption_settings} => Types::DataCatalogEncryptionSettings
2260
+ #
2261
+ # @example Request syntax with placeholder values
2262
+ #
2263
+ # resp = client.get_data_catalog_encryption_settings({
2264
+ # catalog_id: "CatalogIdString",
2265
+ # })
2266
+ #
2267
+ # @example Response structure
2268
+ #
2269
+ # resp.data_catalog_encryption_settings.encryption_at_rest.catalog_encryption_mode #=> String, one of "DISABLED", "SSE-KMS"
2270
+ # resp.data_catalog_encryption_settings.encryption_at_rest.sse_aws_kms_key_id #=> String
2271
+ #
2272
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDataCatalogEncryptionSettings AWS API Documentation
2273
+ #
2274
+ # @overload get_data_catalog_encryption_settings(params = {})
2275
+ # @param [Hash] params ({})
2276
+ def get_data_catalog_encryption_settings(params = {}, options = {})
2277
+ req = build_request(:get_data_catalog_encryption_settings, params)
2278
+ req.send_request(options)
2279
+ end
2280
+
2250
2281
  # Retrieves the definition of a specified database.
2251
2282
  #
2252
2283
  # @option params [String] :catalog_id
@@ -4690,7 +4721,7 @@ module Aws::Glue
4690
4721
  params: params,
4691
4722
  config: config)
4692
4723
  context[:gem_name] = 'aws-sdk-glue'
4693
- context[:gem_version] = '1.16.0'
4724
+ context[:gem_version] = '1.17.0'
4694
4725
  Seahorse::Client::Request.new(handlers, context)
4695
4726
  end
4696
4727
 
@@ -191,6 +191,8 @@ module Aws::Glue
191
191
  GetCrawlerResponse = Shapes::StructureShape.new(name: 'GetCrawlerResponse')
192
192
  GetCrawlersRequest = Shapes::StructureShape.new(name: 'GetCrawlersRequest')
193
193
  GetCrawlersResponse = Shapes::StructureShape.new(name: 'GetCrawlersResponse')
194
+ GetDataCatalogEncryptionSettingsRequest = Shapes::StructureShape.new(name: 'GetDataCatalogEncryptionSettingsRequest')
195
+ GetDataCatalogEncryptionSettingsResponse = Shapes::StructureShape.new(name: 'GetDataCatalogEncryptionSettingsResponse')
194
196
  GetDatabaseRequest = Shapes::StructureShape.new(name: 'GetDatabaseRequest')
195
197
  GetDatabaseResponse = Shapes::StructureShape.new(name: 'GetDatabaseResponse')
196
198
  GetDatabasesRequest = Shapes::StructureShape.new(name: 'GetDatabasesRequest')
@@ -1010,6 +1012,12 @@ module Aws::Glue
1010
1012
  GetCrawlersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
1011
1013
  GetCrawlersResponse.struct_class = Types::GetCrawlersResponse
1012
1014
 
1015
+ GetDataCatalogEncryptionSettingsRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
1016
+ GetDataCatalogEncryptionSettingsRequest.struct_class = Types::GetDataCatalogEncryptionSettingsRequest
1017
+
1018
+ GetDataCatalogEncryptionSettingsResponse.add_member(:data_catalog_encryption_settings, Shapes::ShapeRef.new(shape: DataCatalogEncryptionSettings, location_name: "DataCatalogEncryptionSettings"))
1019
+ GetDataCatalogEncryptionSettingsResponse.struct_class = Types::GetDataCatalogEncryptionSettingsResponse
1020
+
1013
1021
  GetDatabaseRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
1014
1022
  GetDatabaseRequest.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "Name"))
1015
1023
  GetDatabaseRequest.struct_class = Types::GetDatabaseRequest
@@ -2233,6 +2241,17 @@ module Aws::Glue
2233
2241
  )
2234
2242
  end)
2235
2243
 
2244
+ api.add_operation(:get_data_catalog_encryption_settings, Seahorse::Model::Operation.new.tap do |o|
2245
+ o.name = "GetDataCatalogEncryptionSettings"
2246
+ o.http_method = "POST"
2247
+ o.http_request_uri = "/"
2248
+ o.input = Shapes::ShapeRef.new(shape: GetDataCatalogEncryptionSettingsRequest)
2249
+ o.output = Shapes::ShapeRef.new(shape: GetDataCatalogEncryptionSettingsResponse)
2250
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
2251
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
2252
+ o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
2253
+ end)
2254
+
2236
2255
  api.add_operation(:get_database, Seahorse::Model::Operation.new.tap do |o|
2237
2256
  o.name = "GetDatabase"
2238
2257
  o.http_method = "POST"
@@ -3411,6 +3411,37 @@ module Aws::Glue
3411
3411
  include Aws::Structure
3412
3412
  end
3413
3413
 
3414
+ # @note When making an API call, you may pass GetDataCatalogEncryptionSettingsRequest
3415
+ # data as a hash:
3416
+ #
3417
+ # {
3418
+ # catalog_id: "CatalogIdString",
3419
+ # }
3420
+ #
3421
+ # @!attribute [rw] catalog_id
3422
+ # The ID of the Data Catalog for which to retrieve the security
3423
+ # configuration. If none is supplied, the AWS account ID is used by
3424
+ # default.
3425
+ # @return [String]
3426
+ #
3427
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDataCatalogEncryptionSettingsRequest AWS API Documentation
3428
+ #
3429
+ class GetDataCatalogEncryptionSettingsRequest < Struct.new(
3430
+ :catalog_id)
3431
+ include Aws::Structure
3432
+ end
3433
+
3434
+ # @!attribute [rw] data_catalog_encryption_settings
3435
+ # The requested security configuration.
3436
+ # @return [Types::DataCatalogEncryptionSettings]
3437
+ #
3438
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDataCatalogEncryptionSettingsResponse AWS API Documentation
3439
+ #
3440
+ class GetDataCatalogEncryptionSettingsResponse < Struct.new(
3441
+ :data_catalog_encryption_settings)
3442
+ include Aws::Structure
3443
+ end
3444
+
3414
3445
  # @note When making an API call, you may pass GetDatabaseRequest
3415
3446
  # data as a hash:
3416
3447
  #
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-glue
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.16.0
4
+ version: 1.17.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: 2018-09-06 00:00:00.000000000 Z
11
+ date: 2018-09-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core