aws-sdk-datazone 1.16.0 → 1.17.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: 89d520e71250f018b8ed34a99b09f5bfc336e544dbae6307dae4288e0d60a5d5
4
- data.tar.gz: e4779385807f12776dddf260731048663840553adaa87f0abff192032787ec13
3
+ metadata.gz: 2d2375b5ff611c58527250b2eddffaa0e950d9f85117f55b28c4420a28365a61
4
+ data.tar.gz: 49890c4c3965697ba5d8068220e9dcc691a36dd5541a12426a2b95c5b7049ccc
5
5
  SHA512:
6
- metadata.gz: bb65034e16f68edd873535353b64c47632a0673d003fe53ea8d09afc3c66b58d2c8986f22b95afc5faa466ef1211ccde4a62834f90e4e751611235df90512a00
7
- data.tar.gz: 04c1fcdc628c4c22508a57f6b4cf10e8b3af67f8c65da3dd9b5f1b750be8de654f1cc7f32ed5d644f2bbeb84e3a76a9c17df49a35ce7b788700cf36b5a4373b9
6
+ metadata.gz: b08b7160e43d7cdcb873b2263bb31863c2eb0ab9caf1be8ec832a5a821e30bf7f1e8fe21f3b28897dcab3e1f2ff2bf2627cf423a1642a0f90c9fa33a791f879f
7
+ data.tar.gz: 3a780a3aeaa4bfc428e25e114cbb7901762ceed556cab46f067959fdb97199e7365d5800b8b5d20aa05d3a62b439e837271dc63019455c3f6fb9cb40782f7bff
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.17.0 (2024-07-25)
5
+ ------------------
6
+
7
+ * Feature - Introduces GetEnvironmentCredentials operation to SDK
8
+
4
9
  1.16.0 (2024-07-23)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.16.0
1
+ 1.17.0
@@ -3994,6 +3994,45 @@ module Aws::DataZone
3994
3994
  req.send_request(options)
3995
3995
  end
3996
3996
 
3997
+ # Gets the credentials of an environment in Amazon DataZone.
3998
+ #
3999
+ # @option params [required, String] :domain_identifier
4000
+ # The ID of the Amazon DataZone domain in which this environment and its
4001
+ # credentials exist.
4002
+ #
4003
+ # @option params [required, String] :environment_identifier
4004
+ # The ID of the environment whose credentials this operation gets.
4005
+ #
4006
+ # @return [Types::GetEnvironmentCredentialsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4007
+ #
4008
+ # * {Types::GetEnvironmentCredentialsOutput#access_key_id #access_key_id} => String
4009
+ # * {Types::GetEnvironmentCredentialsOutput#expiration #expiration} => Time
4010
+ # * {Types::GetEnvironmentCredentialsOutput#secret_access_key #secret_access_key} => String
4011
+ # * {Types::GetEnvironmentCredentialsOutput#session_token #session_token} => String
4012
+ #
4013
+ # @example Request syntax with placeholder values
4014
+ #
4015
+ # resp = client.get_environment_credentials({
4016
+ # domain_identifier: "DomainId", # required
4017
+ # environment_identifier: "EnvironmentId", # required
4018
+ # })
4019
+ #
4020
+ # @example Response structure
4021
+ #
4022
+ # resp.access_key_id #=> String
4023
+ # resp.expiration #=> Time
4024
+ # resp.secret_access_key #=> String
4025
+ # resp.session_token #=> String
4026
+ #
4027
+ # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/GetEnvironmentCredentials AWS API Documentation
4028
+ #
4029
+ # @overload get_environment_credentials(params = {})
4030
+ # @param [Hash] params ({})
4031
+ def get_environment_credentials(params = {}, options = {})
4032
+ req = build_request(:get_environment_credentials, params)
4033
+ req.send_request(options)
4034
+ end
4035
+
3997
4036
  # Gets an evinronment profile in Amazon DataZone.
3998
4037
  #
3999
4038
  # @option params [required, String] :domain_identifier
@@ -8993,7 +9032,7 @@ module Aws::DataZone
8993
9032
  params: params,
8994
9033
  config: config)
8995
9034
  context[:gem_name] = 'aws-sdk-datazone'
8996
- context[:gem_version] = '1.16.0'
9035
+ context[:gem_version] = '1.17.0'
8997
9036
  Seahorse::Client::Request.new(handlers, context)
8998
9037
  end
8999
9038
 
@@ -268,6 +268,8 @@ module Aws::DataZone
268
268
  GetEnvironmentBlueprintConfigurationOutput = Shapes::StructureShape.new(name: 'GetEnvironmentBlueprintConfigurationOutput')
269
269
  GetEnvironmentBlueprintInput = Shapes::StructureShape.new(name: 'GetEnvironmentBlueprintInput')
270
270
  GetEnvironmentBlueprintOutput = Shapes::StructureShape.new(name: 'GetEnvironmentBlueprintOutput')
