File Explorer

/var/runtime/node_modules/@aws-sdk/client-synthetics/dist-cjs

This explorer reads the filesystem of the server it runs on, so /workspace/user isn't present here. Browsing and the terminal still work against this server's own disk from /.

2 dirs
3 files
index.js75.7 KB · 1931 lines
"use strict";var __defProp = Object.defineProperty;var __getOwnPropDesc = Object.getOwnPropertyDescriptor;var __getOwnPropNames = Object.getOwnPropertyNames;var __hasOwnProp = Object.prototype.hasOwnProperty;var __name = (target, value) => __defProp(target, "name", { value, configurable: true });var __export = (target, all) => {  for (var name in all)    __defProp(target, name, { get: all[name], enumerable: true });};var __copyProps = (to, from, except, desc) => {  if (from && typeof from === "object" || typeof from === "function") {    for (let key of __getOwnPropNames(from))      if (!__hasOwnProp.call(to, key) && key !== except)        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });  }  return to;};var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); // src/index.tsvar index_exports = {};__export(index_exports, {  AccessDeniedException: () => AccessDeniedException,  AssociateResourceCommand: () => AssociateResourceCommand,  BadRequestException: () => BadRequestException,  BrowserType: () => BrowserType,  CanaryRunState: () => CanaryRunState,  CanaryRunStateReasonCode: () => CanaryRunStateReasonCode,  CanaryRunTestResult: () => CanaryRunTestResult,  CanaryState: () => CanaryState,  CanaryStateReasonCode: () => CanaryStateReasonCode,  ConflictException: () => ConflictException,  CreateCanaryCommand: () => CreateCanaryCommand,  CreateGroupCommand: () => CreateGroupCommand,  DeleteCanaryCommand: () => DeleteCanaryCommand,  DeleteGroupCommand: () => DeleteGroupCommand,  DependencyType: () => DependencyType,  DescribeCanariesCommand: () => DescribeCanariesCommand,  DescribeCanariesLastRunCommand: () => DescribeCanariesLastRunCommand,  DescribeRuntimeVersionsCommand: () => DescribeRuntimeVersionsCommand,  DisassociateResourceCommand: () => DisassociateResourceCommand,  EncryptionMode: () => EncryptionMode,  GetCanaryCommand: () => GetCanaryCommand,  GetCanaryRunsCommand: () => GetCanaryRunsCommand,  GetGroupCommand: () => GetGroupCommand,  InternalFailureException: () => InternalFailureException,  InternalServerException: () => InternalServerException,  ListAssociatedGroupsCommand: () => ListAssociatedGroupsCommand,  ListGroupResourcesCommand: () => ListGroupResourcesCommand,  ListGroupsCommand: () => ListGroupsCommand,  ListTagsForResourceCommand: () => ListTagsForResourceCommand,  NotFoundException: () => NotFoundException,  ProvisionedResourceCleanupSetting: () => ProvisionedResourceCleanupSetting,  RequestEntityTooLargeException: () => RequestEntityTooLargeException,  ResourceNotFoundException: () => ResourceNotFoundException,  ResourceToTag: () => ResourceToTag,  RunType: () => RunType,  ServiceQuotaExceededException: () => ServiceQuotaExceededException,  StartCanaryCommand: () => StartCanaryCommand,  StartCanaryDryRunCommand: () => StartCanaryDryRunCommand,  StopCanaryCommand: () => StopCanaryCommand,  Synthetics: () => Synthetics,  SyntheticsClient: () => SyntheticsClient,  SyntheticsServiceException: () => SyntheticsServiceException,  TagResourceCommand: () => TagResourceCommand,  TooManyRequestsException: () => TooManyRequestsException,  UntagResourceCommand: () => UntagResourceCommand,  UpdateCanaryCommand: () => UpdateCanaryCommand,  ValidationException: () => ValidationException,  __Client: () => import_smithy_client.Client,  paginateDescribeCanaries: () => paginateDescribeCanaries,  paginateDescribeCanariesLastRun: () => paginateDescribeCanariesLastRun,  paginateDescribeRuntimeVersions: () => paginateDescribeRuntimeVersions,  paginateGetCanaryRuns: () => paginateGetCanaryRuns,  paginateListAssociatedGroups: () => paginateListAssociatedGroups,  paginateListGroupResources: () => paginateListGroupResources,  paginateListGroups: () => paginateListGroups});module.exports = __toCommonJS(index_exports); // src/SyntheticsClient.tsvar import_middleware_host_header = require("@aws-sdk/middleware-host-header");var import_middleware_logger = require("@aws-sdk/middleware-logger");var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");var import_config_resolver = require("@smithy/config-resolver");var import_core = require("@smithy/core");var import_middleware_content_length = require("@smithy/middleware-content-length");var import_middleware_endpoint = require("@smithy/middleware-endpoint");var import_middleware_retry = require("@smithy/middleware-retry"); var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider"); // src/endpoint/EndpointParameters.tsvar resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {  return Object.assign(options, {    useDualstackEndpoint: options.useDualstackEndpoint ?? false,    useFipsEndpoint: options.useFipsEndpoint ?? false,    defaultSigningName: "synthetics"  });}, "resolveClientEndpointParameters");var commonParams = {  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },  Endpoint: { type: "builtInParams", name: "endpoint" },  Region: { type: "builtInParams", name: "region" },  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }}; // src/SyntheticsClient.tsvar import_runtimeConfig = require("././runtimeConfig"); // src/runtimeExtensions.tsvar import_region_config_resolver = require("@aws-sdk/region-config-resolver");var import_protocol_http = require("@smithy/protocol-http");var import_smithy_client = require("@smithy/smithy-client"); // src/auth/httpAuthExtensionConfiguration.tsvar getHttpAuthExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {  const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;  let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;  let _credentials = runtimeConfig.credentials;  return {    setHttpAuthScheme(httpAuthScheme) {      const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);      if (index === -1) {        _httpAuthSchemes.push(httpAuthScheme);      } else {        _httpAuthSchemes.splice(index, 1, httpAuthScheme);      }    },    httpAuthSchemes() {      return _httpAuthSchemes;    },    setHttpAuthSchemeProvider(httpAuthSchemeProvider) {      _httpAuthSchemeProvider = httpAuthSchemeProvider;    },    httpAuthSchemeProvider() {      return _httpAuthSchemeProvider;    },    setCredentials(credentials) {      _credentials = credentials;    },    credentials() {      return _credentials;    }  };}, "getHttpAuthExtensionConfiguration");var resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {  return {    httpAuthSchemes: config.httpAuthSchemes(),    httpAuthSchemeProvider: config.httpAuthSchemeProvider(),    credentials: config.credentials()  };}, "resolveHttpAuthRuntimeConfig"); // src/runtimeExtensions.tsvar resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {  const extensionConfiguration = Object.assign(    (0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig),    (0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig),    (0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig),    getHttpAuthExtensionConfiguration(runtimeConfig)  );  extensions.forEach((extension) => extension.configure(extensionConfiguration));  return Object.assign(    runtimeConfig,    (0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),    (0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),    (0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),    resolveHttpAuthRuntimeConfig(extensionConfiguration)  );}, "resolveRuntimeExtensions"); // src/SyntheticsClient.tsvar SyntheticsClient = class extends import_smithy_client.Client {  static {    __name(this, "SyntheticsClient");  }  /**   * The resolved configuration of SyntheticsClient class. This is resolved and normalized from the {@link SyntheticsClientConfig | constructor configuration interface}.   */  config;  constructor(...[configuration]) {    const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});    super(_config_0);    this.initConfig = _config_0;    const _config_1 = resolveClientEndpointParameters(_config_0);    const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);    const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);    const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3);    const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);    const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);    const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);    const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);    this.config = _config_8;    this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));    this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));    this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));    this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));    this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));    this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));    this.middlewareStack.use(      (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {        httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultSyntheticsHttpAuthSchemeParametersProvider,        identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({          "aws.auth#sigv4": config.credentials        }), "identityProviderConfigProvider")      })    );    this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));  }  /**   * Destroy underlying resources, like sockets. It's usually not necessary to do this.   * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.   * Otherwise, sockets might stay open for quite a long time before the server terminates them.   */  destroy() {    super.destroy();  }}; // src/Synthetics.ts  // src/commands/AssociateResourceCommand.ts var import_middleware_serde = require("@smithy/middleware-serde");  // src/protocols/Aws_restJson1.tsvar import_core2 = require("@aws-sdk/core");   // src/models/SyntheticsServiceException.ts var SyntheticsServiceException = class _SyntheticsServiceException extends import_smithy_client.ServiceException {  static {    __name(this, "SyntheticsServiceException");  }  /**   * @internal   */  constructor(options) {    super(options);    Object.setPrototypeOf(this, _SyntheticsServiceException.prototype);  }}; // src/models/models_0.tsvar AccessDeniedException = class _AccessDeniedException extends SyntheticsServiceException {  static {    __name(this, "AccessDeniedException");  }  name = "AccessDeniedException";  $fault = "client";  Message;  /**   * @internal   */  constructor(opts) {    super({      name: "AccessDeniedException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _AccessDeniedException.prototype);    this.Message = opts.Message;  }};var EncryptionMode = {  SSE_KMS: "SSE_KMS",  SSE_S3: "SSE_S3"};var ConflictException = class _ConflictException extends SyntheticsServiceException {  static {    __name(this, "ConflictException");  }  name = "ConflictException";  $fault = "client";  Message;  /**   * @internal   */  constructor(opts) {    super({      name: "ConflictException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _ConflictException.prototype);    this.Message = opts.Message;  }};var InternalServerException = class _InternalServerException extends SyntheticsServiceException {  static {    __name(this, "InternalServerException");  }  name = "InternalServerException";  $fault = "server";  Message;  /**   * @internal   */  constructor(opts) {    super({      name: "InternalServerException",      $fault: "server",      ...opts    });    Object.setPrototypeOf(this, _InternalServerException.prototype);    this.Message = opts.Message;  }};var ResourceNotFoundException = class _ResourceNotFoundException extends SyntheticsServiceException {  static {    __name(this, "ResourceNotFoundException");  }  name = "ResourceNotFoundException";  $fault = "client";  Message;  /**   * @internal   */  constructor(opts) {    super({      name: "ResourceNotFoundException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);    this.Message = opts.Message;  }};var ServiceQuotaExceededException = class _ServiceQuotaExceededException extends SyntheticsServiceException {  static {    __name(this, "ServiceQuotaExceededException");  }  name = "ServiceQuotaExceededException";  $fault = "client";  Message;  /**   * @internal   */  constructor(opts) {    super({      name: "ServiceQuotaExceededException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);    this.Message = opts.Message;  }};var ValidationException = class _ValidationException extends SyntheticsServiceException {  static {    __name(this, "ValidationException");  }  name = "ValidationException";  $fault = "client";  Message;  /**   * @internal   */  constructor(opts) {    super({      name: "ValidationException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _ValidationException.prototype);    this.Message = opts.Message;  }};var BadRequestException = class _BadRequestException extends SyntheticsServiceException {  static {    __name(this, "BadRequestException");  }  name = "BadRequestException";  $fault = "client";  Message;  /**   * @internal   */  constructor(opts) {    super({      name: "BadRequestException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _BadRequestException.prototype);    this.Message = opts.Message;  }};var BrowserType = {  CHROME: "CHROME",  FIREFOX: "FIREFOX"};var DependencyType = {  LambdaLayer: "LambdaLayer"};var ProvisionedResourceCleanupSetting = {  AUTOMATIC: "AUTOMATIC",  OFF: "OFF"};var CanaryState = {  CREATING: "CREATING",  DELETING: "DELETING",  ERROR: "ERROR",  READY: "READY",  RUNNING: "RUNNING",  STARTING: "STARTING",  STOPPED: "STOPPED",  STOPPING: "STOPPING",  UPDATING: "UPDATING"};var CanaryStateReasonCode = {  CREATE_FAILED: "CREATE_FAILED",  CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS",  CREATE_PENDING: "CREATE_PENDING",  DELETE_FAILED: "DELETE_FAILED",  DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",  INVALID_PERMISSIONS: "INVALID_PERMISSIONS",  ROLLBACK_COMPLETE: "ROLLBACK_COMPLETE",  ROLLBACK_FAILED: "ROLLBACK_FAILED",  SYNC_DELETE_IN_PROGRESS: "SYNC_DELETE_IN_PROGRESS",  UPDATE_COMPLETE: "UPDATE_COMPLETE",  UPDATE_IN_PROGRESS: "UPDATE_IN_PROGRESS",  UPDATE_PENDING: "UPDATE_PENDING"};var CanaryRunState = {  FAILED: "FAILED",  PASSED: "PASSED",  RUNNING: "RUNNING"};var CanaryRunStateReasonCode = {  CANARY_FAILURE: "CANARY_FAILURE",  EXECUTION_FAILURE: "EXECUTION_FAILURE"};var CanaryRunTestResult = {  FAILED: "FAILED",  PASSED: "PASSED",  UNKNOWN: "UNKNOWN"};var ResourceToTag = {  LAMBDA_FUNCTION: "lambda-function"};var RequestEntityTooLargeException = class _RequestEntityTooLargeException extends SyntheticsServiceException {  static {    __name(this, "RequestEntityTooLargeException");  }  name = "RequestEntityTooLargeException";  $fault = "client";  Message;  /**   * @internal   */  constructor(opts) {    super({      name: "RequestEntityTooLargeException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _RequestEntityTooLargeException.prototype);    this.Message = opts.Message;  }};var RunType = {  CANARY_RUN: "CANARY_RUN",  DRY_RUN: "DRY_RUN"};var InternalFailureException = class _InternalFailureException extends SyntheticsServiceException {  static {    __name(this, "InternalFailureException");  }  name = "InternalFailureException";  $fault = "server";  Message;  /**   * @internal   */  constructor(opts) {    super({      name: "InternalFailureException",      $fault: "server",      ...opts    });    Object.setPrototypeOf(this, _InternalFailureException.prototype);    this.Message = opts.Message;  }};var NotFoundException = class _NotFoundException extends SyntheticsServiceException {  static {    __name(this, "NotFoundException");  }  name = "NotFoundException";  $fault = "client";  Message;  /**   * @internal   */  constructor(opts) {    super({      name: "NotFoundException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _NotFoundException.prototype);    this.Message = opts.Message;  }};var TooManyRequestsException = class _TooManyRequestsException extends SyntheticsServiceException {  static {    __name(this, "TooManyRequestsException");  }  name = "TooManyRequestsException";  $fault = "client";  Message;  /**   * @internal   */  constructor(opts) {    super({      name: "TooManyRequestsException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _TooManyRequestsException.prototype);    this.Message = opts.Message;  }}; // src/protocols/Aws_restJson1.tsvar se_AssociateResourceCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/group/{GroupIdentifier}/associate");  b.p("GroupIdentifier", () => input.GroupIdentifier, "{GroupIdentifier}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      ResourceArn: []    })  );  b.m("PATCH").h(headers).b(body);  return b.build();}, "se_AssociateResourceCommand");var se_CreateCanaryCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/canary");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      ArtifactConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "ArtifactConfig"),      ArtifactS3Location: [],      BrowserConfigs: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "BrowserConfigs"),      Code: /* @__PURE__ */ __name((_) => se_CanaryCodeInput(_, context), "Code"),      ExecutionRoleArn: [],      FailureRetentionPeriodInDays: [],      Name: [],      ProvisionedResourceCleanup: [],      ResourcesToReplicateTags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "ResourcesToReplicateTags"),      RunConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "RunConfig"),      RuntimeVersion: [],      Schedule: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Schedule"),      SuccessRetentionPeriodInDays: [],      Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags"),      VpcConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "VpcConfig")    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_CreateCanaryCommand");var se_CreateGroupCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/group");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      Name: [],      Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags")    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_CreateGroupCommand");var se_DeleteCanaryCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/canary/{Name}");  b.p("Name", () => input.Name, "{Name}", false);  const query = (0, import_smithy_client.map)({    [_dL]: [() => input.DeleteLambda !== void 0, () => input[_DL].toString()]  });  let body;  b.m("DELETE").h(headers).q(query).b(body);  return b.build();}, "se_DeleteCanaryCommand");var se_DeleteGroupCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/group/{GroupIdentifier}");  b.p("GroupIdentifier", () => input.GroupIdentifier, "{GroupIdentifier}", false);  let body;  b.m("DELETE").h(headers).b(body);  return b.build();}, "se_DeleteGroupCommand");var se_DescribeCanariesCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/canaries");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      MaxResults: [],      Names: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Names"),      NextToken: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_DescribeCanariesCommand");var se_DescribeCanariesLastRunCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/canaries/last-run");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      BrowserType: [],      MaxResults: [],      Names: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Names"),      NextToken: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_DescribeCanariesLastRunCommand");var se_DescribeRuntimeVersionsCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/runtime-versions");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      MaxResults: [],      NextToken: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_DescribeRuntimeVersionsCommand");var se_DisassociateResourceCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/group/{GroupIdentifier}/disassociate");  b.p("GroupIdentifier", () => input.GroupIdentifier, "{GroupIdentifier}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      ResourceArn: []    })  );  b.m("PATCH").h(headers).b(body);  return b.build();}, "se_DisassociateResourceCommand");var se_GetCanaryCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/canary/{Name}");  b.p("Name", () => input.Name, "{Name}", false);  const query = (0, import_smithy_client.map)({    [_dRI]: [, input[_DRI]]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_GetCanaryCommand");var se_GetCanaryRunsCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/canary/{Name}/runs");  b.p("Name", () => input.Name, "{Name}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      DryRunId: [],      MaxResults: [],      NextToken: [],      RunType: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_GetCanaryRunsCommand");var se_GetGroupCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/group/{GroupIdentifier}");  b.p("GroupIdentifier", () => input.GroupIdentifier, "{GroupIdentifier}", false);  let body;  b.m("GET").h(headers).b(body);  return b.build();}, "se_GetGroupCommand");var se_ListAssociatedGroupsCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/resource/{ResourceArn}/groups");  b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      MaxResults: [],      NextToken: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_ListAssociatedGroupsCommand");var se_ListGroupResourcesCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/group/{GroupIdentifier}/resources");  b.p("GroupIdentifier", () => input.GroupIdentifier, "{GroupIdentifier}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      MaxResults: [],      NextToken: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_ListGroupResourcesCommand");var se_ListGroupsCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/groups");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      MaxResults: [],      NextToken: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_ListGroupsCommand");var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/tags/{ResourceArn}");  b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);  let body;  b.m("GET").h(headers).b(body);  return b.build();}, "se_ListTagsForResourceCommand");var se_StartCanaryCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/canary/{Name}/start");  b.p("Name", () => input.Name, "{Name}", false);  let body;  b.m("POST").h(headers).b(body);  return b.build();}, "se_StartCanaryCommand");var se_StartCanaryDryRunCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/canary/{Name}/dry-run/start");  b.p("Name", () => input.Name, "{Name}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      ArtifactConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "ArtifactConfig"),      ArtifactS3Location: [],      BrowserConfigs: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "BrowserConfigs"),      Code: /* @__PURE__ */ __name((_) => se_CanaryCodeInput(_, context), "Code"),      ExecutionRoleArn: [],      FailureRetentionPeriodInDays: [],      ProvisionedResourceCleanup: [],      RunConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "RunConfig"),      RuntimeVersion: [],      SuccessRetentionPeriodInDays: [],      VisualReference: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "VisualReference"),      VisualReferences: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "VisualReferences"),      VpcConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "VpcConfig")    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_StartCanaryDryRunCommand");var se_StopCanaryCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/canary/{Name}/stop");  b.p("Name", () => input.Name, "{Name}", false);  let body;  b.m("POST").h(headers).b(body);  return b.build();}, "se_StopCanaryCommand");var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/tags/{ResourceArn}");  b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags")    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_TagResourceCommand");var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/tags/{ResourceArn}");  b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);  const query = (0, import_smithy_client.map)({    [_tK]: [(0, import_smithy_client.expectNonNull)(input.TagKeys, `TagKeys`) != null, () => input[_TK] || []]  });  let body;  b.m("DELETE").h(headers).q(query).b(body);  return b.build();}, "se_UntagResourceCommand");var se_UpdateCanaryCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/canary/{Name}");  b.p("Name", () => input.Name, "{Name}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      ArtifactConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "ArtifactConfig"),      ArtifactS3Location: [],      BrowserConfigs: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "BrowserConfigs"),      Code: /* @__PURE__ */ __name((_) => se_CanaryCodeInput(_, context), "Code"),      DryRunId: [],      ExecutionRoleArn: [],      FailureRetentionPeriodInDays: [],      ProvisionedResourceCleanup: [],      RunConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "RunConfig"),      RuntimeVersion: [],      Schedule: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Schedule"),      SuccessRetentionPeriodInDays: [],      VisualReference: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "VisualReference"),      VisualReferences: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "VisualReferences"),      VpcConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "VpcConfig")    })  );  b.m("PATCH").h(headers).b(body);  return b.build();}, "se_UpdateCanaryCommand");var de_AssociateResourceCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_AssociateResourceCommand");var de_CreateCanaryCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    Canary: /* @__PURE__ */ __name((_) => de_Canary(_, context), "Canary")  });  Object.assign(contents, doc);  return contents;}, "de_CreateCanaryCommand");var de_CreateGroupCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    Group: /* @__PURE__ */ __name((_) => de_Group(_, context), "Group")  });  Object.assign(contents, doc);  return contents;}, "de_CreateGroupCommand");var de_DeleteCanaryCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_DeleteCanaryCommand");var de_DeleteGroupCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_DeleteGroupCommand");var de_DescribeCanariesCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    Canaries: /* @__PURE__ */ __name((_) => de_Canaries(_, context), "Canaries"),    NextToken: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_DescribeCanariesCommand");var de_DescribeCanariesLastRunCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    CanariesLastRun: /* @__PURE__ */ __name((_) => de_CanariesLastRun(_, context), "CanariesLastRun"),    NextToken: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_DescribeCanariesLastRunCommand");var de_DescribeRuntimeVersionsCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    NextToken: import_smithy_client.expectString,    RuntimeVersions: /* @__PURE__ */ __name((_) => de_RuntimeVersionList(_, context), "RuntimeVersions")  });  Object.assign(contents, doc);  return contents;}, "de_DescribeRuntimeVersionsCommand");var de_DisassociateResourceCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_DisassociateResourceCommand");var de_GetCanaryCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    Canary: /* @__PURE__ */ __name((_) => de_Canary(_, context), "Canary")  });  Object.assign(contents, doc);  return contents;}, "de_GetCanaryCommand");var de_GetCanaryRunsCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    CanaryRuns: /* @__PURE__ */ __name((_) => de_CanaryRuns(_, context), "CanaryRuns"),    NextToken: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_GetCanaryRunsCommand");var de_GetGroupCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    Group: /* @__PURE__ */ __name((_) => de_Group(_, context), "Group")  });  Object.assign(contents, doc);  return contents;}, "de_GetGroupCommand");var de_ListAssociatedGroupsCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    Groups: import_smithy_client._json,    NextToken: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_ListAssociatedGroupsCommand");var de_ListGroupResourcesCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    NextToken: import_smithy_client.expectString,    Resources: import_smithy_client._json  });  Object.assign(contents, doc);  return contents;}, "de_ListGroupResourcesCommand");var de_ListGroupsCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    Groups: import_smithy_client._json,    NextToken: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_ListGroupsCommand");var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    Tags: import_smithy_client._json  });  Object.assign(contents, doc);  return contents;}, "de_ListTagsForResourceCommand");var de_StartCanaryCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_StartCanaryCommand");var de_StartCanaryDryRunCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    DryRunConfig: import_smithy_client._json  });  Object.assign(contents, doc);  return contents;}, "de_StartCanaryDryRunCommand");var de_StopCanaryCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_StopCanaryCommand");var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_TagResourceCommand");var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_UntagResourceCommand");var de_UpdateCanaryCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_UpdateCanaryCommand");var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {  const parsedOutput = {    ...output,    body: await (0, import_core2.parseJsonErrorBody)(output.body, context)  };  const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);  switch (errorCode) {    case "ConflictException":    case "com.amazonaws.synthetics#ConflictException":      throw await de_ConflictExceptionRes(parsedOutput, context);    case "InternalServerException":    case "com.amazonaws.synthetics#InternalServerException":      throw await de_InternalServerExceptionRes(parsedOutput, context);    case "ResourceNotFoundException":    case "com.amazonaws.synthetics#ResourceNotFoundException":      throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);    case "ServiceQuotaExceededException":    case "com.amazonaws.synthetics#ServiceQuotaExceededException":      throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);    case "ValidationException":    case "com.amazonaws.synthetics#ValidationException":      throw await de_ValidationExceptionRes(parsedOutput, context);    case "RequestEntityTooLargeException":    case "com.amazonaws.synthetics#RequestEntityTooLargeException":      throw await de_RequestEntityTooLargeExceptionRes(parsedOutput, context);    case "BadRequestException":    case "com.amazonaws.synthetics#BadRequestException":      throw await de_BadRequestExceptionRes(parsedOutput, context);    case "InternalFailureException":    case "com.amazonaws.synthetics#InternalFailureException":      throw await de_InternalFailureExceptionRes(parsedOutput, context);    case "NotFoundException":    case "com.amazonaws.synthetics#NotFoundException":      throw await de_NotFoundExceptionRes(parsedOutput, context);    case "TooManyRequestsException":    case "com.amazonaws.synthetics#TooManyRequestsException":      throw await de_TooManyRequestsExceptionRes(parsedOutput, context);    case "AccessDeniedException":    case "com.amazonaws.synthetics#AccessDeniedException":      throw await de_AccessDeniedExceptionRes(parsedOutput, context);    default:      const parsedBody = parsedOutput.body;      return throwDefaultError({        output,        parsedBody,        errorCode      });  }}, "de_CommandError");var throwDefaultError = (0, import_smithy_client.withBaseException)(SyntheticsServiceException);var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const contents = (0, import_smithy_client.map)({});  const data = parsedOutput.body;  const doc = (0, import_smithy_client.take)(data, {    Message: import_smithy_client.expectString  });  Object.assign(contents, doc);  const exception = new AccessDeniedException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_AccessDeniedExceptionRes");var de_BadRequestExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const contents = (0, import_smithy_client.map)({});  const data = parsedOutput.body;  const doc = (0, import_smithy_client.take)(data, {    Message: import_smithy_client.expectString  });  Object.assign(contents, doc);  const exception = new BadRequestException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_BadRequestExceptionRes");var de_ConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const contents = (0, import_smithy_client.map)({});  const data = parsedOutput.body;  const doc = (0, import_smithy_client.take)(data, {    Message: import_smithy_client.expectString  });  Object.assign(contents, doc);  const exception = new ConflictException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_ConflictExceptionRes");var de_InternalFailureExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const contents = (0, import_smithy_client.map)({});  const data = parsedOutput.body;  const doc = (0, import_smithy_client.take)(data, {    Message: import_smithy_client.expectString  });  Object.assign(contents, doc);  const exception = new InternalFailureException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_InternalFailureExceptionRes");var de_InternalServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const contents = (0, import_smithy_client.map)({});  const data = parsedOutput.body;  const doc = (0, import_smithy_client.take)(data, {    Message: import_smithy_client.expectString  });  Object.assign(contents, doc);  const exception = new InternalServerException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_InternalServerExceptionRes");var de_NotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const contents = (0, import_smithy_client.map)({});  const data = parsedOutput.body;  const doc = (0, import_smithy_client.take)(data, {    Message: import_smithy_client.expectString  });  Object.assign(contents, doc);  const exception = new NotFoundException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_NotFoundExceptionRes");var de_RequestEntityTooLargeExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const contents = (0, import_smithy_client.map)({});  const data = parsedOutput.body;  const doc = (0, import_smithy_client.take)(data, {    Message: import_smithy_client.expectString  });  Object.assign(contents, doc);  const exception = new RequestEntityTooLargeException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_RequestEntityTooLargeExceptionRes");var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const contents = (0, import_smithy_client.map)({});  const data = parsedOutput.body;  const doc = (0, import_smithy_client.take)(data, {    Message: import_smithy_client.expectString  });  Object.assign(contents, doc);  const exception = new ResourceNotFoundException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_ResourceNotFoundExceptionRes");var de_ServiceQuotaExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const contents = (0, import_smithy_client.map)({});  const data = parsedOutput.body;  const doc = (0, import_smithy_client.take)(data, {    Message: import_smithy_client.expectString  });  Object.assign(contents, doc);  const exception = new ServiceQuotaExceededException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_ServiceQuotaExceededExceptionRes");var de_TooManyRequestsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const contents = (0, import_smithy_client.map)({});  const data = parsedOutput.body;  const doc = (0, import_smithy_client.take)(data, {    Message: import_smithy_client.expectString  });  Object.assign(contents, doc);  const exception = new TooManyRequestsException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_TooManyRequestsExceptionRes");var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const contents = (0, import_smithy_client.map)({});  const data = parsedOutput.body;  const doc = (0, import_smithy_client.take)(data, {    Message: import_smithy_client.expectString  });  Object.assign(contents, doc);  const exception = new ValidationException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_ValidationExceptionRes");var se_CanaryCodeInput = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    Dependencies: import_smithy_client._json,    Handler: [],    S3Bucket: [],    S3Key: [],    S3Version: [],    ZipFile: context.base64Encoder  });}, "se_CanaryCodeInput");var de_Canaries = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_Canary(entry, context);  });  return retVal;}, "de_Canaries");var de_CanariesLastRun = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_CanaryLastRun(entry, context);  });  return retVal;}, "de_CanariesLastRun");var de_Canary = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    ArtifactConfig: import_smithy_client._json,    ArtifactS3Location: import_smithy_client.expectString,    BrowserConfigs: import_smithy_client._json,    Code: import_smithy_client._json,    DryRunConfig: import_smithy_client._json,    EngineArn: import_smithy_client.expectString,    EngineConfigs: import_smithy_client._json,    ExecutionRoleArn: import_smithy_client.expectString,    FailureRetentionPeriodInDays: import_smithy_client.expectInt32,    Id: import_smithy_client.expectString,    Name: import_smithy_client.expectString,    ProvisionedResourceCleanup: import_smithy_client.expectString,    RunConfig: import_smithy_client._json,    RuntimeVersion: import_smithy_client.expectString,    Schedule: import_smithy_client._json,    Status: import_smithy_client._json,    SuccessRetentionPeriodInDays: import_smithy_client.expectInt32,    Tags: import_smithy_client._json,    Timeline: /* @__PURE__ */ __name((_) => de_CanaryTimeline(_, context), "Timeline"),    VisualReference: import_smithy_client._json,    VisualReferences: import_smithy_client._json,    VpcConfig: import_smithy_client._json  });}, "de_Canary");var de_CanaryLastRun = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    CanaryName: import_smithy_client.expectString,    LastRun: /* @__PURE__ */ __name((_) => de_CanaryRun(_, context), "LastRun")  });}, "de_CanaryLastRun");var de_CanaryRun = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    ArtifactS3Location: import_smithy_client.expectString,    BrowserType: import_smithy_client.expectString,    DryRunConfig: import_smithy_client._json,    Id: import_smithy_client.expectString,    Name: import_smithy_client.expectString,    RetryAttempt: import_smithy_client.expectInt32,    ScheduledRunId: import_smithy_client.expectString,    Status: import_smithy_client._json,    Timeline: /* @__PURE__ */ __name((_) => de_CanaryRunTimeline(_, context), "Timeline")  });}, "de_CanaryRun");var de_CanaryRuns = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_CanaryRun(entry, context);  });  return retVal;}, "de_CanaryRuns");var de_CanaryRunTimeline = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    Completed: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "Completed"),    MetricTimestampForRunAndRetries: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "MetricTimestampForRunAndRetries"),    Started: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "Started")  });}, "de_CanaryRunTimeline");var de_CanaryTimeline = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    Created: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "Created"),    LastModified: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastModified"),    LastStarted: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastStarted"),    LastStopped: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastStopped")  });}, "de_CanaryTimeline");var de_Group = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    Arn: import_smithy_client.expectString,    CreatedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedTime"),    Id: import_smithy_client.expectString,    LastModifiedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastModifiedTime"),    Name: import_smithy_client.expectString,    Tags: import_smithy_client._json  });}, "de_Group");var de_RuntimeVersion = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    DeprecationDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "DeprecationDate"),    Description: import_smithy_client.expectString,    ReleaseDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "ReleaseDate"),    VersionName: import_smithy_client.expectString  });}, "de_RuntimeVersion");var de_RuntimeVersionList = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_RuntimeVersion(entry, context);  });  return retVal;}, "de_RuntimeVersionList");var deserializeMetadata = /* @__PURE__ */ __name((output) => ({  httpStatusCode: output.statusCode,  requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],  extendedRequestId: output.headers["x-amz-id-2"],  cfId: output.headers["x-amz-cf-id"]}), "deserializeMetadata");var _DL = "DeleteLambda";var _DRI = "DryRunId";var _TK = "TagKeys";var _dL = "deleteLambda";var _dRI = "dryRunId";var _tK = "tagKeys"; // src/commands/AssociateResourceCommand.tsvar AssociateResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("Synthetics", "AssociateResource", {}).n("SyntheticsClient", "AssociateResourceCommand").f(void 0, void 0).ser(se_AssociateResourceCommand).de(de_AssociateResourceCommand).build() {  static {    __name(this, "AssociateResourceCommand");  }}; // src/commands/CreateCanaryCommand.ts   var CreateCanaryCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("Synthetics", "CreateCanary", {}).n("SyntheticsClient", "CreateCanaryCommand").f(void 0, void 0).ser(se_CreateCanaryCommand).de(de_CreateCanaryCommand).build() {  static {    __name(this, "CreateCanaryCommand");  }}; // src/commands/CreateGroupCommand.ts   var CreateGroupCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("Synthetics", "CreateGroup", {}).n("SyntheticsClient", "CreateGroupCommand").f(void 0, void 0).ser(se_CreateGroupCommand).de(de_CreateGroupCommand).build() {  static {    __name(this, "CreateGroupCommand");  }}; // src/commands/DeleteCanaryCommand.ts   var DeleteCanaryCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("Synthetics", "DeleteCanary", {}).n("SyntheticsClient", "DeleteCanaryCommand").f(void 0, void 0).ser(se_DeleteCanaryCommand).de(de_DeleteCanaryCommand).build() {  static {    __name(this, "DeleteCanaryCommand");  }}; // src/commands/DeleteGroupCommand.ts   var DeleteGroupCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("Synthetics", "DeleteGroup", {}).n("SyntheticsClient", "DeleteGroupCommand").f(void 0, void 0).ser(se_DeleteGroupCommand).de(de_DeleteGroupCommand).build() {  static {    __name(this, "DeleteGroupCommand");  }}; // src/commands/DescribeCanariesCommand.ts   var DescribeCanariesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("Synthetics", "DescribeCanaries", {}).n("SyntheticsClient", "DescribeCanariesCommand").f(void 0, void 0).ser(se_DescribeCanariesCommand).de(de_DescribeCanariesCommand).build() {  static {    __name(this, "DescribeCanariesCommand");  }}; // src/commands/DescribeCanariesLastRunCommand.ts   var DescribeCanariesLastRunCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("Synthetics", "DescribeCanariesLastRun", {}).n("SyntheticsClient", "DescribeCanariesLastRunCommand").f(void 0, void 0).ser(se_DescribeCanariesLastRunCommand).de(de_DescribeCanariesLastRunCommand).build() {  static {    __name(this, "DescribeCanariesLastRunCommand");  }}; // src/commands/DescribeRuntimeVersionsCommand.ts   var DescribeRuntimeVersionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("Synthetics", "DescribeRuntimeVersions", {}).n("SyntheticsClient", "DescribeRuntimeVersionsCommand").f(void 0, void 0).ser(se_DescribeRuntimeVersionsCommand).de(de_DescribeRuntimeVersionsCommand).build() {  static {    __name(this, "DescribeRuntimeVersionsCommand");  }}; // src/commands/DisassociateResourceCommand.ts   var DisassociateResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("Synthetics", "DisassociateResource", {}).n("SyntheticsClient", "DisassociateResourceCommand").f(void 0, void 0).ser(se_DisassociateResourceCommand).de(de_DisassociateResourceCommand).build() {  static {    __name(this, "DisassociateResourceCommand");  }}; // src/commands/GetCanaryCommand.ts   var GetCanaryCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("Synthetics", "GetCanary", {}).n("SyntheticsClient", "GetCanaryCommand").f(void 0, void 0).ser(se_GetCanaryCommand).de(de_GetCanaryCommand).build() {  static {    __name(this, "GetCanaryCommand");  }}; // src/commands/GetCanaryRunsCommand.ts   var GetCanaryRunsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("Synthetics", "GetCanaryRuns", {}).n("SyntheticsClient", "GetCanaryRunsCommand").f(void 0, void 0).ser(se_GetCanaryRunsCommand).de(de_GetCanaryRunsCommand).build() {  static {    __name(this, "GetCanaryRunsCommand");  }}; // src/commands/GetGroupCommand.ts   var GetGroupCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("Synthetics", "GetGroup", {}).n("SyntheticsClient", "GetGroupCommand").f(void 0, void 0).ser(se_GetGroupCommand).de(de_GetGroupCommand).build() {  static {    __name(this, "GetGroupCommand");  }}; // src/commands/ListAssociatedGroupsCommand.ts   var ListAssociatedGroupsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("Synthetics", "ListAssociatedGroups", {}).n("SyntheticsClient", "ListAssociatedGroupsCommand").f(void 0, void 0).ser(se_ListAssociatedGroupsCommand).de(de_ListAssociatedGroupsCommand).build() {  static {    __name(this, "ListAssociatedGroupsCommand");  }}; // src/commands/ListGroupResourcesCommand.ts   var ListGroupResourcesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("Synthetics", "ListGroupResources", {}).n("SyntheticsClient", "ListGroupResourcesCommand").f(void 0, void 0).ser(se_ListGroupResourcesCommand).de(de_ListGroupResourcesCommand).build() {  static {    __name(this, "ListGroupResourcesCommand");  }}; // src/commands/ListGroupsCommand.ts   var ListGroupsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("Synthetics", "ListGroups", {}).n("SyntheticsClient", "ListGroupsCommand").f(void 0, void 0).ser(se_ListGroupsCommand).de(de_ListGroupsCommand).build() {  static {    __name(this, "ListGroupsCommand");  }}; // src/commands/ListTagsForResourceCommand.ts   var ListTagsForResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("Synthetics", "ListTagsForResource", {}).n("SyntheticsClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {  static {    __name(this, "ListTagsForResourceCommand");  }}; // src/commands/StartCanaryCommand.ts   var StartCanaryCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("Synthetics", "StartCanary", {}).n("SyntheticsClient", "StartCanaryCommand").f(void 0, void 0).ser(se_StartCanaryCommand).de(de_StartCanaryCommand).build() {  static {    __name(this, "StartCanaryCommand");  }}; // src/commands/StartCanaryDryRunCommand.ts   var StartCanaryDryRunCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("Synthetics", "StartCanaryDryRun", {}).n("SyntheticsClient", "StartCanaryDryRunCommand").f(void 0, void 0).ser(se_StartCanaryDryRunCommand).de(de_StartCanaryDryRunCommand).build() {  static {    __name(this, "StartCanaryDryRunCommand");  }}; // src/commands/StopCanaryCommand.ts   var StopCanaryCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("Synthetics", "StopCanary", {}).n("SyntheticsClient", "StopCanaryCommand").f(void 0, void 0).ser(se_StopCanaryCommand).de(de_StopCanaryCommand).build() {  static {    __name(this, "StopCanaryCommand");  }}; // src/commands/TagResourceCommand.ts   var TagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("Synthetics", "TagResource", {}).n("SyntheticsClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {  static {    __name(this, "TagResourceCommand");  }}; // src/commands/UntagResourceCommand.ts   var UntagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("Synthetics", "UntagResource", {}).n("SyntheticsClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {  static {    __name(this, "UntagResourceCommand");  }}; // src/commands/UpdateCanaryCommand.ts   var UpdateCanaryCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("Synthetics", "UpdateCanary", {}).n("SyntheticsClient", "UpdateCanaryCommand").f(void 0, void 0).ser(se_UpdateCanaryCommand).de(de_UpdateCanaryCommand).build() {  static {    __name(this, "UpdateCanaryCommand");  }}; // src/Synthetics.tsvar commands = {  AssociateResourceCommand,  CreateCanaryCommand,  CreateGroupCommand,  DeleteCanaryCommand,  DeleteGroupCommand,  DescribeCanariesCommand,  DescribeCanariesLastRunCommand,  DescribeRuntimeVersionsCommand,  DisassociateResourceCommand,  GetCanaryCommand,  GetCanaryRunsCommand,  GetGroupCommand,  ListAssociatedGroupsCommand,  ListGroupResourcesCommand,  ListGroupsCommand,  ListTagsForResourceCommand,  StartCanaryCommand,  StartCanaryDryRunCommand,  StopCanaryCommand,  TagResourceCommand,  UntagResourceCommand,  UpdateCanaryCommand};var Synthetics = class extends SyntheticsClient {  static {    __name(this, "Synthetics");  }};(0, import_smithy_client.createAggregatedClient)(commands, Synthetics); // src/pagination/DescribeCanariesLastRunPaginator.ts var paginateDescribeCanariesLastRun = (0, import_core.createPaginator)(SyntheticsClient, DescribeCanariesLastRunCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/DescribeCanariesPaginator.ts var paginateDescribeCanaries = (0, import_core.createPaginator)(SyntheticsClient, DescribeCanariesCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/DescribeRuntimeVersionsPaginator.ts var paginateDescribeRuntimeVersions = (0, import_core.createPaginator)(SyntheticsClient, DescribeRuntimeVersionsCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/GetCanaryRunsPaginator.ts var paginateGetCanaryRuns = (0, import_core.createPaginator)(SyntheticsClient, GetCanaryRunsCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListAssociatedGroupsPaginator.ts var paginateListAssociatedGroups = (0, import_core.createPaginator)(SyntheticsClient, ListAssociatedGroupsCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListGroupResourcesPaginator.ts var paginateListGroupResources = (0, import_core.createPaginator)(SyntheticsClient, ListGroupResourcesCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListGroupsPaginator.ts var paginateListGroups = (0, import_core.createPaginator)(SyntheticsClient, ListGroupsCommand, "NextToken", "NextToken", "MaxResults");// Annotate the CommonJS export names for ESM import in node: 0 && (module.exports = {  SyntheticsServiceException,  __Client,  SyntheticsClient,  Synthetics,  $Command,  AssociateResourceCommand,  CreateCanaryCommand,  CreateGroupCommand,  DeleteCanaryCommand,  DeleteGroupCommand,  DescribeCanariesCommand,  DescribeCanariesLastRunCommand,  DescribeRuntimeVersionsCommand,  DisassociateResourceCommand,  GetCanaryCommand,  GetCanaryRunsCommand,  GetGroupCommand,  ListAssociatedGroupsCommand,  ListGroupResourcesCommand,  ListGroupsCommand,  ListTagsForResourceCommand,  StartCanaryCommand,  StartCanaryDryRunCommand,  StopCanaryCommand,  TagResourceCommand,  UntagResourceCommand,  UpdateCanaryCommand,  paginateDescribeCanariesLastRun,  paginateDescribeCanaries,  paginateDescribeRuntimeVersions,  paginateGetCanaryRuns,  paginateListAssociatedGroups,  paginateListGroupResources,  paginateListGroups,  AccessDeniedException,  EncryptionMode,  ConflictException,  InternalServerException,  ResourceNotFoundException,  ServiceQuotaExceededException,  ValidationException,  BadRequestException,  BrowserType,  DependencyType,  ProvisionedResourceCleanupSetting,  CanaryState,  CanaryStateReasonCode,  CanaryRunState,  CanaryRunStateReasonCode,  CanaryRunTestResult,  ResourceToTag,  RequestEntityTooLargeException,  RunType,  InternalFailureException,  NotFoundException,  TooManyRequestsException});