aws-sdk-detective 1.64.0 → 1.66.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
  SHA256:
3
- metadata.gz: c1c220963afee337168a2e35805e2b2c66af590532b3ca10b0244d85785b595b
4
- data.tar.gz: ce4aab43b750df69f65831a92873897bcf4528ef8a431adf7123c533c1387982
3
+ metadata.gz: 9d5415f959e1ac52a09ec60c88b3024666b4a6ca9ac38af6ee64f52428a3f766
4
+ data.tar.gz: eec5c5adf62f6fcc23f2c778e209780a9492fc34ee923cd68f1a698871d71e7d
5
5
  SHA512:
6
- metadata.gz: 7139ac55a195c611e8870e56882bb73eb8e45923bf46a11eefe4589896aad52a31b7478930c04beda008a3126cb93c150827a7bac85648770eed289efa74b807
7
- data.tar.gz: a0c49a9148478fda5a0db6a84714881f7f110d2ac05af70cd96330040acffac6d5f85c4eb798911c5bbf5ddabad5321c70e344017d820c1eca4bf5072e14e92f
6
+ metadata.gz: 46c6829e31751a9b149dd94d50b50909127f321727349f066cbc0f0b32fdf11b00b03580c5daef29e0b51b1ce7fc9d1e6a5bd651e9c118757cdbf4a8b0da49d5
7
+ data.tar.gz: 5712a53c729d52c1be077fe9b986e392e595a5736f6483427d90b2559e7c6ceea3dc1a410767d5e48efd8b7fc41d6b0ee6489c8e8d37bf38c93ef7d30ab2befc
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.66.0 (2025-05-01)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.65.0 (2025-04-11)
10
+ ------------------
11
+
12
+ * Feature - Add support for Detective DualStack endpoints
13
+
4
14
  1.64.0 (2025-02-18)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.64.0
1
+ 1.66.0
@@ -1825,7 +1825,7 @@ module Aws::Detective
1825
1825
  tracer: tracer
1826
1826
  )
1827
1827
  context[:gem_name] = 'aws-sdk-detective'
1828
- context[:gem_version] = '1.64.0'
1828
+ context[:gem_version] = '1.66.0'
1829
1829
  Seahorse::Client::Request.new(handlers, context)
1830
1830
  end
1831
1831
 
@@ -429,16 +429,16 @@ module Aws::Detective
429
429
  MemberDetail.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "AccountId"))
430
430
  MemberDetail.add_member(:email_address, Shapes::ShapeRef.new(shape: EmailAddress, location_name: "EmailAddress"))
431
431
  MemberDetail.add_member(:graph_arn, Shapes::ShapeRef.new(shape: GraphArn, location_name: "GraphArn"))
432
- MemberDetail.add_member(:master_id, Shapes::ShapeRef.new(shape: AccountId, deprecated: true, location_name: "MasterId", metadata: {"deprecatedMessage"=>"This property is deprecated. Use AdministratorId instead."}))
432
+ MemberDetail.add_member(:master_id, Shapes::ShapeRef.new(shape: AccountId, deprecated: true, location_name: "MasterId", metadata: {"deprecatedMessage" => "This property is deprecated. Use AdministratorId instead."}))
433
433
  MemberDetail.add_member(:administrator_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "AdministratorId"))
434
434
  MemberDetail.add_member(:status, Shapes::ShapeRef.new(shape: MemberStatus, location_name: "Status"))
435
435
  MemberDetail.add_member(:disabled_reason, Shapes::ShapeRef.new(shape: MemberDisabledReason, location_name: "DisabledReason"))
436
436
  MemberDetail.add_member(:invited_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "InvitedTime"))
437
437
  MemberDetail.add_member(:updated_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "UpdatedTime"))
438
- MemberDetail.add_member(:volume_usage_in_bytes, Shapes::ShapeRef.new(shape: ByteValue, deprecated: true, location_name: "VolumeUsageInBytes", metadata: {"deprecatedMessage"=>"This property is deprecated. Use VolumeUsageByDatasourcePackage instead."}))
439
- MemberDetail.add_member(:volume_usage_updated_time, Shapes::ShapeRef.new(shape: Timestamp, deprecated: true, location_name: "VolumeUsageUpdatedTime", metadata: {"deprecatedMessage"=>"This property is deprecated. Use VolumeUsageByDatasourcePackage instead."}))
440
- MemberDetail.add_member(:percent_of_graph_utilization, Shapes::ShapeRef.new(shape: Percentage, deprecated: true, location_name: "PercentOfGraphUtilization", metadata: {"deprecatedMessage"=>"This property is deprecated. Use VolumeUsageByDatasourcePackage instead."}))
441
- MemberDetail.add_member(:percent_of_graph_utilization_updated_time, Shapes::ShapeRef.new(shape: Timestamp, deprecated: true, location_name: "PercentOfGraphUtilizationUpdatedTime", metadata: {"deprecatedMessage"=>"This property is deprecated. Use VolumeUsageByDatasourcePackage instead."}))
438
+ MemberDetail.add_member(:volume_usage_in_bytes, Shapes::ShapeRef.new(shape: ByteValue, deprecated: true, location_name: "VolumeUsageInBytes", metadata: {"deprecatedMessage" => "This property is deprecated. Use VolumeUsageByDatasourcePackage instead."}))
439
+ MemberDetail.add_member(:volume_usage_updated_time, Shapes::ShapeRef.new(shape: Timestamp, deprecated: true, location_name: "VolumeUsageUpdatedTime", metadata: {"deprecatedMessage" => "This property is deprecated. Use VolumeUsageByDatasourcePackage instead."}))
440
+ MemberDetail.add_member(:percent_of_graph_utilization, Shapes::ShapeRef.new(shape: Percentage, deprecated: true, location_name: "PercentOfGraphUtilization", metadata: {"deprecatedMessage" => "This property is deprecated. Use VolumeUsageByDatasourcePackage instead."}))
441
+ MemberDetail.add_member(:percent_of_graph_utilization_updated_time, Shapes::ShapeRef.new(shape: Timestamp, deprecated: true, location_name: "PercentOfGraphUtilizationUpdatedTime", metadata: {"deprecatedMessage" => "This property is deprecated. Use VolumeUsageByDatasourcePackage instead."}))
442
442
  MemberDetail.add_member(:invitation_type, Shapes::ShapeRef.new(shape: InvitationType, location_name: "InvitationType"))
