1// Code generated by smithy-go-codegen DO NOT EDIT. 2 3package types 4 5type AbortAction string 6 7// Enum values for AbortAction 8const ( 9 AbortActionCancel AbortAction = "CANCEL" 10) 11 12// Values returns all known values for AbortAction. Note that this can be expanded 13// in the future, and so it is only as up to date as the client. The ordering of 14// this slice is not guaranteed to be stable across updates. 15func (AbortAction) Values() []AbortAction { 16 return []AbortAction{ 17 "CANCEL", 18 } 19} 20 21type ActionType string 22 23// Enum values for ActionType 24const ( 25 ActionTypePublish ActionType = "PUBLISH" 26 ActionTypeSubscribe ActionType = "SUBSCRIBE" 27 ActionTypeReceive ActionType = "RECEIVE" 28 ActionTypeConnect ActionType = "CONNECT" 29) 30 31// Values returns all known values for ActionType. Note that this can be expanded 32// in the future, and so it is only as up to date as the client. The ordering of 33// this slice is not guaranteed to be stable across updates. 34func (ActionType) Values() []ActionType { 35 return []ActionType{ 36 "PUBLISH", 37 "SUBSCRIBE", 38 "RECEIVE", 39 "CONNECT", 40 } 41} 42 43type AlertTargetType string 44 45// Enum values for AlertTargetType 46const ( 47 AlertTargetTypeSns AlertTargetType = "SNS" 48) 49 50// Values returns all known values for AlertTargetType. Note that this can be 51// expanded in the future, and so it is only as up to date as the client. The 52// ordering of this slice is not guaranteed to be stable across updates. 53func (AlertTargetType) Values() []AlertTargetType { 54 return []AlertTargetType{ 55 "SNS", 56 } 57} 58 59type AuditCheckRunStatus string 60 61// Enum values for AuditCheckRunStatus 62const ( 63 AuditCheckRunStatusInProgress AuditCheckRunStatus = "IN_PROGRESS" 64 AuditCheckRunStatusWaitingForDataCollection AuditCheckRunStatus = "WAITING_FOR_DATA_COLLECTION" 65 AuditCheckRunStatusCanceled AuditCheckRunStatus = "CANCELED" 66 AuditCheckRunStatusCompletedCompliant AuditCheckRunStatus = "COMPLETED_COMPLIANT" 67 AuditCheckRunStatusCompletedNonCompliant AuditCheckRunStatus = "COMPLETED_NON_COMPLIANT" 68 AuditCheckRunStatusFailed AuditCheckRunStatus = "FAILED" 69) 70 71// Values returns all known values for AuditCheckRunStatus. Note that this can be 72// expanded in the future, and so it is only as up to date as the client. The 73// ordering of this slice is not guaranteed to be stable across updates. 74func (AuditCheckRunStatus) Values() []AuditCheckRunStatus { 75 return []AuditCheckRunStatus{ 76 "IN_PROGRESS", 77 "WAITING_FOR_DATA_COLLECTION", 78 "CANCELED", 79 "COMPLETED_COMPLIANT", 80 "COMPLETED_NON_COMPLIANT", 81 "FAILED", 82 } 83} 84 85type AuditFindingSeverity string 86 87// Enum values for AuditFindingSeverity 88const ( 89 AuditFindingSeverityCritical AuditFindingSeverity = "CRITICAL" 90 AuditFindingSeverityHigh AuditFindingSeverity = "HIGH" 91 AuditFindingSeverityMedium AuditFindingSeverity = "MEDIUM" 92 AuditFindingSeverityLow AuditFindingSeverity = "LOW" 93) 94 95// Values returns all known values for AuditFindingSeverity. Note that this can be 96// expanded in the future, and so it is only as up to date as the client. The 97// ordering of this slice is not guaranteed to be stable across updates. 98func (AuditFindingSeverity) Values() []AuditFindingSeverity { 99 return []AuditFindingSeverity{ 100 "CRITICAL", 101 "HIGH", 102 "MEDIUM", 103 "LOW", 104 } 105} 106 107type AuditFrequency string 108 109// Enum values for AuditFrequency 110const ( 111 AuditFrequencyDaily AuditFrequency = "DAILY" 112 AuditFrequencyWeekly AuditFrequency = "WEEKLY" 113 AuditFrequencyBiweekly AuditFrequency = "BIWEEKLY" 114 AuditFrequencyMonthly AuditFrequency = "MONTHLY" 115) 116 117// Values returns all known values for AuditFrequency. Note that this can be 118// expanded in the future, and so it is only as up to date as the client. The 119// ordering of this slice is not guaranteed to be stable across updates. 120func (AuditFrequency) Values() []AuditFrequency { 121 return []AuditFrequency{ 122 "DAILY", 123 "WEEKLY", 124 "BIWEEKLY", 125 "MONTHLY", 126 } 127} 128 129type AuditMitigationActionsExecutionStatus string 130 131// Enum values for AuditMitigationActionsExecutionStatus 132const ( 133 AuditMitigationActionsExecutionStatusInProgress AuditMitigationActionsExecutionStatus = "IN_PROGRESS" 134 AuditMitigationActionsExecutionStatusCompleted AuditMitigationActionsExecutionStatus = "COMPLETED" 135 AuditMitigationActionsExecutionStatusFailed AuditMitigationActionsExecutionStatus = "FAILED" 136 AuditMitigationActionsExecutionStatusCanceled AuditMitigationActionsExecutionStatus = "CANCELED" 137 AuditMitigationActionsExecutionStatusSkipped AuditMitigationActionsExecutionStatus = "SKIPPED" 138 AuditMitigationActionsExecutionStatusPending AuditMitigationActionsExecutionStatus = "PENDING" 139) 140 141// Values returns all known values for AuditMitigationActionsExecutionStatus. Note 142// that this can be expanded in the future, and so it is only as up to date as the 143// client. The ordering of this slice is not guaranteed to be stable across 144// updates. 145func (AuditMitigationActionsExecutionStatus) Values() []AuditMitigationActionsExecutionStatus { 146 return []AuditMitigationActionsExecutionStatus{ 147 "IN_PROGRESS", 148 "COMPLETED", 149 "FAILED", 150 "CANCELED", 151 "SKIPPED", 152 "PENDING", 153 } 154} 155 156type AuditMitigationActionsTaskStatus string 157 158// Enum values for AuditMitigationActionsTaskStatus 159const ( 160 AuditMitigationActionsTaskStatusInProgress AuditMitigationActionsTaskStatus = "IN_PROGRESS" 161 AuditMitigationActionsTaskStatusCompleted AuditMitigationActionsTaskStatus = "COMPLETED" 162 AuditMitigationActionsTaskStatusFailed AuditMitigationActionsTaskStatus = "FAILED" 163 AuditMitigationActionsTaskStatusCanceled AuditMitigationActionsTaskStatus = "CANCELED" 164) 165 166// Values returns all known values for AuditMitigationActionsTaskStatus. Note that 167// this can be expanded in the future, and so it is only as up to date as the 168// client. The ordering of this slice is not guaranteed to be stable across 169// updates. 170func (AuditMitigationActionsTaskStatus) Values() []AuditMitigationActionsTaskStatus { 171 return []AuditMitigationActionsTaskStatus{ 172 "IN_PROGRESS", 173 "COMPLETED", 174 "FAILED", 175 "CANCELED", 176 } 177} 178 179type AuditNotificationType string 180 181// Enum values for AuditNotificationType 182const ( 183 AuditNotificationTypeSns AuditNotificationType = "SNS" 184) 185 186// Values returns all known values for AuditNotificationType. Note that this can be 187// expanded in the future, and so it is only as up to date as the client. The 188// ordering of this slice is not guaranteed to be stable across updates. 189func (AuditNotificationType) Values() []AuditNotificationType { 190 return []AuditNotificationType{ 191 "SNS", 192 } 193} 194 195type AuditTaskStatus string 196 197// Enum values for AuditTaskStatus 198const ( 199 AuditTaskStatusInProgress AuditTaskStatus = "IN_PROGRESS" 200 AuditTaskStatusCompleted AuditTaskStatus = "COMPLETED" 201 AuditTaskStatusFailed AuditTaskStatus = "FAILED" 202 AuditTaskStatusCanceled AuditTaskStatus = "CANCELED" 203) 204 205// Values returns all known values for AuditTaskStatus. Note that this can be 206// expanded in the future, and so it is only as up to date as the client. The 207// ordering of this slice is not guaranteed to be stable across updates. 208func (AuditTaskStatus) Values() []AuditTaskStatus { 209 return []AuditTaskStatus{ 210 "IN_PROGRESS", 211 "COMPLETED", 212 "FAILED", 213 "CANCELED", 214 } 215} 216 217type AuditTaskType string 218 219// Enum values for AuditTaskType 220const ( 221 AuditTaskTypeOnDemandAuditTask AuditTaskType = "ON_DEMAND_AUDIT_TASK" 222 AuditTaskTypeScheduledAuditTask AuditTaskType = "SCHEDULED_AUDIT_TASK" 223) 224 225// Values returns all known values for AuditTaskType. Note that this can be 226// expanded in the future, and so it is only as up to date as the client. The 227// ordering of this slice is not guaranteed to be stable across updates. 228func (AuditTaskType) Values() []AuditTaskType { 229 return []AuditTaskType{ 230 "ON_DEMAND_AUDIT_TASK", 231 "SCHEDULED_AUDIT_TASK", 232 } 233} 234 235type AuthDecision string 236 237// Enum values for AuthDecision 238const ( 239 AuthDecisionAllowed AuthDecision = "ALLOWED" 240 AuthDecisionExplicitDeny AuthDecision = "EXPLICIT_DENY" 241 AuthDecisionImplicitDeny AuthDecision = "IMPLICIT_DENY" 242) 243 244// Values returns all known values for AuthDecision. Note that this can be expanded 245// in the future, and so it is only as up to date as the client. The ordering of 246// this slice is not guaranteed to be stable across updates. 247func (AuthDecision) Values() []AuthDecision { 248 return []AuthDecision{ 249 "ALLOWED", 250 "EXPLICIT_DENY", 251 "IMPLICIT_DENY", 252 } 253} 254 255type AuthorizerStatus string 256 257// Enum values for AuthorizerStatus 258const ( 259 AuthorizerStatusActive AuthorizerStatus = "ACTIVE" 260 AuthorizerStatusInactive AuthorizerStatus = "INACTIVE" 261) 262 263// Values returns all known values for AuthorizerStatus. Note that this can be 264// expanded in the future, and so it is only as up to date as the client. The 265// ordering of this slice is not guaranteed to be stable across updates. 266func (AuthorizerStatus) Values() []AuthorizerStatus { 267 return []AuthorizerStatus{ 268 "ACTIVE", 269 "INACTIVE", 270 } 271} 272 273type AutoRegistrationStatus string 274 275// Enum values for AutoRegistrationStatus 276const ( 277 AutoRegistrationStatusEnable AutoRegistrationStatus = "ENABLE" 278 AutoRegistrationStatusDisable AutoRegistrationStatus = "DISABLE" 279) 280 281// Values returns all known values for AutoRegistrationStatus. Note that this can 282// be expanded in the future, and so it is only as up to date as the client. The 283// ordering of this slice is not guaranteed to be stable across updates. 284func (AutoRegistrationStatus) Values() []AutoRegistrationStatus { 285 return []AutoRegistrationStatus{ 286 "ENABLE", 287 "DISABLE", 288 } 289} 290 291type AwsJobAbortCriteriaAbortAction string 292 293// Enum values for AwsJobAbortCriteriaAbortAction 294const ( 295 AwsJobAbortCriteriaAbortActionCancel AwsJobAbortCriteriaAbortAction = "CANCEL" 296) 297 298// Values returns all known values for AwsJobAbortCriteriaAbortAction. Note that 299// this can be expanded in the future, and so it is only as up to date as the 300// client. The ordering of this slice is not guaranteed to be stable across 301// updates. 302func (AwsJobAbortCriteriaAbortAction) Values() []AwsJobAbortCriteriaAbortAction { 303 return []AwsJobAbortCriteriaAbortAction{ 304 "CANCEL", 305 } 306} 307 308type AwsJobAbortCriteriaFailureType string 309 310// Enum values for AwsJobAbortCriteriaFailureType 311const ( 312 AwsJobAbortCriteriaFailureTypeFailed AwsJobAbortCriteriaFailureType = "FAILED" 313 AwsJobAbortCriteriaFailureTypeRejected AwsJobAbortCriteriaFailureType = "REJECTED" 314 AwsJobAbortCriteriaFailureTypeTimedOut AwsJobAbortCriteriaFailureType = "TIMED_OUT" 315 AwsJobAbortCriteriaFailureTypeAll AwsJobAbortCriteriaFailureType = "ALL" 316) 317 318// Values returns all known values for AwsJobAbortCriteriaFailureType. Note that 319// this can be expanded in the future, and so it is only as up to date as the 320// client. The ordering of this slice is not guaranteed to be stable across 321// updates. 322func (AwsJobAbortCriteriaFailureType) Values() []AwsJobAbortCriteriaFailureType { 323 return []AwsJobAbortCriteriaFailureType{ 324 "FAILED", 325 "REJECTED", 326 "TIMED_OUT", 327 "ALL", 328 } 329} 330 331type CACertificateStatus string 332 333// Enum values for CACertificateStatus 334const ( 335 CACertificateStatusActive CACertificateStatus = "ACTIVE" 336 CACertificateStatusInactive CACertificateStatus = "INACTIVE" 337) 338 339// Values returns all known values for CACertificateStatus. Note that this can be 340// expanded in the future, and so it is only as up to date as the client. The 341// ordering of this slice is not guaranteed to be stable across updates. 342func (CACertificateStatus) Values() []CACertificateStatus { 343 return []CACertificateStatus{ 344 "ACTIVE", 345 "INACTIVE", 346 } 347} 348 349type CACertificateUpdateAction string 350 351// Enum values for CACertificateUpdateAction 352const ( 353 CACertificateUpdateActionDeactivate CACertificateUpdateAction = "DEACTIVATE" 354) 355 356// Values returns all known values for CACertificateUpdateAction. Note that this 357// can be expanded in the future, and so it is only as up to date as the client. 358// The ordering of this slice is not guaranteed to be stable across updates. 359func (CACertificateUpdateAction) Values() []CACertificateUpdateAction { 360 return []CACertificateUpdateAction{ 361 "DEACTIVATE", 362 } 363} 364 365type CannedAccessControlList string 366 367// Enum values for CannedAccessControlList 368const ( 369 CannedAccessControlListPrivate CannedAccessControlList = "private" 370 CannedAccessControlListPublicRead CannedAccessControlList = "public-read" 371 CannedAccessControlListPublicReadWrite CannedAccessControlList = "public-read-write" 372 CannedAccessControlListAwsExecRead CannedAccessControlList = "aws-exec-read" 373 CannedAccessControlListAuthenticatedRead CannedAccessControlList = "authenticated-read" 374 CannedAccessControlListBucketOwnerRead CannedAccessControlList = "bucket-owner-read" 375 CannedAccessControlListBucketOwnerFullControl CannedAccessControlList = "bucket-owner-full-control" 376 CannedAccessControlListLogDeliveryWrite CannedAccessControlList = "log-delivery-write" 377) 378 379// Values returns all known values for CannedAccessControlList. Note that this can 380// be expanded in the future, and so it is only as up to date as the client. The 381// ordering of this slice is not guaranteed to be stable across updates. 382func (CannedAccessControlList) Values() []CannedAccessControlList { 383 return []CannedAccessControlList{ 384 "private", 385 "public-read", 386 "public-read-write", 387 "aws-exec-read", 388 "authenticated-read", 389 "bucket-owner-read", 390 "bucket-owner-full-control", 391 "log-delivery-write", 392 } 393} 394 395type CertificateMode string 396 397// Enum values for CertificateMode 398const ( 399 CertificateModeDefault CertificateMode = "DEFAULT" 400 CertificateModeSniOnly CertificateMode = "SNI_ONLY" 401) 402 403// Values returns all known values for CertificateMode. Note that this can be 404// expanded in the future, and so it is only as up to date as the client. The 405// ordering of this slice is not guaranteed to be stable across updates. 406func (CertificateMode) Values() []CertificateMode { 407 return []CertificateMode{ 408 "DEFAULT", 409 "SNI_ONLY", 410 } 411} 412 413type CertificateStatus string 414 415// Enum values for CertificateStatus 416const ( 417 CertificateStatusActive CertificateStatus = "ACTIVE" 418 CertificateStatusInactive CertificateStatus = "INACTIVE" 419 CertificateStatusRevoked CertificateStatus = "REVOKED" 420 CertificateStatusPendingTransfer CertificateStatus = "PENDING_TRANSFER" 421 CertificateStatusRegisterInactive CertificateStatus = "REGISTER_INACTIVE" 422 CertificateStatusPendingActivation CertificateStatus = "PENDING_ACTIVATION" 423) 424 425// Values returns all known values for CertificateStatus. Note that this can be 426// expanded in the future, and so it is only as up to date as the client. The 427// ordering of this slice is not guaranteed to be stable across updates. 428func (CertificateStatus) Values() []CertificateStatus { 429 return []CertificateStatus{ 430 "ACTIVE", 431 "INACTIVE", 432 "REVOKED", 433 "PENDING_TRANSFER", 434 "REGISTER_INACTIVE", 435 "PENDING_ACTIVATION", 436 } 437} 438 439type ComparisonOperator string 440 441// Enum values for ComparisonOperator 442const ( 443 ComparisonOperatorLessThan ComparisonOperator = "less-than" 444 ComparisonOperatorLessThanEquals ComparisonOperator = "less-than-equals" 445 ComparisonOperatorGreaterThan ComparisonOperator = "greater-than" 446 ComparisonOperatorGreaterThanEquals ComparisonOperator = "greater-than-equals" 447 ComparisonOperatorInCidrSet ComparisonOperator = "in-cidr-set" 448 ComparisonOperatorNotInCidrSet ComparisonOperator = "not-in-cidr-set" 449 ComparisonOperatorInPortSet ComparisonOperator = "in-port-set" 450 ComparisonOperatorNotInPortSet ComparisonOperator = "not-in-port-set" 451) 452 453// Values returns all known values for ComparisonOperator. Note that this can be 454// expanded in the future, and so it is only as up to date as the client. The 455// ordering of this slice is not guaranteed to be stable across updates. 456func (ComparisonOperator) Values() []ComparisonOperator { 457 return []ComparisonOperator{ 458 "less-than", 459 "less-than-equals", 460 "greater-than", 461 "greater-than-equals", 462 "in-cidr-set", 463 "not-in-cidr-set", 464 "in-port-set", 465 "not-in-port-set", 466 } 467} 468 469type DayOfWeek string 470 471// Enum values for DayOfWeek 472const ( 473 DayOfWeekSun DayOfWeek = "SUN" 474 DayOfWeekMon DayOfWeek = "MON" 475 DayOfWeekTue DayOfWeek = "TUE" 476 DayOfWeekWed DayOfWeek = "WED" 477 DayOfWeekThu DayOfWeek = "THU" 478 DayOfWeekFri DayOfWeek = "FRI" 479 DayOfWeekSat DayOfWeek = "SAT" 480) 481 482// Values returns all known values for DayOfWeek. Note that this can be expanded in 483// the future, and so it is only as up to date as the client. The ordering of this 484// slice is not guaranteed to be stable across updates. 485func (DayOfWeek) Values() []DayOfWeek { 486 return []DayOfWeek{ 487 "SUN", 488 "MON", 489 "TUE", 490 "WED", 491 "THU", 492 "FRI", 493 "SAT", 494 } 495} 496 497type DeviceCertificateUpdateAction string 498 499// Enum values for DeviceCertificateUpdateAction 500const ( 501 DeviceCertificateUpdateActionDeactivate DeviceCertificateUpdateAction = "DEACTIVATE" 502) 503 504// Values returns all known values for DeviceCertificateUpdateAction. Note that 505// this can be expanded in the future, and so it is only as up to date as the 506// client. The ordering of this slice is not guaranteed to be stable across 507// updates. 508func (DeviceCertificateUpdateAction) Values() []DeviceCertificateUpdateAction { 509 return []DeviceCertificateUpdateAction{ 510 "DEACTIVATE", 511 } 512} 513 514type DimensionType string 515 516// Enum values for DimensionType 517const ( 518 DimensionTypeTopicFilter DimensionType = "TOPIC_FILTER" 519) 520 521// Values returns all known values for DimensionType. Note that this can be 522// expanded in the future, and so it is only as up to date as the client. The 523// ordering of this slice is not guaranteed to be stable across updates. 524func (DimensionType) Values() []DimensionType { 525 return []DimensionType{ 526 "TOPIC_FILTER", 527 } 528} 529 530type DimensionValueOperator string 531 532// Enum values for DimensionValueOperator 533const ( 534 DimensionValueOperatorIn DimensionValueOperator = "IN" 535 DimensionValueOperatorNotIn DimensionValueOperator = "NOT_IN" 536) 537 538// Values returns all known values for DimensionValueOperator. Note that this can 539// be expanded in the future, and so it is only as up to date as the client. The 540// ordering of this slice is not guaranteed to be stable across updates. 541func (DimensionValueOperator) Values() []DimensionValueOperator { 542 return []DimensionValueOperator{ 543 "IN", 544 "NOT_IN", 545 } 546} 547 548type DomainConfigurationStatus string 549 550// Enum values for DomainConfigurationStatus 551const ( 552 DomainConfigurationStatusEnabled DomainConfigurationStatus = "ENABLED" 553 DomainConfigurationStatusDisabled DomainConfigurationStatus = "DISABLED" 554) 555 556// Values returns all known values for DomainConfigurationStatus. Note that this 557// can be expanded in the future, and so it is only as up to date as the client. 558// The ordering of this slice is not guaranteed to be stable across updates. 559func (DomainConfigurationStatus) Values() []DomainConfigurationStatus { 560 return []DomainConfigurationStatus{ 561 "ENABLED", 562 "DISABLED", 563 } 564} 565 566type DomainType string 567 568// Enum values for DomainType 569const ( 570 DomainTypeEndpoint DomainType = "ENDPOINT" 571 DomainTypeAwsManaged DomainType = "AWS_MANAGED" 572 DomainTypeCustomerManaged DomainType = "CUSTOMER_MANAGED" 573) 574 575// Values returns all known values for DomainType. Note that this can be expanded 576// in the future, and so it is only as up to date as the client. The ordering of 577// this slice is not guaranteed to be stable across updates. 578func (DomainType) Values() []DomainType { 579 return []DomainType{ 580 "ENDPOINT", 581 "AWS_MANAGED", 582 "CUSTOMER_MANAGED", 583 } 584} 585 586type DynamicGroupStatus string 587 588// Enum values for DynamicGroupStatus 589const ( 590 DynamicGroupStatusActive DynamicGroupStatus = "ACTIVE" 591 DynamicGroupStatusBuilding DynamicGroupStatus = "BUILDING" 592 DynamicGroupStatusRebuilding DynamicGroupStatus = "REBUILDING" 593) 594 595// Values returns all known values for DynamicGroupStatus. Note that this can be 596// expanded in the future, and so it is only as up to date as the client. The 597// ordering of this slice is not guaranteed to be stable across updates. 598func (DynamicGroupStatus) Values() []DynamicGroupStatus { 599 return []DynamicGroupStatus{ 600 "ACTIVE", 601 "BUILDING", 602 "REBUILDING", 603 } 604} 605 606type DynamoKeyType string 607 608// Enum values for DynamoKeyType 609const ( 610 DynamoKeyTypeString DynamoKeyType = "STRING" 611 DynamoKeyTypeNumber DynamoKeyType = "NUMBER" 612) 613 614// Values returns all known values for DynamoKeyType. Note that this can be 615// expanded in the future, and so it is only as up to date as the client. The 616// ordering of this slice is not guaranteed to be stable across updates. 617func (DynamoKeyType) Values() []DynamoKeyType { 618 return []DynamoKeyType{ 619 "STRING", 620 "NUMBER", 621 } 622} 623 624type EventType string 625 626// Enum values for EventType 627const ( 628 EventTypeThing EventType = "THING" 629 EventTypeThingGroup EventType = "THING_GROUP" 630 EventTypeThingType EventType = "THING_TYPE" 631 EventTypeThingGroupMembership EventType = "THING_GROUP_MEMBERSHIP" 632 EventTypeThingGroupHierarchy EventType = "THING_GROUP_HIERARCHY" 633 EventTypeThingTypeAssociation EventType = "THING_TYPE_ASSOCIATION" 634 EventTypeJob EventType = "JOB" 635 EventTypeJobExecution EventType = "JOB_EXECUTION" 636 EventTypePolicy EventType = "POLICY" 637 EventTypeCertificate EventType = "CERTIFICATE" 638 EventTypeCaCertificate EventType = "CA_CERTIFICATE" 639) 640 641// Values returns all known values for EventType. Note that this can be expanded in 642// the future, and so it is only as up to date as the client. The ordering of this 643// slice is not guaranteed to be stable across updates. 644func (EventType) Values() []EventType { 645 return []EventType{ 646 "THING", 647 "THING_GROUP", 648 "THING_TYPE", 649 "THING_GROUP_MEMBERSHIP", 650 "THING_GROUP_HIERARCHY", 651 "THING_TYPE_ASSOCIATION", 652 "JOB", 653 "JOB_EXECUTION", 654 "POLICY", 655 "CERTIFICATE", 656 "CA_CERTIFICATE", 657 } 658} 659 660type FieldType string 661 662// Enum values for FieldType 663const ( 664 FieldTypeNumber FieldType = "Number" 665 FieldTypeString FieldType = "String" 666 FieldTypeBoolean FieldType = "Boolean" 667) 668 669// Values returns all known values for FieldType. Note that this can be expanded in 670// the future, and so it is only as up to date as the client. The ordering of this 671// slice is not guaranteed to be stable across updates. 672func (FieldType) Values() []FieldType { 673 return []FieldType{ 674 "Number", 675 "String", 676 "Boolean", 677 } 678} 679 680type IndexStatus string 681 682// Enum values for IndexStatus 683const ( 684 IndexStatusActive IndexStatus = "ACTIVE" 685 IndexStatusBuilding IndexStatus = "BUILDING" 686 IndexStatusRebuilding IndexStatus = "REBUILDING" 687) 688 689// Values returns all known values for IndexStatus. Note that this can be expanded 690// in the future, and so it is only as up to date as the client. The ordering of 691// this slice is not guaranteed to be stable across updates. 692func (IndexStatus) Values() []IndexStatus { 693 return []IndexStatus{ 694 "ACTIVE", 695 "BUILDING", 696 "REBUILDING", 697 } 698} 699 700type JobExecutionFailureType string 701 702// Enum values for JobExecutionFailureType 703const ( 704 JobExecutionFailureTypeFailed JobExecutionFailureType = "FAILED" 705 JobExecutionFailureTypeRejected JobExecutionFailureType = "REJECTED" 706 JobExecutionFailureTypeTimedOut JobExecutionFailureType = "TIMED_OUT" 707 JobExecutionFailureTypeAll JobExecutionFailureType = "ALL" 708) 709 710// Values returns all known values for JobExecutionFailureType. Note that this can 711// be expanded in the future, and so it is only as up to date as the client. The 712// ordering of this slice is not guaranteed to be stable across updates. 713func (JobExecutionFailureType) Values() []JobExecutionFailureType { 714 return []JobExecutionFailureType{ 715 "FAILED", 716 "REJECTED", 717 "TIMED_OUT", 718 "ALL", 719 } 720} 721 722type JobExecutionStatus string 723 724// Enum values for JobExecutionStatus 725const ( 726 JobExecutionStatusQueued JobExecutionStatus = "QUEUED" 727 JobExecutionStatusInProgress JobExecutionStatus = "IN_PROGRESS" 728 JobExecutionStatusSucceeded JobExecutionStatus = "SUCCEEDED" 729 JobExecutionStatusFailed JobExecutionStatus = "FAILED" 730 JobExecutionStatusTimedOut JobExecutionStatus = "TIMED_OUT" 731 JobExecutionStatusRejected JobExecutionStatus = "REJECTED" 732 JobExecutionStatusRemoved JobExecutionStatus = "REMOVED" 733 JobExecutionStatusCanceled JobExecutionStatus = "CANCELED" 734) 735 736// Values returns all known values for JobExecutionStatus. Note that this can be 737// expanded in the future, and so it is only as up to date as the client. The 738// ordering of this slice is not guaranteed to be stable across updates. 739func (JobExecutionStatus) Values() []JobExecutionStatus { 740 return []JobExecutionStatus{ 741 "QUEUED", 742 "IN_PROGRESS", 743 "SUCCEEDED", 744 "FAILED", 745 "TIMED_OUT", 746 "REJECTED", 747 "REMOVED", 748 "CANCELED", 749 } 750} 751 752type JobStatus string 753 754// Enum values for JobStatus 755const ( 756 JobStatusInProgress JobStatus = "IN_PROGRESS" 757 JobStatusCanceled JobStatus = "CANCELED" 758 JobStatusCompleted JobStatus = "COMPLETED" 759 JobStatusDeletionInProgress JobStatus = "DELETION_IN_PROGRESS" 760) 761 762// Values returns all known values for JobStatus. Note that this can be expanded in 763// the future, and so it is only as up to date as the client. The ordering of this 764// slice is not guaranteed to be stable across updates. 765func (JobStatus) Values() []JobStatus { 766 return []JobStatus{ 767 "IN_PROGRESS", 768 "CANCELED", 769 "COMPLETED", 770 "DELETION_IN_PROGRESS", 771 } 772} 773 774type LogLevel string 775 776// Enum values for LogLevel 777const ( 778 LogLevelDebug LogLevel = "DEBUG" 779 LogLevelInfo LogLevel = "INFO" 780 LogLevelError LogLevel = "ERROR" 781 LogLevelWarn LogLevel = "WARN" 782 LogLevelDisabled LogLevel = "DISABLED" 783) 784 785// Values returns all known values for LogLevel. Note that this can be expanded in 786// the future, and so it is only as up to date as the client. The ordering of this 787// slice is not guaranteed to be stable across updates. 788func (LogLevel) Values() []LogLevel { 789 return []LogLevel{ 790 "DEBUG", 791 "INFO", 792 "ERROR", 793 "WARN", 794 "DISABLED", 795 } 796} 797 798type LogTargetType string 799 800// Enum values for LogTargetType 801const ( 802 LogTargetTypeDefault LogTargetType = "DEFAULT" 803 LogTargetTypeThingGroup LogTargetType = "THING_GROUP" 804) 805 806// Values returns all known values for LogTargetType. Note that this can be 807// expanded in the future, and so it is only as up to date as the client. The 808// ordering of this slice is not guaranteed to be stable across updates. 809func (LogTargetType) Values() []LogTargetType { 810 return []LogTargetType{ 811 "DEFAULT", 812 "THING_GROUP", 813 } 814} 815 816type MessageFormat string 817 818// Enum values for MessageFormat 819const ( 820 MessageFormatRaw MessageFormat = "RAW" 821 MessageFormatJson MessageFormat = "JSON" 822) 823 824// Values returns all known values for MessageFormat. Note that this can be 825// expanded in the future, and so it is only as up to date as the client. The 826// ordering of this slice is not guaranteed to be stable across updates. 827func (MessageFormat) Values() []MessageFormat { 828 return []MessageFormat{ 829 "RAW", 830 "JSON", 831 } 832} 833 834type MitigationActionType string 835 836// Enum values for MitigationActionType 837const ( 838 MitigationActionTypeUpdateDeviceCertificate MitigationActionType = "UPDATE_DEVICE_CERTIFICATE" 839 MitigationActionTypeUpdateCaCertificate MitigationActionType = "UPDATE_CA_CERTIFICATE" 840 MitigationActionTypeAddThingsToThingGroup MitigationActionType = "ADD_THINGS_TO_THING_GROUP" 841 MitigationActionTypeReplaceDefaultPolicyVersion MitigationActionType = "REPLACE_DEFAULT_POLICY_VERSION" 842 MitigationActionTypeEnableIotLogging MitigationActionType = "ENABLE_IOT_LOGGING" 843 MitigationActionTypePublishFindingToSns MitigationActionType = "PUBLISH_FINDING_TO_SNS" 844) 845 846// Values returns all known values for MitigationActionType. Note that this can be 847// expanded in the future, and so it is only as up to date as the client. The 848// ordering of this slice is not guaranteed to be stable across updates. 849func (MitigationActionType) Values() []MitigationActionType { 850 return []MitigationActionType{ 851 "UPDATE_DEVICE_CERTIFICATE", 852 "UPDATE_CA_CERTIFICATE", 853 "ADD_THINGS_TO_THING_GROUP", 854 "REPLACE_DEFAULT_POLICY_VERSION", 855 "ENABLE_IOT_LOGGING", 856 "PUBLISH_FINDING_TO_SNS", 857 } 858} 859 860type OTAUpdateStatus string 861 862// Enum values for OTAUpdateStatus 863const ( 864 OTAUpdateStatusCreatePending OTAUpdateStatus = "CREATE_PENDING" 865 OTAUpdateStatusCreateInProgress OTAUpdateStatus = "CREATE_IN_PROGRESS" 866 OTAUpdateStatusCreateComplete OTAUpdateStatus = "CREATE_COMPLETE" 867 OTAUpdateStatusCreateFailed OTAUpdateStatus = "CREATE_FAILED" 868) 869 870// Values returns all known values for OTAUpdateStatus. Note that this can be 871// expanded in the future, and so it is only as up to date as the client. The 872// ordering of this slice is not guaranteed to be stable across updates. 873func (OTAUpdateStatus) Values() []OTAUpdateStatus { 874 return []OTAUpdateStatus{ 875 "CREATE_PENDING", 876 "CREATE_IN_PROGRESS", 877 "CREATE_COMPLETE", 878 "CREATE_FAILED", 879 } 880} 881 882type PolicyTemplateName string 883 884// Enum values for PolicyTemplateName 885const ( 886 PolicyTemplateNameBlankPolicy PolicyTemplateName = "BLANK_POLICY" 887) 888 889// Values returns all known values for PolicyTemplateName. Note that this can be 890// expanded in the future, and so it is only as up to date as the client. The 891// ordering of this slice is not guaranteed to be stable across updates. 892func (PolicyTemplateName) Values() []PolicyTemplateName { 893 return []PolicyTemplateName{ 894 "BLANK_POLICY", 895 } 896} 897 898type Protocol string 899 900// Enum values for Protocol 901const ( 902 ProtocolMqtt Protocol = "MQTT" 903 ProtocolHttp Protocol = "HTTP" 904) 905 906// Values returns all known values for Protocol. Note that this can be expanded in 907// the future, and so it is only as up to date as the client. The ordering of this 908// slice is not guaranteed to be stable across updates. 909func (Protocol) Values() []Protocol { 910 return []Protocol{ 911 "MQTT", 912 "HTTP", 913 } 914} 915 916type ReportType string 917 918// Enum values for ReportType 919const ( 920 ReportTypeErrors ReportType = "ERRORS" 921 ReportTypeResults ReportType = "RESULTS" 922) 923 924// Values returns all known values for ReportType. Note that this can be expanded 925// in the future, and so it is only as up to date as the client. The ordering of 926// this slice is not guaranteed to be stable across updates. 927func (ReportType) Values() []ReportType { 928 return []ReportType{ 929 "ERRORS", 930 "RESULTS", 931 } 932} 933 934type ResourceType string 935 936// Enum values for ResourceType 937const ( 938 ResourceTypeDeviceCertificate ResourceType = "DEVICE_CERTIFICATE" 939 ResourceTypeCaCertificate ResourceType = "CA_CERTIFICATE" 940 ResourceTypeIotPolicy ResourceType = "IOT_POLICY" 941 ResourceTypeCognitoIdentityPool ResourceType = "COGNITO_IDENTITY_POOL" 942 ResourceTypeClientId ResourceType = "CLIENT_ID" 943 ResourceTypeAccountSettings ResourceType = "ACCOUNT_SETTINGS" 944 ResourceTypeRoleAlias ResourceType = "ROLE_ALIAS" 945 ResourceTypeIamRole ResourceType = "IAM_ROLE" 946) 947 948// Values returns all known values for ResourceType. Note that this can be expanded 949// in the future, and so it is only as up to date as the client. The ordering of 950// this slice is not guaranteed to be stable across updates. 951func (ResourceType) Values() []ResourceType { 952 return []ResourceType{ 953 "DEVICE_CERTIFICATE", 954 "CA_CERTIFICATE", 955 "IOT_POLICY", 956 "COGNITO_IDENTITY_POOL", 957 "CLIENT_ID", 958 "ACCOUNT_SETTINGS", 959 "ROLE_ALIAS", 960 "IAM_ROLE", 961 } 962} 963 964type ServerCertificateStatus string 965 966// Enum values for ServerCertificateStatus 967const ( 968 ServerCertificateStatusInvalid ServerCertificateStatus = "INVALID" 969 ServerCertificateStatusValid ServerCertificateStatus = "VALID" 970) 971 972// Values returns all known values for ServerCertificateStatus. Note that this can 973// be expanded in the future, and so it is only as up to date as the client. The 974// ordering of this slice is not guaranteed to be stable across updates. 975func (ServerCertificateStatus) Values() []ServerCertificateStatus { 976 return []ServerCertificateStatus{ 977 "INVALID", 978 "VALID", 979 } 980} 981 982type ServiceType string 983 984// Enum values for ServiceType 985const ( 986 ServiceTypeData ServiceType = "DATA" 987 ServiceTypeCredentialProvider ServiceType = "CREDENTIAL_PROVIDER" 988 ServiceTypeJobs ServiceType = "JOBS" 989) 990 991// Values returns all known values for ServiceType. Note that this can be expanded 992// in the future, and so it is only as up to date as the client. The ordering of 993// this slice is not guaranteed to be stable across updates. 994func (ServiceType) Values() []ServiceType { 995 return []ServiceType{ 996 "DATA", 997 "CREDENTIAL_PROVIDER", 998 "JOBS", 999 } 1000} 1001 1002type Status string 1003 1004// Enum values for Status 1005const ( 1006 StatusInProgress Status = "InProgress" 1007 StatusCompleted Status = "Completed" 1008 StatusFailed Status = "Failed" 1009 StatusCancelled Status = "Cancelled" 1010 StatusCancelling Status = "Cancelling" 1011) 1012 1013// Values returns all known values for Status. Note that this can be expanded in 1014// the future, and so it is only as up to date as the client. The ordering of this 1015// slice is not guaranteed to be stable across updates. 1016func (Status) Values() []Status { 1017 return []Status{ 1018 "InProgress", 1019 "Completed", 1020 "Failed", 1021 "Cancelled", 1022 "Cancelling", 1023 } 1024} 1025 1026type TargetSelection string 1027 1028// Enum values for TargetSelection 1029const ( 1030 TargetSelectionContinuous TargetSelection = "CONTINUOUS" 1031 TargetSelectionSnapshot TargetSelection = "SNAPSHOT" 1032) 1033 1034// Values returns all known values for TargetSelection. Note that this can be 1035// expanded in the future, and so it is only as up to date as the client. The 1036// ordering of this slice is not guaranteed to be stable across updates. 1037func (TargetSelection) Values() []TargetSelection { 1038 return []TargetSelection{ 1039 "CONTINUOUS", 1040 "SNAPSHOT", 1041 } 1042} 1043 1044type ThingConnectivityIndexingMode string 1045 1046// Enum values for ThingConnectivityIndexingMode 1047const ( 1048 ThingConnectivityIndexingModeOff ThingConnectivityIndexingMode = "OFF" 1049 ThingConnectivityIndexingModeStatus ThingConnectivityIndexingMode = "STATUS" 1050) 1051 1052// Values returns all known values for ThingConnectivityIndexingMode. Note that 1053// this can be expanded in the future, and so it is only as up to date as the 1054// client. The ordering of this slice is not guaranteed to be stable across 1055// updates. 1056func (ThingConnectivityIndexingMode) Values() []ThingConnectivityIndexingMode { 1057 return []ThingConnectivityIndexingMode{ 1058 "OFF", 1059 "STATUS", 1060 } 1061} 1062 1063type ThingGroupIndexingMode string 1064 1065// Enum values for ThingGroupIndexingMode 1066const ( 1067 ThingGroupIndexingModeOff ThingGroupIndexingMode = "OFF" 1068 ThingGroupIndexingModeOn ThingGroupIndexingMode = "ON" 1069) 1070 1071// Values returns all known values for ThingGroupIndexingMode. Note that this can 1072// be expanded in the future, and so it is only as up to date as the client. The 1073// ordering of this slice is not guaranteed to be stable across updates. 1074func (ThingGroupIndexingMode) Values() []ThingGroupIndexingMode { 1075 return []ThingGroupIndexingMode{ 1076 "OFF", 1077 "ON", 1078 } 1079} 1080 1081type ThingIndexingMode string 1082 1083// Enum values for ThingIndexingMode 1084const ( 1085 ThingIndexingModeOff ThingIndexingMode = "OFF" 1086 ThingIndexingModeRegistry ThingIndexingMode = "REGISTRY" 1087 ThingIndexingModeRegistryAndShadow ThingIndexingMode = "REGISTRY_AND_SHADOW" 1088) 1089 1090// Values returns all known values for ThingIndexingMode. Note that this can be 1091// expanded in the future, and so it is only as up to date as the client. The 1092// ordering of this slice is not guaranteed to be stable across updates. 1093func (ThingIndexingMode) Values() []ThingIndexingMode { 1094 return []ThingIndexingMode{ 1095 "OFF", 1096 "REGISTRY", 1097 "REGISTRY_AND_SHADOW", 1098 } 1099} 1100 1101type TopicRuleDestinationStatus string 1102 1103// Enum values for TopicRuleDestinationStatus 1104const ( 1105 TopicRuleDestinationStatusEnabled TopicRuleDestinationStatus = "ENABLED" 1106 TopicRuleDestinationStatusInProgress TopicRuleDestinationStatus = "IN_PROGRESS" 1107 TopicRuleDestinationStatusDisabled TopicRuleDestinationStatus = "DISABLED" 1108 TopicRuleDestinationStatusError TopicRuleDestinationStatus = "ERROR" 1109) 1110 1111// Values returns all known values for TopicRuleDestinationStatus. Note that this 1112// can be expanded in the future, and so it is only as up to date as the client. 1113// The ordering of this slice is not guaranteed to be stable across updates. 1114func (TopicRuleDestinationStatus) Values() []TopicRuleDestinationStatus { 1115 return []TopicRuleDestinationStatus{ 1116 "ENABLED", 1117 "IN_PROGRESS", 1118 "DISABLED", 1119 "ERROR", 1120 } 1121} 1122 1123type ViolationEventType string 1124 1125// Enum values for ViolationEventType 1126const ( 1127 ViolationEventTypeInAlarm ViolationEventType = "in-alarm" 1128 ViolationEventTypeAlarmCleared ViolationEventType = "alarm-cleared" 1129 ViolationEventTypeAlarmInvalidated ViolationEventType = "alarm-invalidated" 1130) 1131 1132// Values returns all known values for ViolationEventType. Note that this can be 1133// expanded in the future, and so it is only as up to date as the client. The 1134// ordering of this slice is not guaranteed to be stable across updates. 1135func (ViolationEventType) Values() []ViolationEventType { 1136 return []ViolationEventType{ 1137 "in-alarm", 1138 "alarm-cleared", 1139 "alarm-invalidated", 1140 } 1141} 1142