text: import { __assign, __extends } from "tslib";
  import { ClientDefaultValues as __ClientDefaultValues } from "./runtimeConfig";
  import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
  import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
  import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
  import { getLoggerPlugin, resolveLoggerConfig, } from "@aws-sdk/middleware-logger";
  import { getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
  import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-signing";
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
  import { Client as __Client, } from "@aws-sdk/smithy-client";
  /**
   * <p></p>
   */
  var PersonalizeEventsClient = /** @class */ (function (_super) {
      __extends(PersonalizeEventsClient, _super);
      function PersonalizeEventsClient(configuration) {
          var _this = this;
          var _config_0 = __assign(__assign({}, __ClientDefaultValues), configuration);
          var _config_1 = resolveRegionConfig(_config_0);
          var _config_2 = resolveEndpointsConfig(_config_1);
          var _config_3 = resolveAwsAuthConfig(_config_2);
          var _config_4 = resolveRetryConfig(_config_3);
          var _config_5 = resolveUserAgentConfig(_config_4);
          var _config_6 = resolveHostHeaderConfig(_config_5);
          var _config_7 = resolveLoggerConfig(_config_6);
          _this = _super.call(this, _config_7) || this;
          _this.config = _config_7;
          _this.middlewareStack.use(getAwsAuthPlugin(_this.config));
          _this.middlewareStack.use(getRetryPlugin(_this.config));
          _this.middlewareStack.use(getUserAgentPlugin(_this.config));
          _this.middlewareStack.use(getContentLengthPlugin(_this.config));
          _this.middlewareStack.use(getHostHeaderPlugin(_this.config));
          _this.middlewareStack.use(getLoggerPlugin(_this.config));
          return _this;
      }
      PersonalizeEventsClient.prototype.destroy = function () {
          _super.prototype.destroy.call(this);
      };
      return PersonalizeEventsClient;
  }(__Client));
  export { PersonalizeEventsClient };
  //# sourceMappingURL=PersonalizeEventsClient.js.map