aws-sdk-neptunegraph 1.26.0 → 1.28.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: 6e49bc4f27e62a7f037e6111172e6b067f8fa797cf9ec5776cd2330f5c83c346
4
- data.tar.gz: 58d9e551c615c7d72412a4ded3a77887ea0898475c8b7b342a893214a63365a3
3
+ metadata.gz: f7168c3681f4300c59b27cd30628787aa241a4eb0b2ccd38cb934176f8dd2da0
4
+ data.tar.gz: bf0ab95947b8681c36c00c47d702da0f12e74e8bcd87b4957323f1a276b970fe
5
5
  SHA512:
6
- metadata.gz: 2cbb914d428b7169f62d9204b4521802c66dfb249843f45ddce3ac7b3e6c48aa6177de786de3d1ad78cc8ef0abb4cedb4620b3452f18359248eb286454348c63
7
- data.tar.gz: dd49784daa3a3e5ec1e1d0c6535eef61da017a1b5ce398db723d1cba15ff1947797c396817d708fc45c4511aca4cde4dceb3dabb4979b7699bdc861394d772f5
6
+ metadata.gz: f6a7a85d000cb0395df6a83608318babc4e4cfbf2908b1a21a9c2fa09a16b660622fe5743082d31e8e21c674cbaab4b6009f4b823dc9c5ff937e34401dd7212b
7
+ data.tar.gz: cc7cb45716770e68eb119885b9bf3532d6480a80ac0c66e74071c71c6268af400566f6679879fc5af131dd653b49f3c1f54a560bcb7a17e9f0bae0c90f63d4af
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.28.0 (2025-02-06)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.27.0 (2025-02-04)
10
+ ------------------
11
+
12
+ * Feature - Added argument to `list-export` to filter by graph ID
13
+
4
14
  1.26.0 (2025-01-15)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.26.0
1
+ 1.28.0
@@ -802,9 +802,9 @@ module Aws::NeptuneGraph
802
802
  # (m-NCUs) to use for the graph. Default: 1024, or the approved upper
803
803
  # limit for your account.
804
804
  #
805
- # If both the minimum and maximum values are specified, the max of the
806
- # `min-provisioned-memory` and `max-provisioned memory` is used to
807
- # create the graph. If neither value is specified 128 m-NCUs are used.
805
+ # If both the minimum and maximum values are specified, the final
806
+ # `provisioned-memory` will be chosen per the actual size of your
807
+ # imported data. If neither value is specified, 128 m-NCUs are used.
808
808
  #
809
809
  # @option params [Integer] :min_provisioned_memory
810
810
  # The minimum provisioned memory-optimized Neptune Capacity Units
@@ -1581,6 +1581,9 @@ module Aws::NeptuneGraph
1581
1581
 
1582
1582
  # Retrieves a list of export tasks.
1583
1583
  #
1584
+ # @option params [String] :graph_identifier
1585
+ # The unique identifier of the Neptune Analytics graph.
1586
+ #
1584
1587
  # @option params [String] :next_token
1585
1588
  # Pagination token used to paginate input.
1586
1589
  #
@@ -1597,6 +1600,7 @@ module Aws::NeptuneGraph
1597
1600
  # @example Request syntax with placeholder values
1598
1601
  #
1599
1602
  # resp = client.list_export_tasks({
1603
+ # graph_identifier: "GraphIdentifier",
1600
1604
  # next_token: "PaginationToken",
1601
1605
  # max_results: 1,
1602
1606
  # })
@@ -2444,7 +2448,7 @@ module Aws::NeptuneGraph
2444
2448
  tracer: tracer
2445
2449
  )
2446
2450
  context[:gem_name] = 'aws-sdk-neptunegraph'
2447
- context[:gem_version] = '1.26.0'
2451
+ context[:gem_version] = '1.28.0'
2448
2452
  Seahorse::Client::Request.new(handlers, context)
2449
2453
  end
2450
2454
 
@@ -576,6 +576,7 @@ module Aws::NeptuneGraph
576
576
  InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
577
577
  InternalServerException.struct_class = Types::InternalServerException
