Indicates whether participant accounts in your organization can create Amazon FSx for NetApp ONTAP Multi-AZ file systems in subnets that are shared by a virtual private cloud (VPC) owner. For more information, see Creating FSx for ONTAP file systems in shared subnets.
Raises:
Source code in docs_src/capo_fsx/_services/async_f_sx.py
| async def describe_shared_vpc_configuration(
self, *, config_overrides: Optional[AsyncFSxClientConfig] = None
) -> "capo_fsx.types.describe_shared_vpc_configuration_response.DescribeSharedVpcConfigurationResponse":
"""<p>Indicates whether participant accounts in your organization can create Amazon FSx for NetApp ONTAP Multi-AZ file systems in subnets that are shared by a virtual private cloud (VPC) owner. For more information, see <a href="https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/creating-file-systems.html#fsxn-vpc-shared-subnets">Creating FSx for ONTAP file systems in shared subnets</a>. </p>
Raises:
capo_fsx.errors.bad_request.BadRequest: <p>A generic error indicating a failure with a client request.</p>
capo_fsx.errors.internal_server_error.InternalServerError: <p>A generic error indicating a server-side failure.</p>
capo_fsx.errors.UnknownServiceError: The service returned an error code this client does not model.
"""
async def _handler(
req: "AsyncOperationRequest[capo_fsx.types.describe_shared_vpc_configuration_request.DescribeSharedVpcConfigurationRequest]",
) -> AsyncOperationResponse[
"capo_fsx.types.describe_shared_vpc_configuration_response.DescribeSharedVpcConfigurationResponse"
]:
import capo_fsx._operations.aws_simba_api_service_v20180301.describe_shared_vpc_configuration
(
output,
http_response,
) = await capo_fsx._operations.aws_simba_api_service_v20180301.describe_shared_vpc_configuration.async_describe_shared_vpc_configuration(
req.options, req.input
)
return AsyncOperationResponse(output=output, response=http_response)
interceptors_, options_ = self.operation_options(
config_overrides, OperationLogging("DescribeSharedVpcConfiguration")
)
input_: capo_fsx.types.describe_shared_vpc_configuration_request.DescribeSharedVpcConfigurationRequest = {}
response = await aexecute_pipeline(
AsyncOperationRequest(input=input_, options=options_),
handler=_handler,
interceptors=list(interceptors_),
)
await response.response.aclose()
return response.output
|