From 0c8af4992cb0f7589dcafaad65ada12753c64594 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 23 Nov 2022 21:14:33 +0300 Subject: initial --- .../src/EventBridge/EventBridgeClient.php | 145 +++++++++++++++++++++ 1 file changed, 145 insertions(+) create mode 100644 vendor/aws/aws-sdk-php/src/EventBridge/EventBridgeClient.php (limited to 'vendor/aws/aws-sdk-php/src/EventBridge/EventBridgeClient.php') diff --git a/vendor/aws/aws-sdk-php/src/EventBridge/EventBridgeClient.php b/vendor/aws/aws-sdk-php/src/EventBridge/EventBridgeClient.php new file mode 100644 index 0000000..0090814 --- /dev/null +++ b/vendor/aws/aws-sdk-php/src/EventBridge/EventBridgeClient.php @@ -0,0 +1,145 @@ +isUseEndpointV2()) { + $stack = $this->getHandlerList(); + $isCustomEndpoint = isset($args['endpoint']); + $stack->appendBuild( + EventBridgeEndpointMiddleware::wrap( + $this->getRegion(), + [ + 'use_fips_endpoint' => + $this->getConfig('use_fips_endpoint')->isUseFipsEndpoint(), + 'dual_stack' => + $this->getConfig('use_dual_stack_endpoint')->isUseDualStackEndpoint(), + ], + $this->getConfig('endpoint_provider'), + $isCustomEndpoint + ), + 'eventbridge.endpoint_middleware' + ); + } + } +} -- cgit v1.2.3