578
578
 
579
+ ListExportTasksInput.add_member(:graph_identifier, Shapes::ShapeRef.new(shape: GraphIdentifier, location: "querystring", location_name: "graphIdentifier"))
579
580
  ListExportTasksInput.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken"))
580
581
  ListExportTasksInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
581
582
  ListExportTasksInput.struct_class = Types::ListExportTasksInput
@@ -10,63 +10,58 @@
10
10
  module Aws::NeptuneGraph
11
11
  class EndpointProvider
12
12
  def resolve_endpoint(parameters)
13
- region = parameters.region
14
- use_fips = parameters.use_fips
15
- use_dual_stack = parameters.use_dual_stack
16
- endpoint = parameters.endpoint
17
- api_type = parameters.api_type
18
- if Aws::Endpoints::Matchers.set?(endpoint)
19
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
13
+ if Aws::Endpoints::Matchers.set?(parameters.endpoint)
14
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
20
15
  raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
21
16
  end
22
- if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
17
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
23
18
  raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
24
19
  end
25
- return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
20
+ return Aws::Endpoints::Endpoint.new(url: parameters.endpoint, headers: {}, properties: {})
26
21
  end
27
- if Aws::Endpoints::Matchers.set?(region)
28
- if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
29
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
22
+ if Aws::Endpoints::Matchers.set?(parameters.region)
23
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(parameters.region))
24
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
30
25
  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"))
