aws_sdk_datazone/client/
add_entity_owner.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`AddEntityOwner`](crate::operation::add_entity_owner::builders::AddEntityOwnerFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`domain_identifier(impl Into<String>)`](crate::operation::add_entity_owner::builders::AddEntityOwnerFluentBuilder::domain_identifier) / [`set_domain_identifier(Option<String>)`](crate::operation::add_entity_owner::builders::AddEntityOwnerFluentBuilder::set_domain_identifier):<br>required: **true**<br><p>The ID of the domain in which you want to add the entity owner.</p><br>
    ///   - [`entity_type(DataZoneEntityType)`](crate::operation::add_entity_owner::builders::AddEntityOwnerFluentBuilder::entity_type) / [`set_entity_type(Option<DataZoneEntityType>)`](crate::operation::add_entity_owner::builders::AddEntityOwnerFluentBuilder::set_entity_type):<br>required: **true**<br><p>The type of an entity.</p><br>
    ///   - [`entity_identifier(impl Into<String>)`](crate::operation::add_entity_owner::builders::AddEntityOwnerFluentBuilder::entity_identifier) / [`set_entity_identifier(Option<String>)`](crate::operation::add_entity_owner::builders::AddEntityOwnerFluentBuilder::set_entity_identifier):<br>required: **true**<br><p>The ID of the entity to which you want to add an owner.</p><br>
    ///   - [`owner(OwnerProperties)`](crate::operation::add_entity_owner::builders::AddEntityOwnerFluentBuilder::owner) / [`set_owner(Option<OwnerProperties>)`](crate::operation::add_entity_owner::builders::AddEntityOwnerFluentBuilder::set_owner):<br>required: **true**<br><p>The owner that you want to add to the entity.</p><br>
    ///   - [`client_token(impl Into<String>)`](crate::operation::add_entity_owner::builders::AddEntityOwnerFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::add_entity_owner::builders::AddEntityOwnerFluentBuilder::set_client_token):<br>required: **false**<br><p>A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.</p><br>
    /// - On success, responds with [`AddEntityOwnerOutput`](crate::operation::add_entity_owner::AddEntityOwnerOutput)
    /// - On failure, responds with [`SdkError<AddEntityOwnerError>`](crate::operation::add_entity_owner::AddEntityOwnerError)
    pub fn add_entity_owner(&self) -> crate::operation::add_entity_owner::builders::AddEntityOwnerFluentBuilder {
        crate::operation::add_entity_owner::builders::AddEntityOwnerFluentBuilder::new(self.handle.clone())
    }
}