pub enum Resource {
Show 18 variants
Agent(Agent),
AgentSkill(AgentSkill),
Catalog(Catalog),
Column(Column),
Credential(Credential),
ExternalLocation(ExternalLocation),
Function(Function),
ModelVersion(ModelVersion),
PolicyInfo(PolicyInfo),
Provider(Provider),
Recipient(Recipient),
RegisteredModel(RegisteredModel),
Schema(Schema),
Share(Share),
StagingTable(StagingTable),
Table(Table),
TagPolicy(TagPolicy),
Volume(Volume),
}Expand description
All resource types managed by the service.
Variants§
Agent(Agent)
AgentSkill(AgentSkill)
Catalog(Catalog)
Column(Column)
Credential(Credential)
ExternalLocation(ExternalLocation)
Function(Function)
ModelVersion(ModelVersion)
PolicyInfo(PolicyInfo)
Provider(Provider)
Recipient(Recipient)
RegisteredModel(RegisteredModel)
Schema(Schema)
StagingTable(StagingTable)
Table(Table)
TagPolicy(TagPolicy)
Volume(Volume)
Implementations§
Source§impl Resource
impl Resource
Sourcepub fn resource_label(&self) -> &ObjectLabel
pub fn resource_label(&self) -> &ObjectLabel
Return the discriminant label for this resource.
Trait Implementations§
Source§impl From<AgentSkill> for Resource
impl From<AgentSkill> for Resource
Source§fn from(v: AgentSkill) -> Self
fn from(v: AgentSkill) -> Self
Converts to this type from the input type.
Source§impl From<Credential> for Resource
impl From<Credential> for Resource
Source§fn from(v: Credential) -> Self
fn from(v: Credential) -> Self
Converts to this type from the input type.
Source§impl From<ExternalLocation> for Resource
impl From<ExternalLocation> for Resource
Source§fn from(v: ExternalLocation) -> Self
fn from(v: ExternalLocation) -> Self
Converts to this type from the input type.
Source§impl From<ModelVersion> for Resource
impl From<ModelVersion> for Resource
Source§fn from(v: ModelVersion) -> Self
fn from(v: ModelVersion) -> Self
Converts to this type from the input type.
Source§impl From<PolicyInfo> for Resource
impl From<PolicyInfo> for Resource
Source§fn from(v: PolicyInfo) -> Self
fn from(v: PolicyInfo) -> Self
Converts to this type from the input type.
Source§impl From<RegisteredModel> for Resource
impl From<RegisteredModel> for Resource
Source§fn from(v: RegisteredModel) -> Self
fn from(v: RegisteredModel) -> Self
Converts to this type from the input type.
Source§impl From<StagingTable> for Resource
impl From<StagingTable> for Resource
Source§fn from(v: StagingTable) -> Self
fn from(v: StagingTable) -> Self
Converts to this type from the input type.
Source§impl ResourceExt for Resource
impl ResourceExt for Resource
Source§fn resource_name(&self) -> ResourceName
fn resource_name(&self) -> ResourceName
Get the name of the resource
Source§fn resource_ref(&self) -> ResourceRef
fn resource_ref(&self) -> ResourceRef
Get the reference for the resource Read more
Source§fn resource_ident(&self) -> ResourceIdent
fn resource_ident(&self) -> ResourceIdent
Get the ident for the resource
impl StructuralPartialEq for Resource
Source§impl TryFrom<Resource> for AgentSkill
impl TryFrom<Resource> for AgentSkill
Source§impl TryFrom<Resource> for Credential
impl TryFrom<Resource> for Credential
Source§impl TryFrom<Resource> for ExternalLocation
impl TryFrom<Resource> for ExternalLocation
Source§impl TryFrom<Resource> for ModelVersion
impl TryFrom<Resource> for ModelVersion
Source§impl TryFrom<Resource> for PolicyInfo
impl TryFrom<Resource> for PolicyInfo
Source§impl TryFrom<Resource> for RegisteredModel
impl TryFrom<Resource> for RegisteredModel
Source§impl TryFrom<Resource> for StagingTable
impl TryFrom<Resource> for StagingTable
Auto Trait Implementations§
impl Freeze for Resource
impl RefUnwindSafe for Resource
impl Send for Resource
impl Sync for Resource
impl Unpin for Resource
impl UnsafeUnpin for Resource
impl UnwindSafe for Resource
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more