Skip to content

describe_shared_vpc_configuration

describe_shared_vpc_configuration(
    *, config_overrides: Optional[FSxClientConfig] = None
) -> DescribeSharedVpcConfigurationResponse

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/f_sx.py
def describe_shared_vpc_configuration(
    self, *, config_overrides: Optional[FSxClientConfig] = 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.
    """

    def _handler(
        req: "OperationRequest[capo_fsx.types.describe_shared_vpc_configuration_request.DescribeSharedVpcConfigurationRequest]",
    ) -> OperationResponse[
        "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 = (
            capo_fsx._operations.aws_simba_api_service_v20180301.describe_shared_vpc_configuration.describe_shared_vpc_configuration(
                req.options, req.input
            )
        )
        return OperationResponse(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 = execute_pipeline(
        OperationRequest(input=input_, options=options_),
        handler=_handler,
        interceptors=list(interceptors_),
    )
    response.response.close()
    return response.output