aws_sdk_datazone/client/
create_listing_change_set.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`CreateListingChangeSet`](crate::operation::create_listing_change_set::builders::CreateListingChangeSetFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`domain_identifier(impl Into<String>)`](crate::operation::create_listing_change_set::builders::CreateListingChangeSetFluentBuilder::domain_identifier) / [`set_domain_identifier(Option<String>)`](crate::operation::create_listing_change_set::builders::CreateListingChangeSetFluentBuilder::set_domain_identifier):<br>required: **true**<br><p>The ID of the Amazon DataZone domain.</p><br>
    ///   - [`entity_identifier(impl Into<String>)`](crate::operation::create_listing_change_set::builders::CreateListingChangeSetFluentBuilder::entity_identifier) / [`set_entity_identifier(Option<String>)`](crate::operation::create_listing_change_set::builders::CreateListingChangeSetFluentBuilder::set_entity_identifier):<br>required: **true**<br><p>The ID of the asset.</p><br>
    ///   - [`entity_type(EntityType)`](crate::operation::create_listing_change_set::builders::CreateListingChangeSetFluentBuilder::entity_type) / [`set_entity_type(Option<EntityType>)`](crate::operation::create_listing_change_set::builders::CreateListingChangeSetFluentBuilder::set_entity_type):<br>required: **true**<br><p>The type of an entity.</p><br>
    ///   - [`entity_revision(impl Into<String>)`](crate::operation::create_listing_change_set::builders::CreateListingChangeSetFluentBuilder::entity_revision) / [`set_entity_revision(Option<String>)`](crate::operation::create_listing_change_set::builders::CreateListingChangeSetFluentBuilder::set_entity_revision):<br>required: **false**<br><p>The revision of an asset.</p><br>
    ///   - [`action(ChangeAction)`](crate::operation::create_listing_change_set::builders::CreateListingChangeSetFluentBuilder::action) / [`set_action(Option<ChangeAction>)`](crate::operation::create_listing_change_set::builders::CreateListingChangeSetFluentBuilder::set_action):<br>required: **true**<br><p>Specifies whether to publish or unpublish a listing.</p><br>
    ///   - [`client_token(impl Into<String>)`](crate::operation::create_listing_change_set::builders::CreateListingChangeSetFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::create_listing_change_set::builders::CreateListingChangeSetFluentBuilder::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 [`CreateListingChangeSetOutput`](crate::operation::create_listing_change_set::CreateListingChangeSetOutput) with field(s):
    ///   - [`listing_id(String)`](crate::operation::create_listing_change_set::CreateListingChangeSetOutput::listing_id): <p>The ID of the listing (a record of an asset at a given time).</p>
    ///   - [`listing_revision(String)`](crate::operation::create_listing_change_set::CreateListingChangeSetOutput::listing_revision): <p>The revision of a listing.</p>
    ///   - [`status(ListingStatus)`](crate::operation::create_listing_change_set::CreateListingChangeSetOutput::status): <p>Specifies the status of the listing.</p>
    /// - On failure, responds with [`SdkError<CreateListingChangeSetError>`](crate::operation::create_listing_change_set::CreateListingChangeSetError)
    pub fn create_listing_change_set(&self) -> crate::operation::create_listing_change_set::builders::CreateListingChangeSetFluentBuilder {
        crate::operation::create_listing_change_set::builders::CreateListingChangeSetFluentBuilder::new(self.handle.clone())
    }
}