1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
// This file is @generated by prost-build.
#[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>,
}
/// Nested message and enum types in `ProtoAwsConnection`.
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>,
}