CreateHealthCheckRequest

public struct CreateHealthCheckRequest : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • A unique string that identifies the request and that allows you to retry a failed CreateHealthCheck request without the risk of creating two identical health checks: If you send a CreateHealthCheck request with the same CallerReference and settings as a previous request, and if the health check doesn’t exist, Amazon Route 53 creates the health check. If the health check does exist, Route 53 returns the settings for the existing health check. If you send a CreateHealthCheck request with the same CallerReference as a deleted health check, regardless of the settings, Route 53 returns a HealthCheckAlreadyExists error. If you send a CreateHealthCheck request with the same CallerReference as an existing health check but with different settings, Route 53 returns a HealthCheckAlreadyExists error. If you send a CreateHealthCheck request with a unique CallerReference but settings identical to an existing health check, Route 53 creates the health check.

    Declaration

    Swift

    public let callerReference: String
  • A complex type that contains settings for a new health check.

    Declaration

    Swift

    public let healthCheckConfig: HealthCheckConfig
  • Undocumented

    Declaration

    Swift

    public init(callerReference: String, healthCheckConfig: HealthCheckConfig)
  • Declaration

    Swift

    public func validate(name: String) throws