Queries the configurations of an Object FC Access Point.
Usage notes
By default, an Alibaba Cloud account has the permissions to query the configurations of an Object FC Access Point. To query the configurations of an Object FC Access Point by using a RAM user or the access credentials provided by Security Token Service (STS), you must have the oss:GetAccessPointConfigForObjectProcess
permission.
Request syntax
GET /?accessPointConfigForObjectProcess HTTP/1.1
Date: GMT Date
Content-Length: ContentLength
Content-Type: application/xml
Host: BucketName.oss-cn-hangzhou.aliyuncs.com
x-oss-access-point-for-object-process-name: fc-ap-01
Authorization: SignatureValue
Request headers
Header | Type | Required | Example | Description |
x-oss-access-point-for-object-process-name | String | Yes | fc-ap-01 | The name of the Object FC Access Point. |
For more information about other common request headers included in a GetAccessPointConfigForObjectProcess request, such as Host and Date, see Common request headers.
Response headers
The response to a GetAccessPointConfigForObjectProcess request contains only common response headers. For more information, see Common response headers.
Response elements
Element | Type | Example | Description |
GetAccessPointConfigForObjectProcessResult | Container | N/A | The container that stores the configurations of the Object FC Access Point. |
ObjectProcessConfiguration | Container | N/A | The container that stores the processing information about the Object FC Access Point. |
AllowedFeatures | Container | N/A | The container that stores allowed features. |
TransformationConfigurations | Container | N/A | The container that stores the transformation configurations. |
TransformationConfiguration | Container | N/A | The container that stores the transformation configurations. |
Actions | Container | N/A | The container that stores the operations. |
Action | String | GetObject | The supported OSS API operations. Only the GetObject operation is supported. |
ContentTransformation | Container | N/A | The container that stores the content of the transformation configurations. |
FunctionCompute | Container | N/A | The container that stores information about Function Compute. |
FunctionAssumeRoleArn | String | acs:ram::111933544165****:role/aliyunfcdefaultrole | The Alibaba Cloud Resource Name (ARN) of the role that Function Compute uses to access your resources in other cloud services. |
FunctionArn | String | acs:fc:cn-qingdao:111933544165****:services/test-oss-fc.LATEST/functions/fc-01 | The ARN of the function. |
PublicAccessBlockConfiguration | Container | N/A | The container in which the Block Public Access configurations are stored. Parent nodes: PutAccessPointConfigForObjectProcessConfiguration Child nodes: BlockPublicAccess |
BlockPublicAccess | Boolean | true | Indicates whether Block Public Access is enabled for the Object FC Access Point.
|
Examples
Sample request
GET /?accessPointConfigForObjectProcess HTTP/1.1 Date: Mon, 30 Oct 2023 03:15:40 GMT Content-Length: 0 Content-Type: application/xml Host: oss-example.oss-cn-qingdao.aliyuncs.com x-oss-access-point-for-object-process-name: fc-ap-01 Authorization: OSS qn6q**************:77Dv****************
Sample response
HTTP/1.1 200 <?xml version="1.0" encoding="UTF-8"?> <GetAccessPointConfigForObjectProcessResult> <ObjectProcessConfiguration> <AllowedFeatures/> <TransformationConfigurations> <TransformationConfiguration> <Actions> <Action>getobject</Action> </Actions> <ContentTransformation> <FunctionCompute> <FunctionAssumeRoleArn>acs:ram::111933544165****:role/aliyunfcdefaultrole</FunctionAssumeRoleArn> <FunctionArn>acs:fc:cn-qingdao:111933544165****:services/test-oss-fc.LATEST/functions/fc-01</FunctionArn> </FunctionCompute> </ContentTransformation> </TransformationConfiguration> </TransformationConfigurations> </ObjectProcessConfiguration> <PublicAccessBlockConfiguration> <BlockPublicAccess>true</BlockPublicAccess> </PublicAccessBlockConfiguration> </GetAccessPointConfigForObjectProcessResult>