1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560
|
// Code generated by smithy-go-codegen DO NOT EDIT.
package types
type CommitmentDuration string
// Enum values for CommitmentDuration
const (
CommitmentDurationOneMonth CommitmentDuration = "OneMonth"
CommitmentDurationSixMonths CommitmentDuration = "SixMonths"
)
// Values returns all known values for CommitmentDuration. Note that this can be
// expanded in the future, and so it is only as up to date as the client.
//
// The ordering of this slice is not guaranteed to be stable across updates.
func (CommitmentDuration) Values() []CommitmentDuration {
return []CommitmentDuration{
"OneMonth",
"SixMonths",
}
}
type CustomizationType string
// Enum values for CustomizationType
const (
CustomizationTypeFineTuning CustomizationType = "FINE_TUNING"
CustomizationTypeContinuedPreTraining CustomizationType = "CONTINUED_PRE_TRAINING"
)
// Values returns all known values for CustomizationType. Note that this can be
// expanded in the future, and so it is only as up to date as the client.
//
// The ordering of this slice is not guaranteed to be stable across updates.
func (CustomizationType) Values() []CustomizationType {
return []CustomizationType{
"FINE_TUNING",
"CONTINUED_PRE_TRAINING",
}
}
type EvaluationJobStatus string
// Enum values for EvaluationJobStatus
const (
EvaluationJobStatusInProgress EvaluationJobStatus = "InProgress"
EvaluationJobStatusCompleted EvaluationJobStatus = "Completed"
EvaluationJobStatusFailed EvaluationJobStatus = "Failed"
EvaluationJobStatusStopping EvaluationJobStatus = "Stopping"
EvaluationJobStatusStopped EvaluationJobStatus = "Stopped"
)
// Values returns all known values for EvaluationJobStatus. Note that this can be
// expanded in the future, and so it is only as up to date as the client.
//
// The ordering of this slice is not guaranteed to be stable across updates.
func (EvaluationJobStatus) Values() []EvaluationJobStatus {
return []EvaluationJobStatus{
"InProgress",
"Completed",
"Failed",
"Stopping",
"Stopped",
}
}
type EvaluationJobType string
// Enum values for EvaluationJobType
const (
EvaluationJobTypeHuman EvaluationJobType = "Human"
EvaluationJobTypeAutomated EvaluationJobType = "Automated"
)
// Values returns all known values for EvaluationJobType. Note that this can be
// expanded in the future, and so it is only as up to date as the client.
//
// The ordering of this slice is not guaranteed to be stable across updates.
func (EvaluationJobType) Values() []EvaluationJobType {
return []EvaluationJobType{
"Human",
"Automated",
}
}
type EvaluationTaskType string
// Enum values for EvaluationTaskType
const (
EvaluationTaskTypeSummarization EvaluationTaskType = "Summarization"
EvaluationTaskTypeClassification EvaluationTaskType = "Classification"
EvaluationTaskTypeQuestionAndAnswer EvaluationTaskType = "QuestionAndAnswer"
EvaluationTaskTypeGeneration EvaluationTaskType = "Generation"
EvaluationTaskTypeCustom EvaluationTaskType = "Custom"
)
// Values returns all known values for EvaluationTaskType. Note that this can be
// expanded in the future, and so it is only as up to date as the client.
//
// The ordering of this slice is not guaranteed to be stable across updates.
func (EvaluationTaskType) Values() []EvaluationTaskType {
return []EvaluationTaskType{
"Summarization",
"Classification",
"QuestionAndAnswer",
"Generation",
"Custom",
}
}
type FineTuningJobStatus string
// Enum values for FineTuningJobStatus
const (
FineTuningJobStatusInProgress FineTuningJobStatus = "InProgress"
FineTuningJobStatusCompleted FineTuningJobStatus = "Completed"
FineTuningJobStatusFailed FineTuningJobStatus = "Failed"
FineTuningJobStatusStopping FineTuningJobStatus = "Stopping"
FineTuningJobStatusStopped FineTuningJobStatus = "Stopped"
)
// Values returns all known values for FineTuningJobStatus. Note that this can be
// expanded in the future, and so it is only as up to date as the client.
//
// The ordering of this slice is not guaranteed to be stable across updates.
func (FineTuningJobStatus) Values() []FineTuningJobStatus {
return []FineTuningJobStatus{
"InProgress",
"Completed",
"Failed",
"Stopping",
"Stopped",
}
}
type FoundationModelLifecycleStatus string
// Enum values for FoundationModelLifecycleStatus
const (
FoundationModelLifecycleStatusActive FoundationModelLifecycleStatus = "ACTIVE"
FoundationModelLifecycleStatusLegacy FoundationModelLifecycleStatus = "LEGACY"
)
// Values returns all known values for FoundationModelLifecycleStatus. Note that
// this can be expanded in the future, and so it is only as up to date as the
// client.
//
// The ordering of this slice is not guaranteed to be stable across updates.
func (FoundationModelLifecycleStatus) Values() []FoundationModelLifecycleStatus {
return []FoundationModelLifecycleStatus{
"ACTIVE",
"LEGACY",
}
}
type GuardrailContentFilterType string
// Enum values for GuardrailContentFilterType
const (
GuardrailContentFilterTypeSexual GuardrailContentFilterType = "SEXUAL"
GuardrailContentFilterTypeViolence GuardrailContentFilterType = "VIOLENCE"
GuardrailContentFilterTypeHate GuardrailContentFilterType = "HATE"
GuardrailContentFilterTypeInsults GuardrailContentFilterType = "INSULTS"
GuardrailContentFilterTypeMisconduct GuardrailContentFilterType = "MISCONDUCT"
GuardrailContentFilterTypePromptAttack GuardrailContentFilterType = "PROMPT_ATTACK"
)
// Values returns all known values for GuardrailContentFilterType. Note that this
// can be expanded in the future, and so it is only as up to date as the client.
//
// The ordering of this slice is not guaranteed to be stable across updates.
func (GuardrailContentFilterType) Values() []GuardrailContentFilterType {
return []GuardrailContentFilterType{
"SEXUAL",
"VIOLENCE",
"HATE",
"INSULTS",
"MISCONDUCT",
"PROMPT_ATTACK",
}
}
type GuardrailContextualGroundingFilterType string
// Enum values for GuardrailContextualGroundingFilterType
const (
GuardrailContextualGroundingFilterTypeGrounding GuardrailContextualGroundingFilterType = "GROUNDING"
GuardrailContextualGroundingFilterTypeRelevance GuardrailContextualGroundingFilterType = "RELEVANCE"
)
// Values returns all known values for GuardrailContextualGroundingFilterType.
// Note that this can be expanded in the future, and so it is only as up to date as
// the client.
//
// The ordering of this slice is not guaranteed to be stable across updates.
func (GuardrailContextualGroundingFilterType) Values() []GuardrailContextualGroundingFilterType {
return []GuardrailContextualGroundingFilterType{
"GROUNDING",
"RELEVANCE",
}
}
type GuardrailFilterStrength string
// Enum values for GuardrailFilterStrength
const (
GuardrailFilterStrengthNone GuardrailFilterStrength = "NONE"
GuardrailFilterStrengthLow GuardrailFilterStrength = "LOW"
GuardrailFilterStrengthMedium GuardrailFilterStrength = "MEDIUM"
GuardrailFilterStrengthHigh GuardrailFilterStrength = "HIGH"
)
// Values returns all known values for GuardrailFilterStrength. Note that this can
// be expanded in the future, and so it is only as up to date as the client.
//
// The ordering of this slice is not guaranteed to be stable across updates.
func (GuardrailFilterStrength) Values() []GuardrailFilterStrength {
return []GuardrailFilterStrength{
"NONE",
"LOW",
"MEDIUM",
"HIGH",
}
}
type GuardrailManagedWordsType string
// Enum values for GuardrailManagedWordsType
const (
GuardrailManagedWordsTypeProfanity GuardrailManagedWordsType = "PROFANITY"
)
// Values returns all known values for GuardrailManagedWordsType. Note that this
// can be expanded in the future, and so it is only as up to date as the client.
//
// The ordering of this slice is not guaranteed to be stable across updates.
func (GuardrailManagedWordsType) Values() []GuardrailManagedWordsType {
return []GuardrailManagedWordsType{
"PROFANITY",
}
}
type GuardrailPiiEntityType string
// Enum values for GuardrailPiiEntityType
const (
GuardrailPiiEntityTypeAddress GuardrailPiiEntityType = "ADDRESS"
GuardrailPiiEntityTypeAge GuardrailPiiEntityType = "AGE"
GuardrailPiiEntityTypeAwsAccessKey GuardrailPiiEntityType = "AWS_ACCESS_KEY"
GuardrailPiiEntityTypeAwsSecretKey GuardrailPiiEntityType = "AWS_SECRET_KEY"
GuardrailPiiEntityTypeCaHealthNumber GuardrailPiiEntityType = "CA_HEALTH_NUMBER"
GuardrailPiiEntityTypeCaSocialInsuranceNumber GuardrailPiiEntityType = "CA_SOCIAL_INSURANCE_NUMBER"
GuardrailPiiEntityTypeCreditDebitCardCvv GuardrailPiiEntityType = "CREDIT_DEBIT_CARD_CVV"
GuardrailPiiEntityTypeCreditDebitCardExpiry GuardrailPiiEntityType = "CREDIT_DEBIT_CARD_EXPIRY"
GuardrailPiiEntityTypeCreditDebitCardNumber GuardrailPiiEntityType = "CREDIT_DEBIT_CARD_NUMBER"
GuardrailPiiEntityTypeDriverId GuardrailPiiEntityType = "DRIVER_ID"
GuardrailPiiEntityTypeEmail GuardrailPiiEntityType = "EMAIL"
GuardrailPiiEntityTypeInternationalBankAccountNumber GuardrailPiiEntityType = "INTERNATIONAL_BANK_ACCOUNT_NUMBER"
GuardrailPiiEntityTypeIpAddress GuardrailPiiEntityType = "IP_ADDRESS"
GuardrailPiiEntityTypeLicensePlate GuardrailPiiEntityType = "LICENSE_PLATE"
GuardrailPiiEntityTypeMacAddress GuardrailPiiEntityType = "MAC_ADDRESS"
GuardrailPiiEntityTypeName GuardrailPiiEntityType = "NAME"
GuardrailPiiEntityTypePassword GuardrailPiiEntityType = "PASSWORD"
GuardrailPiiEntityTypePhone GuardrailPiiEntityType = "PHONE"
GuardrailPiiEntityTypePin GuardrailPiiEntityType = "PIN"
GuardrailPiiEntityTypeSwiftCode GuardrailPiiEntityType = "SWIFT_CODE"
GuardrailPiiEntityTypeUkNationalHealthServiceNumber GuardrailPiiEntityType = "UK_NATIONAL_HEALTH_SERVICE_NUMBER"
GuardrailPiiEntityTypeUkNationalInsuranceNumber GuardrailPiiEntityType = "UK_NATIONAL_INSURANCE_NUMBER"
GuardrailPiiEntityTypeUkUniqueTaxpayerReferenceNumber GuardrailPiiEntityType = "UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER"
GuardrailPiiEntityTypeUrl GuardrailPiiEntityType = "URL"
GuardrailPiiEntityTypeUsername GuardrailPiiEntityType = "USERNAME"
GuardrailPiiEntityTypeUsBankAccountNumber GuardrailPiiEntityType = "US_BANK_ACCOUNT_NUMBER"
GuardrailPiiEntityTypeUsBankRoutingNumber GuardrailPiiEntityType = "US_BANK_ROUTING_NUMBER"
GuardrailPiiEntityTypeUsIndividualTaxIdentificationNumber GuardrailPiiEntityType = "US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER"
GuardrailPiiEntityTypeUsPassportNumber GuardrailPiiEntityType = "US_PASSPORT_NUMBER"
GuardrailPiiEntityTypeUsSocialSecurityNumber GuardrailPiiEntityType = "US_SOCIAL_SECURITY_NUMBER"
GuardrailPiiEntityTypeVehicleIdentificationNumber GuardrailPiiEntityType = "VEHICLE_IDENTIFICATION_NUMBER"
)
// Values returns all known values for GuardrailPiiEntityType. Note that this can
// be expanded in the future, and so it is only as up to date as the client.
//
// The ordering of this slice is not guaranteed to be stable across updates.
func (GuardrailPiiEntityType) Values() []GuardrailPiiEntityType {
return []GuardrailPiiEntityType{
"ADDRESS",
"AGE",
"AWS_ACCESS_KEY",
"AWS_SECRET_KEY",
"CA_HEALTH_NUMBER",
"CA_SOCIAL_INSURANCE_NUMBER",
"CREDIT_DEBIT_CARD_CVV",
"CREDIT_DEBIT_CARD_EXPIRY",
"CREDIT_DEBIT_CARD_NUMBER",
"DRIVER_ID",
"EMAIL",
"INTERNATIONAL_BANK_ACCOUNT_NUMBER",
"IP_ADDRESS",
"LICENSE_PLATE",
"MAC_ADDRESS",
"NAME",
"PASSWORD",
"PHONE",
"PIN",
"SWIFT_CODE",
"UK_NATIONAL_HEALTH_SERVICE_NUMBER",
"UK_NATIONAL_INSURANCE_NUMBER",
"UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER",
"URL",
"USERNAME",
"US_BANK_ACCOUNT_NUMBER",
"US_BANK_ROUTING_NUMBER",
"US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER",
"US_PASSPORT_NUMBER",
"US_SOCIAL_SECURITY_NUMBER",
"VEHICLE_IDENTIFICATION_NUMBER",
}
}
type GuardrailSensitiveInformationAction string
// Enum values for GuardrailSensitiveInformationAction
const (
GuardrailSensitiveInformationActionBlock GuardrailSensitiveInformationAction = "BLOCK"
GuardrailSensitiveInformationActionAnonymize GuardrailSensitiveInformationAction = "ANONYMIZE"
)
// Values returns all known values for GuardrailSensitiveInformationAction. Note
// that this can be expanded in the future, and so it is only as up to date as the
// client.
//
// The ordering of this slice is not guaranteed to be stable across updates.
func (GuardrailSensitiveInformationAction) Values() []GuardrailSensitiveInformationAction {
return []GuardrailSensitiveInformationAction{
"BLOCK",
"ANONYMIZE",
}
}
type GuardrailStatus string
// Enum values for GuardrailStatus
const (
GuardrailStatusCreating GuardrailStatus = "CREATING"
GuardrailStatusUpdating GuardrailStatus = "UPDATING"
GuardrailStatusVersioning GuardrailStatus = "VERSIONING"
GuardrailStatusReady GuardrailStatus = "READY"
GuardrailStatusFailed GuardrailStatus = "FAILED"
GuardrailStatusDeleting GuardrailStatus = "DELETING"
)
// Values returns all known values for GuardrailStatus. Note that this can be
// expanded in the future, and so it is only as up to date as the client.
//
// The ordering of this slice is not guaranteed to be stable across updates.
func (GuardrailStatus) Values() []GuardrailStatus {
return []GuardrailStatus{
"CREATING",
"UPDATING",
"VERSIONING",
"READY",
"FAILED",
"DELETING",
}
}
type GuardrailTopicType string
// Enum values for GuardrailTopicType
const (
GuardrailTopicTypeDeny GuardrailTopicType = "DENY"
)
// Values returns all known values for GuardrailTopicType. Note that this can be
// expanded in the future, and so it is only as up to date as the client.
//
// The ordering of this slice is not guaranteed to be stable across updates.
func (GuardrailTopicType) Values() []GuardrailTopicType {
return []GuardrailTopicType{
"DENY",
}
}
type InferenceType string
// Enum values for InferenceType
const (
InferenceTypeOnDemand InferenceType = "ON_DEMAND"
InferenceTypeProvisioned InferenceType = "PROVISIONED"
)
// Values returns all known values for InferenceType. Note that this can be
// expanded in the future, and so it is only as up to date as the client.
//
// The ordering of this slice is not guaranteed to be stable across updates.
func (InferenceType) Values() []InferenceType {
return []InferenceType{
"ON_DEMAND",
"PROVISIONED",
}
}
type ModelCustomization string
// Enum values for ModelCustomization
const (
ModelCustomizationFineTuning ModelCustomization = "FINE_TUNING"
ModelCustomizationContinuedPreTraining ModelCustomization = "CONTINUED_PRE_TRAINING"
)
// Values returns all known values for ModelCustomization. Note that this can be
// expanded in the future, and so it is only as up to date as the client.
//
// The ordering of this slice is not guaranteed to be stable across updates.
func (ModelCustomization) Values() []ModelCustomization {
return []ModelCustomization{
"FINE_TUNING",
"CONTINUED_PRE_TRAINING",
}
}
type ModelCustomizationJobStatus string
// Enum values for ModelCustomizationJobStatus
const (
ModelCustomizationJobStatusInProgress ModelCustomizationJobStatus = "InProgress"
ModelCustomizationJobStatusCompleted ModelCustomizationJobStatus = "Completed"
ModelCustomizationJobStatusFailed ModelCustomizationJobStatus = "Failed"
ModelCustomizationJobStatusStopping ModelCustomizationJobStatus = "Stopping"
ModelCustomizationJobStatusStopped ModelCustomizationJobStatus = "Stopped"
)
// Values returns all known values for ModelCustomizationJobStatus. Note that this
// can be expanded in the future, and so it is only as up to date as the client.
//
// The ordering of this slice is not guaranteed to be stable across updates.
func (ModelCustomizationJobStatus) Values() []ModelCustomizationJobStatus {
return []ModelCustomizationJobStatus{
"InProgress",
"Completed",
"Failed",
"Stopping",
"Stopped",
}
}
type ModelModality string
// Enum values for ModelModality
const (
ModelModalityText ModelModality = "TEXT"
ModelModalityImage ModelModality = "IMAGE"
ModelModalityEmbedding ModelModality = "EMBEDDING"
)
// Values returns all known values for ModelModality. Note that this can be
// expanded in the future, and so it is only as up to date as the client.
//
// The ordering of this slice is not guaranteed to be stable across updates.
func (ModelModality) Values() []ModelModality {
return []ModelModality{
"TEXT",
"IMAGE",
"EMBEDDING",
}
}
type ProvisionedModelStatus string
// Enum values for ProvisionedModelStatus
const (
ProvisionedModelStatusCreating ProvisionedModelStatus = "Creating"
ProvisionedModelStatusInService ProvisionedModelStatus = "InService"
ProvisionedModelStatusUpdating ProvisionedModelStatus = "Updating"
ProvisionedModelStatusFailed ProvisionedModelStatus = "Failed"
)
// Values returns all known values for ProvisionedModelStatus. Note that this can
// be expanded in the future, and so it is only as up to date as the client.
//
// The ordering of this slice is not guaranteed to be stable across updates.
func (ProvisionedModelStatus) Values() []ProvisionedModelStatus {
return []ProvisionedModelStatus{
"Creating",
"InService",
"Updating",
"Failed",
}
}
type SortByProvisionedModels string
// Enum values for SortByProvisionedModels
const (
SortByProvisionedModelsCreationTime SortByProvisionedModels = "CreationTime"
)
// Values returns all known values for SortByProvisionedModels. Note that this can
// be expanded in the future, and so it is only as up to date as the client.
//
// The ordering of this slice is not guaranteed to be stable across updates.
func (SortByProvisionedModels) Values() []SortByProvisionedModels {
return []SortByProvisionedModels{
"CreationTime",
}
}
type SortJobsBy string
// Enum values for SortJobsBy
const (
SortJobsByCreationTime SortJobsBy = "CreationTime"
)
// Values returns all known values for SortJobsBy. Note that this can be expanded
// in the future, and so it is only as up to date as the client.
//
// The ordering of this slice is not guaranteed to be stable across updates.
func (SortJobsBy) Values() []SortJobsBy {
return []SortJobsBy{
"CreationTime",
}
}
type SortModelsBy string
// Enum values for SortModelsBy
const (
SortModelsByCreationTime SortModelsBy = "CreationTime"
)
// Values returns all known values for SortModelsBy. Note that this can be
// expanded in the future, and so it is only as up to date as the client.
//
// The ordering of this slice is not guaranteed to be stable across updates.
func (SortModelsBy) Values() []SortModelsBy {
return []SortModelsBy{
"CreationTime",
}
}
type SortOrder string
// Enum values for SortOrder
const (
SortOrderAscending SortOrder = "Ascending"
SortOrderDescending SortOrder = "Descending"
)
// Values returns all known values for SortOrder. Note that this can be expanded
// in the future, and so it is only as up to date as the client.
//
// The ordering of this slice is not guaranteed to be stable across updates.
func (SortOrder) Values() []SortOrder {
return []SortOrder{
"Ascending",
"Descending",
}
}
|