aws-sdk-context 1.0.0

AWS SDK for AWS Context
Documentation
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
#[allow(missing_docs)] // documentation missing in model
#[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
pub struct CreateAgentContextInput {
    /// <p>Client idempotency token. The AWS SDKs generate one when it is absent. An identical request with the same token returns the existing agent context. The same token with a different request returns ValidationException. <code>trustedIdentitySources</code> with the same entries in another order is the same request.</p>
    pub client_token: ::std::option::Option<::std::string::String>,
    /// <p>Optional. The name of the agent context. If you omit it, the name is <code>default</code>. You can change it later with UpdateAgentContext.</p>
    pub name: ::std::option::Option<::std::string::String>,
    /// <p>Optional human-readable description of the agent context. An empty string is the same as none.</p>
    pub description: ::std::option::Option<::std::string::String>,
    /// <p>The connection mappings for this agent context, up to 20. CreateAgentContext requires at least one: an empty list returns <code>ValidationException</code>. Each entry binds a connection to one or more ontologies, optionally scoped by a data filter, extraction depth, and path segments. Each referenced connection must exist, be owned by your account, and be <code>ACTIVE</code>. Order is significant. When several connections reach the same AWS Glue Data Catalog table, AWS Context tries the connection mapped first, with its own access, and then the next.</p>
    pub connection_mappings: ::std::option::Option<::std::vec::Vec<crate::types::ConnectionMapping>>,
    /// <p>The agent context's trace analysis settings. Optional. You can change it with UpdateAgentContext.</p>
    pub trace_analysis_config: ::std::option::Option<crate::types::TraceAnalysisConfig>,
    /// <p>Optional workforce sign-in settings. A config with <code>signInUrl</code> turns sign-in on (<code>status</code> defaults to ENABLED). <code>status</code> ENABLED without <code>signInUrl</code> is a ValidationException. You can change it with UpdateAgentContext.</p>
    pub workforce_sign_in_config: ::std::option::Option<crate::types::WorkforceSignInConfig>,
    /// <p>Optional entity resolution settings. When the config or its <code>status</code> is absent, <code>status</code> reads ENABLED. You can change it with UpdateAgentContext.</p>
    pub entity_resolution_config: ::std::option::Option<crate::types::EntityResolutionConfig>,
    /// <p>Optional identity sources to trust in addition to your account. At most 100 unique entries, each with exactly one member. Order is not significant. An empty list and an absent member are the same value: only your account is trusted. You can change it with UpdateAgentContext.</p>
    pub trusted_identity_sources: ::std::option::Option<::std::vec::Vec<crate::types::TrustedIdentitySource>>,
    /// <p>Tags to add to the agent context when you create it: up to 200 in the request, of which at most 50 can be user tags. Keys can't start with <code>aws:</code>. To add tags, you also need <code>context:TagResource</code> permission on the new agent context. If you specify more than 50 user tags, the request fails with <code>ServiceQuotaExceededException</code>, as on TagResource. If an AWS Organizations tag policy refuses a tag, the request fails with <code>ValidationException</code>.</p>
    pub tags: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>,
    /// <p>Curation policies to associate with the new agent context, as IDs or ARNs, instead of the default curation policies. If you omit it or the list is empty, AWS Context associates the default curation policies. Each policy must be <code>ACTIVE</code> and owned by your account, and you need <code>context:AssociateCurationPolicy</code> permission on each. AWS Context checks both again on a <code>clientToken</code> retry. If a policy doesn't exist, the request fails with <code>ResourceNotFoundException</code>. If one has been deleted, it fails with <code>ConflictException</code>. Change the policies later with AssociateCurationPolicy and DisassociateCurationPolicy.</p>
    pub curation_policy_ids: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
}
impl CreateAgentContextInput {
    /// <p>Client idempotency token. The AWS SDKs generate one when it is absent. An identical request with the same token returns the existing agent context. The same token with a different request returns ValidationException. <code>trustedIdentitySources</code> with the same entries in another order is the same request.</p>
    pub fn client_token(&self) -> ::std::option::Option<&str> {
        self.client_token.as_deref()
    }
    /// <p>Optional. The name of the agent context. If you omit it, the name is <code>default</code>. You can change it later with UpdateAgentContext.</p>
    pub fn name(&self) -> ::std::option::Option<&str> {
        self.name.as_deref()
    }
    /// <p>Optional human-readable description of the agent context. An empty string is the same as none.</p>
    pub fn description(&self) -> ::std::option::Option<&str> {
        self.description.as_deref()
    }
    /// <p>The connection mappings for this agent context, up to 20. CreateAgentContext requires at least one: an empty list returns <code>ValidationException</code>. Each entry binds a connection to one or more ontologies, optionally scoped by a data filter, extraction depth, and path segments. Each referenced connection must exist, be owned by your account, and be <code>ACTIVE</code>. Order is significant. When several connections reach the same AWS Glue Data Catalog table, AWS Context tries the connection mapped first, with its own access, and then the next.</p>
    ///
    /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.connection_mappings.is_none()`.
    pub fn connection_mappings(&self) -> &[crate::types::ConnectionMapping] {
        self.connection_mappings.as_deref().unwrap_or_default()
    }
    /// <p>The agent context's trace analysis settings. Optional. You can change it with UpdateAgentContext.</p>
    pub fn trace_analysis_config(&self) -> ::std::option::Option<&crate::types::TraceAnalysisConfig> {
        self.trace_analysis_config.as_ref()
    }
    /// <p>Optional workforce sign-in settings. A config with <code>signInUrl</code> turns sign-in on (<code>status</code> defaults to ENABLED). <code>status</code> ENABLED without <code>signInUrl</code> is a ValidationException. You can change it with UpdateAgentContext.</p>
    pub fn workforce_sign_in_config(&self) -> ::std::option::Option<&crate::types::WorkforceSignInConfig> {
        self.workforce_sign_in_config.as_ref()
    }
    /// <p>Optional entity resolution settings. When the config or its <code>status</code> is absent, <code>status</code> reads ENABLED. You can change it with UpdateAgentContext.</p>
    pub fn entity_resolution_config(&self) -> ::std::option::Option<&crate::types::EntityResolutionConfig> {
        self.entity_resolution_config.as_ref()
    }
    /// <p>Optional identity sources to trust in addition to your account. At most 100 unique entries, each with exactly one member. Order is not significant. An empty list and an absent member are the same value: only your account is trusted. You can change it with UpdateAgentContext.</p>
    ///
    /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.trusted_identity_sources.is_none()`.
    pub fn trusted_identity_sources(&self) -> &[crate::types::TrustedIdentitySource] {
        self.trusted_identity_sources.as_deref().unwrap_or_default()
    }
    /// <p>Tags to add to the agent context when you create it: up to 200 in the request, of which at most 50 can be user tags. Keys can't start with <code>aws:</code>. To add tags, you also need <code>context:TagResource</code> permission on the new agent context. If you specify more than 50 user tags, the request fails with <code>ServiceQuotaExceededException</code>, as on TagResource. If an AWS Organizations tag policy refuses a tag, the request fails with <code>ValidationException</code>.</p>
    pub fn tags(&self) -> ::std::option::Option<&::std::collections::HashMap<::std::string::String, ::std::string::String>> {
        self.tags.as_ref()
    }
    /// <p>Curation policies to associate with the new agent context, as IDs or ARNs, instead of the default curation policies. If you omit it or the list is empty, AWS Context associates the default curation policies. Each policy must be <code>ACTIVE</code> and owned by your account, and you need <code>context:AssociateCurationPolicy</code> permission on each. AWS Context checks both again on a <code>clientToken</code> retry. If a policy doesn't exist, the request fails with <code>ResourceNotFoundException</code>. If one has been deleted, it fails with <code>ConflictException</code>. Change the policies later with AssociateCurationPolicy and DisassociateCurationPolicy.</p>
    ///
    /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.curation_policy_ids.is_none()`.
    pub fn curation_policy_ids(&self) -> &[::std::string::String] {
        self.curation_policy_ids.as_deref().unwrap_or_default()
    }
}
impl CreateAgentContextInput {
    /// Creates a new builder-style object to manufacture [`CreateAgentContextInput`](crate::operation::create_agent_context::CreateAgentContextInput).
    pub fn builder() -> crate::operation::create_agent_context::builders::CreateAgentContextInputBuilder {
        crate::operation::create_agent_context::builders::CreateAgentContextInputBuilder::default()
    }
}

/// A builder for [`CreateAgentContextInput`](crate::operation::create_agent_context::CreateAgentContextInput).
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
#[non_exhaustive]
pub struct CreateAgentContextInputBuilder {
    pub(crate) client_token: ::std::option::Option<::std::string::String>,
    pub(crate) name: ::std::option::Option<::std::string::String>,
    pub(crate) description: ::std::option::Option<::std::string::String>,
    pub(crate) connection_mappings: ::std::option::Option<::std::vec::Vec<crate::types::ConnectionMapping>>,
    pub(crate) trace_analysis_config: ::std::option::Option<crate::types::TraceAnalysisConfig>,
    pub(crate) workforce_sign_in_config: ::std::option::Option<crate::types::WorkforceSignInConfig>,
    pub(crate) entity_resolution_config: ::std::option::Option<crate::types::EntityResolutionConfig>,
    pub(crate) trusted_identity_sources: ::std::option::Option<::std::vec::Vec<crate::types::TrustedIdentitySource>>,
    pub(crate) tags: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>,
    pub(crate) curation_policy_ids: ::std::option::Option<::std::vec::Vec<::std::string::String>>,
}
impl CreateAgentContextInputBuilder {
    /// <p>Client idempotency token. The AWS SDKs generate one when it is absent. An identical request with the same token returns the existing agent context. The same token with a different request returns ValidationException. <code>trustedIdentitySources</code> with the same entries in another order is the same request.</p>
    pub fn client_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.client_token = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>Client idempotency token. The AWS SDKs generate one when it is absent. An identical request with the same token returns the existing agent context. The same token with a different request returns ValidationException. <code>trustedIdentitySources</code> with the same entries in another order is the same request.</p>
    pub fn set_client_token(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.client_token = input;
        self
    }
    /// <p>Client idempotency token. The AWS SDKs generate one when it is absent. An identical request with the same token returns the existing agent context. The same token with a different request returns ValidationException. <code>trustedIdentitySources</code> with the same entries in another order is the same request.</p>
    pub fn get_client_token(&self) -> &::std::option::Option<::std::string::String> {
        &self.client_token
    }
    /// <p>Optional. The name of the agent context. If you omit it, the name is <code>default</code>. You can change it later with UpdateAgentContext.</p>
    pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.name = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>Optional. The name of the agent context. If you omit it, the name is <code>default</code>. You can change it later with UpdateAgentContext.</p>
    pub fn set_name(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.name = input;
        self
    }
    /// <p>Optional. The name of the agent context. If you omit it, the name is <code>default</code>. You can change it later with UpdateAgentContext.</p>
    pub fn get_name(&self) -> &::std::option::Option<::std::string::String> {
        &self.name
    }
    /// <p>Optional human-readable description of the agent context. An empty string is the same as none.</p>
    pub fn description(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        self.description = ::std::option::Option::Some(input.into());
        self
    }
    /// <p>Optional human-readable description of the agent context. An empty string is the same as none.</p>
    pub fn set_description(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
        self.description = input;
        self
    }
    /// <p>Optional human-readable description of the agent context. An empty string is the same as none.</p>
    pub fn get_description(&self) -> &::std::option::Option<::std::string::String> {
        &self.description
    }
    /// Appends an item to `connection_mappings`.
    ///
    /// To override the contents of this collection use [`set_connection_mappings`](Self::set_connection_mappings).
    ///
    /// <p>The connection mappings for this agent context, up to 20. CreateAgentContext requires at least one: an empty list returns <code>ValidationException</code>. Each entry binds a connection to one or more ontologies, optionally scoped by a data filter, extraction depth, and path segments. Each referenced connection must exist, be owned by your account, and be <code>ACTIVE</code>. Order is significant. When several connections reach the same AWS Glue Data Catalog table, AWS Context tries the connection mapped first, with its own access, and then the next.</p>
    pub fn connection_mappings(mut self, input: crate::types::ConnectionMapping) -> Self {
        let mut v = self.connection_mappings.unwrap_or_default();
        v.push(input);
        self.connection_mappings = ::std::option::Option::Some(v);
        self
    }
    /// <p>The connection mappings for this agent context, up to 20. CreateAgentContext requires at least one: an empty list returns <code>ValidationException</code>. Each entry binds a connection to one or more ontologies, optionally scoped by a data filter, extraction depth, and path segments. Each referenced connection must exist, be owned by your account, and be <code>ACTIVE</code>. Order is significant. When several connections reach the same AWS Glue Data Catalog table, AWS Context tries the connection mapped first, with its own access, and then the next.</p>
    pub fn set_connection_mappings(mut self, input: ::std::option::Option<::std::vec::Vec<crate::types::ConnectionMapping>>) -> Self {
        self.connection_mappings = input;
        self
    }
    /// <p>The connection mappings for this agent context, up to 20. CreateAgentContext requires at least one: an empty list returns <code>ValidationException</code>. Each entry binds a connection to one or more ontologies, optionally scoped by a data filter, extraction depth, and path segments. Each referenced connection must exist, be owned by your account, and be <code>ACTIVE</code>. Order is significant. When several connections reach the same AWS Glue Data Catalog table, AWS Context tries the connection mapped first, with its own access, and then the next.</p>
    pub fn get_connection_mappings(&self) -> &::std::option::Option<::std::vec::Vec<crate::types::ConnectionMapping>> {
        &self.connection_mappings
    }
    /// <p>The agent context's trace analysis settings. Optional. You can change it with UpdateAgentContext.</p>
    pub fn trace_analysis_config(mut self, input: crate::types::TraceAnalysisConfig) -> Self {
        self.trace_analysis_config = ::std::option::Option::Some(input);
        self
    }
    /// <p>The agent context's trace analysis settings. Optional. You can change it with UpdateAgentContext.</p>
    pub fn set_trace_analysis_config(mut self, input: ::std::option::Option<crate::types::TraceAnalysisConfig>) -> Self {
        self.trace_analysis_config = input;
        self
    }
    /// <p>The agent context's trace analysis settings. Optional. You can change it with UpdateAgentContext.</p>
    pub fn get_trace_analysis_config(&self) -> &::std::option::Option<crate::types::TraceAnalysisConfig> {
        &self.trace_analysis_config
    }
    /// <p>Optional workforce sign-in settings. A config with <code>signInUrl</code> turns sign-in on (<code>status</code> defaults to ENABLED). <code>status</code> ENABLED without <code>signInUrl</code> is a ValidationException. You can change it with UpdateAgentContext.</p>
    pub fn workforce_sign_in_config(mut self, input: crate::types::WorkforceSignInConfig) -> Self {
        self.workforce_sign_in_config = ::std::option::Option::Some(input);
        self
    }
    /// <p>Optional workforce sign-in settings. A config with <code>signInUrl</code> turns sign-in on (<code>status</code> defaults to ENABLED). <code>status</code> ENABLED without <code>signInUrl</code> is a ValidationException. You can change it with UpdateAgentContext.</p>
    pub fn set_workforce_sign_in_config(mut self, input: ::std::option::Option<crate::types::WorkforceSignInConfig>) -> Self {
        self.workforce_sign_in_config = input;
        self
    }
    /// <p>Optional workforce sign-in settings. A config with <code>signInUrl</code> turns sign-in on (<code>status</code> defaults to ENABLED). <code>status</code> ENABLED without <code>signInUrl</code> is a ValidationException. You can change it with UpdateAgentContext.</p>
    pub fn get_workforce_sign_in_config(&self) -> &::std::option::Option<crate::types::WorkforceSignInConfig> {
        &self.workforce_sign_in_config
    }
    /// <p>Optional entity resolution settings. When the config or its <code>status</code> is absent, <code>status</code> reads ENABLED. You can change it with UpdateAgentContext.</p>
    pub fn entity_resolution_config(mut self, input: crate::types::EntityResolutionConfig) -> Self {
        self.entity_resolution_config = ::std::option::Option::Some(input);
        self
    }
    /// <p>Optional entity resolution settings. When the config or its <code>status</code> is absent, <code>status</code> reads ENABLED. You can change it with UpdateAgentContext.</p>
    pub fn set_entity_resolution_config(mut self, input: ::std::option::Option<crate::types::EntityResolutionConfig>) -> Self {
        self.entity_resolution_config = input;
        self
    }
    /// <p>Optional entity resolution settings. When the config or its <code>status</code> is absent, <code>status</code> reads ENABLED. You can change it with UpdateAgentContext.</p>
    pub fn get_entity_resolution_config(&self) -> &::std::option::Option<crate::types::EntityResolutionConfig> {
        &self.entity_resolution_config
    }
    /// Appends an item to `trusted_identity_sources`.
    ///
    /// To override the contents of this collection use [`set_trusted_identity_sources`](Self::set_trusted_identity_sources).
    ///
    /// <p>Optional identity sources to trust in addition to your account. At most 100 unique entries, each with exactly one member. Order is not significant. An empty list and an absent member are the same value: only your account is trusted. You can change it with UpdateAgentContext.</p>
    pub fn trusted_identity_sources(mut self, input: crate::types::TrustedIdentitySource) -> Self {
        let mut v = self.trusted_identity_sources.unwrap_or_default();
        v.push(input);
        self.trusted_identity_sources = ::std::option::Option::Some(v);
        self
    }
    /// <p>Optional identity sources to trust in addition to your account. At most 100 unique entries, each with exactly one member. Order is not significant. An empty list and an absent member are the same value: only your account is trusted. You can change it with UpdateAgentContext.</p>
    pub fn set_trusted_identity_sources(mut self, input: ::std::option::Option<::std::vec::Vec<crate::types::TrustedIdentitySource>>) -> Self {
        self.trusted_identity_sources = input;
        self
    }
    /// <p>Optional identity sources to trust in addition to your account. At most 100 unique entries, each with exactly one member. Order is not significant. An empty list and an absent member are the same value: only your account is trusted. You can change it with UpdateAgentContext.</p>
    pub fn get_trusted_identity_sources(&self) -> &::std::option::Option<::std::vec::Vec<crate::types::TrustedIdentitySource>> {
        &self.trusted_identity_sources
    }
    /// Adds a key-value pair to `tags`.
    ///
    /// To override the contents of this collection use [`set_tags`](Self::set_tags).
    ///
    /// <p>Tags to add to the agent context when you create it: up to 200 in the request, of which at most 50 can be user tags. Keys can't start with <code>aws:</code>. To add tags, you also need <code>context:TagResource</code> permission on the new agent context. If you specify more than 50 user tags, the request fails with <code>ServiceQuotaExceededException</code>, as on TagResource. If an AWS Organizations tag policy refuses a tag, the request fails with <code>ValidationException</code>.</p>
    pub fn tags(mut self, k: impl ::std::convert::Into<::std::string::String>, v: impl ::std::convert::Into<::std::string::String>) -> Self {
        let mut hash_map = self.tags.unwrap_or_default();
        hash_map.insert(k.into(), v.into());
        self.tags = ::std::option::Option::Some(hash_map);
        self
    }
    /// <p>Tags to add to the agent context when you create it: up to 200 in the request, of which at most 50 can be user tags. Keys can't start with <code>aws:</code>. To add tags, you also need <code>context:TagResource</code> permission on the new agent context. If you specify more than 50 user tags, the request fails with <code>ServiceQuotaExceededException</code>, as on TagResource. If an AWS Organizations tag policy refuses a tag, the request fails with <code>ValidationException</code>.</p>
    pub fn set_tags(mut self, input: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>) -> Self {
        self.tags = input;
        self
    }
    /// <p>Tags to add to the agent context when you create it: up to 200 in the request, of which at most 50 can be user tags. Keys can't start with <code>aws:</code>. To add tags, you also need <code>context:TagResource</code> permission on the new agent context. If you specify more than 50 user tags, the request fails with <code>ServiceQuotaExceededException</code>, as on TagResource. If an AWS Organizations tag policy refuses a tag, the request fails with <code>ValidationException</code>.</p>
    pub fn get_tags(&self) -> &::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>> {
        &self.tags
    }
    /// Appends an item to `curation_policy_ids`.
    ///
    /// To override the contents of this collection use [`set_curation_policy_ids`](Self::set_curation_policy_ids).
    ///
    /// <p>Curation policies to associate with the new agent context, as IDs or ARNs, instead of the default curation policies. If you omit it or the list is empty, AWS Context associates the default curation policies. Each policy must be <code>ACTIVE</code> and owned by your account, and you need <code>context:AssociateCurationPolicy</code> permission on each. AWS Context checks both again on a <code>clientToken</code> retry. If a policy doesn't exist, the request fails with <code>ResourceNotFoundException</code>. If one has been deleted, it fails with <code>ConflictException</code>. Change the policies later with AssociateCurationPolicy and DisassociateCurationPolicy.</p>
    pub fn curation_policy_ids(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
        let mut v = self.curation_policy_ids.unwrap_or_default();
        v.push(input.into());
        self.curation_policy_ids = ::std::option::Option::Some(v);
        self
    }
    /// <p>Curation policies to associate with the new agent context, as IDs or ARNs, instead of the default curation policies. If you omit it or the list is empty, AWS Context associates the default curation policies. Each policy must be <code>ACTIVE</code> and owned by your account, and you need <code>context:AssociateCurationPolicy</code> permission on each. AWS Context checks both again on a <code>clientToken</code> retry. If a policy doesn't exist, the request fails with <code>ResourceNotFoundException</code>. If one has been deleted, it fails with <code>ConflictException</code>. Change the policies later with AssociateCurationPolicy and DisassociateCurationPolicy.</p>
    pub fn set_curation_policy_ids(mut self, input: ::std::option::Option<::std::vec::Vec<::std::string::String>>) -> Self {
        self.curation_policy_ids = input;
        self
    }
    /// <p>Curation policies to associate with the new agent context, as IDs or ARNs, instead of the default curation policies. If you omit it or the list is empty, AWS Context associates the default curation policies. Each policy must be <code>ACTIVE</code> and owned by your account, and you need <code>context:AssociateCurationPolicy</code> permission on each. AWS Context checks both again on a <code>clientToken</code> retry. If a policy doesn't exist, the request fails with <code>ResourceNotFoundException</code>. If one has been deleted, it fails with <code>ConflictException</code>. Change the policies later with AssociateCurationPolicy and DisassociateCurationPolicy.</p>
    pub fn get_curation_policy_ids(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> {
        &self.curation_policy_ids
    }
    /// Consumes the builder and constructs a [`CreateAgentContextInput`](crate::operation::create_agent_context::CreateAgentContextInput).
    pub fn build(
        self,
    ) -> ::std::result::Result<crate::operation::create_agent_context::CreateAgentContextInput, ::aws_smithy_types::error::operation::BuildError>
    {
        ::std::result::Result::Ok(crate::operation::create_agent_context::CreateAgentContextInput {
            client_token: self.client_token,
            name: self.name,
            description: self.description,
            connection_mappings: self.connection_mappings,
            trace_analysis_config: self.trace_analysis_config,
            workforce_sign_in_config: self.workforce_sign_in_config,
            entity_resolution_config: self.entity_resolution_config,
            trusted_identity_sources: self.trusted_identity_sources,
            tags: self.tags,
            curation_policy_ids: self.curation_policy_ids,
        })
    }
}