Skip to main content

aws_sdk_context/operation/update_connection/
_update_connection_input.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2#[allow(missing_docs)] // documentation missing in model
3#[non_exhaustive]
4#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
5pub struct UpdateConnectionInput {
6    /// <p>The connection to update, by its ID (which starts with <code>conn-</code>) or its ARN.</p>
7    pub connection_id: ::std::option::Option<::std::string::String>,
8    /// <p>The new name. If you omit it, the name is unchanged.</p>
9    pub name: ::std::option::Option<::std::string::String>,
10    /// <p>The new ingestion scope for the connection. If you omit it, the existing scope is unchanged. The rules of <code>CreateConnectionRequest.scope</code> apply, with the following additions:</p>
11    /// <ul>
12    /// <li>
13    /// <p>A <code>DATABRICKS</code> or <code>SNOWFLAKE</code> scope names at most one <code>databricksCatalog</code> or <code>snowflakeDatabase</code>, unless the existing scope already names each one.</p></li>
14    /// <li>
15    /// <p>If the stored scope has a selector with a <code>glueService</code> segment, the new scope can't be empty. Every selector that it adds must also have a <code>glueService</code> segment. Otherwise, the request fails with <code>ValidationException</code>. You can keep a selector that the stored scope already has, so resending the stored scope unchanged succeeds.</p></li>
16    /// </ul>
17    pub scope: ::std::option::Option<crate::types::DataSourceScope>,
18    /// <p>The updated access configuration for the data source. If you omit it, the existing configuration is unchanged. If you provide one, it replaces the stored configuration, including its variant.</p>
19    /// <p>For <code>DATABRICKS</code> and <code>SNOWFLAKE</code>, a configuration with no variant clears a stored <code>iamRole</code>, and the connection is then returned with no <code>accessConfig</code>.</p>
20    /// <p>For <code>GLUE_DATA_CATALOG</code> and <code>BEDROCK_KNOWLEDGE_BASE</code>, you cannot add or remove the <code>iamRole</code>. An update that adds an <code>iamRole</code> to a connection stored without one fails with <code>ValidationException</code>. So does an update that provides a configuration without <code>iamRole</code> for a connection that has one. You can replace a stored role with another role. To change how such a connection reads its data source, delete the connection and create it again.</p>
21    pub access_config: ::std::option::Option<crate::types::AccessConfig>,
22    /// <p>The new sync schedule for a <code>DATABRICKS</code> or <code>SNOWFLAKE</code> source. If you omit it, the existing schedule is unchanged. Not accepted for <code>GLUE_DATA_CATALOG</code> and <code>BEDROCK_KNOWLEDGE_BASE</code> connections.</p>
23    pub sync_schedule: ::std::option::Option<crate::types::SyncSchedule>,
24    /// <p>The ingestion configuration: the IAM role that a data producer assumes to push data into this connection. Required on every update, so that an existing connection always has an ingestion role that AWS Context can authorize. You must have <code>iam:PassRole</code> permission to pass this role to the data producer, and the role must be in your account. You can't clear the role.</p>
25    pub ingestion_config: ::std::option::Option<crate::types::IngestionConfig>,
26    /// <p>The AWS Glue connection for each <code>redshiftNamespace</code>, and for each <code>rdsInstance</code> and <code>rdsDatabase</code> pair, in <code>scope</code>. If you omit it, the stored list is kept. A list replaces the stored list, and an empty list clears it. If the update changes <code>scope</code>, or changes the role of a connection to another account's catalog, AWS Context validates the kept list again. The rules are those of <code>CreateConnectionRequest.glueConnectionMappings</code>. You can't change the list of a <code>SNOWFLAKE</code> connection, which is keyed by <code>snowflakeDatabase</code>: omit it or send it unchanged.</p>
27    pub glue_connection_mappings: ::std::option::Option<::std::vec::Vec<crate::types::GlueConnectionMapping>>,
28    /// <p>Specifies whether to publish a third-party connection created with <code>publish: false</code>. If <code>true</code>, AWS Context configures catalog synchronization. The connection moves to ACTIVE when AWS Glue finishes provisioning the managed crawler. This has no effect on an ACTIVE connection. <code>false</code> is not accepted, because a connection can't be unpublished. Delete the connection instead.</p>
29    pub publish: ::std::option::Option<bool>,
30}
31impl UpdateConnectionInput {
32    /// <p>The connection to update, by its ID (which starts with <code>conn-</code>) or its ARN.</p>
33    pub fn connection_id(&self) -> ::std::option::Option<&str> {
34        self.connection_id.as_deref()
35    }
36    /// <p>The new name. If you omit it, the name is unchanged.</p>
37    pub fn name(&self) -> ::std::option::Option<&str> {
38        self.name.as_deref()
39    }
40    /// <p>The new ingestion scope for the connection. If you omit it, the existing scope is unchanged. The rules of <code>CreateConnectionRequest.scope</code> apply, with the following additions:</p>
41    /// <ul>
42    /// <li>
43    /// <p>A <code>DATABRICKS</code> or <code>SNOWFLAKE</code> scope names at most one <code>databricksCatalog</code> or <code>snowflakeDatabase</code>, unless the existing scope already names each one.</p></li>
44    /// <li>
45    /// <p>If the stored scope has a selector with a <code>glueService</code> segment, the new scope can't be empty. Every selector that it adds must also have a <code>glueService</code> segment. Otherwise, the request fails with <code>ValidationException</code>. You can keep a selector that the stored scope already has, so resending the stored scope unchanged succeeds.</p></li>
46    /// </ul>
47    pub fn scope(&self) -> ::std::option::Option<&crate::types::DataSourceScope> {
48        self.scope.as_ref()
49    }
50    /// <p>The updated access configuration for the data source. If you omit it, the existing configuration is unchanged. If you provide one, it replaces the stored configuration, including its variant.</p>
51    /// <p>For <code>DATABRICKS</code> and <code>SNOWFLAKE</code>, a configuration with no variant clears a stored <code>iamRole</code>, and the connection is then returned with no <code>accessConfig</code>.</p>
52    /// <p>For <code>GLUE_DATA_CATALOG</code> and <code>BEDROCK_KNOWLEDGE_BASE</code>, you cannot add or remove the <code>iamRole</code>. An update that adds an <code>iamRole</code> to a connection stored without one fails with <code>ValidationException</code>. So does an update that provides a configuration without <code>iamRole</code> for a connection that has one. You can replace a stored role with another role. To change how such a connection reads its data source, delete the connection and create it again.</p>
53    pub fn access_config(&self) -> ::std::option::Option<&crate::types::AccessConfig> {
54        self.access_config.as_ref()
55    }
56    /// <p>The new sync schedule for a <code>DATABRICKS</code> or <code>SNOWFLAKE</code> source. If you omit it, the existing schedule is unchanged. Not accepted for <code>GLUE_DATA_CATALOG</code> and <code>BEDROCK_KNOWLEDGE_BASE</code> connections.</p>
57    pub fn sync_schedule(&self) -> ::std::option::Option<&crate::types::SyncSchedule> {
58        self.sync_schedule.as_ref()
59    }
60    /// <p>The ingestion configuration: the IAM role that a data producer assumes to push data into this connection. Required on every update, so that an existing connection always has an ingestion role that AWS Context can authorize. You must have <code>iam:PassRole</code> permission to pass this role to the data producer, and the role must be in your account. You can't clear the role.</p>
61    pub fn ingestion_config(&self) -> ::std::option::Option<&crate::types::IngestionConfig> {
62        self.ingestion_config.as_ref()
63    }
64    /// <p>The AWS Glue connection for each <code>redshiftNamespace</code>, and for each <code>rdsInstance</code> and <code>rdsDatabase</code> pair, in <code>scope</code>. If you omit it, the stored list is kept. A list replaces the stored list, and an empty list clears it. If the update changes <code>scope</code>, or changes the role of a connection to another account's catalog, AWS Context validates the kept list again. The rules are those of <code>CreateConnectionRequest.glueConnectionMappings</code>. You can't change the list of a <code>SNOWFLAKE</code> connection, which is keyed by <code>snowflakeDatabase</code>: omit it or send it unchanged.</p>
65    ///
66    /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.glue_connection_mappings.is_none()`.
67    pub fn glue_connection_mappings(&self) -> &[crate::types::GlueConnectionMapping] {
68        self.glue_connection_mappings.as_deref().unwrap_or_default()
69    }
70    /// <p>Specifies whether to publish a third-party connection created with <code>publish: false</code>. If <code>true</code>, AWS Context configures catalog synchronization. The connection moves to ACTIVE when AWS Glue finishes provisioning the managed crawler. This has no effect on an ACTIVE connection. <code>false</code> is not accepted, because a connection can't be unpublished. Delete the connection instead.</p>
71    pub fn publish(&self) -> ::std::option::Option<bool> {
72        self.publish
73    }
74}
75impl UpdateConnectionInput {
76    /// Creates a new builder-style object to manufacture [`UpdateConnectionInput`](crate::operation::update_connection::UpdateConnectionInput).
77    pub fn builder() -> crate::operation::update_connection::builders::UpdateConnectionInputBuilder {
78        crate::operation::update_connection::builders::UpdateConnectionInputBuilder::default()
79    }
80}
81
82/// A builder for [`UpdateConnectionInput`](crate::operation::update_connection::UpdateConnectionInput).
83#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
84#[non_exhaustive]
85pub struct UpdateConnectionInputBuilder {
86    pub(crate) connection_id: ::std::option::Option<::std::string::String>,
87    pub(crate) name: ::std::option::Option<::std::string::String>,
88    pub(crate) scope: ::std::option::Option<crate::types::DataSourceScope>,
89    pub(crate) access_config: ::std::option::Option<crate::types::AccessConfig>,
90    pub(crate) sync_schedule: ::std::option::Option<crate::types::SyncSchedule>,
91    pub(crate) ingestion_config: ::std::option::Option<crate::types::IngestionConfig>,
92    pub(crate) glue_connection_mappings: ::std::option::Option<::std::vec::Vec<crate::types::GlueConnectionMapping>>,
93    pub(crate) publish: ::std::option::Option<bool>,
94}
95impl UpdateConnectionInputBuilder {
96    /// <p>The connection to update, by its ID (which starts with <code>conn-</code>) or its ARN.</p>
97    /// This field is required.
98    pub fn connection_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
99        self.connection_id = ::std::option::Option::Some(input.into());
100        self
101    }
102    /// <p>The connection to update, by its ID (which starts with <code>conn-</code>) or its ARN.</p>
103    pub fn set_connection_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
104        self.connection_id = input;
105        self
106    }
107    /// <p>The connection to update, by its ID (which starts with <code>conn-</code>) or its ARN.</p>
108    pub fn get_connection_id(&self) -> &::std::option::Option<::std::string::String> {
109        &self.connection_id
110    }
111    /// <p>The new name. If you omit it, the name is unchanged.</p>
112    pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
113        self.name = ::std::option::Option::Some(input.into());
114        self
115    }
116    /// <p>The new name. If you omit it, the name is unchanged.</p>
117    pub fn set_name(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
118        self.name = input;
119        self
120    }
121    /// <p>The new name. If you omit it, the name is unchanged.</p>
122    pub fn get_name(&self) -> &::std::option::Option<::std::string::String> {
123        &self.name
124    }
125    /// <p>The new ingestion scope for the connection. If you omit it, the existing scope is unchanged. The rules of <code>CreateConnectionRequest.scope</code> apply, with the following additions:</p>
126    /// <ul>
127    /// <li>
128    /// <p>A <code>DATABRICKS</code> or <code>SNOWFLAKE</code> scope names at most one <code>databricksCatalog</code> or <code>snowflakeDatabase</code>, unless the existing scope already names each one.</p></li>
129    /// <li>
130    /// <p>If the stored scope has a selector with a <code>glueService</code> segment, the new scope can't be empty. Every selector that it adds must also have a <code>glueService</code> segment. Otherwise, the request fails with <code>ValidationException</code>. You can keep a selector that the stored scope already has, so resending the stored scope unchanged succeeds.</p></li>
131    /// </ul>
132    pub fn scope(mut self, input: crate::types::DataSourceScope) -> Self {
133        self.scope = ::std::option::Option::Some(input);
134        self
135    }
136    /// <p>The new ingestion scope for the connection. If you omit it, the existing scope is unchanged. The rules of <code>CreateConnectionRequest.scope</code> apply, with the following additions:</p>
137    /// <ul>
138    /// <li>
139    /// <p>A <code>DATABRICKS</code> or <code>SNOWFLAKE</code> scope names at most one <code>databricksCatalog</code> or <code>snowflakeDatabase</code>, unless the existing scope already names each one.</p></li>
140    /// <li>
141    /// <p>If the stored scope has a selector with a <code>glueService</code> segment, the new scope can't be empty. Every selector that it adds must also have a <code>glueService</code> segment. Otherwise, the request fails with <code>ValidationException</code>. You can keep a selector that the stored scope already has, so resending the stored scope unchanged succeeds.</p></li>
142    /// </ul>
143    pub fn set_scope(mut self, input: ::std::option::Option<crate::types::DataSourceScope>) -> Self {
144        self.scope = input;
145        self
146    }
147    /// <p>The new ingestion scope for the connection. If you omit it, the existing scope is unchanged. The rules of <code>CreateConnectionRequest.scope</code> apply, with the following additions:</p>
148    /// <ul>
149    /// <li>
150    /// <p>A <code>DATABRICKS</code> or <code>SNOWFLAKE</code> scope names at most one <code>databricksCatalog</code> or <code>snowflakeDatabase</code>, unless the existing scope already names each one.</p></li>
151    /// <li>
152    /// <p>If the stored scope has a selector with a <code>glueService</code> segment, the new scope can't be empty. Every selector that it adds must also have a <code>glueService</code> segment. Otherwise, the request fails with <code>ValidationException</code>. You can keep a selector that the stored scope already has, so resending the stored scope unchanged succeeds.</p></li>
153    /// </ul>
154    pub fn get_scope(&self) -> &::std::option::Option<crate::types::DataSourceScope> {
155        &self.scope
156    }
157    /// <p>The updated access configuration for the data source. If you omit it, the existing configuration is unchanged. If you provide one, it replaces the stored configuration, including its variant.</p>
158    /// <p>For <code>DATABRICKS</code> and <code>SNOWFLAKE</code>, a configuration with no variant clears a stored <code>iamRole</code>, and the connection is then returned with no <code>accessConfig</code>.</p>
159    /// <p>For <code>GLUE_DATA_CATALOG</code> and <code>BEDROCK_KNOWLEDGE_BASE</code>, you cannot add or remove the <code>iamRole</code>. An update that adds an <code>iamRole</code> to a connection stored without one fails with <code>ValidationException</code>. So does an update that provides a configuration without <code>iamRole</code> for a connection that has one. You can replace a stored role with another role. To change how such a connection reads its data source, delete the connection and create it again.</p>
160    pub fn access_config(mut self, input: crate::types::AccessConfig) -> Self {
161        self.access_config = ::std::option::Option::Some(input);
162        self
163    }
164    /// <p>The updated access configuration for the data source. If you omit it, the existing configuration is unchanged. If you provide one, it replaces the stored configuration, including its variant.</p>
165    /// <p>For <code>DATABRICKS</code> and <code>SNOWFLAKE</code>, a configuration with no variant clears a stored <code>iamRole</code>, and the connection is then returned with no <code>accessConfig</code>.</p>
166    /// <p>For <code>GLUE_DATA_CATALOG</code> and <code>BEDROCK_KNOWLEDGE_BASE</code>, you cannot add or remove the <code>iamRole</code>. An update that adds an <code>iamRole</code> to a connection stored without one fails with <code>ValidationException</code>. So does an update that provides a configuration without <code>iamRole</code> for a connection that has one. You can replace a stored role with another role. To change how such a connection reads its data source, delete the connection and create it again.</p>
167    pub fn set_access_config(mut self, input: ::std::option::Option<crate::types::AccessConfig>) -> Self {
168        self.access_config = input;
169        self
170    }
171    /// <p>The updated access configuration for the data source. If you omit it, the existing configuration is unchanged. If you provide one, it replaces the stored configuration, including its variant.</p>
172    /// <p>For <code>DATABRICKS</code> and <code>SNOWFLAKE</code>, a configuration with no variant clears a stored <code>iamRole</code>, and the connection is then returned with no <code>accessConfig</code>.</p>
173    /// <p>For <code>GLUE_DATA_CATALOG</code> and <code>BEDROCK_KNOWLEDGE_BASE</code>, you cannot add or remove the <code>iamRole</code>. An update that adds an <code>iamRole</code> to a connection stored without one fails with <code>ValidationException</code>. So does an update that provides a configuration without <code>iamRole</code> for a connection that has one. You can replace a stored role with another role. To change how such a connection reads its data source, delete the connection and create it again.</p>
174    pub fn get_access_config(&self) -> &::std::option::Option<crate::types::AccessConfig> {
175        &self.access_config
176    }
177    /// <p>The new sync schedule for a <code>DATABRICKS</code> or <code>SNOWFLAKE</code> source. If you omit it, the existing schedule is unchanged. Not accepted for <code>GLUE_DATA_CATALOG</code> and <code>BEDROCK_KNOWLEDGE_BASE</code> connections.</p>
178    pub fn sync_schedule(mut self, input: crate::types::SyncSchedule) -> Self {
179        self.sync_schedule = ::std::option::Option::Some(input);
180        self
181    }
182    /// <p>The new sync schedule for a <code>DATABRICKS</code> or <code>SNOWFLAKE</code> source. If you omit it, the existing schedule is unchanged. Not accepted for <code>GLUE_DATA_CATALOG</code> and <code>BEDROCK_KNOWLEDGE_BASE</code> connections.</p>
183    pub fn set_sync_schedule(mut self, input: ::std::option::Option<crate::types::SyncSchedule>) -> Self {
184        self.sync_schedule = input;
185        self
186    }
187    /// <p>The new sync schedule for a <code>DATABRICKS</code> or <code>SNOWFLAKE</code> source. If you omit it, the existing schedule is unchanged. Not accepted for <code>GLUE_DATA_CATALOG</code> and <code>BEDROCK_KNOWLEDGE_BASE</code> connections.</p>
188    pub fn get_sync_schedule(&self) -> &::std::option::Option<crate::types::SyncSchedule> {
189        &self.sync_schedule
190    }
191    /// <p>The ingestion configuration: the IAM role that a data producer assumes to push data into this connection. Required on every update, so that an existing connection always has an ingestion role that AWS Context can authorize. You must have <code>iam:PassRole</code> permission to pass this role to the data producer, and the role must be in your account. You can't clear the role.</p>
192    /// This field is required.
193    pub fn ingestion_config(mut self, input: crate::types::IngestionConfig) -> Self {
194        self.ingestion_config = ::std::option::Option::Some(input);
195        self
196    }
197    /// <p>The ingestion configuration: the IAM role that a data producer assumes to push data into this connection. Required on every update, so that an existing connection always has an ingestion role that AWS Context can authorize. You must have <code>iam:PassRole</code> permission to pass this role to the data producer, and the role must be in your account. You can't clear the role.</p>
198    pub fn set_ingestion_config(mut self, input: ::std::option::Option<crate::types::IngestionConfig>) -> Self {
199        self.ingestion_config = input;
200        self
201    }
202    /// <p>The ingestion configuration: the IAM role that a data producer assumes to push data into this connection. Required on every update, so that an existing connection always has an ingestion role that AWS Context can authorize. You must have <code>iam:PassRole</code> permission to pass this role to the data producer, and the role must be in your account. You can't clear the role.</p>
203    pub fn get_ingestion_config(&self) -> &::std::option::Option<crate::types::IngestionConfig> {
204        &self.ingestion_config
205    }
206    /// Appends an item to `glue_connection_mappings`.
207    ///
208    /// To override the contents of this collection use [`set_glue_connection_mappings`](Self::set_glue_connection_mappings).
209    ///
210    /// <p>The AWS Glue connection for each <code>redshiftNamespace</code>, and for each <code>rdsInstance</code> and <code>rdsDatabase</code> pair, in <code>scope</code>. If you omit it, the stored list is kept. A list replaces the stored list, and an empty list clears it. If the update changes <code>scope</code>, or changes the role of a connection to another account's catalog, AWS Context validates the kept list again. The rules are those of <code>CreateConnectionRequest.glueConnectionMappings</code>. You can't change the list of a <code>SNOWFLAKE</code> connection, which is keyed by <code>snowflakeDatabase</code>: omit it or send it unchanged.</p>
211    pub fn glue_connection_mappings(mut self, input: crate::types::GlueConnectionMapping) -> Self {
212        let mut v = self.glue_connection_mappings.unwrap_or_default();
213        v.push(input);
214        self.glue_connection_mappings = ::std::option::Option::Some(v);
215        self
216    }
217    /// <p>The AWS Glue connection for each <code>redshiftNamespace</code>, and for each <code>rdsInstance</code> and <code>rdsDatabase</code> pair, in <code>scope</code>. If you omit it, the stored list is kept. A list replaces the stored list, and an empty list clears it. If the update changes <code>scope</code>, or changes the role of a connection to another account's catalog, AWS Context validates the kept list again. The rules are those of <code>CreateConnectionRequest.glueConnectionMappings</code>. You can't change the list of a <code>SNOWFLAKE</code> connection, which is keyed by <code>snowflakeDatabase</code>: omit it or send it unchanged.</p>
218    pub fn set_glue_connection_mappings(mut self, input: ::std::option::Option<::std::vec::Vec<crate::types::GlueConnectionMapping>>) -> Self {
219        self.glue_connection_mappings = input;
220        self
221    }
222    /// <p>The AWS Glue connection for each <code>redshiftNamespace</code>, and for each <code>rdsInstance</code> and <code>rdsDatabase</code> pair, in <code>scope</code>. If you omit it, the stored list is kept. A list replaces the stored list, and an empty list clears it. If the update changes <code>scope</code>, or changes the role of a connection to another account's catalog, AWS Context validates the kept list again. The rules are those of <code>CreateConnectionRequest.glueConnectionMappings</code>. You can't change the list of a <code>SNOWFLAKE</code> connection, which is keyed by <code>snowflakeDatabase</code>: omit it or send it unchanged.</p>
223    pub fn get_glue_connection_mappings(&self) -> &::std::option::Option<::std::vec::Vec<crate::types::GlueConnectionMapping>> {
224        &self.glue_connection_mappings
225    }
226    /// <p>Specifies whether to publish a third-party connection created with <code>publish: false</code>. If <code>true</code>, AWS Context configures catalog synchronization. The connection moves to ACTIVE when AWS Glue finishes provisioning the managed crawler. This has no effect on an ACTIVE connection. <code>false</code> is not accepted, because a connection can't be unpublished. Delete the connection instead.</p>
227    pub fn publish(mut self, input: bool) -> Self {
228        self.publish = ::std::option::Option::Some(input);
229        self
230    }
231    /// <p>Specifies whether to publish a third-party connection created with <code>publish: false</code>. If <code>true</code>, AWS Context configures catalog synchronization. The connection moves to ACTIVE when AWS Glue finishes provisioning the managed crawler. This has no effect on an ACTIVE connection. <code>false</code> is not accepted, because a connection can't be unpublished. Delete the connection instead.</p>
232    pub fn set_publish(mut self, input: ::std::option::Option<bool>) -> Self {
233        self.publish = input;
234        self
235    }
236    /// <p>Specifies whether to publish a third-party connection created with <code>publish: false</code>. If <code>true</code>, AWS Context configures catalog synchronization. The connection moves to ACTIVE when AWS Glue finishes provisioning the managed crawler. This has no effect on an ACTIVE connection. <code>false</code> is not accepted, because a connection can't be unpublished. Delete the connection instead.</p>
237    pub fn get_publish(&self) -> &::std::option::Option<bool> {
238        &self.publish
239    }
240    /// Consumes the builder and constructs a [`UpdateConnectionInput`](crate::operation::update_connection::UpdateConnectionInput).
241    pub fn build(
242        self,
243    ) -> ::std::result::Result<crate::operation::update_connection::UpdateConnectionInput, ::aws_smithy_types::error::operation::BuildError> {
244        ::std::result::Result::Ok(crate::operation::update_connection::UpdateConnectionInput {
245            connection_id: self.connection_id,
246            name: self.name,
247            scope: self.scope,
248            access_config: self.access_config,
249            sync_schedule: self.sync_schedule,
250            ingestion_config: self.ingestion_config,
251            glue_connection_mappings: self.glue_connection_mappings,
252            publish: self.publish,
253        })
254    }
255}