This operation is not supported by directory buckets.
Returns configuration for an Object Lambda Access Point.
The following actions are related to GetAccessPointConfigurationForObjectLambda:
Parameters:
-
account_id
(AccountId)
–
The account ID for the account that owns the specified Object Lambda Access Point.
-
name
(ObjectLambdaAccessPointName)
–
The name of the Object Lambda Access Point you want to return the configuration for.
Raises:
Source code in docs_src/capo_s3_control/_services/s3_control.py
| def get_access_point_configuration_for_object_lambda(
self,
account_id: "capo_s3_control.types.account_id.AccountId",
name: "capo_s3_control.types.object_lambda_access_point_name.ObjectLambdaAccessPointName",
*,
config_overrides: Optional[S3ControlClientConfig] = None,
) -> "capo_s3_control.types.get_access_point_configuration_for_object_lambda_result.GetAccessPointConfigurationForObjectLambdaResult":
"""<note> <p>This operation is not supported by directory buckets.</p> </note> <p>Returns configuration for an Object Lambda Access Point.</p> <p>The following actions are related to <code>GetAccessPointConfigurationForObjectLambda</code>:</p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutAccessPointConfigurationForObjectLambda.html">PutAccessPointConfigurationForObjectLambda</a> </p> </li> </ul>
Args:
account_id: <p>The account ID for the account that owns the specified Object Lambda Access Point.</p>
name: <p>The name of the Object Lambda Access Point you want to return the configuration for.</p>
Raises:
capo_s3_control.errors.UnknownServiceError: The service returned an error code this client does not model.
"""
def _handler(
req: "OperationRequest[capo_s3_control.types.get_access_point_configuration_for_object_lambda_request.GetAccessPointConfigurationForObjectLambdaRequest]",
) -> OperationResponse[
"capo_s3_control.types.get_access_point_configuration_for_object_lambda_result.GetAccessPointConfigurationForObjectLambdaResult"
]:
import capo_s3_control._operations.awss3_control_service_v20180820.get_access_point_configuration_for_object_lambda
output, http_response = (
capo_s3_control._operations.awss3_control_service_v20180820.get_access_point_configuration_for_object_lambda.get_access_point_configuration_for_object_lambda(
req.options, req.input
)
)
return OperationResponse(output=output, response=http_response)
interceptors_, options_ = self.operation_options(
config_overrides,
OperationLogging("GetAccessPointConfigurationForObjectLambda"),
)
input_: capo_s3_control.types.get_access_point_configuration_for_object_lambda_request.GetAccessPointConfigurationForObjectLambdaRequest = {
"account_id": account_id,
"name": name,
}
response = execute_pipeline(
OperationRequest(input=input_, options=options_),
handler=_handler,
interceptors=list(interceptors_),
)
response.response.close()
return response.output
|