Struct aws_sdk_neptunegraph::operation::create_graph_using_import_task::CreateGraphUsingImportTaskOutput
source · #[non_exhaustive]pub struct CreateGraphUsingImportTaskOutput {
pub graph_id: Option<String>,
pub task_id: String,
pub source: String,
pub format: Option<Format>,
pub role_arn: String,
pub status: ImportTaskStatus,
pub import_options: Option<ImportOptions>,
/* private fields */
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.graph_id: Option<String>
The unique identifier of the Neptune Analytics graph.
task_id: String
The unique identifier of the import task.
source: String
A URL identifying to the location of the data to be imported. This can be an Amazon S3 path, or can point to a Neptune database endpoint or snapshot.
format: Option<Format>
Specifies the format of S3 data to be imported. Valid values are CSV
, which identifies the Gremlin CSV format or OPENCYPHER
, which identies the openCypher load format.
role_arn: String
The ARN of the IAM role that will allow access to the data that is to be imported.
status: ImportTaskStatus
The status of the import task.
import_options: Option<ImportOptions>
Contains options for controlling the import process. For example, if the failOnError
key is set to false
, the import skips problem data and attempts to continue (whereas if set to true
, the default, or if omitted, the import operation halts immediately when an error is encountered.
Implementations§
source§impl CreateGraphUsingImportTaskOutput
impl CreateGraphUsingImportTaskOutput
sourcepub fn source(&self) -> &str
pub fn source(&self) -> &str
A URL identifying to the location of the data to be imported. This can be an Amazon S3 path, or can point to a Neptune database endpoint or snapshot.
sourcepub fn format(&self) -> Option<&Format>
pub fn format(&self) -> Option<&Format>
Specifies the format of S3 data to be imported. Valid values are CSV
, which identifies the Gremlin CSV format or OPENCYPHER
, which identies the openCypher load format.
sourcepub fn role_arn(&self) -> &str
pub fn role_arn(&self) -> &str
The ARN of the IAM role that will allow access to the data that is to be imported.
sourcepub fn status(&self) -> &ImportTaskStatus
pub fn status(&self) -> &ImportTaskStatus
The status of the import task.
sourcepub fn import_options(&self) -> Option<&ImportOptions>
pub fn import_options(&self) -> Option<&ImportOptions>
Contains options for controlling the import process. For example, if the failOnError
key is set to false
, the import skips problem data and attempts to continue (whereas if set to true
, the default, or if omitted, the import operation halts immediately when an error is encountered.
source§impl CreateGraphUsingImportTaskOutput
impl CreateGraphUsingImportTaskOutput
sourcepub fn builder() -> CreateGraphUsingImportTaskOutputBuilder
pub fn builder() -> CreateGraphUsingImportTaskOutputBuilder
Creates a new builder-style object to manufacture CreateGraphUsingImportTaskOutput
.
Trait Implementations§
source§impl Clone for CreateGraphUsingImportTaskOutput
impl Clone for CreateGraphUsingImportTaskOutput
source§fn clone(&self) -> CreateGraphUsingImportTaskOutput
fn clone(&self) -> CreateGraphUsingImportTaskOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for CreateGraphUsingImportTaskOutput
impl PartialEq for CreateGraphUsingImportTaskOutput
source§fn eq(&self, other: &CreateGraphUsingImportTaskOutput) -> bool
fn eq(&self, other: &CreateGraphUsingImportTaskOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for CreateGraphUsingImportTaskOutput
impl RequestId for CreateGraphUsingImportTaskOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for CreateGraphUsingImportTaskOutput
Auto Trait Implementations§
impl Freeze for CreateGraphUsingImportTaskOutput
impl RefUnwindSafe for CreateGraphUsingImportTaskOutput
impl Send for CreateGraphUsingImportTaskOutput
impl Sync for CreateGraphUsingImportTaskOutput
impl Unpin for CreateGraphUsingImportTaskOutput
impl UnwindSafe for CreateGraphUsingImportTaskOutput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more