271
+ GetEnvironmentCredentialsInput = Shapes::StructureShape.new(name: 'GetEnvironmentCredentialsInput')
272
+ GetEnvironmentCredentialsOutput = Shapes::StructureShape.new(name: 'GetEnvironmentCredentialsOutput')
271
273
  GetEnvironmentInput = Shapes::StructureShape.new(name: 'GetEnvironmentInput')
272
274
  GetEnvironmentOutput = Shapes::StructureShape.new(name: 'GetEnvironmentOutput')
273
275
  GetEnvironmentProfileInput = Shapes::StructureShape.new(name: 'GetEnvironmentProfileInput')
@@ -1901,6 +1903,16 @@ module Aws::DataZone
1901
1903
  GetEnvironmentBlueprintOutput.add_member(:user_parameters, Shapes::ShapeRef.new(shape: CustomParameterList, location_name: "userParameters"))
1902
1904
  GetEnvironmentBlueprintOutput.struct_class = Types::GetEnvironmentBlueprintOutput
1903
1905
 
1906
+ GetEnvironmentCredentialsInput.add_member(:domain_identifier, Shapes::ShapeRef.new(shape: DomainId, required: true, location: "uri", location_name: "domainIdentifier"))
1907
+ GetEnvironmentCredentialsInput.add_member(:environment_identifier, Shapes::ShapeRef.new(shape: EnvironmentId, required: true, location: "uri", location_name: "environmentIdentifier"))
1908
+ GetEnvironmentCredentialsInput.struct_class = Types::GetEnvironmentCredentialsInput
1909
+
1910
+ GetEnvironmentCredentialsOutput.add_member(:access_key_id, Shapes::ShapeRef.new(shape: String, location_name: "accessKeyId"))
1911
+ GetEnvironmentCredentialsOutput.add_member(:expiration, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "expiration"))
1912
+ GetEnvironmentCredentialsOutput.add_member(:secret_access_key, Shapes::ShapeRef.new(shape: String, location_name: "secretAccessKey"))
1913
+ GetEnvironmentCredentialsOutput.add_member(:session_token, Shapes::ShapeRef.new(shape: String, location_name: "sessionToken"))
1914
+ GetEnvironmentCredentialsOutput.struct_class = Types::GetEnvironmentCredentialsOutput
1915
+
1904
1916
  GetEnvironmentInput.add_member(:domain_identifier, Shapes::ShapeRef.new(shape: DomainId, required: true, location: "uri", location_name: "domainIdentifier"))
1905
1917
  GetEnvironmentInput.add_member(:identifier, Shapes::ShapeRef.new(shape: EnvironmentId, required: true, location: "uri", location_name: "identifier"))
1906
1918
  GetEnvironmentInput.struct_class = Types::GetEnvironmentInput
@@ -4493,6 +4505,20 @@ module Aws::DataZone
4493
4505
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
4494
4506
  end)
4495
4507
 