443
443
  MemberDetail.add_member(:volume_usage_by_datasource_package, Shapes::ShapeRef.new(shape: VolumeUsageByDatasourcePackage, location_name: "VolumeUsageByDatasourcePackage"))
444
444
  MemberDetail.add_member(:datasource_package_ingest_states, Shapes::ShapeRef.new(shape: DatasourcePackageIngestStates, location_name: "DatasourcePackageIngestStates"))
@@ -10,11 +10,6 @@
10
10
  module Aws::Detective
11
11
  # Endpoint parameters used to influence endpoints per request.
12
12
  #
13
- # @!attribute region
14
- # The AWS region used to dispatch the request.
15
- #
16
- # @return [String]
17
- #
18
13
  # @!attribute use_dual_stack
19
14
  # When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.
20
15
  #
@@ -30,39 +25,44 @@ module Aws::Detective
30
25
  #
31
26
  # @return [String]
32
27
  #
28
+ # @!attribute region
29
+ # The AWS region used to dispatch the request.
30
+ #
31
+ # @return [String]
32
+ #
33
33
  EndpointParameters = Struct.new(
34
- :region,
35
34
  :use_dual_stack,
36
35
  :use_fips,
37
36
  :endpoint,
37
+ :region,
38
38
  ) do
39
39
  include Aws::Structure
40
40
 
41
41
  # @api private
42
42
  class << self
43
43
  PARAM_MAP = {
44
- 'Region' => :region,
45
44
  'UseDualStack' => :use_dual_stack,
46
45
  'UseFIPS' => :use_fips,
47
46
  'Endpoint' => :endpoint,
47
+ 'Region' => :region,
48
48
  }.freeze
49
49
  end
50
50
 
51
51
  def initialize(options = {})
52
- self[:region] = options[:region]
53
52
  self[:use_dual_stack] = options[:use_dual_stack]
54
53
  self[:use_dual_stack] = false if self[:use_dual_stack].nil?
55
54
  self[:use_fips] = options[:use_fips]
56
55
  self[:use_fips] = false if self[:use_fips].nil?
57
56
  self[:endpoint] = options[:endpoint]
57
+ self[:region] = options[:region]
58
58
  end
59
59
 
60
60
  def self.create(config, options={})
61
61
  new({
62
- region: config.region,
63
62
  use_dual_stack: config.use_dualstack_endpoint,
64
63
  use_fips: config.use_fips_endpoint,
65
64
  endpoint: (config.endpoint.to_s unless config.regional_endpoint),
65
+ region: config.region,
66
66
  }.merge(options))
67
67
  end
68
68
  end
@@ -21,19 +21,31 @@ module Aws::Detective
21
21
  end
22
22
  if Aws::Endpoints::Matchers.set?(parameters.region)
23
23
  if (partition_result = Aws::Endpoints::Matchers.aws_partition(parameters.region))
24
+ if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws") && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, false) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
25
+ return Aws::Endpoints::Endpoint.new(url: "https://detective.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
26
+ end
27
+ if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws") && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
28
+ return Aws::Endpoints::Endpoint.new(url: "https://detective-fips.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
29
+ end
30
+ if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-us-gov") && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, false) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
31
+ return Aws::Endpoints::Endpoint.new(url: "https://detective.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
32
+ end
33
+ if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-us-gov") && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
34
+ return Aws::Endpoints::Endpoint.new(url: "https://detective-fips.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
35
+ end
24
36
  if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
25
37
  if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
26
38
  return Aws::Endpoints::Endpoint.new(url: "https://api.detective-fips.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
27
39
  end
28
40
  raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
29
41
  end
30
- if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
42
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, false)
31
43
  if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
32
44
  return Aws::Endpoints::Endpoint.new(url: "https://api.detective-fips.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
33
45
  end
34
46
  raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
35
47
  end
36
- if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
48
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, false) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
37
49
  if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
38
50
  return Aws::Endpoints::Endpoint.new(url: "https://api.detective.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
39
51
  end
@@ -54,7 +54,7 @@ module Aws::Detective
54
54
  autoload :EndpointProvider, 'aws-sdk-detective/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-detective/endpoints'
56
56
 
57
- GEM_VERSION = '1.64.0'
57
+ GEM_VERSION = '1.66.0'
58
58
 
59
59
  end
60
60
 
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-detective
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.64.0
4
+ version: 1.66.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2025-02-18 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: aws-sdk-core
@@ -77,7 +76,6 @@ licenses:
77
76
  metadata:
78
77
  source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-detective
79
78
  changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-detective/CHANGELOG.md
80
- post_install_message:
81
79
  rdoc_options: []
82
80
  require_paths:
83
81
  - lib
@@ -92,8 +90,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
92
90
  - !ruby/object:Gem::Version
93
91
  version: '0'
94
92
  requirements: []
95
- rubygems_version: 3.4.10
96
- signing_key:
93
+ rubygems_version: 3.6.7
97
94
  specification_version: 4
98
95
  summary: AWS SDK for Ruby - Amazon Detective
99
96
  test_files: []