Struct aws_sdk_databasemigration::model::NeptuneSettings
source · [−]#[non_exhaustive]pub struct NeptuneSettings {
pub service_access_role_arn: Option<String>,
pub s3_bucket_name: Option<String>,
pub s3_bucket_folder: Option<String>,
pub error_retry_duration: Option<i32>,
pub max_file_size: Option<i32>,
pub max_retry_count: Option<i32>,
pub iam_auth_enabled: Option<bool>,
}
Expand description
Provides information that defines an Amazon Neptune endpoint.
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.service_access_role_arn: Option<String>
The Amazon Resource Name (ARN) of the service role that you created for the Neptune target endpoint. The role must allow the iam:PassRole
action. For more information, see Creating an IAM Service Role for Accessing Amazon Neptune as a Target in the Database Migration Service User Guide.
s3_bucket_name: Option<String>
The name of the Amazon S3 bucket where DMS can temporarily store migrated graph data in .csv files before bulk-loading it to the Neptune target database. DMS maps the SQL source data to graph data before storing it in these .csv files.
s3_bucket_folder: Option<String>
A folder path where you want DMS to store migrated graph data in the S3 bucket specified by S3BucketName
error_retry_duration: Option<i32>
The number of milliseconds for DMS to wait to retry a bulk-load of migrated graph data to the Neptune target database before raising an error. The default is 250.
max_file_size: Option<i32>
The maximum size in kilobytes of migrated graph data stored in a .csv file before DMS bulk-loads the data to the Neptune target database. The default is 1,048,576 KB. If the bulk load is successful, DMS clears the bucket, ready to store the next batch of migrated graph data.
max_retry_count: Option<i32>
The number of times for DMS to retry a bulk load of migrated graph data to the Neptune target database before raising an error. The default is 5.
iam_auth_enabled: Option<bool>
If you want Identity and Access Management (IAM) authorization enabled for this endpoint, set this parameter to true
. Then attach the appropriate IAM policy document to your service role specified by ServiceAccessRoleArn
. The default is false
.
Implementations
sourceimpl NeptuneSettings
impl NeptuneSettings
sourcepub fn service_access_role_arn(&self) -> Option<&str>
pub fn service_access_role_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the service role that you created for the Neptune target endpoint. The role must allow the iam:PassRole
action. For more information, see Creating an IAM Service Role for Accessing Amazon Neptune as a Target in the Database Migration Service User Guide.
sourcepub fn s3_bucket_name(&self) -> Option<&str>
pub fn s3_bucket_name(&self) -> Option<&str>
The name of the Amazon S3 bucket where DMS can temporarily store migrated graph data in .csv files before bulk-loading it to the Neptune target database. DMS maps the SQL source data to graph data before storing it in these .csv files.
sourcepub fn s3_bucket_folder(&self) -> Option<&str>
pub fn s3_bucket_folder(&self) -> Option<&str>
A folder path where you want DMS to store migrated graph data in the S3 bucket specified by S3BucketName
sourcepub fn error_retry_duration(&self) -> Option<i32>
pub fn error_retry_duration(&self) -> Option<i32>
The number of milliseconds for DMS to wait to retry a bulk-load of migrated graph data to the Neptune target database before raising an error. The default is 250.
sourcepub fn max_file_size(&self) -> Option<i32>
pub fn max_file_size(&self) -> Option<i32>
The maximum size in kilobytes of migrated graph data stored in a .csv file before DMS bulk-loads the data to the Neptune target database. The default is 1,048,576 KB. If the bulk load is successful, DMS clears the bucket, ready to store the next batch of migrated graph data.
sourcepub fn max_retry_count(&self) -> Option<i32>
pub fn max_retry_count(&self) -> Option<i32>
The number of times for DMS to retry a bulk load of migrated graph data to the Neptune target database before raising an error. The default is 5.
sourcepub fn iam_auth_enabled(&self) -> Option<bool>
pub fn iam_auth_enabled(&self) -> Option<bool>
If you want Identity and Access Management (IAM) authorization enabled for this endpoint, set this parameter to true
. Then attach the appropriate IAM policy document to your service role specified by ServiceAccessRoleArn
. The default is false
.
sourceimpl NeptuneSettings
impl NeptuneSettings
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture NeptuneSettings
Trait Implementations
sourceimpl Clone for NeptuneSettings
impl Clone for NeptuneSettings
sourcefn clone(&self) -> NeptuneSettings
fn clone(&self) -> NeptuneSettings
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for NeptuneSettings
impl Debug for NeptuneSettings
sourceimpl PartialEq<NeptuneSettings> for NeptuneSettings
impl PartialEq<NeptuneSettings> for NeptuneSettings
sourcefn eq(&self, other: &NeptuneSettings) -> bool
fn eq(&self, other: &NeptuneSettings) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &NeptuneSettings) -> bool
fn ne(&self, other: &NeptuneSettings) -> bool
This method tests for !=
.
impl StructuralPartialEq for NeptuneSettings
Auto Trait Implementations
impl RefUnwindSafe for NeptuneSettings
impl Send for NeptuneSettings
impl Sync for NeptuneSettings
impl Unpin for NeptuneSettings
impl UnwindSafe for NeptuneSettings
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more