#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoAwsConnection {
#[prost(string, optional, tag = "2")]
pub region: ::core::option::Option<::prost::alloc::string::String>,
#[prost(string, optional, tag = "4")]
pub endpoint: ::core::option::Option<::prost::alloc::string::String>,
#[prost(oneof = "proto_aws_connection::Auth", tags = "1, 3")]
pub auth: ::core::option::Option<proto_aws_connection::Auth>,
}
pub mod proto_aws_connection {
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Oneof)]
pub enum Auth {
#[prost(message, tag = "1")]
Credentials(super::ProtoAwsCredentials),
#[prost(message, tag = "3")]
AssumeRole(super::ProtoAwsAssumeRole),
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoAwsCredentials {
#[prost(message, optional, tag = "1")]
pub access_key_id: ::core::option::Option<
super::string_or_secret::ProtoStringOrSecret,
>,
#[prost(message, optional, tag = "2")]
pub secret_access_key: ::core::option::Option<::mz_repr::global_id::ProtoGlobalId>,
#[prost(message, optional, tag = "3")]
pub session_token: ::core::option::Option<
super::string_or_secret::ProtoStringOrSecret,
>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoAwsAssumeRole {
#[prost(string, tag = "1")]
pub arn: ::prost::alloc::string::String,
#[prost(string, optional, tag = "2")]
pub session_name: ::core::option::Option<::prost::alloc::string::String>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ProtoAwsConnectionReference {
#[prost(message, optional, tag = "1")]
pub connection_id: ::core::option::Option<::mz_repr::global_id::ProtoGlobalId>,
#[prost(message, optional, tag = "2")]
pub connection: ::core::option::Option<ProtoAwsConnection>,
}