4508
+ api.add_operation(:get_environment_credentials, Seahorse::Model::Operation.new.tap do |o|
4509
+ o.name = "GetEnvironmentCredentials"
4510
+ o.http_method = "GET"
4511
+ o.http_request_uri = "/v2/domains/{domainIdentifier}/environments/{environmentIdentifier}/credentials"
4512
+ o.input = Shapes::ShapeRef.new(shape: GetEnvironmentCredentialsInput)
4513
+ o.output = Shapes::ShapeRef.new(shape: GetEnvironmentCredentialsOutput)
4514
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
4515
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
4516
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
4517
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
4518
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
4519
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
4520
+ end)
4521
+
4496
4522
  api.add_operation(:get_environment_profile, Seahorse::Model::Operation.new.tap do |o|
4497
4523
  o.name = "GetEnvironmentProfile"
4498
4524
  o.http_method = "GET"
@@ -727,6 +727,19 @@ module Aws::DataZone
727
727
  end
728
728
  end
729
729
 
730
+ class GetEnvironmentCredentials
731
+ def self.build(context)
732
+ unless context.config.regional_endpoint
733
+ endpoint = context.config.endpoint.to_s
734
+ end
735
+ Aws::DataZone::EndpointParameters.new(
736
+ region: context.config.region,
737
+ use_fips: context.config.use_fips_endpoint,
738
+ endpoint: endpoint,
739
+ )
740
+ end
741
+ end
742
+
730
743
  class GetEnvironmentProfile
731
744
  def self.build(context)
732
745
  unless context.config.regional_endpoint
@@ -168,6 +168,8 @@ module Aws::DataZone
168
168
  Aws::DataZone::Endpoints::GetEnvironmentBlueprint.build(context)
169
169
  when :get_environment_blueprint_configuration
170
170
  Aws::DataZone::Endpoints::GetEnvironmentBlueprintConfiguration.build(context)
171
+ when :get_environment_credentials
172
+ Aws::DataZone::Endpoints::GetEnvironmentCredentials.build(context)
171
173
  when :get_environment_profile
172
174
  Aws::DataZone::Endpoints::GetEnvironmentProfile.build(context)
173
175
  when :get_form_type
@@ -5740,6 +5740,51 @@ module Aws::DataZone
5740
5740
  include Aws::Structure
5741
5741
  end
5742
5742
 
5743
+ # @!attribute [rw] domain_identifier
5744
+ # The ID of the Amazon DataZone domain in which this environment and
5745
+ # its credentials exist.
5746
+ # @return [String]
5747
+ #
5748
+ # @!attribute [rw] environment_identifier
5749
+ # The ID of the environment whose credentials this operation gets.
5750
+ # @return [String]
5751
+ #
5752
+ # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/GetEnvironmentCredentialsInput AWS API Documentation
5753
+ #
5754
+ class GetEnvironmentCredentialsInput < Struct.new(
5755
+ :domain_identifier,
5756
+ :environment_identifier)
5757
+ SENSITIVE = []
5758
+ include Aws::Structure
5759
+ end
5760
+
5761
+ # @!attribute [rw] access_key_id
5762
+ # The access key ID of the environment.
5763
+ # @return [String]
5764
+ #
5765
+ # @!attribute [rw] expiration
5766
+ # The expiration timestamp of the environment credentials.
5767
+ # @return [Time]
5768
+ #
5769
+ # @!attribute [rw] secret_access_key
5770
+ # The secret access key of the environment credentials.
5771
+ # @return [String]
5772
+ #
5773
+ # @!attribute [rw] session_token
5774
+ # The session token of the environment credentials.
5775
+ # @return [String]
5776
+ #
5777
+ # @see http://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/GetEnvironmentCredentialsOutput AWS API Documentation
5778
+ #
5779
+ class GetEnvironmentCredentialsOutput < Struct.new(
5780
+ :access_key_id,
5781
+ :expiration,
5782
+ :secret_access_key,
5783
+ :session_token)
5784
+ SENSITIVE = []
5785
+ include Aws::Structure
5786
+ end
5787
+
5743
5788
  # @!attribute [rw] domain_identifier
5744
5789
  # The ID of the Amazon DataZone domain where the environment exists.
5745
5790
  # @return [String]
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-datazone/customizations'
52
52
  # @!group service
53
53
  module Aws::DataZone
54
54
 
55
- GEM_VERSION = '1.16.0'
55
+ GEM_VERSION = '1.17.0'
56
56
 
57
57
  end
data/sig/client.rbs CHANGED
@@ -1332,6 +1332,20 @@ module Aws
1332
1332
  ) -> _GetEnvironmentBlueprintConfigurationResponseSuccess
1333
1333
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetEnvironmentBlueprintConfigurationResponseSuccess
1334
1334
 
1335
+ interface _GetEnvironmentCredentialsResponseSuccess
1336
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetEnvironmentCredentialsOutput]
1337
+ def access_key_id: () -> ::String
1338
+ def expiration: () -> ::Time
1339
+ def secret_access_key: () -> ::String
1340
+ def session_token: () -> ::String
1341
+ end
1342
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataZone/Client.html#get_environment_credentials-instance_method
1343
+ def get_environment_credentials: (
1344
+ domain_identifier: ::String,
1345
+ environment_identifier: ::String
1346
+ ) -> _GetEnvironmentCredentialsResponseSuccess
1347
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetEnvironmentCredentialsResponseSuccess
1348
+
1335
1349
  interface _GetEnvironmentProfileResponseSuccess
1336
1350
  include ::Seahorse::Client::_ResponseSuccess[Types::GetEnvironmentProfileOutput]
1337
1351
  def aws_account_id: () -> ::String
data/sig/types.rbs CHANGED
@@ -1492,6 +1492,20 @@ module Aws::DataZone
1492
1492
  SENSITIVE: [:description]
1493
1493
  end
1494
1494
 
1495
+ class GetEnvironmentCredentialsInput
1496
+ attr_accessor domain_identifier: ::String
1497
+ attr_accessor environment_identifier: ::String
1498
+ SENSITIVE: []
1499
+ end
1500
+
1501
+ class GetEnvironmentCredentialsOutput
1502
+ attr_accessor access_key_id: ::String
1503
+ attr_accessor expiration: ::Time
1504
+ attr_accessor secret_access_key: ::String
1505
+ attr_accessor session_token: ::String
1506
+ SENSITIVE: []
1507
+ end
1508
+
1495
1509
  class GetEnvironmentInput
1496
1510
  attr_accessor domain_identifier: ::String
1497
1511
  attr_accessor identifier: ::String
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-datazone
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: 2024-07-23 00:00:00.000000000 Z
11
+ date: 2024-07-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core