Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=transcribe.aws.upbound.io +versionName=v1beta2
Index ¶
- Constants
- Variables
- type InputDataConfigInitParameters
- type InputDataConfigObservation
- type InputDataConfigParameters
- type LanguageModel
- func (in *LanguageModel) DeepCopy() *LanguageModel
- func (in *LanguageModel) DeepCopyInto(out *LanguageModel)
- func (in *LanguageModel) DeepCopyObject() runtime.Object
- func (mg *LanguageModel) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *LanguageModel) GetConnectionDetailsMapping() map[string]string
- func (mg *LanguageModel) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *LanguageModel) GetID() string
- func (tr *LanguageModel) GetInitParameters() (map[string]any, error)
- func (mg *LanguageModel) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *LanguageModel) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *LanguageModel) GetObservation() (map[string]any, error)
- func (tr *LanguageModel) GetParameters() (map[string]any, error)
- func (mg *LanguageModel) GetProviderConfigReference() *xpv1.Reference
- func (mg *LanguageModel) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *LanguageModel) GetTerraformResourceType() string
- func (tr *LanguageModel) GetTerraformSchemaVersion() int
- func (mg *LanguageModel) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *LanguageModel) Hub()
- func (tr *LanguageModel) LateInitialize(attrs []byte) (bool, error)
- func (mg *LanguageModel) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *LanguageModel) SetConditions(c ...xpv1.Condition)
- func (mg *LanguageModel) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *LanguageModel) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *LanguageModel) SetObservation(obs map[string]any) error
- func (tr *LanguageModel) SetParameters(params map[string]any) error
- func (mg *LanguageModel) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *LanguageModel) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *LanguageModel) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type LanguageModelInitParameters
- type LanguageModelList
- type LanguageModelObservation
- type LanguageModelParameters
- type LanguageModelSpec
- type LanguageModelStatus
Constants ¶
const ( CRDGroup = "transcribe.aws.upbound.io" CRDVersion = "v1beta2" )
Package type metadata.
Variables ¶
var ( // CRDGroupVersion is the API Group Version used to register the objects CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: CRDGroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
var ( LanguageModel_Kind = "LanguageModel" LanguageModel_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: LanguageModel_Kind}.String() LanguageModel_KindAPIVersion = LanguageModel_Kind + "." + CRDGroupVersion.String() LanguageModel_GroupVersionKind = CRDGroupVersion.WithKind(LanguageModel_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type InputDataConfigInitParameters ¶
type InputDataConfigInitParameters struct { // IAM role with access to S3 bucket. // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) DataAccessRoleArn *string `json:"dataAccessRoleArn,omitempty" tf:"data_access_role_arn,omitempty"` // Reference to a Role in iam to populate dataAccessRoleArn. // +kubebuilder:validation:Optional DataAccessRoleArnRef *v1.Reference `json:"dataAccessRoleArnRef,omitempty" tf:"-"` // Selector for a Role in iam to populate dataAccessRoleArn. // +kubebuilder:validation:Optional DataAccessRoleArnSelector *v1.Selector `json:"dataAccessRoleArnSelector,omitempty" tf:"-"` // S3 URI where training data is located. S3URI *string `json:"s3Uri,omitempty" tf:"s3_uri,omitempty"` // S3 URI where tuning data is located. TuningDataS3URI *string `json:"tuningDataS3Uri,omitempty" tf:"tuning_data_s3_uri,omitempty"` }
func (*InputDataConfigInitParameters) DeepCopy ¶
func (in *InputDataConfigInitParameters) DeepCopy() *InputDataConfigInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InputDataConfigInitParameters.
func (*InputDataConfigInitParameters) DeepCopyInto ¶
func (in *InputDataConfigInitParameters) DeepCopyInto(out *InputDataConfigInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InputDataConfigObservation ¶
type InputDataConfigObservation struct { // IAM role with access to S3 bucket. DataAccessRoleArn *string `json:"dataAccessRoleArn,omitempty" tf:"data_access_role_arn,omitempty"` // S3 URI where training data is located. S3URI *string `json:"s3Uri,omitempty" tf:"s3_uri,omitempty"` // S3 URI where tuning data is located. TuningDataS3URI *string `json:"tuningDataS3Uri,omitempty" tf:"tuning_data_s3_uri,omitempty"` }
func (*InputDataConfigObservation) DeepCopy ¶
func (in *InputDataConfigObservation) DeepCopy() *InputDataConfigObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InputDataConfigObservation.
func (*InputDataConfigObservation) DeepCopyInto ¶
func (in *InputDataConfigObservation) DeepCopyInto(out *InputDataConfigObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InputDataConfigParameters ¶
type InputDataConfigParameters struct { // IAM role with access to S3 bucket. // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true) // +kubebuilder:validation:Optional DataAccessRoleArn *string `json:"dataAccessRoleArn,omitempty" tf:"data_access_role_arn,omitempty"` // Reference to a Role in iam to populate dataAccessRoleArn. // +kubebuilder:validation:Optional DataAccessRoleArnRef *v1.Reference `json:"dataAccessRoleArnRef,omitempty" tf:"-"` // Selector for a Role in iam to populate dataAccessRoleArn. // +kubebuilder:validation:Optional DataAccessRoleArnSelector *v1.Selector `json:"dataAccessRoleArnSelector,omitempty" tf:"-"` // S3 URI where training data is located. // +kubebuilder:validation:Optional S3URI *string `json:"s3Uri" tf:"s3_uri,omitempty"` // S3 URI where tuning data is located. // +kubebuilder:validation:Optional TuningDataS3URI *string `json:"tuningDataS3Uri,omitempty" tf:"tuning_data_s3_uri,omitempty"` }
func (*InputDataConfigParameters) DeepCopy ¶
func (in *InputDataConfigParameters) DeepCopy() *InputDataConfigParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InputDataConfigParameters.
func (*InputDataConfigParameters) DeepCopyInto ¶
func (in *InputDataConfigParameters) DeepCopyInto(out *InputDataConfigParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LanguageModel ¶
type LanguageModel struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.baseModelName) || (has(self.initProvider) && has(self.initProvider.baseModelName))",message="spec.forProvider.baseModelName is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.inputDataConfig) || (has(self.initProvider) && has(self.initProvider.inputDataConfig))",message="spec.forProvider.inputDataConfig is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.languageCode) || (has(self.initProvider) && has(self.initProvider.languageCode))",message="spec.forProvider.languageCode is a required parameter" Spec LanguageModelSpec `json:"spec"` Status LanguageModelStatus `json:"status,omitempty"` }
LanguageModel is the Schema for the LanguageModels API. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,aws}
func (*LanguageModel) DeepCopy ¶
func (in *LanguageModel) DeepCopy() *LanguageModel
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LanguageModel.
func (*LanguageModel) DeepCopyInto ¶
func (in *LanguageModel) DeepCopyInto(out *LanguageModel)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*LanguageModel) DeepCopyObject ¶
func (in *LanguageModel) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*LanguageModel) GetCondition ¶
func (mg *LanguageModel) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this LanguageModel.
func (*LanguageModel) GetConnectionDetailsMapping ¶
func (tr *LanguageModel) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this LanguageModel
func (*LanguageModel) GetDeletionPolicy ¶
func (mg *LanguageModel) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this LanguageModel.
func (*LanguageModel) GetID ¶
func (tr *LanguageModel) GetID() string
GetID returns ID of underlying Terraform resource of this LanguageModel
func (*LanguageModel) GetInitParameters ¶
func (tr *LanguageModel) GetInitParameters() (map[string]any, error)
GetInitParameters of this LanguageModel
func (*LanguageModel) GetManagementPolicies ¶
func (mg *LanguageModel) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this LanguageModel.
func (*LanguageModel) GetMergedParameters ¶
func (tr *LanguageModel) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
GetInitParameters of this LanguageModel
func (*LanguageModel) GetObservation ¶
func (tr *LanguageModel) GetObservation() (map[string]any, error)
GetObservation of this LanguageModel
func (*LanguageModel) GetParameters ¶
func (tr *LanguageModel) GetParameters() (map[string]any, error)
GetParameters of this LanguageModel
func (*LanguageModel) GetProviderConfigReference ¶
func (mg *LanguageModel) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this LanguageModel.
func (*LanguageModel) GetPublishConnectionDetailsTo ¶
func (mg *LanguageModel) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this LanguageModel.
func (*LanguageModel) GetTerraformResourceType ¶
func (mg *LanguageModel) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this LanguageModel
func (*LanguageModel) GetTerraformSchemaVersion ¶
func (tr *LanguageModel) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*LanguageModel) GetWriteConnectionSecretToReference ¶
func (mg *LanguageModel) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this LanguageModel.
func (*LanguageModel) LateInitialize ¶
func (tr *LanguageModel) LateInitialize(attrs []byte) (bool, error)
LateInitialize this LanguageModel using its observed tfState. returns True if there are any spec changes for the resource.
func (*LanguageModel) ResolveReferences ¶
func (*LanguageModel) SetConditions ¶
func (mg *LanguageModel) SetConditions(c ...xpv1.Condition)
SetConditions of this LanguageModel.
func (*LanguageModel) SetDeletionPolicy ¶
func (mg *LanguageModel) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this LanguageModel.
func (*LanguageModel) SetManagementPolicies ¶
func (mg *LanguageModel) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this LanguageModel.
func (*LanguageModel) SetObservation ¶
func (tr *LanguageModel) SetObservation(obs map[string]any) error
SetObservation for this LanguageModel
func (*LanguageModel) SetParameters ¶
func (tr *LanguageModel) SetParameters(params map[string]any) error
SetParameters for this LanguageModel
func (*LanguageModel) SetProviderConfigReference ¶
func (mg *LanguageModel) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this LanguageModel.
func (*LanguageModel) SetPublishConnectionDetailsTo ¶
func (mg *LanguageModel) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this LanguageModel.
func (*LanguageModel) SetWriteConnectionSecretToReference ¶
func (mg *LanguageModel) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this LanguageModel.
type LanguageModelInitParameters ¶
type LanguageModelInitParameters struct { // Name of reference base model. BaseModelName *string `json:"baseModelName,omitempty" tf:"base_model_name,omitempty"` // The input data config for the LanguageModel. See Input Data Config for more details. InputDataConfig *InputDataConfigInitParameters `json:"inputDataConfig,omitempty" tf:"input_data_config,omitempty"` // The language code you selected for your language model. Refer to the supported languages page for accepted codes. LanguageCode *string `json:"languageCode,omitempty" tf:"language_code,omitempty"` // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` }
func (*LanguageModelInitParameters) DeepCopy ¶
func (in *LanguageModelInitParameters) DeepCopy() *LanguageModelInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LanguageModelInitParameters.
func (*LanguageModelInitParameters) DeepCopyInto ¶
func (in *LanguageModelInitParameters) DeepCopyInto(out *LanguageModelInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LanguageModelList ¶
type LanguageModelList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []LanguageModel `json:"items"` }
LanguageModelList contains a list of LanguageModels
func (*LanguageModelList) DeepCopy ¶
func (in *LanguageModelList) DeepCopy() *LanguageModelList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LanguageModelList.
func (*LanguageModelList) DeepCopyInto ¶
func (in *LanguageModelList) DeepCopyInto(out *LanguageModelList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*LanguageModelList) DeepCopyObject ¶
func (in *LanguageModelList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*LanguageModelList) GetItems ¶
func (l *LanguageModelList) GetItems() []resource.Managed
GetItems of this LanguageModelList.
type LanguageModelObservation ¶
type LanguageModelObservation struct { // ARN of the LanguageModel. Arn *string `json:"arn,omitempty" tf:"arn,omitempty"` // Name of reference base model. BaseModelName *string `json:"baseModelName,omitempty" tf:"base_model_name,omitempty"` // LanguageModel name. ID *string `json:"id,omitempty" tf:"id,omitempty"` // The input data config for the LanguageModel. See Input Data Config for more details. InputDataConfig *InputDataConfigObservation `json:"inputDataConfig,omitempty" tf:"input_data_config,omitempty"` // The language code you selected for your language model. Refer to the supported languages page for accepted codes. LanguageCode *string `json:"languageCode,omitempty" tf:"language_code,omitempty"` // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` // +mapType=granular TagsAll map[string]*string `json:"tagsAll,omitempty" tf:"tags_all,omitempty"` }
func (*LanguageModelObservation) DeepCopy ¶
func (in *LanguageModelObservation) DeepCopy() *LanguageModelObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LanguageModelObservation.
func (*LanguageModelObservation) DeepCopyInto ¶
func (in *LanguageModelObservation) DeepCopyInto(out *LanguageModelObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LanguageModelParameters ¶
type LanguageModelParameters struct { // Name of reference base model. // +kubebuilder:validation:Optional BaseModelName *string `json:"baseModelName,omitempty" tf:"base_model_name,omitempty"` // The input data config for the LanguageModel. See Input Data Config for more details. // +kubebuilder:validation:Optional InputDataConfig *InputDataConfigParameters `json:"inputDataConfig,omitempty" tf:"input_data_config,omitempty"` // The language code you selected for your language model. Refer to the supported languages page for accepted codes. // +kubebuilder:validation:Optional LanguageCode *string `json:"languageCode,omitempty" tf:"language_code,omitempty"` // Region is the region you'd like your resource to be created in. // +upjet:crd:field:TFTag=- // +kubebuilder:validation:Required Region *string `json:"region" tf:"-"` // Key-value map of resource tags. // +kubebuilder:validation:Optional // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` }
func (*LanguageModelParameters) DeepCopy ¶
func (in *LanguageModelParameters) DeepCopy() *LanguageModelParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LanguageModelParameters.
func (*LanguageModelParameters) DeepCopyInto ¶
func (in *LanguageModelParameters) DeepCopyInto(out *LanguageModelParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LanguageModelSpec ¶
type LanguageModelSpec struct { v1.ResourceSpec `json:",inline"` ForProvider LanguageModelParameters `json:"forProvider"` // THIS IS A BETA FIELD. It will be honored // unless the Management Policies feature flag is disabled. // InitProvider holds the same fields as ForProvider, with the exception // of Identifier and other resource reference fields. The fields that are // in InitProvider are merged into ForProvider when the resource is created. // The same fields are also added to the terraform ignore_changes hook, to // avoid updating them after creation. This is useful for fields that are // required on creation, but we do not desire to update them after creation, // for example because of an external controller is managing them, like an // autoscaler. InitProvider LanguageModelInitParameters `json:"initProvider,omitempty"` }
LanguageModelSpec defines the desired state of LanguageModel
func (*LanguageModelSpec) DeepCopy ¶
func (in *LanguageModelSpec) DeepCopy() *LanguageModelSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LanguageModelSpec.
func (*LanguageModelSpec) DeepCopyInto ¶
func (in *LanguageModelSpec) DeepCopyInto(out *LanguageModelSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LanguageModelStatus ¶
type LanguageModelStatus struct { v1.ResourceStatus `json:",inline"` AtProvider LanguageModelObservation `json:"atProvider,omitempty"` }
LanguageModelStatus defines the observed state of LanguageModel.
func (*LanguageModelStatus) DeepCopy ¶
func (in *LanguageModelStatus) DeepCopy() *LanguageModelStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LanguageModelStatus.
func (*LanguageModelStatus) DeepCopyInto ¶
func (in *LanguageModelStatus) DeepCopyInto(out *LanguageModelStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.