CreatePrivateDnsNamespaceRequest

public struct CreatePrivateDnsNamespaceRequest : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • A unique string that identifies the request and that allows failed CreatePrivateDnsNamespace requests to be retried without the risk of executing the operation twice. CreatorRequestId can be any unique string, for example, a date/time stamp.

    Declaration

    Swift

    public let creatorRequestId: String?
  • A description for the namespace.

    Declaration

    Swift

    public let description: String?
  • The name that you want to assign to this namespace. When you create a private DNS namespace, AWS Cloud Map automatically creates an Amazon Route 53 private hosted zone that has the same name as the namespace.

    Declaration

    Swift

    public let name: String
  • The tags to add to the namespace. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.

    Declaration

    Swift

    public let tags: [Tag]?
  • vpc

    The ID of the Amazon VPC that you want to associate the namespace with.

    Declaration

    Swift

    public let vpc: String
  • Undocumented

    Declaration

    Swift

    public init(creatorRequestId: String? = CreatePrivateDnsNamespaceRequest.idempotencyToken(), description: String? = nil, name: String, tags: [Tag]? = nil, vpc: String)
  • Declaration

    Swift

    public func validate(name: String) throws