本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。
DescribeLocationFsxWindows
返回有关Amazon FSx for Windows File Server 位置的。
请求语法
{
"LocationArn": "string
"
}
请求参数
有关所有操作的。
请求接受采用 JSON 格式的以下数据。
- LocationArn
-
要描述的 FSx for Windows File Server 位置的 Amazon 资源名称(ARN)。
类型:字符串
长度约束:最大长度为 128。
模式:
^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):datasync:[a-z\-0-9]+:[0-9]{12}:location/loc-[0-9a-z]{17}$
必需:是
响应语法
{
"CreationTime": number,
"Domain": "string",
"LocationArn": "string",
"LocationUri": "string",
"SecurityGroupArns": [ "string" ],
"User": "string"
}
响应元素
如果此操作成功,则该服务将会发送回 HTTP 200 响应。
服务以 JSON 格式返回的以下数据。
- CreationTime
-
创建 FSx for Windows File Server 位置的时间。
类型:Timestamp
- Domain
-
FSx for Windows File Server 所属的 Windows 域的名称。
类型:字符串
度约束:::::::最大长约束:::
模式:
^[A-Za-z0-9]((\.|-+)?[A-Za-z0-9]){0,252}$
- LocationArn
-
所描述的 FSx for Windows File Server 位置的 Amazon 资源名称(ARN)。
类型:字符串
长度约束:最大长度为 128。
模式:
^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):datasync:[a-z\-0-9]+:[0-9]{12}:location/loc-[0-9a-z]{17}$
- LocationUri
-
所描述的 FSx for Windows File Server 位置的。
类型:字符串
度约束::::最大长度约束::最大长约束:
模式:
^(efs|nfs|s3|smb|hdfs|fsx[a-z0-9-]+)://[a-zA-Z0-9.:/\-]+$
- SecurityGroupArns
-
为FSx for Windows File Server 文件系统的安全组的 Amazon 资源名称(ARN)。
类型:字符串数组
数组成员:最少 1 项。最多。
长度约束:最大长度为 128。
模式:
^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):ec2:[a-z\-0-9]*:[0-9]{12}:security-group/.*$
- User
-
有权访问 FSx for Windows File Server 文件系统中的文件和文件夹的用户。
类型:字符串
度约束:::::最大长约束:::最大长
模式:
^[^\x5B\x5D\\/:;|=,+*?]{1,104}$
错误
有关所有操作常见错误的信息,请参阅常见错误。
- InternalException
-
当Amazon DataSync服务中发生错误时,会抛出此异常。
HTTP 状态代码:500
- InvalidRequestException
-
当客户端提交格式错误的请求时,会引发此异常。
HTTP 状态代码:400
另请参阅
有关在特定语言的 Amazon 软件开发工具包中使用此 API 的更多信息,请参阅以下内容: