CreateLocationObjectStorageRequest

public struct CreateLocationObjectStorageRequest : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • Optional. The access key is used if credentials are required to access the self-managed object storage server.

    Declaration

    Swift

    public let accessKey: String?
  • The Amazon Resource Name (ARN) of the agents associated with the self-managed object storage server location.

    Declaration

    Swift

    public let agentArns: [String]
  • The bucket on the self-managed object storage server that is used to read data from.

    Declaration

    Swift

    public let bucketName: String
  • Optional. The secret key is used if credentials are required to access the self-managed object storage server.

    Declaration

    Swift

    public let secretKey: String?
  • The name of the self-managed object storage server. This value is the IP address or Domain Name Service (DNS) name of the object storage server. An agent uses this host name to mount the object storage server in a network.

    Declaration

    Swift

    public let serverHostname: String
  • The port that your self-managed object storage server accepts inbound network traffic on. The server port is set by default to TCP 80 (HTTP) or TCP 443 (HTTPS). You can specify a custom port if your self-managed object storage server requires one.

    Declaration

    Swift

    public let serverPort: Int?
  • The protocol that the object storage server uses to communicate. Valid values are HTTP or HTTPS.

    Declaration

    Swift

    public let serverProtocol: ObjectStorageServerProtocol?
  • The subdirectory in the self-managed object storage server that is used to read data from.

    Declaration

    Swift

    public let subdirectory: String?
  • The key-value pair that represents the tag that you want to add to the location. The value can be an empty string. We recommend using tags to name your resources.

    Declaration

    Swift

    public let tags: [TagListEntry]?
  • Undocumented

    Declaration

    Swift

    public init(accessKey: String? = nil, agentArns: [String], bucketName: String, secretKey: String? = nil, serverHostname: String, serverPort: Int? = nil, serverProtocol: ObjectStorageServerProtocol? = nil, subdirectory: String? = nil, tags: [TagListEntry]? = nil)
  • Declaration

    Swift

    public func validate(name: String) throws