31
- if Aws::Endpoints::Matchers.string_equals?(api_type, "ControlPlane")
32
- return Aws::Endpoints::Endpoint.new(url: "https://neptune-graph-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
26
+ if Aws::Endpoints::Matchers.string_equals?(parameters.api_type, "ControlPlane")
27
+ return Aws::Endpoints::Endpoint.new(url: "https://neptune-graph-fips.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
33
28
  end
34
- if Aws::Endpoints::Matchers.string_equals?(api_type, "DataPlane")
29
+ if Aws::Endpoints::Matchers.string_equals?(parameters.api_type, "DataPlane")
35
30
  raise ArgumentError, "Invalid Configuration: fips endpoint is not supported for this API"
36
31
  end
37
32
  raise ArgumentError, "Invalid Configuration: Unknown ApiType"
38
33
  end
39
34
  raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
40
35
  end
41
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
36
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
42
37
  if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
43
- if Aws::Endpoints::Matchers.string_equals?(api_type, "ControlPlane")
44
- return Aws::Endpoints::Endpoint.new(url: "https://neptune-graph-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
38
+ if Aws::Endpoints::Matchers.string_equals?(parameters.api_type, "ControlPlane")
39
+ return Aws::Endpoints::Endpoint.new(url: "https://neptune-graph-fips.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
45
40
  end
46
- if Aws::Endpoints::Matchers.string_equals?(api_type, "DataPlane")
41
+ if Aws::Endpoints::Matchers.string_equals?(parameters.api_type, "DataPlane")
47
42
  raise ArgumentError, "Invalid Configuration: fips endpoint is not supported for this API"
48
43
  end
49
44
  raise ArgumentError, "Invalid Configuration: Unknown ApiType"
50
45
  end
51
46
  raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
52
47
  end
53
- if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
48
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
54
49
  if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
55
- if Aws::Endpoints::Matchers.string_equals?(api_type, "ControlPlane")
56
- return Aws::Endpoints::Endpoint.new(url: "https://neptune-graph.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
50
+ if Aws::Endpoints::Matchers.string_equals?(parameters.api_type, "ControlPlane")
51
+ return Aws::Endpoints::Endpoint.new(url: "https://neptune-graph.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
57
52
  end
58
- if Aws::Endpoints::Matchers.string_equals?(api_type, "DataPlane")
59
- return Aws::Endpoints::Endpoint.new(url: "https://neptune-graph.#{region}.on.aws", headers: {}, properties: {})
53
+ if Aws::Endpoints::Matchers.string_equals?(parameters.api_type, "DataPlane")
54
+ return Aws::Endpoints::Endpoint.new(url: "https://neptune-graph.#{parameters.region}.on.aws", headers: {}, properties: {})
60
55
  end
61
56
  raise ArgumentError, "Invalid Configuration: Unknown ApiType"
62
57
  end
63
58
  raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
64
59
  end
65
- if Aws::Endpoints::Matchers.string_equals?(api_type, "ControlPlane")
66
- return Aws::Endpoints::Endpoint.new(url: "https://neptune-graph.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
60
+ if Aws::Endpoints::Matchers.string_equals?(parameters.api_type, "ControlPlane")
61
+ return Aws::Endpoints::Endpoint.new(url: "https://neptune-graph.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
67
62
  end
68
- if Aws::Endpoints::Matchers.string_equals?(api_type, "DataPlane")
69
- return Aws::Endpoints::Endpoint.new(url: "https://#{region}.neptune-graph.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
63
+ if Aws::Endpoints::Matchers.string_equals?(parameters.api_type, "DataPlane")
64
+ return Aws::Endpoints::Endpoint.new(url: "https://#{parameters.region}.neptune-graph.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
70
65
  end
71
66
  raise ArgumentError, "Invalid Configuration: Unknown ApiType"
72
67
  end
@@ -484,9 +484,9 @@ module Aws::NeptuneGraph
484
484
  # (m-NCUs) to use for the graph. Default: 1024, or the approved upper
485
485
  # limit for your account.
486
486
  #
487
- # If both the minimum and maximum values are specified, the max of the
488
- # `min-provisioned-memory` and `max-provisioned memory` is used to
489
- # create the graph. If neither value is specified 128 m-NCUs are used.
487
+ # If both the minimum and maximum values are specified, the final
488
+ # `provisioned-memory` will be chosen per the actual size of your
489
+ # imported data. If neither value is specified, 128 m-NCUs are used.
490
490
  # @return [Integer]
491
491
  #
492
492
  # @!attribute [rw] min_provisioned_memory
@@ -1953,6 +1953,10 @@ module Aws::NeptuneGraph
1953
1953
  include Aws::Structure
1954
1954
  end
1955
1955
 
1956
+ # @!attribute [rw] graph_identifier
1957
+ # The unique identifier of the Neptune Analytics graph.
1958
+ # @return [String]
1959
+ #
1956
1960
  # @!attribute [rw] next_token
1957
1961
  # Pagination token used to paginate input.
1958
1962
  # @return [String]
@@ -1964,6 +1968,7 @@ module Aws::NeptuneGraph
1964
1968
  # @see http://docs.aws.amazon.com/goto/WebAPI/neptune-graph-2023-11-29/ListExportTasksInput AWS API Documentation
1965
1969
  #
1966
1970
  class ListExportTasksInput < Struct.new(
1971
+ :graph_identifier,
1967
1972
  :next_token,
1968
1973
  :max_results)
1969
1974
  SENSITIVE = []
@@ -55,7 +55,7 @@ module Aws::NeptuneGraph
55
55
  autoload :EndpointProvider, 'aws-sdk-neptunegraph/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-neptunegraph/endpoints'
57
57
 
58
- GEM_VERSION = '1.26.0'
58
+ GEM_VERSION = '1.28.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -427,6 +427,7 @@ module Aws
427
427
  end
428
428
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NeptuneGraph/Client.html#list_export_tasks-instance_method
429
429
  def list_export_tasks: (
430
+ ?graph_identifier: ::String,
430
431
  ?next_token: ::String,
431
432
  ?max_results: ::Integer
432
433
  ) -> _ListExportTasksResponseSuccess
data/sig/types.rbs CHANGED
@@ -478,6 +478,7 @@ module Aws::NeptuneGraph
478
478
  end
479
479
 
480
480
  class ListExportTasksInput
481
+ attr_accessor graph_identifier: ::String
481
482
  attr_accessor next_token: ::String
482
483
  attr_accessor max_results: ::Integer
483
484
  SENSITIVE: []
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-neptunegraph
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.26.0
4
+ version: 1.28.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: 2025-01-15 00:00:00.000000000 Z
11
+ date: 2025-02-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core