/proc/2/root/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 /.
const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");const { Command: $Command } = require("@smithy/core/client");exports.$Command = $Command;exports.__Client = Client;const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");const { parseUrl, getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");const { defaultProvider } = require("@aws-sdk/credential-provider-node");const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");const { Sha256 } = require("@smithy/core/checksum"); const defaultSyntheticsHttpAuthSchemeParametersProvider = async (config, context, input) => { return { operation: getSmithyContext(context).operation, region: await normalizeProvider(config.region)() || (() => { throw new Error("expected `region` to be configured for `aws.auth#sigv4`"); })(), };};function createAwsAuthSigv4HttpAuthOption(authParameters) { return { schemeId: "aws.auth#sigv4", signingProperties: { name: "synthetics", region: authParameters.region, }, propertiesExtractor: (config, context) => ({ signingProperties: { config, context, }, }), };}const defaultSyntheticsHttpAuthSchemeProvider = (authParameters) => { const options = []; switch (authParameters.operation) { default: { options.push(createAwsAuthSigv4HttpAuthOption(authParameters)); } } return options;};const resolveHttpAuthSchemeConfig = (config) => { const config_0 = resolveAwsSdkSigV4Config(config); return Object.assign(config_0, { authSchemePreference: normalizeProvider(config.authSchemePreference ?? []), });}; const resolveClientEndpointParameters = (options) => { return Object.assign(options, { useDualstackEndpoint: options.useDualstackEndpoint ?? false, useFipsEndpoint: options.useFipsEndpoint ?? false, defaultSigningName: "synthetics", });};const commonParams = { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, Endpoint: { type: "builtInParams", name: "endpoint" }, Region: { type: "builtInParams", name: "region" }, UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },}; var version = "3.1104.0";var packageInfo = { version: version}; const k = "ref";const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }];const _data = { conditions: [ [c, [g]], [c, j], ["aws.partition", j, d], [e, [{ [k]: "UseFIPS" }, b]], [e, [{ [k]: "UseDualStack" }, b]], [e, [{ fn: f, argv: [h, "supportsDualStack"] }, b]], [e, [{ fn: f, argv: [h, "supportsFIPS"] }, b]] ], results: [ [a], [a, "Invalid Configuration: FIPS and custom endpoint are not supported"], [a, "Invalid Configuration: Dualstack and custom endpoint are not supported"], [g, i], ["https://synthetics-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", i], [a, "FIPS and DualStack are enabled, but this partition does not support one or both"], ["https://synthetics-fips.{Region}.{PartitionResult#dnsSuffix}", i], [a, "FIPS is enabled but this partition does not support FIPS"], ["https://synthetics.{Region}.{PartitionResult#dualStackDnsSuffix}", i], [a, "DualStack is enabled but this partition does not support DualStack"], ["https://synthetics.{Region}.{PartitionResult#dnsSuffix}", i], [a, "Invalid Configuration: Missing Region"] ]};const root = 2;const r = 100_000_000;const nodes = new Int32Array([ -1, 1, -1, 0, 12, 3, 1, 4, r + 11, 2, 5, r + 11, 3, 8, 6, 4, 7, r + 10, 5, r + 8, r + 9, 4, 10, 9, 6, r + 6, r + 7, 5, 11, r + 5, 6, r + 4, r + 5, 3, r + 1, 13, 4, r + 2, r + 3,]);const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results); const cache = new EndpointCache({ size: 50, params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],});const defaultEndpointResolver = (endpointParams, context = {}) => { return cache.get(endpointParams, () => decideEndpoint(bdd, { endpointParams: endpointParams, logger: context.logger, }));};customEndpointFunctions.aws = awsEndpointFunctions; class SyntheticsServiceException extends ServiceException { constructor(options) { super(options); Object.setPrototypeOf(this, SyntheticsServiceException.prototype); }} class AccessDeniedException extends SyntheticsServiceException { name = "AccessDeniedException"; $fault = "client"; Message; constructor(opts) { super({ name: "AccessDeniedException", $fault: "client", ...opts, }); Object.setPrototypeOf(this, AccessDeniedException.prototype); this.Message = opts.Message; }}class ConflictException extends SyntheticsServiceException { name = "ConflictException"; $fault = "client"; Message; constructor(opts) { super({ name: "ConflictException", $fault: "client", ...opts, }); Object.setPrototypeOf(this, ConflictException.prototype); this.Message = opts.Message; }}class InternalServerException extends SyntheticsServiceException { name = "InternalServerException"; $fault = "server"; Message; constructor(opts) { super({ name: "InternalServerException", $fault: "server", ...opts, }); Object.setPrototypeOf(this, InternalServerException.prototype); this.Message = opts.Message; }}class ResourceNotFoundException extends SyntheticsServiceException { name = "ResourceNotFoundException"; $fault = "client"; Message; constructor(opts) { super({ name: "ResourceNotFoundException", $fault: "client", ...opts, }); Object.setPrototypeOf(this, ResourceNotFoundException.prototype); this.Message = opts.Message; }}class ServiceQuotaExceededException extends SyntheticsServiceException { name = "ServiceQuotaExceededException"; $fault = "client"; Message; constructor(opts) { super({ name: "ServiceQuotaExceededException", $fault: "client", ...opts, }); Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype); this.Message = opts.Message; }}class ValidationException extends SyntheticsServiceException { name = "ValidationException"; $fault = "client"; Message; constructor(opts) { super({ name: "ValidationException", $fault: "client", ...opts, }); Object.setPrototypeOf(this, ValidationException.prototype); this.Message = opts.Message; }}class BadRequestException extends SyntheticsServiceException { name = "BadRequestException"; $fault = "client"; Message; constructor(opts) { super({ name: "BadRequestException", $fault: "client", ...opts, }); Object.setPrototypeOf(this, BadRequestException.prototype); this.Message = opts.Message; }}class RequestEntityTooLargeException extends SyntheticsServiceException { name = "RequestEntityTooLargeException"; $fault = "client"; Message; constructor(opts) { super({ name: "RequestEntityTooLargeException", $fault: "client", ...opts, }); Object.setPrototypeOf(this, RequestEntityTooLargeException.prototype); this.Message = opts.Message; }}class InternalFailureException extends SyntheticsServiceException { name = "InternalFailureException"; $fault = "server"; Message; constructor(opts) { super({ name: "InternalFailureException", $fault: "server", ...opts, }); Object.setPrototypeOf(this, InternalFailureException.prototype); this.Message = opts.Message; }}class NotFoundException extends SyntheticsServiceException { name = "NotFoundException"; $fault = "client"; Message; constructor(opts) { super({ name: "NotFoundException", $fault: "client", ...opts, }); Object.setPrototypeOf(this, NotFoundException.prototype); this.Message = opts.Message; }}class TooManyRequestsException extends SyntheticsServiceException { name = "TooManyRequestsException"; $fault = "client"; Message; constructor(opts) { super({ name: "TooManyRequestsException", $fault: "client", ...opts, }); Object.setPrototypeOf(this, TooManyRequestsException.prototype); this.Message = opts.Message; }} const _A = "Arn";const _AC = "ArtifactConfig";const _ACI = "ArtifactConfigInput";const _ACO = "ArtifactConfigOutput";const _ADE = "AccessDeniedException";const _AR = "AssociateResource";const _ARL = "AddReplicaLocations";const _ARLI = "AddReplicaLocationInput";const _ARR = "AssociateResourceRequest";const _ARRs = "AssociateResourceResponse";const _ASL = "ArtifactS3Location";const _AT = "ActiveTracing";const _BC = "BrowserConfig";const _BCRI = "BaseCanaryRunId";const _BCr = "BrowserConfigs";const _BRE = "BadRequestException";const _BS = "BaseScreenshot";const _BSa = "BaseScreenshots";const _BT = "BrowserType";const _BTl = "BlueprintTypes";const _C = "Canary";const _CC = "CreateCanary";const _CCI = "CanaryCodeInput";const _CCO = "CanaryCodeOutput";const _CCR = "CreateCanaryRequest";const _CCRr = "CreateCanaryResponse";const _CDRCO = "CanaryDryRunConfigOutput";const _CE = "ConflictException";const _CG = "CreateGroup";const _CGR = "CreateGroupRequest";const _CGRr = "CreateGroupResponse";const _CLR = "CanaryLastRun";const _CLRa = "CanariesLastRun";const _CN = "CanaryName";const _CR = "CanaryRun";const _CRCI = "CanaryRunConfigInput";const _CRCO = "CanaryRunConfigOutput";const _CRS = "CanaryRunStatus";const _CRT = "CanaryRunTimeline";const _CRa = "CanaryRuns";const _CS = "CanaryStatus";const _CSI = "CanaryScheduleInput";const _CSO = "CanaryScheduleOutput";const _CSa = "CanaryState";const _CT = "CanaryTimeline";const _CTr = "CreatedTime";const _Ca = "Canaries";const _Co = "Code";const _Com = "Completed";const _Cr = "Created";const _D = "Dependencies";const _DC = "DeleteCanary";const _DCLR = "DescribeCanariesLastRun";const _DCLRR = "DescribeCanariesLastRunRequest";const _DCLRRe = "DescribeCanariesLastRunResponse";const _DCR = "DeleteCanaryRequest";const _DCRe = "DeleteCanaryResponse";const _DCRes = "DescribeCanariesRequest";const _DCResc = "DescribeCanariesResponse";const _DCe = "DescribeCanaries";const _DD = "DeprecationDate";const _DG = "DeleteGroup";const _DGR = "DeleteGroupRequest";const _DGRe = "DeleteGroupResponse";const _DIS = "DurationInSeconds";const _DL = "DeleteLambda";const _DR = "DisassociateResource";const _DRC = "DryRunConfig";const _DRCO = "DryRunConfigOutput";const _DRI = "DryRunId";const _DRR = "DisassociateResourceRequest";const _DRRi = "DisassociateResourceResponse";const _DRV = "DescribeRuntimeVersions";const _DRVR = "DescribeRuntimeVersionsRequest";const _DRVRe = "DescribeRuntimeVersionsResponse";const _De = "Dependency";const _Des = "Description";const _E = "Expression";const _EA = "EngineArn";const _EC = "EngineConfigs";const _ECn = "EngineConfig";const _EM = "EncryptionMode";const _ERA = "ExecutionRoleArn";const _ES = "EphemeralStorage";const _EV = "EnvironmentVariables";const _FRPID = "FailureRetentionPeriodInDays";const _G = "Group";const _GC = "GetCanary";const _GCR = "GetCanaryRequest";const _GCRR = "GetCanaryRunsRequest";const _GCRRe = "GetCanaryRunsResponse";const _GCRe = "GetCanaryResponse";const _GCRet = "GetCanaryRuns";const _GG = "GetGroup";const _GGR = "GetGroupRequest";const _GGRe = "GetGroupResponse";const _GI = "GroupIdentifier";const _GS = "GroupSummary";const _GSL = "GroupSummaryList";const _Gr = "Groups";const _H = "Handler";const _I = "Id";const _IAFDS = "Ipv6AllowedForDualStack";const _IC = "IgnoreCoordinates";const _IFE = "InternalFailureException";const _ISE = "InternalServerException";const _KKA = "KmsKeyArn";const _L = "Location";const _LAG = "ListAssociatedGroups";const _LAGR = "ListAssociatedGroupsRequest";const _LAGRi = "ListAssociatedGroupsResponse";const _LDRES = "LastDryRunExecutionStatus";const _LG = "ListGroups";const _LGR = "ListGroupsRequest";const _LGRR = "ListGroupResourcesRequest";const _LGRRi = "ListGroupResourcesResponse";const _LGRi = "ListGroupsResponse";const _LGRis = "ListGroupResources";const _LM = "LastModified";const _LMT = "LastModifiedTime";const _LR = "LastRun";const _LS = "LastStarted";const _LSa = "LastStopped";const _LT = "LocationType";const _LTFR = "ListTagsForResource";const _LTFRR = "ListTagsForResourceRequest";const _LTFRRi = "ListTagsForResourceResponse";const _M = "Message";const _MIMB = "MemoryInMB";const _MLC = "MultiLocationConfig";const _MR = "MaxResults";const _MRa = "MaxRetries";const _MTFRAR = "MetricTimestampForRunAndRetries";const _N = "Name";const _NFE = "NotFoundException";const _NT = "NextToken";const _Na = "Names";const _PL = "PrimaryLocation";const _PRC = "ProvisionedResourceCleanup";const _R = "Reference";const _RA = "ResourceArn";const _RAe = "RetryAttempt";const _RC = "RunConfig";const _RCI = "RetryConfigInput";const _RCO = "RetryConfigOutput";const _RCe = "RetryConfig";const _RD = "ReleaseDate";const _RETLE = "RequestEntityTooLargeException";const _RNFE = "ResourceNotFoundException";const _RRL = "RemoveReplicaLocations";const _RS = "ReplicationState";const _RSe = "ReplicationStatus";const _RT = "RunType";const _RTRT = "ResourcesToReplicateTags";const _RV = "RuntimeVersion";const _RVL = "RuntimeVersionList";const _RVu = "RuntimeVersions";const _Re = "Resources";const _Rep = "Replicas";const _Repl = "Replica";const _S = "Schedule";const _SB = "S3Bucket";const _SC = "StartCanary";const _SCDR = "StartCanaryDryRun";const _SCDRR = "StartCanaryDryRunRequest";const _SCDRRt = "StartCanaryDryRunResponse";const _SCR = "StartCanaryRequest";const _SCRt = "StartCanaryResponse";const _SCRto = "StopCanaryRequest";const _SCRtop = "StopCanaryResponse";const _SCt = "StopCanary";const _SE = "S3Encryption";const _SEC = "S3EncryptionConfig";const _SGI = "SecurityGroupIds";const _SI = "SubnetIds";const _SK = "S3Key";const _SLA = "SourceLocationArn";const _SN = "ScreenshotName";const _SQEE = "ServiceQuotaExceededException";const _SR = "StateReason";const _SRC = "StateReasonCode";const _SRI = "ScheduledRunId";const _SRPID = "SuccessRetentionPeriodInDays";const _SV = "S3Version";const _St = "Status";const _Sta = "State";const _Star = "Started";const _T = "Timeline";const _TIS = "TimeoutInSeconds";const _TK = "TagKeys";const _TMRE = "TooManyRequestsException";const _TR = "TestResult";const _TRR = "TagResourceRequest";const _TRRa = "TagResourceResponse";const _TRa = "TagResource";const _Ta = "Tags";const _Ty = "Type";const _UC = "UpdateCanary";const _UCR = "UpdateCanaryRequest";const _UCRp = "UpdateCanaryResponse";const _UR = "UntagResource";const _URR = "UntagResourceRequest";const _URRn = "UntagResourceResponse";const _VC = "VpcConfig";const _VCI = "VpcConfigInput";const _VCO = "VpcConfigOutput";const _VE = "ValidationException";const _VI = "VpcId";const _VN = "VersionName";const _VR = "VisualReference";const _VRI = "VisualReferenceInput";const _VRO = "VisualReferenceOutput";const _VROi = "VisualReferencesOutput";const _VRi = "VisualReferences";const _ZF = "ZipFile";const _c = "client";const _dL = "deleteLambda";const _dRI = "dryRunId";const _e = "error";const _h = "http";const _hE = "httpError";const _hQ = "httpQuery";const _s = "smithy.ts.sdk.synthetic.com.amazonaws.synthetics";const _se = "server";const _tK = "tagKeys";const n0 = "com.amazonaws.synthetics";const _s_registry = TypeRegistry.for(_s);var SyntheticsServiceException$ = [-3, _s, "SyntheticsServiceException", 0, [], []];_s_registry.registerError(SyntheticsServiceException$, SyntheticsServiceException);const n0_registry = TypeRegistry.for(n0);var AccessDeniedException$ = [-3, n0, _ADE, { [_e]: _c, [_hE]: 403 }, [_M], [0]];n0_registry.registerError(AccessDeniedException$, AccessDeniedException);var BadRequestException$ = [-3, n0, _BRE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];n0_registry.registerError(BadRequestException$, BadRequestException);var ConflictException$ = [-3, n0, _CE, { [_e]: _c, [_hE]: 409 }, [_M], [0]];n0_registry.registerError(ConflictException$, ConflictException);var InternalFailureException$ = [-3, n0, _IFE, { [_e]: _se, [_hE]: 500 }, [_M], [0]];n0_registry.registerError(InternalFailureException$, InternalFailureException);var InternalServerException$ = [-3, n0, _ISE, { [_e]: _se, [_hE]: 500 }, [_M], [0]];n0_registry.registerError(InternalServerException$, InternalServerException);var NotFoundException$ = [-3, n0, _NFE, { [_e]: _c, [_hE]: 404 }, [_M], [0]];n0_registry.registerError(NotFoundException$, NotFoundException);var RequestEntityTooLargeException$ = [-3, n0, _RETLE, { [_e]: _c, [_hE]: 413 }, [_M], [0]];n0_registry.registerError(RequestEntityTooLargeException$, RequestEntityTooLargeException);var ResourceNotFoundException$ = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_M], [0]];n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);var ServiceQuotaExceededException$ = [-3, n0, _SQEE, { [_e]: _c, [_hE]: 402 }, [_M], [0]];n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);var TooManyRequestsException$ = [-3, n0, _TMRE, { [_e]: _c, [_hE]: 429 }, [_M], [0]];n0_registry.registerError(TooManyRequestsException$, TooManyRequestsException);var ValidationException$ = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];n0_registry.registerError(ValidationException$, ValidationException);const errorTypeRegistries = [ _s_registry, n0_registry,];var AddReplicaLocationInput$ = [3, n0, _ARLI, 0, [_L, _VC, _KKA], [0, () => VpcConfigInput$, 0], 1];var ArtifactConfigInput$ = [3, n0, _ACI, 0, [_SE], [() => S3EncryptionConfig$]];var ArtifactConfigOutput$ = [3, n0, _ACO, 0, [_SE], [() => S3EncryptionConfig$]];var AssociateResourceRequest$ = [3, n0, _ARR, 0, [_GI, _RA], [[0, 1], 0], 2];var AssociateResourceResponse$ = [3, n0, _ARRs, 0, [], []];var BaseScreenshot$ = [3, n0, _BS, 0, [_SN, _IC], [0, 64 | 0], 1];var BrowserConfig$ = [3, n0, _BC, 0, [_BT], [0]];var Canary$ = [3, n0, _C, 0, [_I, _N, _Co, _ERA, _S, _RC, _SRPID, _FRPID, _St, _T, _ASL, _EA, _RV, _VC, _VR, _PRC, _BCr, _EC, _VRi, _MLC, _Ta, _AC, _KKA, _DRC], [0, 0, () => CanaryCodeOutput$, 0, () => CanaryScheduleOutput$, () => CanaryRunConfigOutput$, 1, 1, () => CanaryStatus$, () => CanaryTimeline$, 0, 0, 0, () => VpcConfigOutput$, () => VisualReferenceOutput$, 0, () => BrowserConfigs, () => EngineConfigs, () => VisualReferencesOutput, () => MultiLocationConfig$, 128 | 0, () => ArtifactConfigOutput$, 0, () => DryRunConfigOutput$]];var CanaryCodeInput$ = [3, n0, _CCI, 0, [_SB, _SK, _SV, _ZF, _H, _BTl, _D], [0, 0, 0, 21, 0, 64 | 0, () => Dependencies]];var CanaryCodeOutput$ = [3, n0, _CCO, 0, [_SLA, _H, _BTl, _D], [0, 0, 64 | 0, () => Dependencies]];var CanaryDryRunConfigOutput$ = [3, n0, _CDRCO, 0, [_DRI], [0]];var CanaryLastRun$ = [3, n0, _CLR, 0, [_CN, _LR], [0, () => CanaryRun$]];var CanaryRun$ = [3, n0, _CR, 0, [_I, _SRI, _RAe, _N, _St, _T, _ASL, _DRC, _BT, _L], [0, 0, 1, 0, () => CanaryRunStatus$, () => CanaryRunTimeline$, 0, () => CanaryDryRunConfigOutput$, 0, 0]];var CanaryRunConfigInput$ = [3, n0, _CRCI, 0, [_TIS, _MIMB, _AT, _EV, _ES], [1, 1, 2, 128 | 0, 1]];var CanaryRunConfigOutput$ = [3, n0, _CRCO, 0, [_TIS, _MIMB, _AT, _ES], [1, 1, 2, 1]];var CanaryRunStatus$ = [3, n0, _CRS, 0, [_Sta, _SR, _SRC, _TR], [0, 0, 0, 0]];var CanaryRunTimeline$ = [3, n0, _CRT, 0, [_Star, _Com, _MTFRAR], [4, 4, 4]];var CanaryScheduleInput$ = [3, n0, _CSI, 0, [_E, _DIS, _RCe], [0, 1, () => RetryConfigInput$], 1];var CanaryScheduleOutput$ = [3, n0, _CSO, 0, [_E, _DIS, _RCe], [0, 1, () => RetryConfigOutput$]];var CanaryStatus$ = [3, n0, _CS, 0, [_Sta, _SR, _SRC], [0, 0, 0]];var CanaryTimeline$ = [3, n0, _CT, 0, [_Cr, _LM, _LS, _LSa], [4, 4, 4, 4]];var CreateCanaryRequest$ = [3, n0, _CCR, 0, [_N, _Co, _ASL, _ERA, _S, _RV, _RC, _SRPID, _FRPID, _VC, _RTRT, _PRC, _BCr, _ARL, _Ta, _AC, _KKA], [0, () => CanaryCodeInput$, 0, 0, () => CanaryScheduleInput$, 0, () => CanaryRunConfigInput$, 1, 1, () => VpcConfigInput$, 64 | 0, 0, () => BrowserConfigs, () => AddReplicaLocations, 128 | 0, () => ArtifactConfigInput$, 0], 6];var CreateCanaryResponse$ = [3, n0, _CCRr, 0, [_C], [() => Canary$]];var CreateGroupRequest$ = [3, n0, _CGR, 0, [_N, _Ta], [0, 128 | 0], 1];var CreateGroupResponse$ = [3, n0, _CGRr, 0, [_G], [() => Group$]];var DeleteCanaryRequest$ = [3, n0, _DCR, 0, [_N, _DL], [[0, 1], [2, { [_hQ]: _dL }]], 1];var DeleteCanaryResponse$ = [3, n0, _DCRe, 0, [], []];var DeleteGroupRequest$ = [3, n0, _DGR, 0, [_GI], [[0, 1]], 1];var DeleteGroupResponse$ = [3, n0, _DGRe, 0, [], []];var Dependency$ = [3, n0, _De, 0, [_R, _Ty], [0, 0], 1];var DescribeCanariesLastRunRequest$ = [3, n0, _DCLRR, 0, [_NT, _MR, _Na, _BT], [0, 1, 64 | 0, 0]];var DescribeCanariesLastRunResponse$ = [3, n0, _DCLRRe, 0, [_CLRa, _NT], [() => CanariesLastRun, 0]];var DescribeCanariesRequest$ = [3, n0, _DCRes, 0, [_NT, _MR, _Na], [0, 1, 64 | 0]];var DescribeCanariesResponse$ = [3, n0, _DCResc, 0, [_Ca, _NT], [() => Canaries, 0]];var DescribeRuntimeVersionsRequest$ = [3, n0, _DRVR, 0, [_NT, _MR], [0, 1]];var DescribeRuntimeVersionsResponse$ = [3, n0, _DRVRe, 0, [_RVu, _NT], [() => RuntimeVersionList, 0]];var DisassociateResourceRequest$ = [3, n0, _DRR, 0, [_GI, _RA], [[0, 1], 0], 2];var DisassociateResourceResponse$ = [3, n0, _DRRi, 0, [], []];var DryRunConfigOutput$ = [3, n0, _DRCO, 0, [_DRI, _LDRES], [0, 0]];var EngineConfig$ = [3, n0, _ECn, 0, [_EA, _BT], [0, 0]];var GetCanaryRequest$ = [3, n0, _GCR, 0, [_N, _DRI], [[0, 1], [0, { [_hQ]: _dRI }]], 1];var GetCanaryResponse$ = [3, n0, _GCRe, 0, [_C], [() => Canary$]];var GetCanaryRunsRequest$ = [3, n0, _GCRR, 0, [_N, _NT, _MR, _DRI, _RT], [[0, 1], 0, 1, 0, 0], 1];var GetCanaryRunsResponse$ = [3, n0, _GCRRe, 0, [_CRa, _NT], [() => CanaryRuns, 0]];var GetGroupRequest$ = [3, n0, _GGR, 0, [_GI], [[0, 1]], 1];var GetGroupResponse$ = [3, n0, _GGRe, 0, [_G], [() => Group$]];var Group$ = [3, n0, _G, 0, [_I, _N, _A, _Ta, _CTr, _LMT], [0, 0, 0, 128 | 0, 4, 4]];var GroupSummary$ = [3, n0, _GS, 0, [_I, _N, _A], [0, 0, 0]];var ListAssociatedGroupsRequest$ = [3, n0, _LAGR, 0, [_RA, _NT, _MR], [[0, 1], 0, 1], 1];var ListAssociatedGroupsResponse$ = [3, n0, _LAGRi, 0, [_Gr, _NT], [() => GroupSummaryList, 0]];var ListGroupResourcesRequest$ = [3, n0, _LGRR, 0, [_GI, _NT, _MR], [[0, 1], 0, 1], 1];var ListGroupResourcesResponse$ = [3, n0, _LGRRi, 0, [_Re, _NT], [64 | 0, 0]];var ListGroupsRequest$ = [3, n0, _LGR, 0, [_NT, _MR], [0, 1]];var ListGroupsResponse$ = [3, n0, _LGRi, 0, [_Gr, _NT], [() => GroupSummaryList, 0]];var ListTagsForResourceRequest$ = [3, n0, _LTFRR, 0, [_RA], [[0, 1]], 1];var ListTagsForResourceResponse$ = [3, n0, _LTFRRi, 0, [_Ta], [128 | 0]];var MultiLocationConfig$ = [3, n0, _MLC, 0, [_LT, _PL, _Rep, _RS], [0, 0, () => Replicas, 0]];var Replica$ = [3, n0, _Repl, 0, [_L, _RSe, _CSa, _LM, _VC], [0, () => ReplicationStatus$, 0, 4, () => VpcConfigOutput$]];var ReplicationStatus$ = [3, n0, _RSe, 0, [_Sta, _SR, _SRC], [0, 0, 0]];var RetryConfigInput$ = [3, n0, _RCI, 0, [_MRa], [1], 1];var RetryConfigOutput$ = [3, n0, _RCO, 0, [_MRa], [1]];var RuntimeVersion$ = [3, n0, _RV, 0, [_VN, _Des, _RD, _DD], [0, 0, 4, 4]];var S3EncryptionConfig$ = [3, n0, _SEC, 0, [_EM, _KKA], [0, 0]];var StartCanaryDryRunRequest$ = [3, n0, _SCDRR, 0, [_N, _Co, _RV, _RC, _VC, _ERA, _SRPID, _FRPID, _VR, _ASL, _AC, _PRC, _BCr, _VRi], [[0, 1], () => CanaryCodeInput$, 0, () => CanaryRunConfigInput$, () => VpcConfigInput$, 0, 1, 1, () => VisualReferenceInput$, 0, () => ArtifactConfigInput$, 0, () => BrowserConfigs, () => VisualReferences], 1];var StartCanaryDryRunResponse$ = [3, n0, _SCDRRt, 0, [_DRC], [() => DryRunConfigOutput$]];var StartCanaryRequest$ = [3, n0, _SCR, 0, [_N], [[0, 1]], 1];var StartCanaryResponse$ = [3, n0, _SCRt, 0, [], []];var StopCanaryRequest$ = [3, n0, _SCRto, 0, [_N], [[0, 1]], 1];var StopCanaryResponse$ = [3, n0, _SCRtop, 0, [], []];var TagResourceRequest$ = [3, n0, _TRR, 0, [_RA, _Ta], [[0, 1], 128 | 0], 2];var TagResourceResponse$ = [3, n0, _TRRa, 0, [], []];var UntagResourceRequest$ = [3, n0, _URR, 0, [_RA, _TK], [[0, 1], [64 | 0, { [_hQ]: _tK }]], 2];var UntagResourceResponse$ = [3, n0, _URRn, 0, [], []];var UpdateCanaryRequest$ = [3, n0, _UCR, 0, [_N, _Co, _ERA, _RV, _S, _RC, _SRPID, _FRPID, _VC, _VR, _ASL, _AC, _PRC, _DRI, _VRi, _BCr, _ARL, _RRL, _KKA], [[0, 1], () => CanaryCodeInput$, 0, 0, () => CanaryScheduleInput$, () => CanaryRunConfigInput$, 1, 1, () => VpcConfigInput$, () => VisualReferenceInput$, 0, () => ArtifactConfigInput$, 0, 0, () => VisualReferences, () => BrowserConfigs, () => AddReplicaLocations, 64 | 0, 0], 1];var UpdateCanaryResponse$ = [3, n0, _UCRp, 0, [], []];var VisualReferenceInput$ = [3, n0, _VRI, 0, [_BCRI, _BSa, _BT], [0, () => BaseScreenshots, 0], 1];var VisualReferenceOutput$ = [3, n0, _VRO, 0, [_BSa, _BCRI, _BT], [() => BaseScreenshots, 0, 0]];var VpcConfigInput$ = [3, n0, _VCI, 0, [_SI, _SGI, _IAFDS], [64 | 0, 64 | 0, 2]];var VpcConfigOutput$ = [3, n0, _VCO, 0, [_VI, _SI, _SGI, _IAFDS], [0, 64 | 0, 64 | 0, 2]];var AddReplicaLocations = [1, n0, _ARL, 0, () => AddReplicaLocationInput$];var BaseScreenshots = [1, n0, _BSa, 0, () => BaseScreenshot$];var BrowserConfigs = [1, n0, _BCr, 0, () => BrowserConfig$];var Canaries = [1, n0, _Ca, 0, () => Canary$];var CanariesLastRun = [1, n0, _CLRa, 0, () => CanaryLastRun$];var CanaryRuns = [1, n0, _CRa, 0, () => CanaryRun$];var Dependencies = [1, n0, _D, 0, () => Dependency$];var EngineConfigs = [1, n0, _EC, 0, () => EngineConfig$];var GroupSummaryList = [1, n0, _GSL, 0, () => GroupSummary$];var Replicas = [1, n0, _Rep, 0, () => Replica$];var RuntimeVersionList = [1, n0, _RVL, 0, () => RuntimeVersion$];var VisualReferences = [1, n0, _VRi, 0, () => VisualReferenceInput$];var VisualReferencesOutput = [1, n0, _VROi, 0, () => VisualReferenceOutput$];var AssociateResource$ = [9, n0, _AR, { [_h]: ["PATCH", "/group/{GroupIdentifier}/associate", 200] }, () => AssociateResourceRequest$, () => AssociateResourceResponse$];var CreateCanary$ = [9, n0, _CC, { [_h]: ["POST", "/canary", 200] }, () => CreateCanaryRequest$, () => CreateCanaryResponse$];var CreateGroup$ = [9, n0, _CG, { [_h]: ["POST", "/group", 200] }, () => CreateGroupRequest$, () => CreateGroupResponse$];var DeleteCanary$ = [9, n0, _DC, { [_h]: ["DELETE", "/canary/{Name}", 200] }, () => DeleteCanaryRequest$, () => DeleteCanaryResponse$];var DeleteGroup$ = [9, n0, _DG, { [_h]: ["DELETE", "/group/{GroupIdentifier}", 200] }, () => DeleteGroupRequest$, () => DeleteGroupResponse$];var DescribeCanaries$ = [9, n0, _DCe, { [_h]: ["POST", "/canaries", 200] }, () => DescribeCanariesRequest$, () => DescribeCanariesResponse$];var DescribeCanariesLastRun$ = [9, n0, _DCLR, { [_h]: ["POST", "/canaries/last-run", 200] }, () => DescribeCanariesLastRunRequest$, () => DescribeCanariesLastRunResponse$];var DescribeRuntimeVersions$ = [9, n0, _DRV, { [_h]: ["POST", "/runtime-versions", 200] }, () => DescribeRuntimeVersionsRequest$, () => DescribeRuntimeVersionsResponse$];var DisassociateResource$ = [9, n0, _DR, { [_h]: ["PATCH", "/group/{GroupIdentifier}/disassociate", 200] }, () => DisassociateResourceRequest$, () => DisassociateResourceResponse$];var GetCanary$ = [9, n0, _GC, { [_h]: ["GET", "/canary/{Name}", 200] }, () => GetCanaryRequest$, () => GetCanaryResponse$];var GetCanaryRuns$ = [9, n0, _GCRet, { [_h]: ["POST", "/canary/{Name}/runs", 200] }, () => GetCanaryRunsRequest$, () => GetCanaryRunsResponse$];var GetGroup$ = [9, n0, _GG, { [_h]: ["GET", "/group/{GroupIdentifier}", 200] }, () => GetGroupRequest$, () => GetGroupResponse$];var ListAssociatedGroups$ = [9, n0, _LAG, { [_h]: ["POST", "/resource/{ResourceArn}/groups", 200] }, () => ListAssociatedGroupsRequest$, () => ListAssociatedGroupsResponse$];var ListGroupResources$ = [9, n0, _LGRis, { [_h]: ["POST", "/group/{GroupIdentifier}/resources", 200] }, () => ListGroupResourcesRequest$, () => ListGroupResourcesResponse$];var ListGroups$ = [9, n0, _LG, { [_h]: ["POST", "/groups", 200] }, () => ListGroupsRequest$, () => ListGroupsResponse$];var ListTagsForResource$ = [9, n0, _LTFR, { [_h]: ["GET", "/tags/{ResourceArn}", 200] }, () => ListTagsForResourceRequest$, () => ListTagsForResourceResponse$];var StartCanary$ = [9, n0, _SC, { [_h]: ["POST", "/canary/{Name}/start", 200] }, () => StartCanaryRequest$, () => StartCanaryResponse$];var StartCanaryDryRun$ = [9, n0, _SCDR, { [_h]: ["POST", "/canary/{Name}/dry-run/start", 200] }, () => StartCanaryDryRunRequest$, () => StartCanaryDryRunResponse$];var StopCanary$ = [9, n0, _SCt, { [_h]: ["POST", "/canary/{Name}/stop", 200] }, () => StopCanaryRequest$, () => StopCanaryResponse$];var TagResource$ = [9, n0, _TRa, { [_h]: ["POST", "/tags/{ResourceArn}", 200] }, () => TagResourceRequest$, () => TagResourceResponse$];var UntagResource$ = [9, n0, _UR, { [_h]: ["DELETE", "/tags/{ResourceArn}", 200] }, () => UntagResourceRequest$, () => UntagResourceResponse$];var UpdateCanary$ = [9, n0, _UC, { [_h]: ["PATCH", "/canary/{Name}", 200] }, () => UpdateCanaryRequest$, () => UpdateCanaryResponse$]; const getRuntimeConfig$1 = (config) => { return { apiVersion: "2017-10-11", base64Decoder: config?.base64Decoder ?? fromBase64, base64Encoder: config?.base64Encoder ?? toBase64, disableHostPrefix: config?.disableHostPrefix ?? false, endpointProvider: config?.endpointProvider ?? defaultEndpointResolver, extensions: config?.extensions ?? [], httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultSyntheticsHttpAuthSchemeProvider, httpAuthSchemes: config?.httpAuthSchemes ?? [ { schemeId: "aws.auth#sigv4", identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"), signer: new AwsSdkSigV4Signer(), }, ], logger: config?.logger ?? new NoOpLogger(), protocol: config?.protocol ?? AwsRestJsonProtocol, protocolSettings: config?.protocolSettings ?? { defaultNamespace: "com.amazonaws.synthetics", errorTypeRegistries, version: "2017-10-11", serviceTarget: "Synthetics", }, serviceId: config?.serviceId ?? "synthetics", sha256: config?.sha256 ?? Sha256, urlParser: config?.urlParser ?? parseUrl, utf8Decoder: config?.utf8Decoder ?? fromUtf8, utf8Encoder: config?.utf8Encoder ?? toUtf8, };}; const getRuntimeConfig = (config) => { emitWarningIfUnsupportedVersion(process.version); const defaultsMode = resolveDefaultsModeConfig(config); const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode); const clientSharedValues = getRuntimeConfig$1(config); emitWarningIfUnsupportedVersion$1(process.version); const loaderConfig = { profile: config?.profile, logger: clientSharedValues.logger, }; return { ...clientSharedValues, ...config, runtime: "node", defaultsMode, authSchemePreference: config?.authSchemePreference ?? loadConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig), bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: config?.maxAttempts ?? loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config), region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }), requestHandler: NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider), retryMode: config?.retryMode ?? loadConfig({ ...NODE_RETRY_MODE_CONFIG_OPTIONS, default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE, }, config), streamCollector: config?.streamCollector ?? streamCollector, useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig), useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig), userAgentAppId: config?.userAgentAppId ?? loadConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig), };}; const getHttpAuthExtensionConfiguration = (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; }, };};const resolveHttpAuthRuntimeConfig = (config) => { return { httpAuthSchemes: config.httpAuthSchemes(), httpAuthSchemeProvider: config.httpAuthSchemeProvider(), credentials: config.credentials(), };}; const resolveRuntimeExtensions = (runtimeConfig, extensions) => { const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig)); extensions.forEach((extension) => extension.configure(extensionConfiguration)); return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));}; class SyntheticsClient extends Client { config; constructor(...[configuration]) { const _config_0 = getRuntimeConfig(configuration || {}); super(_config_0); this.initConfig = _config_0; const _config_1 = resolveClientEndpointParameters(_config_0); const _config_2 = resolveUserAgentConfig(_config_1); const _config_3 = resolveRetryConfig(_config_2); const _config_4 = resolveRegionConfig(_config_3); const _config_5 = resolveHostHeaderConfig(_config_4); const _config_6 = resolveEndpointConfig(_config_5); const _config_7 = resolveHttpAuthSchemeConfig(_config_6); const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []); this.config = _config_8; this.middlewareStack.use(getSchemaSerdePlugin(this.config)); this.middlewareStack.use(getUserAgentPlugin(this.config)); this.middlewareStack.use(getRetryPlugin(this.config)); this.middlewareStack.use(getContentLengthPlugin(this.config)); this.middlewareStack.use(getHostHeaderPlugin(this.config)); this.middlewareStack.use(getLoggerPlugin(this.config)); this.middlewareStack.use(getRecursionDetectionPlugin(this.config)); this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, { httpAuthSchemeParametersProvider: defaultSyntheticsHttpAuthSchemeParametersProvider, identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({ "aws.auth#sigv4": config.credentials, }), })); this.middlewareStack.use(getHttpSigningPlugin(this.config)); } destroy() { super.destroy(); }} const command = makeBuilder(commonParams, "Synthetics", "SyntheticsClient", getEndpointPlugin);const _ep0 = {};const _mw0 = (Command, cs, config, o) => []; class AssociateResourceCommand extends command(_ep0, _mw0, "AssociateResource", AssociateResource$) {} class CreateCanaryCommand extends command(_ep0, _mw0, "CreateCanary", CreateCanary$) {} class CreateGroupCommand extends command(_ep0, _mw0, "CreateGroup", CreateGroup$) {} class DeleteCanaryCommand extends command(_ep0, _mw0, "DeleteCanary", DeleteCanary$) {} class DeleteGroupCommand extends command(_ep0, _mw0, "DeleteGroup", DeleteGroup$) {} class DescribeCanariesCommand extends command(_ep0, _mw0, "DescribeCanaries", DescribeCanaries$) {} class DescribeCanariesLastRunCommand extends command(_ep0, _mw0, "DescribeCanariesLastRun", DescribeCanariesLastRun$) {} class DescribeRuntimeVersionsCommand extends command(_ep0, _mw0, "DescribeRuntimeVersions", DescribeRuntimeVersions$) {} class DisassociateResourceCommand extends command(_ep0, _mw0, "DisassociateResource", DisassociateResource$) {} class GetCanaryCommand extends command(_ep0, _mw0, "GetCanary", GetCanary$) {} class GetCanaryRunsCommand extends command(_ep0, _mw0, "GetCanaryRuns", GetCanaryRuns$) {} class GetGroupCommand extends command(_ep0, _mw0, "GetGroup", GetGroup$) {} class ListAssociatedGroupsCommand extends command(_ep0, _mw0, "ListAssociatedGroups", ListAssociatedGroups$) {} class ListGroupResourcesCommand extends command(_ep0, _mw0, "ListGroupResources", ListGroupResources$) {} class ListGroupsCommand extends command(_ep0, _mw0, "ListGroups", ListGroups$) {} class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {} class StartCanaryCommand extends command(_ep0, _mw0, "StartCanary", StartCanary$) {} class StartCanaryDryRunCommand extends command(_ep0, _mw0, "StartCanaryDryRun", StartCanaryDryRun$) {} class StopCanaryCommand extends command(_ep0, _mw0, "StopCanary", StopCanary$) {} class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {} class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {} class UpdateCanaryCommand extends command(_ep0, _mw0, "UpdateCanary", UpdateCanary$) {} const paginateDescribeCanariesLastRun = createPaginator(SyntheticsClient, DescribeCanariesLastRunCommand, "NextToken", "NextToken", "MaxResults"); const paginateDescribeCanaries = createPaginator(SyntheticsClient, DescribeCanariesCommand, "NextToken", "NextToken", "MaxResults"); const paginateDescribeRuntimeVersions = createPaginator(SyntheticsClient, DescribeRuntimeVersionsCommand, "NextToken", "NextToken", "MaxResults"); const paginateGetCanaryRuns = createPaginator(SyntheticsClient, GetCanaryRunsCommand, "NextToken", "NextToken", "MaxResults"); const paginateListAssociatedGroups = createPaginator(SyntheticsClient, ListAssociatedGroupsCommand, "NextToken", "NextToken", "MaxResults"); const paginateListGroupResources = createPaginator(SyntheticsClient, ListGroupResourcesCommand, "NextToken", "NextToken", "MaxResults"); const paginateListGroups = createPaginator(SyntheticsClient, ListGroupsCommand, "NextToken", "NextToken", "MaxResults"); const commands = { AssociateResourceCommand, CreateCanaryCommand, CreateGroupCommand, DeleteCanaryCommand, DeleteGroupCommand, DescribeCanariesCommand, DescribeCanariesLastRunCommand, DescribeRuntimeVersionsCommand, DisassociateResourceCommand, GetCanaryCommand, GetCanaryRunsCommand, GetGroupCommand, ListAssociatedGroupsCommand, ListGroupResourcesCommand, ListGroupsCommand, ListTagsForResourceCommand, StartCanaryCommand, StartCanaryDryRunCommand, StopCanaryCommand, TagResourceCommand, UntagResourceCommand, UpdateCanaryCommand,};const paginators = { paginateDescribeCanaries, paginateDescribeCanariesLastRun, paginateDescribeRuntimeVersions, paginateGetCanaryRuns, paginateListAssociatedGroups, paginateListGroupResources, paginateListGroups,};class Synthetics extends SyntheticsClient {}createAggregatedClient(commands, Synthetics, { paginators }); const EncryptionMode = { SSE_KMS: "SSE_KMS", SSE_S3: "SSE_S3",};const BrowserType = { CHROME: "CHROME", FIREFOX: "FIREFOX",};const DependencyType = { LambdaLayer: "LambdaLayer",};const LocationType = { Primary: "Primary", Replica: "Replica",};const CanaryState = { CREATING: "CREATING", DELETING: "DELETING", ERROR: "ERROR", READY: "READY", RUNNING: "RUNNING", STARTING: "STARTING", STOPPED: "STOPPED", STOPPING: "STOPPING", UPDATING: "UPDATING",};const ReplicationState = { InProgress: "InProgress", InSync: "InSync", Inconsistent: "Inconsistent",};const ProvisionedResourceCleanupSetting = { AUTOMATIC: "AUTOMATIC", OFF: "OFF",};const 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",};const CanaryRunState = { FAILED: "FAILED", PASSED: "PASSED", RUNNING: "RUNNING",};const CanaryRunStateReasonCode = { CANARY_FAILURE: "CANARY_FAILURE", EXECUTION_FAILURE: "EXECUTION_FAILURE",};const CanaryRunTestResult = { FAILED: "FAILED", PASSED: "PASSED", UNKNOWN: "UNKNOWN",};const ResourceToTag = { LAMBDA_FUNCTION: "lambda-function",};const RunType = { CANARY_RUN: "CANARY_RUN", DRY_RUN: "DRY_RUN",}; exports.AccessDeniedException = AccessDeniedException;exports.AccessDeniedException$ = AccessDeniedException$;exports.AddReplicaLocationInput$ = AddReplicaLocationInput$;exports.ArtifactConfigInput$ = ArtifactConfigInput$;exports.ArtifactConfigOutput$ = ArtifactConfigOutput$;exports.AssociateResource$ = AssociateResource$;exports.AssociateResourceCommand = AssociateResourceCommand;exports.AssociateResourceRequest$ = AssociateResourceRequest$;exports.AssociateResourceResponse$ = AssociateResourceResponse$;exports.BadRequestException = BadRequestException;exports.BadRequestException$ = BadRequestException$;exports.BaseScreenshot$ = BaseScreenshot$;exports.BrowserConfig$ = BrowserConfig$;exports.BrowserType = BrowserType;exports.Canary$ = Canary$;exports.CanaryCodeInput$ = CanaryCodeInput$;exports.CanaryCodeOutput$ = CanaryCodeOutput$;exports.CanaryDryRunConfigOutput$ = CanaryDryRunConfigOutput$;exports.CanaryLastRun$ = CanaryLastRun$;exports.CanaryRun$ = CanaryRun$;exports.CanaryRunConfigInput$ = CanaryRunConfigInput$;exports.CanaryRunConfigOutput$ = CanaryRunConfigOutput$;exports.CanaryRunState = CanaryRunState;exports.CanaryRunStateReasonCode = CanaryRunStateReasonCode;exports.CanaryRunStatus$ = CanaryRunStatus$;exports.CanaryRunTestResult = CanaryRunTestResult;exports.CanaryRunTimeline$ = CanaryRunTimeline$;exports.CanaryScheduleInput$ = CanaryScheduleInput$;exports.CanaryScheduleOutput$ = CanaryScheduleOutput$;exports.CanaryState = CanaryState;exports.CanaryStateReasonCode = CanaryStateReasonCode;exports.CanaryStatus$ = CanaryStatus$;exports.CanaryTimeline$ = CanaryTimeline$;exports.ConflictException = ConflictException;exports.ConflictException$ = ConflictException$;exports.CreateCanary$ = CreateCanary$;exports.CreateCanaryCommand = CreateCanaryCommand;exports.CreateCanaryRequest$ = CreateCanaryRequest$;exports.CreateCanaryResponse$ = CreateCanaryResponse$;exports.CreateGroup$ = CreateGroup$;exports.CreateGroupCommand = CreateGroupCommand;exports.CreateGroupRequest$ = CreateGroupRequest$;exports.CreateGroupResponse$ = CreateGroupResponse$;exports.DeleteCanary$ = DeleteCanary$;exports.DeleteCanaryCommand = DeleteCanaryCommand;exports.DeleteCanaryRequest$ = DeleteCanaryRequest$;exports.DeleteCanaryResponse$ = DeleteCanaryResponse$;exports.DeleteGroup$ = DeleteGroup$;exports.DeleteGroupCommand = DeleteGroupCommand;exports.DeleteGroupRequest$ = DeleteGroupRequest$;exports.DeleteGroupResponse$ = DeleteGroupResponse$;exports.Dependency$ = Dependency$;exports.DependencyType = DependencyType;exports.DescribeCanaries$ = DescribeCanaries$;exports.DescribeCanariesCommand = DescribeCanariesCommand;exports.DescribeCanariesLastRun$ = DescribeCanariesLastRun$;exports.DescribeCanariesLastRunCommand = DescribeCanariesLastRunCommand;exports.DescribeCanariesLastRunRequest$ = DescribeCanariesLastRunRequest$;exports.DescribeCanariesLastRunResponse$ = DescribeCanariesLastRunResponse$;exports.DescribeCanariesRequest$ = DescribeCanariesRequest$;exports.DescribeCanariesResponse$ = DescribeCanariesResponse$;exports.DescribeRuntimeVersions$ = DescribeRuntimeVersions$;exports.DescribeRuntimeVersionsCommand = DescribeRuntimeVersionsCommand;exports.DescribeRuntimeVersionsRequest$ = DescribeRuntimeVersionsRequest$;exports.DescribeRuntimeVersionsResponse$ = DescribeRuntimeVersionsResponse$;exports.DisassociateResource$ = DisassociateResource$;exports.DisassociateResourceCommand = DisassociateResourceCommand;exports.DisassociateResourceRequest$ = DisassociateResourceRequest$;exports.DisassociateResourceResponse$ = DisassociateResourceResponse$;exports.DryRunConfigOutput$ = DryRunConfigOutput$;exports.EncryptionMode = EncryptionMode;exports.EngineConfig$ = EngineConfig$;exports.GetCanary$ = GetCanary$;exports.GetCanaryCommand = GetCanaryCommand;exports.GetCanaryRequest$ = GetCanaryRequest$;exports.GetCanaryResponse$ = GetCanaryResponse$;exports.GetCanaryRuns$ = GetCanaryRuns$;exports.GetCanaryRunsCommand = GetCanaryRunsCommand;exports.GetCanaryRunsRequest$ = GetCanaryRunsRequest$;exports.GetCanaryRunsResponse$ = GetCanaryRunsResponse$;exports.GetGroup$ = GetGroup$;exports.GetGroupCommand = GetGroupCommand;exports.GetGroupRequest$ = GetGroupRequest$;exports.GetGroupResponse$ = GetGroupResponse$;exports.Group$ = Group$;exports.GroupSummary$ = GroupSummary$;exports.InternalFailureException = InternalFailureException;exports.InternalFailureException$ = InternalFailureException$;exports.InternalServerException = InternalServerException;exports.InternalServerException$ = InternalServerException$;exports.ListAssociatedGroups$ = ListAssociatedGroups$;exports.ListAssociatedGroupsCommand = ListAssociatedGroupsCommand;exports.ListAssociatedGroupsRequest$ = ListAssociatedGroupsRequest$;exports.ListAssociatedGroupsResponse$ = ListAssociatedGroupsResponse$;exports.ListGroupResources$ = ListGroupResources$;exports.ListGroupResourcesCommand = ListGroupResourcesCommand;exports.ListGroupResourcesRequest$ = ListGroupResourcesRequest$;exports.ListGroupResourcesResponse$ = ListGroupResourcesResponse$;exports.ListGroups$ = ListGroups$;exports.ListGroupsCommand = ListGroupsCommand;exports.ListGroupsRequest$ = ListGroupsRequest$;exports.ListGroupsResponse$ = ListGroupsResponse$;exports.ListTagsForResource$ = ListTagsForResource$;exports.ListTagsForResourceCommand = ListTagsForResourceCommand;exports.ListTagsForResourceRequest$ = ListTagsForResourceRequest$;exports.ListTagsForResourceResponse$ = ListTagsForResourceResponse$;exports.LocationType = LocationType;exports.MultiLocationConfig$ = MultiLocationConfig$;exports.NotFoundException = NotFoundException;exports.NotFoundException$ = NotFoundException$;exports.ProvisionedResourceCleanupSetting = ProvisionedResourceCleanupSetting;exports.Replica$ = Replica$;exports.ReplicationState = ReplicationState;exports.ReplicationStatus$ = ReplicationStatus$;exports.RequestEntityTooLargeException = RequestEntityTooLargeException;exports.RequestEntityTooLargeException$ = RequestEntityTooLargeException$;exports.ResourceNotFoundException = ResourceNotFoundException;exports.ResourceNotFoundException$ = ResourceNotFoundException$;exports.ResourceToTag = ResourceToTag;exports.RetryConfigInput$ = RetryConfigInput$;exports.RetryConfigOutput$ = RetryConfigOutput$;exports.RunType = RunType;exports.RuntimeVersion$ = RuntimeVersion$;exports.S3EncryptionConfig$ = S3EncryptionConfig$;exports.ServiceQuotaExceededException = ServiceQuotaExceededException;exports.ServiceQuotaExceededException$ = ServiceQuotaExceededException$;exports.StartCanary$ = StartCanary$;exports.StartCanaryCommand = StartCanaryCommand;exports.StartCanaryDryRun$ = StartCanaryDryRun$;exports.StartCanaryDryRunCommand = StartCanaryDryRunCommand;exports.StartCanaryDryRunRequest$ = StartCanaryDryRunRequest$;exports.StartCanaryDryRunResponse$ = StartCanaryDryRunResponse$;exports.StartCanaryRequest$ = StartCanaryRequest$;exports.StartCanaryResponse$ = StartCanaryResponse$;exports.StopCanary$ = StopCanary$;exports.StopCanaryCommand = StopCanaryCommand;exports.StopCanaryRequest$ = StopCanaryRequest$;exports.StopCanaryResponse$ = StopCanaryResponse$;exports.Synthetics = Synthetics;exports.SyntheticsClient = SyntheticsClient;exports.SyntheticsServiceException = SyntheticsServiceException;exports.SyntheticsServiceException$ = SyntheticsServiceException$;exports.TagResource$ = TagResource$;exports.TagResourceCommand = TagResourceCommand;exports.TagResourceRequest$ = TagResourceRequest$;exports.TagResourceResponse$ = TagResourceResponse$;exports.TooManyRequestsException = TooManyRequestsException;exports.TooManyRequestsException$ = TooManyRequestsException$;exports.UntagResource$ = UntagResource$;exports.UntagResourceCommand = UntagResourceCommand;exports.UntagResourceRequest$ = UntagResourceRequest$;exports.UntagResourceResponse$ = UntagResourceResponse$;exports.UpdateCanary$ = UpdateCanary$;exports.UpdateCanaryCommand = UpdateCanaryCommand;exports.UpdateCanaryRequest$ = UpdateCanaryRequest$;exports.UpdateCanaryResponse$ = UpdateCanaryResponse$;exports.ValidationException = ValidationException;exports.ValidationException$ = ValidationException$;exports.VisualReferenceInput$ = VisualReferenceInput$;exports.VisualReferenceOutput$ = VisualReferenceOutput$;exports.VpcConfigInput$ = VpcConfigInput$;exports.VpcConfigOutput$ = VpcConfigOutput$;exports.errorTypeRegistries = errorTypeRegistries;exports.paginateDescribeCanaries = paginateDescribeCanaries;exports.paginateDescribeCanariesLastRun = paginateDescribeCanariesLastRun;exports.paginateDescribeRuntimeVersions = paginateDescribeRuntimeVersions;exports.paginateGetCanaryRuns = paginateGetCanaryRuns;exports.paginateListAssociatedGroups = paginateListAssociatedGroups;exports.paginateListGroupResources = paginateListGroupResources;exports.paginateListGroups = paginateListGroups;