pub struct AwsExternalIdPrefix(String);
Expand description
A prefix for an external ID to use for all AWS AssumeRole operations. It should be concatenanted with a non-user-provided suffix identifying the source or sink. The ID used for the suffix should never be reused if the source or sink is deleted.
WARNING: it is critical for security that this ID is not provided by end users of Materialize. It must be provided by the operator of the Materialize service.
This type protects against accidental construction of an
AwsExternalIdPrefix
through the use of an unwieldy and overly descriptive
constructor method name.
Tuple Fields§
§0: String
Implementations§
source§impl AwsExternalIdPrefix
impl AwsExternalIdPrefix
sourcepub fn new_from_cli_argument_or_environment_variable(
aws_external_id_prefix: &str,
) -> Result<AwsExternalIdPrefix, Infallible>
pub fn new_from_cli_argument_or_environment_variable( aws_external_id_prefix: &str, ) -> Result<AwsExternalIdPrefix, Infallible>
Creates a new AWS external ID prefix from a command-line argument or an environment variable.
WARNING: it is critical for security that this ID is not provided by end users of Materialize. It must be provided by the operator of the Materialize service.
Trait Implementations§
source§impl Clone for AwsExternalIdPrefix
impl Clone for AwsExternalIdPrefix
source§fn clone(&self) -> AwsExternalIdPrefix
fn clone(&self) -> AwsExternalIdPrefix
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AwsExternalIdPrefix
impl Debug for AwsExternalIdPrefix
source§impl<'de> Deserialize<'de> for AwsExternalIdPrefix
impl<'de> Deserialize<'de> for AwsExternalIdPrefix
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
source§impl Display for AwsExternalIdPrefix
impl Display for AwsExternalIdPrefix
source§impl PartialEq for AwsExternalIdPrefix
impl PartialEq for AwsExternalIdPrefix
source§impl Serialize for AwsExternalIdPrefix
impl Serialize for AwsExternalIdPrefix
impl Eq for AwsExternalIdPrefix
impl StructuralPartialEq for AwsExternalIdPrefix
Auto Trait Implementations§
impl Freeze for AwsExternalIdPrefix
impl RefUnwindSafe for AwsExternalIdPrefix
impl Send for AwsExternalIdPrefix
impl Sync for AwsExternalIdPrefix
impl Unpin for AwsExternalIdPrefix
impl UnwindSafe for AwsExternalIdPrefix
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<T> FutureExt for T
impl<T> FutureExt for T
source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request
source§impl<T, U> OverrideFrom<Option<&T>> for Uwhere
U: OverrideFrom<T>,
impl<T, U> OverrideFrom<Option<&T>> for Uwhere
U: OverrideFrom<T>,
source§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<T> ProgressEventTimestamp for T
impl<T> ProgressEventTimestamp for T
source§impl<P, R> ProtoType<R> for Pwhere
R: RustType<P>,
impl<P, R> ProtoType<R> for Pwhere
R: RustType<P>,
source§fn into_rust(self) -> Result<R, TryFromProtoError>
fn into_rust(self) -> Result<R, TryFromProtoError>
RustType::from_proto
.source§fn from_rust(rust: &R) -> P
fn from_rust(rust: &R) -> P
RustType::into_proto
.source§impl<'a, S, T> Semigroup<&'a S> for Twhere
T: Semigroup<S>,
impl<'a, S, T> Semigroup<&'a S> for Twhere
T: Semigroup<S>,
source§fn plus_equals(&mut self, rhs: &&'a S)
fn plus_equals(&mut self, rhs: &&'a S)
std::ops::AddAssign
, for types that do not implement AddAssign
.