-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #22489 from roberth-k/f-memorydb_sweepers_and_othe…
…r_enhancements MemoryDB: sweepers and other enhancements
- Loading branch information
Showing
22 changed files
with
773 additions
and
203 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
```release-note:bug | ||
resource/aws_memorydb_cluster: Correctly propagate configurable timeouts to waiters. | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,124 @@ | ||
package memorydb | ||
|
||
// WARNING: As of 01/2022, the MemoryDB API does not provide a formal definition | ||
// of its enumerations, and what documentation there is does not align with the | ||
// API itself. The following values were determined experimentally, and is | ||
// unlikely to be exhaustive. | ||
|
||
const ( | ||
ACLStatusActive = "active" | ||
ACLStatusCreating = "creating" | ||
ACLStatusDeleting = "deleting" | ||
ACLStatusModifying = "modifying" | ||
) | ||
|
||
func ACLStatus_Values() []string { | ||
return []string{ | ||
ACLStatusActive, | ||
ACLStatusCreating, | ||
ACLStatusDeleting, | ||
ACLStatusModifying, | ||
} | ||
} | ||
|
||
const ( | ||
ClusterStatusAvailable = "available" | ||
ClusterStatusCreating = "creating" | ||
ClusterStatusDeleting = "deleting" | ||
ClusterStatusSnapshotting = "snapshotting" | ||
ClusterStatusUpdating = "updating" | ||
) | ||
|
||
func ClusterStatus_Values() []string { | ||
return []string{ | ||
ClusterStatusAvailable, | ||
ClusterStatusCreating, | ||
ClusterStatusDeleting, | ||
ClusterStatusSnapshotting, | ||
ClusterStatusUpdating, | ||
} | ||
} | ||
|
||
const ( | ||
ClusterParameterGroupStatusApplying = "applying" | ||
ClusterParameterGroupStatusInSync = "in-sync" | ||
) | ||
|
||
func ClusterParameterGroupStatus_Values() []string { | ||
return []string{ | ||
ClusterParameterGroupStatusApplying, | ||
ClusterParameterGroupStatusInSync, | ||
} | ||
} | ||
|
||
const ( | ||
ClusterSecurityGroupStatusActive = "active" | ||
ClusterSecurityGroupStatusModifying = "modifying" | ||
) | ||
|
||
func ClusterSecurityGroupStatus_Values() []string { | ||
return []string{ | ||
ClusterSecurityGroupStatusActive, | ||
ClusterSecurityGroupStatusModifying, | ||
} | ||
} | ||
|
||
const ( | ||
ClusterShardStatusAvailable = "available" | ||
ClusterShardStatusCreating = "creating" | ||
ClusterShardStatusDeleting = "deleting" | ||
ClusterShardStatusModifying = "modifying" | ||
) | ||
|
||
func ClusterShardStatus_Values() []string { | ||
return []string{ | ||
ClusterShardStatusAvailable, | ||
ClusterShardStatusCreating, | ||
ClusterShardStatusDeleting, | ||
ClusterShardStatusModifying, | ||
} | ||
} | ||
|
||
const ( | ||
ClusterSNSTopicStatusActive = "ACTIVE" | ||
ClusterSNSTopicStatusInactive = "INACTIVE" | ||
) | ||
|
||
func ClusterSNSTopicStatus_Values() []string { | ||
return []string{ | ||
ClusterSNSTopicStatusActive, | ||
ClusterSNSTopicStatusInactive, | ||
} | ||
} | ||
|
||
const ( | ||
SnapshotStatusAvailable = "available" | ||
SnapshotStatusCopying = "copying" | ||
SnapshotStatusCreating = "creating" | ||
SnapshotStatusDeleting = "deleting" | ||
SnapshotStatusRestoring = "restoring" | ||
) | ||
|
||
func SnapshotStatus_Values() []string { | ||
return []string{ | ||
SnapshotStatusCreating, | ||
SnapshotStatusAvailable, | ||
SnapshotStatusRestoring, | ||
SnapshotStatusCopying, | ||
SnapshotStatusDeleting, | ||
} | ||
} | ||
|
||
const ( | ||
UserStatusActive = "active" | ||
UserStatusDeleting = "deleting" | ||
UserStatusModifying = "modifying" | ||
) | ||
|
||
func UserStatus_Values() []string { | ||
return []string{ | ||
UserStatusActive, | ||
UserStatusDeleting, | ||
UserStatusModifying, | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.