aws-sdk-neptunegraph 1.4.0 → 1.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-neptunegraph/client.rb +99 -21
- data/lib/aws-sdk-neptunegraph/client_api.rb +32 -0
- data/lib/aws-sdk-neptunegraph/endpoints.rb +15 -0
- data/lib/aws-sdk-neptunegraph/plugins/endpoints.rb +2 -0
- data/lib/aws-sdk-neptunegraph/types.rb +107 -3
- data/lib/aws-sdk-neptunegraph/waiters.rb +1 -1
- data/lib/aws-sdk-neptunegraph.rb +1 -1
- data/sig/client.rbs +34 -6
- data/sig/types.rbs +28 -7
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 50424775a60269822c9e3656ac908b9107cc34e834bacf5cdb1b860aa6b49250
|
4
|
+
data.tar.gz: bed42fadf1f6c8313691ac0da54fe4218f3731511c2baaffb2d4bbcc2874a3a8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8801663d4b0dc8b75839b6ea71f75795626809f07acdbea8496ee50f08d5bd1ef3eadce5c6720698986a49ccdb1a01e021491afbd95b953201cd654c0536d3d1
|
7
|
+
data.tar.gz: 226878539f5b96bfdaff0703e96eb1ad1fe66b431648382ce54da5dd22dd392ddc0607cc6a81141ef69da837fb8c36c82f1d6fdc5049dd48b54b535e5fb12e0e
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.6.0 (2024-03-29)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Add the new API Start-Import-Task for Amazon Neptune Analytics.
|
8
|
+
|
9
|
+
1.5.0 (2024-03-28)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Update ImportTaskCancelled waiter to evaluate task state correctly and minor documentation changes.
|
13
|
+
|
4
14
|
1.4.0 (2024-02-12)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.6.0
|
@@ -531,7 +531,7 @@ module Aws::NeptuneGraph
|
|
531
531
|
# resp.id #=> String
|
532
532
|
# resp.name #=> String
|
533
533
|
# resp.arn #=> String
|
534
|
-
# resp.status #=> String, one of "CREATING", "AVAILABLE", "DELETING", "RESETTING", "UPDATING", "SNAPSHOTTING", "FAILED"
|
534
|
+
# resp.status #=> String, one of "CREATING", "AVAILABLE", "DELETING", "RESETTING", "UPDATING", "SNAPSHOTTING", "FAILED", "IMPORTING"
|
535
535
|
# resp.status_reason #=> String
|
536
536
|
# resp.create_time #=> Time
|
537
537
|
# resp.provisioned_memory #=> Integer
|
@@ -764,7 +764,11 @@ module Aws::NeptuneGraph
|
|
764
764
|
|
765
765
|
# Create a private graph endpoint to allow private access from to the
|
766
766
|
# graph from within a VPC. You can attach security groups to the private
|
767
|
-
# graph endpoint.
|
767
|
+
# graph endpoint.
|
768
|
+
#
|
769
|
+
# <note markdown="1"> VPC endpoint charges apply.
|
770
|
+
#
|
771
|
+
# </note>
|
768
772
|
#
|
769
773
|
# @option params [required, String] :graph_identifier
|
770
774
|
# The unique identifier of the Neptune Analytics graph.
|
@@ -853,7 +857,7 @@ module Aws::NeptuneGraph
|
|
853
857
|
# resp.id #=> String
|
854
858
|
# resp.name #=> String
|
855
859
|
# resp.arn #=> String
|
856
|
-
# resp.status #=> String, one of "CREATING", "AVAILABLE", "DELETING", "RESETTING", "UPDATING", "SNAPSHOTTING", "FAILED"
|
860
|
+
# resp.status #=> String, one of "CREATING", "AVAILABLE", "DELETING", "RESETTING", "UPDATING", "SNAPSHOTTING", "FAILED", "IMPORTING"
|
857
861
|
# resp.status_reason #=> String
|
858
862
|
# resp.create_time #=> Time
|
859
863
|
# resp.provisioned_memory #=> Integer
|
@@ -954,9 +958,7 @@ module Aws::NeptuneGraph
|
|
954
958
|
req.send_request(options)
|
955
959
|
end
|
956
960
|
|
957
|
-
# Execute an openCypher query.
|
958
|
-
# parameterized queries. If you want to make a parameterized query call,
|
959
|
-
# you can use an HTTP request.
|
961
|
+
# Execute an openCypher query.
|
960
962
|
#
|
961
963
|
# When invoking this operation in a Neptune Analytics cluster, the IAM
|
962
964
|
# user or role making the request must have a policy attached that
|
@@ -969,13 +971,6 @@ module Aws::NeptuneGraph
|
|
969
971
|
#
|
970
972
|
# * neptune-graph:DeleteDataViaQuery
|
971
973
|
#
|
972
|
-
# <note markdown="1"> Non-parametrized queries are not considered for plan caching. You can
|
973
|
-
# force plan caching with `planCache=enabled`. The plan cache will be
|
974
|
-
# reused only for the same exact query. Slight variations in the query
|
975
|
-
# will not be able to reuse the query plan cache.
|
976
|
-
#
|
977
|
-
# </note>
|
978
|
-
#
|
979
974
|
# @option params [required, String] :graph_identifier
|
980
975
|
# The unique identifier of the Neptune Analytics graph.
|
981
976
|
#
|
@@ -1071,7 +1066,7 @@ module Aws::NeptuneGraph
|
|
1071
1066
|
# resp.id #=> String
|
1072
1067
|
# resp.name #=> String
|
1073
1068
|
# resp.arn #=> String
|
1074
|
-
# resp.status #=> String, one of "CREATING", "AVAILABLE", "DELETING", "RESETTING", "UPDATING", "SNAPSHOTTING", "FAILED"
|
1069
|
+
# resp.status #=> String, one of "CREATING", "AVAILABLE", "DELETING", "RESETTING", "UPDATING", "SNAPSHOTTING", "FAILED", "IMPORTING"
|
1075
1070
|
# resp.status_reason #=> String
|
1076
1071
|
# resp.create_time #=> Time
|
1077
1072
|
# resp.provisioned_memory #=> Integer
|
@@ -1457,7 +1452,7 @@ module Aws::NeptuneGraph
|
|
1457
1452
|
# resp.graphs[0].id #=> String
|
1458
1453
|
# resp.graphs[0].name #=> String
|
1459
1454
|
# resp.graphs[0].arn #=> String
|
1460
|
-
# resp.graphs[0].status #=> String, one of "CREATING", "AVAILABLE", "DELETING", "RESETTING", "UPDATING", "SNAPSHOTTING", "FAILED"
|
1455
|
+
# resp.graphs[0].status #=> String, one of "CREATING", "AVAILABLE", "DELETING", "RESETTING", "UPDATING", "SNAPSHOTTING", "FAILED", "IMPORTING"
|
1461
1456
|
# resp.graphs[0].provisioned_memory #=> Integer
|
1462
1457
|
# resp.graphs[0].public_connectivity #=> Boolean
|
1463
1458
|
# resp.graphs[0].endpoint #=> String
|
@@ -1693,7 +1688,7 @@ module Aws::NeptuneGraph
|
|
1693
1688
|
# resp.id #=> String
|
1694
1689
|
# resp.name #=> String
|
1695
1690
|
# resp.arn #=> String
|
1696
|
-
# resp.status #=> String, one of "CREATING", "AVAILABLE", "DELETING", "RESETTING", "UPDATING", "SNAPSHOTTING", "FAILED"
|
1691
|
+
# resp.status #=> String, one of "CREATING", "AVAILABLE", "DELETING", "RESETTING", "UPDATING", "SNAPSHOTTING", "FAILED", "IMPORTING"
|
1697
1692
|
# resp.status_reason #=> String
|
1698
1693
|
# resp.create_time #=> Time
|
1699
1694
|
# resp.provisioned_memory #=> Integer
|
@@ -1730,7 +1725,9 @@ module Aws::NeptuneGraph
|
|
1730
1725
|
#
|
1731
1726
|
# @option params [Integer] :provisioned_memory
|
1732
1727
|
# The provisioned memory-optimized Neptune Capacity Units (m-NCUs) to
|
1733
|
-
# use for the graph.
|
1728
|
+
# use for the graph.
|
1729
|
+
#
|
1730
|
+
# Min = 128
|
1734
1731
|
#
|
1735
1732
|
# @option params [Boolean] :deletion_protection
|
1736
1733
|
# A value that indicates whether the graph has deletion protection
|
@@ -1787,7 +1784,7 @@ module Aws::NeptuneGraph
|
|
1787
1784
|
# resp.id #=> String
|
1788
1785
|
# resp.name #=> String
|
1789
1786
|
# resp.arn #=> String
|
1790
|
-
# resp.status #=> String, one of "CREATING", "AVAILABLE", "DELETING", "RESETTING", "UPDATING", "SNAPSHOTTING", "FAILED"
|
1787
|
+
# resp.status #=> String, one of "CREATING", "AVAILABLE", "DELETING", "RESETTING", "UPDATING", "SNAPSHOTTING", "FAILED", "IMPORTING"
|
1791
1788
|
# resp.status_reason #=> String
|
1792
1789
|
# resp.create_time #=> Time
|
1793
1790
|
# resp.provisioned_memory #=> Integer
|
@@ -1809,6 +1806,85 @@ module Aws::NeptuneGraph
|
|
1809
1806
|
req.send_request(options)
|
1810
1807
|
end
|
1811
1808
|
|
1809
|
+
# Import data into existing Neptune Analytics graph from Amazon Simple
|
1810
|
+
# Storage Service (S3). The graph needs to be empty and in the AVAILABLE
|
1811
|
+
# state.
|
1812
|
+
#
|
1813
|
+
# @option params [Types::ImportOptions] :import_options
|
1814
|
+
# Options for how to perform an import.
|
1815
|
+
#
|
1816
|
+
# @option params [Boolean] :fail_on_error
|
1817
|
+
# If set to true, the task halts when an import error is encountered. If
|
1818
|
+
# set to false, the task skips the data that caused the error and
|
1819
|
+
# continues if possible.
|
1820
|
+
#
|
1821
|
+
# @option params [required, String] :source
|
1822
|
+
# A URL identifying the location of the data to be imported. This can be
|
1823
|
+
# an Amazon S3 path, or can point to a Neptune database endpoint or
|
1824
|
+
# snapshot.
|
1825
|
+
#
|
1826
|
+
# @option params [String] :format
|
1827
|
+
# Specifies the format of Amazon S3 data to be imported. Valid values
|
1828
|
+
# are CSV, which identifies the Gremlin CSV format or OPENCYPHER, which
|
1829
|
+
# identies the openCypher load format.
|
1830
|
+
#
|
1831
|
+
# @option params [required, String] :graph_identifier
|
1832
|
+
# The unique identifier of the Neptune Analytics graph.
|
1833
|
+
#
|
1834
|
+
# @option params [required, String] :role_arn
|
1835
|
+
# The ARN of the IAM role that will allow access to the data that is to
|
1836
|
+
# be imported.
|
1837
|
+
#
|
1838
|
+
# @return [Types::StartImportTaskOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1839
|
+
#
|
1840
|
+
# * {Types::StartImportTaskOutput#graph_id #graph_id} => String
|
1841
|
+
# * {Types::StartImportTaskOutput#task_id #task_id} => String
|
1842
|
+
# * {Types::StartImportTaskOutput#source #source} => String
|
1843
|
+
# * {Types::StartImportTaskOutput#format #format} => String
|
1844
|
+
# * {Types::StartImportTaskOutput#role_arn #role_arn} => String
|
1845
|
+
# * {Types::StartImportTaskOutput#status #status} => String
|
1846
|
+
# * {Types::StartImportTaskOutput#import_options #import_options} => Types::ImportOptions
|
1847
|
+
#
|
1848
|
+
# @example Request syntax with placeholder values
|
1849
|
+
#
|
1850
|
+
# resp = client.start_import_task({
|
1851
|
+
# import_options: {
|
1852
|
+
# neptune: {
|
1853
|
+
# s3_export_path: "NeptuneImportOptionsS3ExportPathString", # required
|
1854
|
+
# s3_export_kms_key_id: "NeptuneImportOptionsS3ExportKmsKeyIdString", # required
|
1855
|
+
# preserve_default_vertex_labels: false,
|
1856
|
+
# preserve_edge_ids: false,
|
1857
|
+
# },
|
1858
|
+
# },
|
1859
|
+
# fail_on_error: false,
|
1860
|
+
# source: "String", # required
|
1861
|
+
# format: "CSV", # accepts CSV, OPEN_CYPHER
|
1862
|
+
# graph_identifier: "GraphIdentifier", # required
|
1863
|
+
# role_arn: "RoleArn", # required
|
1864
|
+
# })
|
1865
|
+
#
|
1866
|
+
# @example Response structure
|
1867
|
+
#
|
1868
|
+
# resp.graph_id #=> String
|
1869
|
+
# resp.task_id #=> String
|
1870
|
+
# resp.source #=> String
|
1871
|
+
# resp.format #=> String, one of "CSV", "OPEN_CYPHER"
|
1872
|
+
# resp.role_arn #=> String
|
1873
|
+
# resp.status #=> String, one of "INITIALIZING", "EXPORTING", "ANALYZING_DATA", "IMPORTING", "REPROVISIONING", "ROLLING_BACK", "SUCCEEDED", "FAILED", "CANCELLING", "CANCELLED"
|
1874
|
+
# resp.import_options.neptune.s3_export_path #=> String
|
1875
|
+
# resp.import_options.neptune.s3_export_kms_key_id #=> String
|
1876
|
+
# resp.import_options.neptune.preserve_default_vertex_labels #=> Boolean
|
1877
|
+
# resp.import_options.neptune.preserve_edge_ids #=> Boolean
|
1878
|
+
#
|
1879
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/neptune-graph-2023-11-29/StartImportTask AWS API Documentation
|
1880
|
+
#
|
1881
|
+
# @overload start_import_task(params = {})
|
1882
|
+
# @param [Hash] params ({})
|
1883
|
+
def start_import_task(params = {}, options = {})
|
1884
|
+
req = build_request(:start_import_task, params)
|
1885
|
+
req.send_request(options)
|
1886
|
+
end
|
1887
|
+
|
1812
1888
|
# Adds tags to the specified resource.
|
1813
1889
|
#
|
1814
1890
|
# @option params [required, String] :resource_arn
|
@@ -1889,7 +1965,9 @@ module Aws::NeptuneGraph
|
|
1889
1965
|
#
|
1890
1966
|
# @option params [Integer] :provisioned_memory
|
1891
1967
|
# The provisioned memory-optimized Neptune Capacity Units (m-NCUs) to
|
1892
|
-
# use for the graph.
|
1968
|
+
# use for the graph.
|
1969
|
+
#
|
1970
|
+
# Min = 128
|
1893
1971
|
#
|
1894
1972
|
# @option params [Boolean] :deletion_protection
|
1895
1973
|
# A value that indicates whether the graph has deletion protection
|
@@ -1928,7 +2006,7 @@ module Aws::NeptuneGraph
|
|
1928
2006
|
# resp.id #=> String
|
1929
2007
|
# resp.name #=> String
|
1930
2008
|
# resp.arn #=> String
|
1931
|
-
# resp.status #=> String, one of "CREATING", "AVAILABLE", "DELETING", "RESETTING", "UPDATING", "SNAPSHOTTING", "FAILED"
|
2009
|
+
# resp.status #=> String, one of "CREATING", "AVAILABLE", "DELETING", "RESETTING", "UPDATING", "SNAPSHOTTING", "FAILED", "IMPORTING"
|
1932
2010
|
# resp.status_reason #=> String
|
1933
2011
|
# resp.create_time #=> Time
|
1934
2012
|
# resp.provisioned_memory #=> Integer
|
@@ -1963,7 +2041,7 @@ module Aws::NeptuneGraph
|
|
1963
2041
|
params: params,
|
1964
2042
|
config: config)
|
1965
2043
|
context[:gem_name] = 'aws-sdk-neptunegraph'
|
1966
|
-
context[:gem_version] = '1.
|
2044
|
+
context[:gem_version] = '1.6.0'
|
1967
2045
|
Seahorse::Client::Request.new(handlers, context)
|
1968
2046
|
end
|
1969
2047
|
|
@@ -125,6 +125,8 @@ module Aws::NeptuneGraph
|
|
125
125
|
SnapshotIdentifier = Shapes::StringShape.new(name: 'SnapshotIdentifier')
|
126
126
|
SnapshotName = Shapes::StringShape.new(name: 'SnapshotName')
|
127
127
|
SnapshotStatus = Shapes::StringShape.new(name: 'SnapshotStatus')
|
128
|
+
StartImportTaskInput = Shapes::StructureShape.new(name: 'StartImportTaskInput')
|
129
|
+
StartImportTaskOutput = Shapes::StructureShape.new(name: 'StartImportTaskOutput')
|
128
130
|
String = Shapes::StringShape.new(name: 'String')
|
129
131
|
SubnetId = Shapes::StringShape.new(name: 'SubnetId')
|
130
132
|
SubnetIds = Shapes::ListShape.new(name: 'SubnetIds')
|
@@ -616,6 +618,23 @@ module Aws::NeptuneGraph
|
|
616
618
|
ServiceQuotaExceededException.add_member(:quota_code, Shapes::ShapeRef.new(shape: String, location_name: "quotaCode"))
|
617
619
|
ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
|
618
620
|
|
621
|
+
StartImportTaskInput.add_member(:import_options, Shapes::ShapeRef.new(shape: ImportOptions, location_name: "importOptions"))
|
622
|
+
StartImportTaskInput.add_member(:fail_on_error, Shapes::ShapeRef.new(shape: Boolean, location_name: "failOnError"))
|
623
|
+
StartImportTaskInput.add_member(:source, Shapes::ShapeRef.new(shape: String, required: true, location_name: "source"))
|
624
|
+
StartImportTaskInput.add_member(:format, Shapes::ShapeRef.new(shape: Format, location_name: "format"))
|
625
|
+
StartImportTaskInput.add_member(:graph_identifier, Shapes::ShapeRef.new(shape: GraphIdentifier, required: true, location: "uri", location_name: "graphIdentifier"))
|
626
|
+
StartImportTaskInput.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "roleArn"))
|
627
|
+
StartImportTaskInput.struct_class = Types::StartImportTaskInput
|
628
|
+
|
629
|
+
StartImportTaskOutput.add_member(:graph_id, Shapes::ShapeRef.new(shape: GraphId, location_name: "graphId"))
|
630
|
+
StartImportTaskOutput.add_member(:task_id, Shapes::ShapeRef.new(shape: TaskId, required: true, location_name: "taskId"))
|
631
|
+
StartImportTaskOutput.add_member(:source, Shapes::ShapeRef.new(shape: String, required: true, location_name: "source"))
|
632
|
+
StartImportTaskOutput.add_member(:format, Shapes::ShapeRef.new(shape: Format, location_name: "format"))
|
633
|
+
StartImportTaskOutput.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "roleArn"))
|
634
|
+
StartImportTaskOutput.add_member(:status, Shapes::ShapeRef.new(shape: ImportTaskStatus, required: true, location_name: "status"))
|
635
|
+
StartImportTaskOutput.add_member(:import_options, Shapes::ShapeRef.new(shape: ImportOptions, location_name: "importOptions"))
|
636
|
+
StartImportTaskOutput.struct_class = Types::StartImportTaskOutput
|
637
|
+
|
619
638
|
SubnetIds.member = Shapes::ShapeRef.new(shape: SubnetId)
|
620
639
|
|
621
640
|
TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
|
@@ -1036,6 +1055,19 @@ module Aws::NeptuneGraph
|
|
1036
1055
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1037
1056
|
end)
|
1038
1057
|
|
1058
|
+
api.add_operation(:start_import_task, Seahorse::Model::Operation.new.tap do |o|
|
1059
|
+
o.name = "StartImportTask"
|
1060
|
+
o.http_method = "POST"
|
1061
|
+
o.http_request_uri = "/graphs/{graphIdentifier}/importtasks"
|
1062
|
+
o.input = Shapes::ShapeRef.new(shape: StartImportTaskInput)
|
1063
|
+
o.output = Shapes::ShapeRef.new(shape: StartImportTaskOutput)
|
1064
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1065
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1066
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1067
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1068
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1069
|
+
end)
|
1070
|
+
|
1039
1071
|
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
1040
1072
|
o.name = "TagResource"
|
1041
1073
|
o.http_method = "POST"
|
@@ -372,6 +372,21 @@ module Aws::NeptuneGraph
|
|
372
372
|
end
|
373
373
|
end
|
374
374
|
|
375
|
+
class StartImportTask
|
376
|
+
def self.build(context)
|
377
|
+
unless context.config.regional_endpoint
|
378
|
+
endpoint = context.config.endpoint.to_s
|
379
|
+
end
|
380
|
+
Aws::NeptuneGraph::EndpointParameters.new(
|
381
|
+
region: context.config.region,
|
382
|
+
use_fips: context.config.use_fips_endpoint,
|
383
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
384
|
+
endpoint: endpoint,
|
385
|
+
api_type: "ControlPlane",
|
386
|
+
)
|
387
|
+
end
|
388
|
+
end
|
389
|
+
|
375
390
|
class TagResource
|
376
391
|
def self.build(context)
|
377
392
|
unless context.config.regional_endpoint
|
@@ -106,6 +106,8 @@ module Aws::NeptuneGraph
|
|
106
106
|
Aws::NeptuneGraph::Endpoints::ResetGraph.build(context)
|
107
107
|
when :restore_graph_from_snapshot
|
108
108
|
Aws::NeptuneGraph::Endpoints::RestoreGraphFromSnapshot.build(context)
|
109
|
+
when :start_import_task
|
110
|
+
Aws::NeptuneGraph::Endpoints::StartImportTask.build(context)
|
109
111
|
when :tag_resource
|
110
112
|
Aws::NeptuneGraph::Endpoints::TagResource.build(context)
|
111
113
|
when :untag_resource
|
@@ -210,7 +210,9 @@ module Aws::NeptuneGraph
|
|
210
210
|
#
|
211
211
|
# @!attribute [rw] provisioned_memory
|
212
212
|
# The provisioned memory-optimized Neptune Capacity Units (m-NCUs) to
|
213
|
-
# use for the graph.
|
213
|
+
# use for the graph.
|
214
|
+
#
|
215
|
+
# Min = 128
|
214
216
|
# @return [Integer]
|
215
217
|
#
|
216
218
|
# @!attribute [rw] endpoint
|
@@ -220,6 +222,11 @@ module Aws::NeptuneGraph
|
|
220
222
|
# @!attribute [rw] public_connectivity
|
221
223
|
# Specifies whether or not the graph can be reachable over the
|
222
224
|
# internet. All access to graphs is IAM authenticated.
|
225
|
+
#
|
226
|
+
# <note markdown="1"> If enabling public connectivity for the first time, there will be a
|
227
|
+
# delay while it is enabled.
|
228
|
+
#
|
229
|
+
# </note>
|
223
230
|
# @return [Boolean]
|
224
231
|
#
|
225
232
|
# @!attribute [rw] vector_search_configuration
|
@@ -229,6 +236,8 @@ module Aws::NeptuneGraph
|
|
229
236
|
#
|
230
237
|
# @!attribute [rw] replica_count
|
231
238
|
# The number of replicas in other AZs.
|
239
|
+
#
|
240
|
+
# Default: If not specified, the default value is 1.
|
232
241
|
# @return [Integer]
|
233
242
|
#
|
234
243
|
# @!attribute [rw] kms_key_identifier
|
@@ -2117,7 +2126,9 @@ module Aws::NeptuneGraph
|
|
2117
2126
|
#
|
2118
2127
|
# @!attribute [rw] provisioned_memory
|
2119
2128
|
# The provisioned memory-optimized Neptune Capacity Units (m-NCUs) to
|
2120
|
-
# use for the graph.
|
2129
|
+
# use for the graph.
|
2130
|
+
#
|
2131
|
+
# Min = 128
|
2121
2132
|
# @return [Integer]
|
2122
2133
|
#
|
2123
2134
|
# @!attribute [rw] deletion_protection
|
@@ -2273,6 +2284,97 @@ module Aws::NeptuneGraph
|
|
2273
2284
|
include Aws::Structure
|
2274
2285
|
end
|
2275
2286
|
|
2287
|
+
# @!attribute [rw] import_options
|
2288
|
+
# Options for how to perform an import.
|
2289
|
+
# @return [Types::ImportOptions]
|
2290
|
+
#
|
2291
|
+
# @!attribute [rw] fail_on_error
|
2292
|
+
# If set to true, the task halts when an import error is encountered.
|
2293
|
+
# If set to false, the task skips the data that caused the error and
|
2294
|
+
# continues if possible.
|
2295
|
+
# @return [Boolean]
|
2296
|
+
#
|
2297
|
+
# @!attribute [rw] source
|
2298
|
+
# A URL identifying the location of the data to be imported. This can
|
2299
|
+
# be an Amazon S3 path, or can point to a Neptune database endpoint or
|
2300
|
+
# snapshot.
|
2301
|
+
# @return [String]
|
2302
|
+
#
|
2303
|
+
# @!attribute [rw] format
|
2304
|
+
# Specifies the format of Amazon S3 data to be imported. Valid values
|
2305
|
+
# are CSV, which identifies the Gremlin CSV format or OPENCYPHER,
|
2306
|
+
# which identies the openCypher load format.
|
2307
|
+
# @return [String]
|
2308
|
+
#
|
2309
|
+
# @!attribute [rw] graph_identifier
|
2310
|
+
# The unique identifier of the Neptune Analytics graph.
|
2311
|
+
# @return [String]
|
2312
|
+
#
|
2313
|
+
# @!attribute [rw] role_arn
|
2314
|
+
# The ARN of the IAM role that will allow access to the data that is
|
2315
|
+
# to be imported.
|
2316
|
+
# @return [String]
|
2317
|
+
#
|
2318
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/neptune-graph-2023-11-29/StartImportTaskInput AWS API Documentation
|
2319
|
+
#
|
2320
|
+
class StartImportTaskInput < Struct.new(
|
2321
|
+
:import_options,
|
2322
|
+
:fail_on_error,
|
2323
|
+
:source,
|
2324
|
+
:format,
|
2325
|
+
:graph_identifier,
|
2326
|
+
:role_arn)
|
2327
|
+
SENSITIVE = []
|
2328
|
+
include Aws::Structure
|
2329
|
+
end
|
2330
|
+
|
2331
|
+
# @!attribute [rw] graph_id
|
2332
|
+
# The unique identifier of the Neptune Analytics graph.
|
2333
|
+
# @return [String]
|
2334
|
+
#
|
2335
|
+
# @!attribute [rw] task_id
|
2336
|
+
# The unique identifier of the import task.
|
2337
|
+
# @return [String]
|
2338
|
+
#
|
2339
|
+
# @!attribute [rw] source
|
2340
|
+
# A URL identifying the location of the data to be imported. This can
|
2341
|
+
# be an Amazon S3 path, or can point to a Neptune database endpoint or
|
2342
|
+
# snapshot.
|
2343
|
+
# @return [String]
|
2344
|
+
#
|
2345
|
+
# @!attribute [rw] format
|
2346
|
+
# Specifies the format of Amazon S3 data to be imported. Valid values
|
2347
|
+
# are CSV, which identifies the Gremlin CSV format or OPENCYPHER,
|
2348
|
+
# which identies the openCypher load format.
|
2349
|
+
# @return [String]
|
2350
|
+
#
|
2351
|
+
# @!attribute [rw] role_arn
|
2352
|
+
# The ARN of the IAM role that will allow access to the data that is
|
2353
|
+
# to be imported.
|
2354
|
+
# @return [String]
|
2355
|
+
#
|
2356
|
+
# @!attribute [rw] status
|
2357
|
+
# The status of the import task.
|
2358
|
+
# @return [String]
|
2359
|
+
#
|
2360
|
+
# @!attribute [rw] import_options
|
2361
|
+
# Options for how to perform an import.
|
2362
|
+
# @return [Types::ImportOptions]
|
2363
|
+
#
|
2364
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/neptune-graph-2023-11-29/StartImportTaskOutput AWS API Documentation
|
2365
|
+
#
|
2366
|
+
class StartImportTaskOutput < Struct.new(
|
2367
|
+
:graph_id,
|
2368
|
+
:task_id,
|
2369
|
+
:source,
|
2370
|
+
:format,
|
2371
|
+
:role_arn,
|
2372
|
+
:status,
|
2373
|
+
:import_options)
|
2374
|
+
SENSITIVE = []
|
2375
|
+
include Aws::Structure
|
2376
|
+
end
|
2377
|
+
|
2276
2378
|
# @!attribute [rw] resource_arn
|
2277
2379
|
# ARN of the resource for which tags need to be added.
|
2278
2380
|
# @return [String]
|
@@ -2374,7 +2476,9 @@ module Aws::NeptuneGraph
|
|
2374
2476
|
#
|
2375
2477
|
# @!attribute [rw] provisioned_memory
|
2376
2478
|
# The provisioned memory-optimized Neptune Capacity Units (m-NCUs) to
|
2377
|
-
# use for the graph.
|
2479
|
+
# use for the graph.
|
2480
|
+
#
|
2481
|
+
# Min = 128
|
2378
2482
|
# @return [Integer]
|
2379
2483
|
#
|
2380
2484
|
# @!attribute [rw] deletion_protection
|
data/lib/aws-sdk-neptunegraph.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -99,7 +99,7 @@ module Aws
|
|
99
99
|
def id: () -> ::String
|
100
100
|
def name: () -> ::String
|
101
101
|
def arn: () -> ::String
|
102
|
-
def status: () -> ("CREATING" | "AVAILABLE" | "DELETING" | "RESETTING" | "UPDATING" | "SNAPSHOTTING" | "FAILED")
|
102
|
+
def status: () -> ("CREATING" | "AVAILABLE" | "DELETING" | "RESETTING" | "UPDATING" | "SNAPSHOTTING" | "FAILED" | "IMPORTING")
|
103
103
|
def status_reason: () -> ::String
|
104
104
|
def create_time: () -> ::Time
|
105
105
|
def provisioned_memory: () -> ::Integer
|
@@ -204,7 +204,7 @@ module Aws
|
|
204
204
|
def id: () -> ::String
|
205
205
|
def name: () -> ::String
|
206
206
|
def arn: () -> ::String
|
207
|
-
def status: () -> ("CREATING" | "AVAILABLE" | "DELETING" | "RESETTING" | "UPDATING" | "SNAPSHOTTING" | "FAILED")
|
207
|
+
def status: () -> ("CREATING" | "AVAILABLE" | "DELETING" | "RESETTING" | "UPDATING" | "SNAPSHOTTING" | "FAILED" | "IMPORTING")
|
208
208
|
def status_reason: () -> ::String
|
209
209
|
def create_time: () -> ::Time
|
210
210
|
def provisioned_memory: () -> ::Integer
|
@@ -276,7 +276,7 @@ module Aws
|
|
276
276
|
def id: () -> ::String
|
277
277
|
def name: () -> ::String
|
278
278
|
def arn: () -> ::String
|
279
|
-
def status: () -> ("CREATING" | "AVAILABLE" | "DELETING" | "RESETTING" | "UPDATING" | "SNAPSHOTTING" | "FAILED")
|
279
|
+
def status: () -> ("CREATING" | "AVAILABLE" | "DELETING" | "RESETTING" | "UPDATING" | "SNAPSHOTTING" | "FAILED" | "IMPORTING")
|
280
280
|
def status_reason: () -> ::String
|
281
281
|
def create_time: () -> ::Time
|
282
282
|
def provisioned_memory: () -> ::Integer
|
@@ -449,7 +449,7 @@ module Aws
|
|
449
449
|
def id: () -> ::String
|
450
450
|
def name: () -> ::String
|
451
451
|
def arn: () -> ::String
|
452
|
-
def status: () -> ("CREATING" | "AVAILABLE" | "DELETING" | "RESETTING" | "UPDATING" | "SNAPSHOTTING" | "FAILED")
|
452
|
+
def status: () -> ("CREATING" | "AVAILABLE" | "DELETING" | "RESETTING" | "UPDATING" | "SNAPSHOTTING" | "FAILED" | "IMPORTING")
|
453
453
|
def status_reason: () -> ::String
|
454
454
|
def create_time: () -> ::Time
|
455
455
|
def provisioned_memory: () -> ::Integer
|
@@ -474,7 +474,7 @@ module Aws
|
|
474
474
|
def id: () -> ::String
|
475
475
|
def name: () -> ::String
|
476
476
|
def arn: () -> ::String
|
477
|
-
def status: () -> ("CREATING" | "AVAILABLE" | "DELETING" | "RESETTING" | "UPDATING" | "SNAPSHOTTING" | "FAILED")
|
477
|
+
def status: () -> ("CREATING" | "AVAILABLE" | "DELETING" | "RESETTING" | "UPDATING" | "SNAPSHOTTING" | "FAILED" | "IMPORTING")
|
478
478
|
def status_reason: () -> ::String
|
479
479
|
def create_time: () -> ::Time
|
480
480
|
def provisioned_memory: () -> ::Integer
|
@@ -499,6 +499,34 @@ module Aws
|
|
499
499
|
) -> _RestoreGraphFromSnapshotResponseSuccess
|
500
500
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RestoreGraphFromSnapshotResponseSuccess
|
501
501
|
|
502
|
+
interface _StartImportTaskResponseSuccess
|
503
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::StartImportTaskOutput]
|
504
|
+
def graph_id: () -> ::String
|
505
|
+
def task_id: () -> ::String
|
506
|
+
def source: () -> ::String
|
507
|
+
def format: () -> ("CSV" | "OPEN_CYPHER")
|
508
|
+
def role_arn: () -> ::String
|
509
|
+
def status: () -> ("INITIALIZING" | "EXPORTING" | "ANALYZING_DATA" | "IMPORTING" | "REPROVISIONING" | "ROLLING_BACK" | "SUCCEEDED" | "FAILED" | "CANCELLING" | "CANCELLED")
|
510
|
+
def import_options: () -> Types::ImportOptions
|
511
|
+
end
|
512
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NeptuneGraph/Client.html#start_import_task-instance_method
|
513
|
+
def start_import_task: (
|
514
|
+
?import_options: {
|
515
|
+
neptune: {
|
516
|
+
s3_export_path: ::String,
|
517
|
+
s3_export_kms_key_id: ::String,
|
518
|
+
preserve_default_vertex_labels: bool?,
|
519
|
+
preserve_edge_ids: bool?
|
520
|
+
}?
|
521
|
+
},
|
522
|
+
?fail_on_error: bool,
|
523
|
+
source: ::String,
|
524
|
+
?format: ("CSV" | "OPEN_CYPHER"),
|
525
|
+
graph_identifier: ::String,
|
526
|
+
role_arn: ::String
|
527
|
+
) -> _StartImportTaskResponseSuccess
|
528
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartImportTaskResponseSuccess
|
529
|
+
|
502
530
|
interface _TagResourceResponseSuccess
|
503
531
|
include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceOutput]
|
504
532
|
end
|
@@ -524,7 +552,7 @@ module Aws
|
|
524
552
|
def id: () -> ::String
|
525
553
|
def name: () -> ::String
|
526
554
|
def arn: () -> ::String
|
527
|
-
def status: () -> ("CREATING" | "AVAILABLE" | "DELETING" | "RESETTING" | "UPDATING" | "SNAPSHOTTING" | "FAILED")
|
555
|
+
def status: () -> ("CREATING" | "AVAILABLE" | "DELETING" | "RESETTING" | "UPDATING" | "SNAPSHOTTING" | "FAILED" | "IMPORTING")
|
528
556
|
def status_reason: () -> ::String
|
529
557
|
def create_time: () -> ::Time
|
530
558
|
def provisioned_memory: () -> ::Integer
|
data/sig/types.rbs
CHANGED
@@ -56,7 +56,7 @@ module Aws::NeptuneGraph
|
|
56
56
|
attr_accessor id: ::String
|
57
57
|
attr_accessor name: ::String
|
58
58
|
attr_accessor arn: ::String
|
59
|
-
attr_accessor status: ("CREATING" | "AVAILABLE" | "DELETING" | "RESETTING" | "UPDATING" | "SNAPSHOTTING" | "FAILED")
|
59
|
+
attr_accessor status: ("CREATING" | "AVAILABLE" | "DELETING" | "RESETTING" | "UPDATING" | "SNAPSHOTTING" | "FAILED" | "IMPORTING")
|
60
60
|
attr_accessor status_reason: ::String
|
61
61
|
attr_accessor create_time: ::Time
|
62
62
|
attr_accessor provisioned_memory: ::Integer
|
@@ -144,7 +144,7 @@ module Aws::NeptuneGraph
|
|
144
144
|
attr_accessor id: ::String
|
145
145
|
attr_accessor name: ::String
|
146
146
|
attr_accessor arn: ::String
|
147
|
-
attr_accessor status: ("CREATING" | "AVAILABLE" | "DELETING" | "RESETTING" | "UPDATING" | "SNAPSHOTTING" | "FAILED")
|
147
|
+
attr_accessor status: ("CREATING" | "AVAILABLE" | "DELETING" | "RESETTING" | "UPDATING" | "SNAPSHOTTING" | "FAILED" | "IMPORTING")
|
148
148
|
attr_accessor status_reason: ::String
|
149
149
|
attr_accessor create_time: ::Time
|
150
150
|
attr_accessor provisioned_memory: ::Integer
|
@@ -220,7 +220,7 @@ module Aws::NeptuneGraph
|
|
220
220
|
attr_accessor id: ::String
|
221
221
|
attr_accessor name: ::String
|
222
222
|
attr_accessor arn: ::String
|
223
|
-
attr_accessor status: ("CREATING" | "AVAILABLE" | "DELETING" | "RESETTING" | "UPDATING" | "SNAPSHOTTING" | "FAILED")
|
223
|
+
attr_accessor status: ("CREATING" | "AVAILABLE" | "DELETING" | "RESETTING" | "UPDATING" | "SNAPSHOTTING" | "FAILED" | "IMPORTING")
|
224
224
|
attr_accessor status_reason: ::String
|
225
225
|
attr_accessor create_time: ::Time
|
226
226
|
attr_accessor provisioned_memory: ::Integer
|
@@ -345,7 +345,7 @@ module Aws::NeptuneGraph
|
|
345
345
|
attr_accessor id: ::String
|
346
346
|
attr_accessor name: ::String
|
347
347
|
attr_accessor arn: ::String
|
348
|
-
attr_accessor status: ("CREATING" | "AVAILABLE" | "DELETING" | "RESETTING" | "UPDATING" | "SNAPSHOTTING" | "FAILED")
|
348
|
+
attr_accessor status: ("CREATING" | "AVAILABLE" | "DELETING" | "RESETTING" | "UPDATING" | "SNAPSHOTTING" | "FAILED" | "IMPORTING")
|
349
349
|
attr_accessor provisioned_memory: ::Integer
|
350
350
|
attr_accessor public_connectivity: bool
|
351
351
|
attr_accessor endpoint: ::String
|
@@ -507,7 +507,7 @@ module Aws::NeptuneGraph
|
|
507
507
|
attr_accessor id: ::String
|
508
508
|
attr_accessor name: ::String
|
509
509
|
attr_accessor arn: ::String
|
510
|
-
attr_accessor status: ("CREATING" | "AVAILABLE" | "DELETING" | "RESETTING" | "UPDATING" | "SNAPSHOTTING" | "FAILED")
|
510
|
+
attr_accessor status: ("CREATING" | "AVAILABLE" | "DELETING" | "RESETTING" | "UPDATING" | "SNAPSHOTTING" | "FAILED" | "IMPORTING")
|
511
511
|
attr_accessor status_reason: ::String
|
512
512
|
attr_accessor create_time: ::Time
|
513
513
|
attr_accessor provisioned_memory: ::Integer
|
@@ -542,7 +542,7 @@ module Aws::NeptuneGraph
|
|
542
542
|
attr_accessor id: ::String
|
543
543
|
attr_accessor name: ::String
|
544
544
|
attr_accessor arn: ::String
|
545
|
-
attr_accessor status: ("CREATING" | "AVAILABLE" | "DELETING" | "RESETTING" | "UPDATING" | "SNAPSHOTTING" | "FAILED")
|
545
|
+
attr_accessor status: ("CREATING" | "AVAILABLE" | "DELETING" | "RESETTING" | "UPDATING" | "SNAPSHOTTING" | "FAILED" | "IMPORTING")
|
546
546
|
attr_accessor status_reason: ::String
|
547
547
|
attr_accessor create_time: ::Time
|
548
548
|
attr_accessor provisioned_memory: ::Integer
|
@@ -566,6 +566,27 @@ module Aws::NeptuneGraph
|
|
566
566
|
SENSITIVE: []
|
567
567
|
end
|
568
568
|
|
569
|
+
class StartImportTaskInput
|
570
|
+
attr_accessor import_options: Types::ImportOptions
|
571
|
+
attr_accessor fail_on_error: bool
|
572
|
+
attr_accessor source: ::String
|
573
|
+
attr_accessor format: ("CSV" | "OPEN_CYPHER")
|
574
|
+
attr_accessor graph_identifier: ::String
|
575
|
+
attr_accessor role_arn: ::String
|
576
|
+
SENSITIVE: []
|
577
|
+
end
|
578
|
+
|
579
|
+
class StartImportTaskOutput
|
580
|
+
attr_accessor graph_id: ::String
|
581
|
+
attr_accessor task_id: ::String
|
582
|
+
attr_accessor source: ::String
|
583
|
+
attr_accessor format: ("CSV" | "OPEN_CYPHER")
|
584
|
+
attr_accessor role_arn: ::String
|
585
|
+
attr_accessor status: ("INITIALIZING" | "EXPORTING" | "ANALYZING_DATA" | "IMPORTING" | "REPROVISIONING" | "ROLLING_BACK" | "SUCCEEDED" | "FAILED" | "CANCELLING" | "CANCELLED")
|
586
|
+
attr_accessor import_options: Types::ImportOptions
|
587
|
+
SENSITIVE: []
|
588
|
+
end
|
589
|
+
|
569
590
|
class TagResourceInput
|
570
591
|
attr_accessor resource_arn: ::String
|
571
592
|
attr_accessor tags: ::Hash[::String, ::String]
|
@@ -607,7 +628,7 @@ module Aws::NeptuneGraph
|
|
607
628
|
attr_accessor id: ::String
|
608
629
|
attr_accessor name: ::String
|
609
630
|
attr_accessor arn: ::String
|
610
|
-
attr_accessor status: ("CREATING" | "AVAILABLE" | "DELETING" | "RESETTING" | "UPDATING" | "SNAPSHOTTING" | "FAILED")
|
631
|
+
attr_accessor status: ("CREATING" | "AVAILABLE" | "DELETING" | "RESETTING" | "UPDATING" | "SNAPSHOTTING" | "FAILED" | "IMPORTING")
|
611
632
|
attr_accessor status_reason: ::String
|
612
633
|
attr_accessor create_time: ::Time
|
613
634
|
attr_accessor provisioned_memory: ::Integer
|
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.
|
4
|
+
version: 1.6.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-
|
11
|
+
date: 2024-03-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|