Skip to main content

aws_sdk_agentregistrycontrol/client/
delete_registry_record.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`DeleteRegistryRecord`](crate::operation::delete_registry_record::builders::DeleteRegistryRecordFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`registry_id(impl Into<String>)`](crate::operation::delete_registry_record::builders::DeleteRegistryRecordFluentBuilder::registry_id) / [`set_registry_id(Option<String>)`](crate::operation::delete_registry_record::builders::DeleteRegistryRecordFluentBuilder::set_registry_id):<br>required: **true**<br><p>The identifier of the registry containing the record (ARN or ID)</p><br>
7    ///   - [`record_id(impl Into<String>)`](crate::operation::delete_registry_record::builders::DeleteRegistryRecordFluentBuilder::record_id) / [`set_record_id(Option<String>)`](crate::operation::delete_registry_record::builders::DeleteRegistryRecordFluentBuilder::set_record_id):<br>required: **true**<br><p>The identifier of the registry record to delete (ARN or ID)</p><br>
8    /// - On success, responds with [`DeleteRegistryRecordOutput`](crate::operation::delete_registry_record::DeleteRegistryRecordOutput)
9    /// - On failure, responds with [`SdkError<DeleteRegistryRecordError>`](crate::operation::delete_registry_record::DeleteRegistryRecordError)
10    pub fn delete_registry_record(&self) -> crate::operation::delete_registry_record::builders::DeleteRegistryRecordFluentBuilder {
11        crate::operation::delete_registry_record::builders::DeleteRegistryRecordFluentBuilder::new(self.handle.clone())
12    }
13}