1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1025],{10892:(e,t,r)=>{r.d(t,{P:()=>s});let s=e=>{if("string"==typeof e)return e;if("object"!=typeof e||"number"!=typeof e.byteOffset||"number"!=typeof e.byteLength)throw Error("@smithy/util-utf8: toUtf8 encoder function only accepts string | Uint8Array.");return new TextDecoder("utf-8").decode(e)}},51025:(e,t,r)=>{r.r(t),r.d(t,{$Command:()=>s0.u,AccessDeniedException:()=>oB.XN,AccessDeniedException$:()=>sY.fO9,AccountPolicy$:()=>sY.qtk,ActionStatus:()=>os,AddKeyEntry$:()=>sY.vs9,AddKeys$:()=>sY.K4H,AggregateLogGroupSummary$:()=>sY.T3e,Anomaly$:()=>sY.uZ9,AnomalyDetector$:()=>sY.q4E,AnomalyDetectorStatus:()=>oi,AssociateKmsKey$:()=>sY.l3u,AssociateKmsKeyCommand:()=>s1,AssociateKmsKeyRequest$:()=>sY.Ot6,AssociateSourceToS3TableIntegration$:()=>sY.faC,AssociateSourceToS3TableIntegrationCommand:()=>s2,AssociateSourceToS3TableIntegrationRequest$:()=>sY.SDf,AssociateSourceToS3TableIntegrationResponse$:()=>sY.KBR,CSV$:()=>sY.Vof,CancelExportTask$:()=>sY.kpN,CancelExportTaskCommand:()=>s8,CancelExportTaskRequest$:()=>sY.L0h,CancelImportTask$:()=>sY.Lfe,CancelImportTaskCommand:()=>s3,CancelImportTaskRequest$:()=>sY.wvJ,CancelImportTaskResponse$:()=>sY.w7t,CloudWatchLogs:()=>oe,CloudWatchLogsClient:()=>sZ,CloudWatchLogsServiceException:()=>oq.y,CloudWatchLogsServiceException$:()=>sY.Gtc,ConfigurationTemplate$:()=>sY.xcx,ConfigurationTemplateDeliveryConfigValues$:()=>sY.Bg3,ConflictException:()=>oB.cb,ConflictException$:()=>sY.onj,CopyValue$:()=>sY.NpI,CopyValueEntry$:()=>sY.bPg,CreateDelivery$:()=>sY.Jv6,CreateDeliveryCommand:()=>s4,CreateDeliveryRequest$:()=>sY.EqG,CreateDeliveryResponse$:()=>sY.I41,CreateExportTask$:()=>sY.CtG,CreateExportTaskCommand:()=>s6,CreateExportTaskRequest$:()=>sY.ZS,CreateExportTaskResponse$:()=>sY.PKb,CreateImportTask$:()=>sY.BFk,CreateImportTaskCommand:()=>s5,CreateImportTaskRequest$:()=>sY._HW,CreateImportTaskResponse$:()=>sY.wWs,CreateLogAnomalyDetector$:()=>sY.yIn,CreateLogAnomalyDetectorCommand:()=>s9,CreateLogAnomalyDetectorRequest$:()=>sY.nW4,CreateLogAnomalyDetectorResponse$:()=>sY.njX,CreateLogGroup$:()=>sY.EP0,CreateLogGroupCommand:()=>s7,CreateLogGroupRequest$:()=>sY.FfU,CreateLogStream$:()=>sY.jol,CreateLogStreamCommand:()=>ne,CreateLogStreamRequest$:()=>sY.Cb$,CreateLookupTable$:()=>sY.$gt,CreateLookupTableCommand:()=>nt,CreateLookupTableRequest$:()=>sY.o8n,CreateLookupTableResponse$:()=>sY.KX4,CreateScheduledQuery$:()=>sY.QPy,CreateScheduledQueryCommand:()=>nr,CreateScheduledQueryRequest$:()=>sY.fs2,CreateScheduledQueryResponse$:()=>sY.R2A,DataAlreadyAcceptedException:()=>oB.Zz,DataAlreadyAcceptedException$:()=>sY.N0V,DataProtectionStatus:()=>og,DataSource$:()=>sY.o9X,DataSourceFilter$:()=>sY.kMP,DateTimeConverter$:()=>sY.W4n,DeleteAccountPolicy$:()=>sY.dWx,DeleteAccountPolicyCommand:()=>ns,DeleteAccountPolicyRequest$:()=>sY._aN,DeleteDataProtectionPolicy$:()=>sY.piI,DeleteDataProtectionPolicyCommand:()=>nn,DeleteDataProtectionPolicyRequest$:()=>sY._g6,DeleteDelivery$:()=>sY.Yoj,DeleteDeliveryCommand:()=>ni,DeleteDeliveryDestination$:()=>sY.gQC,DeleteDeliveryDestinationCommand:()=>no,DeleteDeliveryDestinationPolicy$:()=>sY.klj,DeleteDeliveryDestinationPolicyCommand:()=>na,DeleteDeliveryDestinationPolicyRequest$:()=>sY.fyY,DeleteDeliveryDestinationRequest$:()=>sY.LB9,DeleteDeliveryRequest$:()=>sY.xkH,DeleteDeliverySource$:()=>sY.VUH,DeleteDeliverySourceCommand:()=>nc,DeleteDeliverySourceRequest$:()=>sY.CeD,DeleteDestination$:()=>sY.uXT,DeleteDestinationCommand:()=>nu,DeleteDestinationRequest$:()=>sY.jPO,DeleteIndexPolicy$:()=>sY.y6O,DeleteIndexPolicyCommand:()=>nl,DeleteIndexPolicyRequest$:()=>sY.Z$z,DeleteIndexPolicyResponse$:()=>sY.ZyB,DeleteIntegration$:()=>sY.mQC,DeleteIntegrationCommand:()=>nd,DeleteIntegrationRequest$:()=>sY.ZP1,DeleteIntegrationResponse$:()=>sY.nNC,DeleteKeys$:()=>sY.Mcp,DeleteLogAnomalyDetector$:()=>sY.j18,DeleteLogAnomalyDetectorCommand:()=>nm,DeleteLogAnomalyDetectorRequest$:()=>sY.CMz,DeleteLogGroup$:()=>sY.Vao,DeleteLogGroupCommand:()=>np,DeleteLogGroupRequest$:()=>sY.UNh,DeleteLogStream$:()=>sY.g1C,DeleteLogStreamCommand:()=>ng,DeleteLogStreamRequest$:()=>sY.lRA,DeleteLookupTable$:()=>sY.kpH,DeleteLookupTableCommand:()=>nf,DeleteLookupTableRequest$:()=>sY.d3s,DeleteMetricFilter$:()=>sY.Gk3,DeleteMetricFilterCommand:()=>nh,DeleteMetricFilterRequest$:()=>sY.FrZ,DeleteQueryDefinition$:()=>sY.R8M,DeleteQueryDefinitionCommand:()=>ny,DeleteQueryDefinitionRequest$:()=>sY.KG8,DeleteQueryDefinitionResponse$:()=>sY.Kg3,DeleteResourcePolicy$:()=>sY.cfZ,DeleteResourcePolicyCommand:()=>nb,DeleteResourcePolicyRequest$:()=>sY.ra$,DeleteRetentionPolicy$:()=>sY.QEH,DeleteRetentionPolicyCommand:()=>nC,DeleteRetentionPolicyRequest$:()=>sY.TvE,DeleteScheduledQuery$:()=>sY.VQT,DeleteScheduledQueryCommand:()=>nS,DeleteScheduledQueryRequest$:()=>sY._0$,DeleteScheduledQueryResponse$:()=>sY.ySH,DeleteSubscriptionFilter$:()=>sY.tJH,DeleteSubscriptionFilterCommand:()=>nx,DeleteSubscriptionFilterRequest$:()=>sY._zo,DeleteTransformer$:()=>sY.lfl,DeleteTransformerCommand:()=>nD,DeleteTransformerRequest$:()=>sY.GHj,Delivery$:()=>sY.H86,DeliveryDestination$:()=>sY.VwY,DeliveryDestinationConfiguration$:()=>sY.H7K,DeliveryDestinationType:()=>ou,DeliverySource$:()=>sY.m4Z,DeliverySourceConfigurationSchema$:()=>sY.vEf,DeliverySourceConfigurationSchemaValueType:()=>ol,DeliverySourceStatus:()=>of,DeliverySourceStatusReason:()=>oh,DescribeAccountPolicies$:()=>sY.rCV,DescribeAccountPoliciesCommand:()=>nE,DescribeAccountPoliciesRequest$:()=>
1sY.swA,DescribeAccountPoliciesResponse$:()=>sY.W$T,DescribeConfigurationTemplates$:()=>sY.fQY,DescribeConfigurationTemplatesCommand:()=>nL,DescribeConfigurationTemplatesRequest$:()=>sY.kMI,DescribeConfigurationTemplatesResponse$:()=>sY.WRo,DescribeDeliveries$:()=>sY.cT_,DescribeDeliveriesCommand:()=>nT,DescribeDeliveriesRequest$:()=>sY.BPr,DescribeDeliveriesResponse$:()=>sY.PX6,DescribeDeliveryDestinations$:()=>sY.vOw,DescribeDeliveryDestinationsCommand:()=>nw,DescribeDeliveryDestinationsRequest$:()=>sY.C1w,DescribeDeliveryDestinationsResponse$:()=>sY.Eub,DescribeDeliverySources$:()=>sY.iDs,DescribeDeliverySourcesCommand:()=>nv,DescribeDeliverySourcesRequest$:()=>sY.$TD,DescribeDeliverySourcesResponse$:()=>sY.rud,DescribeDestinations$:()=>sY.rsf,DescribeDestinationsCommand:()=>n$,DescribeDestinationsRequest$:()=>sY.yxN,DescribeDestinationsResponse$:()=>sY.qTr,DescribeExportTasks$:()=>sY.Ujv,DescribeExportTasksCommand:()=>nR,DescribeExportTasksRequest$:()=>sY.tpc,DescribeExportTasksResponse$:()=>sY.zVM,DescribeFieldIndexes$:()=>sY.kjl,DescribeFieldIndexesCommand:()=>nP,DescribeFieldIndexesRequest$:()=>sY.FRu,DescribeFieldIndexesResponse$:()=>sY.HLt,DescribeImportTaskBatches$:()=>sY.ykB,DescribeImportTaskBatchesCommand:()=>nI,DescribeImportTaskBatchesRequest$:()=>sY.pf9,DescribeImportTaskBatchesResponse$:()=>sY.BSZ,DescribeImportTasks$:()=>sY.Pmv,DescribeImportTasksCommand:()=>nA,DescribeImportTasksRequest$:()=>sY.SBk,DescribeImportTasksResponse$:()=>sY._Dv,DescribeIndexPolicies$:()=>sY.Q0H,DescribeIndexPoliciesCommand:()=>nk,DescribeIndexPoliciesRequest$:()=>sY.$Jz,DescribeIndexPoliciesResponse$:()=>sY.DCK,DescribeLogGroups$:()=>sY.aTt,DescribeLogGroupsCommand:()=>nO,DescribeLogGroupsRequest$:()=>sY.TvQ,DescribeLogGroupsResponse$:()=>sY.je2,DescribeLogStreams$:()=>sY.TJH,DescribeLogStreamsCommand:()=>nU,DescribeLogStreamsRequest$:()=>sY.Oqi,DescribeLogStreamsResponse$:()=>sY.oXj,DescribeLookupTables$:()=>sY.ZIA,DescribeLookupTablesCommand:()=>n_,DescribeLookupTablesRequest$:()=>sY.Ib$,DescribeLookupTablesResponse$:()=>sY._ay,DescribeMetricFilters$:()=>sY.jtq,DescribeMetricFiltersCommand:()=>nN,DescribeMetricFiltersRequest$:()=>sY.SaO,DescribeMetricFiltersResponse$:()=>sY.Qb8,DescribeQueries$:()=>sY.sxe,DescribeQueriesCommand:()=>nG,DescribeQueriesRequest$:()=>sY.nKB,DescribeQueriesResponse$:()=>sY.nLr,DescribeQueryDefinitions$:()=>sY.o8E,DescribeQueryDefinitionsCommand:()=>nM,DescribeQueryDefinitionsRequest$:()=>sY.zVw,DescribeQueryDefinitionsResponse$:()=>sY.vMr,DescribeResourcePolicies$:()=>sY.IS$,DescribeResourcePoliciesCommand:()=>nF,DescribeResourcePoliciesRequest$:()=>sY.b1T,DescribeResourcePoliciesResponse$:()=>sY.pTK,DescribeSubscriptionFilters$:()=>sY.M9y,DescribeSubscriptionFiltersCommand:()=>nB,DescribeSubscriptionFiltersRequest$:()=>sY.FLP,DescribeSubscriptionFiltersResponse$:()=>sY.f1R,Destination$:()=>sY.$fk,DestinationConfiguration$:()=>sY.daE,DisassociateKmsKey$:()=>sY.fFO,DisassociateKmsKeyCommand:()=>nq,DisassociateKmsKeyRequest$:()=>sY.q0g,DisassociateSourceFromS3TableIntegration$:()=>sY.QmL,DisassociateSourceFromS3TableIntegrationCommand:()=>nj,DisassociateSourceFromS3TableIntegrationRequest$:()=>sY.$Bl,DisassociateSourceFromS3TableIntegrationResponse$:()=>sY.Du_,Distribution:()=>oT,Entity$:()=>sY.sco,EntityRejectionErrorType:()=>ow,EvaluationFrequency:()=>oo,EventSource:()=>ov,ExecutionStatus:()=>o$,ExportTask$:()=>sY.s2E,ExportTaskExecutionInfo$:()=>sY.ENF,ExportTaskStatus$:()=>sY.MZD,ExportTaskStatusCode:()=>oy,FieldIndex$:()=>sY.xpA,FieldsData$:()=>sY.S2p,FilterLogEvents$:()=>sY.YgU,FilterLogEventsCommand:()=>nW,FilterLogEventsRequest$:()=>sY.h6h,FilterLogEventsResponse$:()=>sY.Jb0,FilteredLogEvent$:()=>sY.S_O,FlattenedElement:()=>oR,GetDataProtectionPolicy$:()=>sY.g0S,GetDataProtectionPolicyCommand:()=>nH,GetDataProtectionPolicyRequest$:()=>sY.jRL,GetDataProtectionPolicyResponse$:()=>sY.VBk,GetDelivery$:()=>sY.fjx,GetDeliveryCommand:()=>nQ,GetDeliveryDestination$:()=>sY.H46,GetDeliveryDestinationCommand:()=>nz,GetDeliveryDestinationPolicy$:()=>sY.XFN,GetDeliveryDestinationPolicyCommand:()=>nV,GetDeliveryDestinationPolicyRequest$:()=>sY.QBp,GetDeliveryDestinationPolicyResponse$:()=>sY.oZS,GetDeliveryDestinationRequest$:()=>sY.wm8,GetDeliveryDestinationResponse$:()=>sY.G7K,GetDeliveryRequest$:()=>sY.Cit,GetDeliveryResponse$:()=>sY.C2k,GetDeliverySource$:()=>sY.OLU,GetDeliverySourceCommand:()=>nK,GetDeliverySourceRequest$:()=>sY.DP5,GetDeliverySourceResponse$:()=>sY.LUI,GetIntegration$:()=>sY.JmE,GetIntegrationCommand:()=>nY,GetIntegrationRequest$:()=>sY.iMV,GetIntegrationResponse$:()=>
1sY.ID5,GetLogAnomalyDetector$:()=>sY.EoJ,GetLogAnomalyDetectorCommand:()=>nJ,GetLogAnomalyDetectorRequest$:()=>sY.xOb,GetLogAnomalyDetectorResponse$:()=>sY.d7b,GetLogEvents$:()=>sY.IU$,GetLogEventsCommand:()=>nZ,GetLogEventsRequest$:()=>sY.RuK,GetLogEventsResponse$:()=>sY.lvI,GetLogFields$:()=>sY.kGU,GetLogFieldsCommand:()=>nX,GetLogFieldsRequest$:()=>sY.hS6,GetLogFieldsResponse$:()=>sY.LmQ,GetLogGroupFields$:()=>sY.$Rh,GetLogGroupFieldsCommand:()=>n0,GetLogGroupFieldsRequest$:()=>sY.aOl,GetLogGroupFieldsResponse$:()=>sY.aAC,GetLogObject$:()=>sY.ucp,GetLogObjectCommand:()=>n1,GetLogObjectRequest$:()=>sY.RrO,GetLogObjectResponse$:()=>sY.n7j,GetLogObjectResponseStream$:()=>sY.NGh,GetLogRecord$:()=>sY.YSI,GetLogRecordCommand:()=>n2,GetLogRecordRequest$:()=>sY.dAn,GetLogRecordResponse$:()=>sY.Xcg,GetLookupTable$:()=>sY.T30,GetLookupTableCommand:()=>n8,GetLookupTableRequest$:()=>sY.kjg,GetLookupTableResponse$:()=>sY.QlA,GetQueryResults$:()=>sY.vYG,GetQueryResultsCommand:()=>n3,GetQueryResultsRequest$:()=>sY.OPg,GetQueryResultsResponse$:()=>sY.Cjk,GetScheduledQuery$:()=>sY.gul,GetScheduledQueryCommand:()=>n4,GetScheduledQueryHistory$:()=>sY.e$2,GetScheduledQueryHistoryCommand:()=>n6,GetScheduledQueryHistoryRequest$:()=>sY.JSx,GetScheduledQueryHistoryResponse$:()=>sY.Pmh,GetScheduledQueryRequest$:()=>sY.r$6,GetScheduledQueryResponse$:()=>sY.dDn,GetTransformer$:()=>sY.QcP,GetTransformerCommand:()=>n5,GetTransformerRequest$:()=>sY.Htu,GetTransformerResponse$:()=>sY.buy,Grok$:()=>sY.uLv,GroupingIdentifier$:()=>sY.nXH,Import$:()=>sY.S_x,ImportBatch$:()=>sY.Ijb,ImportFilter$:()=>sY.ipF,ImportStatistics$:()=>sY.Ra2,ImportStatus:()=>oa,IndexPolicy$:()=>sY.bGn,IndexSource:()=>oC,IndexType:()=>ob,InheritedProperty:()=>oS,InputLogEvent$:()=>sY.tJO,IntegrationDetails$:()=>sY.LIp,IntegrationStatus:()=>oI,IntegrationSummary$:()=>sY.zvl,IntegrationType:()=>oA,InternalServerException:()=>oB.GI,InternalServerException$:()=>sY.yC_,InternalStreamingException:()=>oB.D9,InternalStreamingException$:()=>sY.LGr,InvalidOperationException:()=>oB.Ei,InvalidOperationException$:()=>sY.YA6,InvalidParameterException:()=>oB.kT,InvalidParameterException$:()=>sY.qcq,InvalidSequenceTokenException:()=>oB.rm,InvalidSequenceTokenException$:()=>sY.lUG,LimitExceededException:()=>oB.UC,LimitExceededException$:()=>sY.qrA,ListAggregateLogGroupSummaries$:()=>sY.bx3,ListAggregateLogGroupSummariesCommand:()=>n9,ListAggregateLogGroupSummariesGroupBy:()=>o_,ListAggregateLogGroupSummariesRequest$:()=>sY.qIj,ListAggregateLogGroupSummariesResponse$:()=>sY.sD4,ListAnomalies$:()=>sY.cCu,ListAnomaliesCommand:()=>n7,ListAnomaliesRequest$:()=>sY.ZAU,ListAnomaliesResponse$:()=>sY.Njr,ListIntegrations$:()=>sY.iJG,ListIntegrationsCommand:()=>ie,ListIntegrationsRequest$:()=>sY.h8l,ListIntegrationsResponse$:()=>sY.bYZ,ListLogAnomalyDetectors$:()=>sY.rW4,ListLogAnomalyDetectorsCommand:()=>it,ListLogAnomalyDetectorsRequest$:()=>sY.QUY,ListLogAnomalyDetectorsResponse$:()=>sY.gs0,ListLogGroups$:()=>sY.jaJ,ListLogGroupsCommand:()=>ir,ListLogGroupsForQuery$:()=>sY.kjZ,ListLogGroupsForQueryCommand:()=>is,ListLogGroupsForQueryRequest$:()=>sY.Pmd,ListLogGroupsForQueryResponse$:()=>sY.dcy,ListLogGroupsRequest$:()=>sY.cgH,ListLogGroupsResponse$:()=>sY.YKO,ListScheduledQueries$:()=>sY.iyO,ListScheduledQueriesCommand:()=>ii,ListScheduledQueriesRequest$:()=>sY.TQL,ListScheduledQueriesResponse$:()=>sY.Vm$,ListSourcesForS3TableIntegration$:()=>sY.KMH,ListSourcesForS3TableIntegrationCommand:()=>io,ListSourcesForS3TableIntegrationRequest$:()=>sY.BTd,ListSourcesForS3TableIntegrationResponse$:()=>sY.zvz,ListTagsForResource$:()=>sY.Tzn,ListTagsForResourceCommand:()=>ia,ListTagsForResourceRequest$:()=>sY.SKK,ListTagsForResourceResponse$:()=>sY.Kwq,ListTagsLogGroup$:()=>sY.HQV,ListTagsLogGroupCommand:()=>ic,ListTagsLogGroupRequest$:()=>sY.gss,ListTagsLogGroupResponse$:()=>sY.avr,ListToMap$:()=>sY.O$q,LiveTailSessionLogEvent$:()=>sY.tXP,LiveTailSessionMetadata$:()=>sY.oWN,LiveTailSessionStart$:()=>sY.lPS,LiveTailSessionUpdate$:()=>sY.gQH,LogEvent$:()=>sY.NyB,LogFieldType$:()=>sY.$NG,LogFieldsListItem$:()=>sY.tWX,LogGroup$:()=>sY.AJM,LogGroupClass:()=>od,LogGroupField$:()=>sY.Co5,LogGroupSummary$:()=>sY.OYs,LogStream$:()=>sY.ney,LookupTable$:()=>sY.Z1c,LowerCaseString$:()=>sY.vzG,MalformedQueryException:()=>oB.B9,MalformedQueryException$:()=>sY.rfo,MetricFilter$:()=>sY.Xf_,MetricFilterMatchRecord$:()=>sY.$0n,MetricTransformation$:()=>sY.KoX,MoveKeyEntry$:()=>sY.lHM,MoveKeys$:()=>sY.KiM,OCSFVersion:()=>oO,OpenSearchApplication$:()=>sY.tbo,OpenSearchCollection$:()=>
1sY.hHe,OpenSearchDataAccessPolicy$:()=>sY.NV8,OpenSearchDataSource$:()=>sY.K0G,OpenSearchEncryptionPolicy$:()=>sY.si1,OpenSearchIntegrationDetails$:()=>sY.bqm,OpenSearchLifecyclePolicy$:()=>sY.Zxj,OpenSearchNetworkPolicy$:()=>sY.Tjn,OpenSearchResourceConfig$:()=>sY.LPw,OpenSearchResourceStatus$:()=>sY.DX3,OpenSearchResourceStatusType:()=>oP,OpenSearchWorkspace$:()=>sY.en5,OperationAbortedException:()=>oB.K7,OperationAbortedException$:()=>sY.s_G,OrderBy:()=>ox,OutputFormat:()=>oc,OutputLogEvent$:()=>sY.CFR,ParseCloudfront$:()=>sY.gPi,ParseJSON$:()=>sY.YuG,ParseKeyValue$:()=>sY.SWE,ParsePostgres$:()=>sY.XT6,ParseRoute53$:()=>sY.Hq6,ParseToOCSF$:()=>sY.ICB,ParseVPC$:()=>sY.d2D,ParseWAF$:()=>sY.CNi,PatternToken$:()=>sY.gEi,Policy$:()=>sY.tOq,PolicyScope:()=>oL,PolicyType:()=>ot,Processor$:()=>sY.$bR,PutAccountPolicy$:()=>sY.hiH,PutAccountPolicyCommand:()=>iu,PutAccountPolicyRequest$:()=>sY.g3O,PutAccountPolicyResponse$:()=>sY.UTH,PutBearerTokenAuthentication$:()=>sY.IHE,PutBearerTokenAuthenticationCommand:()=>il,PutBearerTokenAuthenticationRequest$:()=>sY.ZXI,PutDataProtectionPolicy$:()=>sY.DL0,PutDataProtectionPolicyCommand:()=>id,PutDataProtectionPolicyRequest$:()=>sY.E1L,PutDataProtectionPolicyResponse$:()=>sY.Aju,PutDeliveryDestination$:()=>sY.ul2,PutDeliveryDestinationCommand:()=>im,PutDeliveryDestinationPolicy$:()=>sY.snm,PutDeliveryDestinationPolicyCommand:()=>ip,PutDeliveryDestinationPolicyRequest$:()=>sY.ngf,PutDeliveryDestinationPolicyResponse$:()=>sY.y2X,PutDeliveryDestinationRequest$:()=>sY.fvI,PutDeliveryDestinationResponse$:()=>sY.Bv5,PutDeliverySource$:()=>sY.rvL,PutDeliverySourceCommand:()=>ig,PutDeliverySourceRequest$:()=>sY.SYK,PutDeliverySourceResponse$:()=>sY.o5N,PutDestination$:()=>sY.OL8,PutDestinationCommand:()=>ih,PutDestinationPolicy$:()=>sY.CM0,PutDestinationPolicyCommand:()=>iy,PutDestinationPolicyRequest$:()=>sY.h3I,PutDestinationRequest$:()=>sY.NkQ,PutDestinationResponse$:()=>sY.xZk,PutIndexPolicy$:()=>sY.K6e,PutIndexPolicyCommand:()=>ib,PutIndexPolicyRequest$:()=>sY.Rb9,PutIndexPolicyResponse$:()=>sY.$V9,PutIntegration$:()=>sY.Ap5,PutIntegrationCommand:()=>iC,PutIntegrationRequest$:()=>sY.N5i,PutIntegrationResponse$:()=>sY.fvM,PutLogEvents$:()=>sY.RjR,PutLogEventsCommand:()=>iS.A,PutLogEventsRequest$:()=>sY.g0P,PutLogEventsResponse$:()=>sY.Ms3,PutLogGroupDeletionProtection$:()=>sY.ilc,PutLogGroupDeletionProtectionCommand:()=>ix,PutLogGroupDeletionProtectionRequest$:()=>sY.xmm,PutMetricFilter$:()=>sY.Qje,PutMetricFilterCommand:()=>iD,PutMetricFilterRequest$:()=>sY.Jvb,PutQueryDefinition$:()=>sY.vxL,PutQueryDefinitionCommand:()=>iE,PutQueryDefinitionRequest$:()=>sY.o3N,PutQueryDefinitionResponse$:()=>sY.ycg,PutResourcePolicy$:()=>sY.kdY,PutResourcePolicyCommand:()=>iL,PutResourcePolicyRequest$:()=>sY.ne4,PutResourcePolicyResponse$:()=>sY.Tvd,PutRetentionPolicy$:()=>sY.YSo,PutRetentionPolicyCommand:()=>iT,PutRetentionPolicyRequest$:()=>sY.Fq9,PutSubscriptionFilter$:()=>sY.p7j,PutSubscriptionFilterCommand:()=>iw,PutSubscriptionFilterRequest$:()=>sY.uxM,PutTransformer$:()=>sY.dV3,PutTransformerCommand:()=>iv,PutTransformerRequest$:()=>sY.wcc,QueryCompileError$:()=>sY.i3L,QueryCompileErrorLocation$:()=>sY.n_W,QueryDefinition$:()=>sY.M_e,QueryInfo$:()=>sY.VIM,QueryLanguage:()=>om,QueryParameter$:()=>sY.af4,QueryStatistics$:()=>sY._Ko,QueryStatus:()=>oE,RecordField$:()=>sY.KGH,RejectedEntityInfo$:()=>sY.y4f,RejectedLogEventsInfo$:()=>sY.CJh,RenameKeyEntry$:()=>sY.GzK,RenameKeys$:()=>sY.hGk,ResourceAlreadyExistsException:()=>oB.Ud,ResourceAlreadyExistsException$:()=>sY.IB0,ResourceConfig$:()=>sY.pY,ResourceNotFoundException:()=>oB.lB,ResourceNotFoundException$:()=>sY.lut,ResourcePolicy$:()=>sY.F_d,ResultField$:()=>sY.wrd,S3Configuration$:()=>sY.BcB,S3DeliveryConfiguration$:()=>sY.jb4,S3TableIntegrationSource$:()=>sY.Sec,S3TableIntegrationSourceStatus:()=>oG,S3TablesIntegration$:()=>sY.qi5,ScheduledQueryDestination$:()=>sY.mIs,ScheduledQueryDestinationType:()=>ok,ScheduledQueryState:()=>op,ScheduledQuerySummary$:()=>sY.odT,Scope:()=>or,SearchedLogStream$:()=>sY.KhM,ServiceQuotaExceededException:()=>oB.yP,ServiceQuotaExceededException$:()=>sY.YYw,ServiceUnavailableException:()=>oB.ld,ServiceUnavailableException$:()=>sY.xA5,SessionStreamingException:()=>oB.Ak,SessionStreamingException$:()=>sY.S3t,SessionTimeoutException:()=>oB.Fp,SessionTimeoutException$:()=>sY.dsC,SplitString$:()=>sY.Kni,SplitStringEntry$:()=>sY.Svh,StandardUnit:()=>
1oD,StartLiveTail$:()=>sY.f$5,StartLiveTailCommand:()=>i$,StartLiveTailRequest$:()=>sY.yif,StartLiveTailResponse$:()=>sY.mKS,StartLiveTailResponseStream$:()=>sY.IJy,StartQuery$:()=>sY.hBP,StartQueryCommand:()=>iR,StartQueryRequest$:()=>sY.cot,StartQueryResponse$:()=>sY.cu5,State:()=>on,StopQuery$:()=>sY.paH,StopQueryCommand:()=>iP,StopQueryRequest$:()=>sY.ohL,StopQueryResponse$:()=>sY.Ubi,SubscriptionFilter$:()=>sY.yxv,SubstituteString$:()=>sY.yG_,SubstituteStringEntry$:()=>sY.kFn,SuppressionPeriod$:()=>sY.TCx,SuppressionState:()=>oN,SuppressionType:()=>oF,SuppressionUnit:()=>oM,TagFilter$:()=>sY.vAZ,TagLogGroup$:()=>sY.eVK,TagLogGroupCommand:()=>iI,TagLogGroupRequest$:()=>sY.ZKY,TagResource$:()=>sY.Jqp,TagResourceCommand:()=>iA,TagResourceRequest$:()=>sY.uG_,TestMetricFilter$:()=>sY.pOo,TestMetricFilterCommand:()=>ik,TestMetricFilterRequest$:()=>sY.SYF,TestMetricFilterResponse$:()=>sY.kFz,TestTransformer$:()=>sY.sNl,TestTransformerCommand:()=>iO,TestTransformerRequest$:()=>sY.TKv,TestTransformerResponse$:()=>sY.Je_,ThrottlingException:()=>oB.x5,ThrottlingException$:()=>sY.tyi,TooManyTagsException:()=>oB.cD,TooManyTagsException$:()=>sY.Okg,TransformedLogRecord$:()=>sY.PqB,TriggerHistoryRecord$:()=>sY.oB$,TrimString$:()=>sY.wN$,Type:()=>oU,TypeConverter$:()=>sY.RaK,TypeConverterEntry$:()=>sY.zgd,UnrecognizedClientException:()=>oB.AW,UnrecognizedClientException$:()=>sY.ICC,UntagLogGroup$:()=>sY.jf6,UntagLogGroupCommand:()=>iU,UntagLogGroupRequest$:()=>sY.cnT,UntagResource$:()=>sY.AUX,UntagResourceCommand:()=>i_,UntagResourceRequest$:()=>sY.H$X,UpdateAnomaly$:()=>sY.Z1v,UpdateAnomalyCommand:()=>iN,UpdateAnomalyRequest$:()=>sY.kMy,UpdateDeliveryConfiguration$:()=>sY._jI,UpdateDeliveryConfigurationCommand:()=>iG,UpdateDeliveryConfigurationRequest$:()=>sY.RUh,UpdateDeliveryConfigurationResponse$:()=>sY.NXJ,UpdateLogAnomalyDetector$:()=>sY.rIv,UpdateLogAnomalyDetectorCommand:()=>iM,UpdateLogAnomalyDetectorRequest$:()=>sY.McF,UpdateLookupTable$:()=>sY.yRX,UpdateLookupTableCommand:()=>iF,UpdateLookupTableRequest$:()=>sY.DlO,UpdateLookupTableResponse$:()=>sY.r64,UpdateScheduledQuery$:()=>sY.Z1N,UpdateScheduledQueryCommand:()=>iB,UpdateScheduledQueryRequest$:()=>sY.kM_,UpdateScheduledQueryResponse$:()=>sY.cGb,UpperCaseString$:()=>sY.YeX,ValidationException:()=>oB.dr,ValidationException$:()=>sY.fNg,__Client:()=>e8,errorTypeRegistries:()=>sY.q1U,paginateDescribeConfigurationTemplates:()=>iH,paginateDescribeDeliveries:()=>iQ,paginateDescribeDeliveryDestinations:()=>iz,paginateDescribeDeliverySources:()=>iV,paginateDescribeDestinations:()=>iK,paginateDescribeLogGroups:()=>iY,paginateDescribeLogStreams:()=>iJ,paginateDescribeMetricFilters:()=>iZ,paginateDescribeSubscriptionFilters:()=>iX,paginateFilterLogEvents:()=>i0,paginateGetLogEvents:()=>i1,paginateGetScheduledQueryHistory:()=>i2,paginateListAggregateLogGroupSummaries:()=>i8,paginateListAnomalies:()=>i3,paginateListLogAnomalyDetectors:()=>i4,paginateListLogGroupsForQuery:()=>i6,paginateListScheduledQueries:()=>i5,paginateListSourcesForS3TableIntegration:()=>i9});class s{method;protocol;hostname;port;path;query;headers;username;password;fragment;body;constructor(e){this.method=e.method||"GET",this.hostname=e.hostname||"localhost",this.port=e.port,this.query=e.query||{},this.headers=e.headers||{},this.body=e.body,this.protocol=e.protocol?":"!==e.protocol.slice(-1)?`${e.protocol}:`:e.protocol:"https:",this.path=e.path?"/"!==e.path.charAt(0)?`/${e.path}`:e.path:"/",this.username=e.username,this.password=e.password,this.fragment=e.fragment}static clone(e){var t;let r=new s({...e,headers:{...e.headers}});return r.query&&(r.query=Object.keys(t=r.query).reduce((e,r)=>{let s=t[r];return{...e,[r]:Array.isArray(s)?[...s]:s}},{})),r}static isInstance(e){return!!e&&"method"in e&&"protocol"in e&&"hostname"in e&&"path"in e&&"object"==typeof e.query&&"object"==typeof e.headers}clone(){return s.clone(this)}}let n={name:"hostHeaderMiddleware",step:"build",priority:"low",tags:["HOST"],override:!0},i={name:"loggerMiddleware",tags:["LOGGER"],step:"initialize",override:!0},o={step:"build",tags:["RECURSION_DETECTION"],name:"recursionDetectionMiddleware",override:!0,priority:"low"},a=e=>{if("function"==typeof e)return e;let t=Promise.resolve(e);return()=>t},c=void 0,u=RegExp("^(?!.*-$)(?!-)[a-zA-Z0-9-]{1,63}$"),l=(e,t=!1)=>
1{if(!t)return u.test(e);for(let t of e.split("."))if(!l(t))return!1;return!0},d=RegExp("^(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}$"),m=(e,t=!1)=>{if(t){for(let t of e.split("."))if(!m(t))return!1;return!0}return!(!l(e)||e.length<3||e.length>63||e!==e.toLowerCase()||(e=>d.test(e)||e.startsWith("[")&&e.endsWith("]"))(e))},p=JSON.parse('{"partitions":[{"id":"aws","outputs":{"dnsSuffix":"amazonaws.com","dualStackDnsSuffix":"api.aws","implicitGlobalRegion":"us-east-1","name":"aws","supportsDualStack":true,"supportsFIPS":true},"regionRegex":"^(us|eu|ap|sa|ca|me|af|il|mx)\\\\-\\\\w+\\\\-\\\\d+$","regions":{"af-south-1":{"description":"Africa (Cape Town)"},"ap-east-1":{"description":"Asia Pacific (Hong Kong)"},"ap-east-2":{"description":"Asia Pacific (Taipei)"},"ap-northeast-1":{"description":"Asia Pacific (Tokyo)"},"ap-northeast-2":{"description":"Asia Pacific (Seoul)"},"ap-northeast-3":{"description":"Asia Pacific (Osaka)"},"ap-south-1":{"description":"Asia Pacific (Mumbai)"},"ap-south-2":{"description":"Asia Pacific (Hyderabad)"},"ap-southeast-1":{"description":"Asia Pacific (Singapore)"},"ap-southeast-2":{"description":"Asia Pacific (Sydney)"},"ap-southeast-3":{"description":"Asia Pacific (Jakarta)"},"ap-southeast-4":{"description":"Asia Pacific (Melbourne)"},"ap-southeast-5":{"description":"Asia Pacific (Malaysia)"},"ap-southeast-6":{"description":"Asia Pacific (New Zealand)"},"ap-southeast-7":{"description":"Asia Pacific (Thailand)"},"aws-global":{"description":"aws global region"},"ca-central-1":{"description":"Canada (Central)"},"ca-west-1":{"description":"Canada West (Calgary)"},"eu-central-1":{"description":"Europe (Frankfurt)"},"eu-central-2":{"description":"Europe (Zurich)"},"eu-north-1":{"description":"Europe (Stockholm)"},"eu-south-1":{"description":"Europe (Milan)"},"eu-south-2":{"description":"Europe (Spain)"},"eu-west-1":{"description":"Europe (Ireland)"},"eu-west-2":{"description":"Europe (London)"},"eu-west-3":{"description":"Europe (Paris)"},"il-central-1":{"description":"Israel (Tel Aviv)"},"me-central-1":{"description":"Middle East (UAE)"},"me-south-1":{"description":"Middle East (Bahrain)"},"mx-central-1":{"description":"Mexico (Central)"},"sa-east-1":{"description":"South America (Sao Paulo)"},"us-east-1":{"description":"US East (N. Virginia)"},"us-east-2":{"description":"US East (Ohio)"},"us-west-1":{"description":"US West (N. California)"},"us-west-2":{"description":"US West (Oregon)"}}},{"id":"aws-cn","outputs":{"dnsSuffix":"amazonaws.com.cn","dualStackDnsSuffix":"api.amazonwebservices.com.cn","implicitGlobalRegion":"cn-northwest-1","name":"aws-cn","supportsDualStack":true,"supportsFIPS":true},"regionRegex":"^cn\\\\-\\\\w+\\\\-\\\\d+$","regions":{"aws-cn-global":{"description":"aws-cn global region"},"cn-north-1":{"description":"China (Beijing)"},"cn-northwest-1":{"description":"China (Ningxia)"}}},{"id":"aws-eusc","outputs":{"dnsSuffix":"amazonaws.eu","dualStackDnsSuffix":"api.amazonwebservices.eu","implicitGlobalRegion":"eusc-de-east-1","name":"aws-eusc","supportsDualStack":true,"supportsFIPS":true},"regionRegex":"^eusc\\\\-(de)\\\\-\\\\w+\\\\-\\\\d+$","regions":{"eusc-de-east-1":{"description":"AWS European Sovereign Cloud (Germany)"}}},{"id":"aws-iso","outputs":{"dnsSuffix":"c2s.ic.gov","dualStackDnsSuffix":"api.aws.ic.gov","implicitGlobalRegion":"us-iso-east-1","name":"aws-iso","supportsDualStack":true,"supportsFIPS":true},"regionRegex":"^us\\\\-iso\\\\-\\\\w+\\\\-\\\\d+$","regions":{"aws-iso-global":{"description":"aws-iso global region"},"us-iso-east-1":{"description":"US ISO East"},"us-iso-west-1":{"description":"US ISO WEST"}}},{"id":"aws-iso-b","outputs":{"dnsSuffix":"sc2s.sgov.gov","dualStackDnsSuffix":"api.aws.scloud","implicitGlobalRegion":"us-isob-east-1","name":"aws-iso-b","supportsDualStack":true,"supportsFIPS":true},"regionRegex":"^us\\\\-isob\\\\-\\\\w+\\\\-\\\\d+$","regions":{"aws-iso-b-global":{"description":"aws-iso-b global region"},"us-isob-east-1":{"description":"US ISOB East (Ohio)"},"us-isob-west-1":{"description":"US ISOB West"}}},{"id":"aws-iso-e","outputs":{"dnsSuffix":"cloud.adc-e.uk","dualStackDnsSuffix":"api.cloud-aws.adc-e.uk","implicitGlobalRegion":"eu-isoe-west-1","name":"aws-iso-e","supportsDualStack":true,"supportsFIPS":true}
1,"regionRegex":"^eu\\\\-isoe\\\\-\\\\w+\\\\-\\\\d+$","regions":{"aws-iso-e-global":{"description":"aws-iso-e global region"},"eu-isoe-west-1":{"description":"EU ISOE West"}}},{"id":"aws-iso-f","outputs":{"dnsSuffix":"csp.hci.ic.gov","dualStackDnsSuffix":"api.aws.hci.ic.gov","implicitGlobalRegion":"us-isof-south-1","name":"aws-iso-f","supportsDualStack":true,"supportsFIPS":true},"regionRegex":"^us\\\\-isof\\\\-\\\\w+\\\\-\\\\d+$","regions":{"aws-iso-f-global":{"description":"aws-iso-f global region"},"us-isof-east-1":{"description":"US ISOF EAST"},"us-isof-south-1":{"description":"US ISOF SOUTH"}}},{"id":"aws-us-gov","outputs":{"dnsSuffix":"amazonaws.com","dualStackDnsSuffix":"api.aws","implicitGlobalRegion":"us-gov-west-1","name":"aws-us-gov","supportsDualStack":true,"supportsFIPS":true},"regionRegex":"^us\\\\-gov\\\\-\\\\w+\\\\-\\\\d+$","regions":{"aws-us-gov-global":{"description":"aws-us-gov global region"},"us-gov-east-1":{"description":"AWS GovCloud (US-East)"},"us-gov-west-1":{"description":"AWS GovCloud (US-West)"}}}],"version":"1.1"}');var g,f,h,y,b,C,S,x,D=r(99742);class E{static v2026=void 0!==D&&D.env?.SMITHY_NEW_RETRIES_2026==="true";static delay(){return E.v2026?50:100}static throttlingDelay(){return E.v2026?1e3:500}static cost(){return E.v2026?14:5}static throttlingCost(){return E.v2026?5:10}static modifiedCostType(){return E.v2026?"THROTTLING":"TRANSIENT"}}var L=r(99742);function T(e,t,r){e.__aws_sdk_context?e.__aws_sdk_context.features||(e.__aws_sdk_context.features={}):e.__aws_sdk_context={features:{}},e.__aws_sdk_context.features[t]=r}E.v2026||="object"==typeof L&&L.env?.AWS_NEW_RETRIES_2026==="true",function(e){e.STANDARD="standard",e.ADAPTIVE="adaptive"}(f||(f={})),f.STANDARD;let w=/\d{12}\.ddb/;async function v(e,t,r){let s=r.request;if(s?.headers?.["smithy-protocol"]==="rpc-v2-cbor"&&T(e,"PROTOCOL_RPC_V2_CBOR","M"),"function"==typeof t.retryStrategy){let r=await t.retryStrategy();if("string"==typeof r.mode)switch(r.mode){case f.ADAPTIVE:T(e,"RETRY_MODE_ADAPTIVE","F");break;case f.STANDARD:T(e,"RETRY_MODE_STANDARD","E")}}if("function"==typeof t.accountIdEndpointMode){let r=e.endpointV2;switch(String(r?.url?.hostname).match(w)&&T(e,"ACCOUNT_ID_ENDPOINT","O"),await t.accountIdEndpointMode?.()){case"disabled":T(e,"ACCOUNT_ID_MODE_DISABLED","Q");break;case"preferred":T(e,"ACCOUNT_ID_MODE_PREFERRED","P");break;case"required":T(e,"ACCOUNT_ID_MODE_REQUIRED","R")}}let n=e.__smithy_context?.selectedHttpAuthScheme?.identity;if(n?.$source)for(let[t,r]of(n.accountId&&T(e,"RESOLVED_ACCOUNT_ID","T"),Object.entries(n.$source??{})))T(e,t,r)}let $="user-agent",R="x-amz-user-agent",P=/[^!$%&'*+\-.^_`|~\w]/g,I=/[^!$%&'*+\-.^_`|~\w#]/g,A=e=>{let t=e[0].split("/").map(e=>e.replace(P,"-")).join("/"),r=e[1]?.replace(I,"-"),s=t.indexOf("/"),n=t.substring(0,s),i=t.substring(s+1);return"api"===n&&(i=i.toLowerCase()),[n,i,r].filter(e=>e&&e.length>0).reduce((e,t,r)=>{switch(r){case 0:return t;case 1:return`${e}/${t}`;default:return`${e}#${t}`}},"")},k={name:"getUserAgentMiddleware",step:"build",priority:"low",tags:["SET_USER_AGENT","USER_AGENT"],override:!0},O=RegExp("^(?!.*-$)(?!-)[a-zA-Z0-9-]{1,63}$"),U=(e,t=!1)=>{if(!t)return O.test(e);for(let t of e.split("."))if(!U(t))return!1;return!0},_=new Set,N=e=>"string"==typeof e&&(e.startsWith("fips-")||e.endsWith("-fips"));var G=r(37849);let M=e=>e[G.V]||(e[G.V]={}),F={step:"serialize",tags:["HTTP_AUTH_SCHEME"],name:"httpAuthSchemeMiddleware",override:!0,relation:"before",toMiddleware:"endpointV2Middleware"};class B{authSchemes=new Map;constructor(e){for(let t in e){let r=e[t];void 0!==r&&this.authSchemes.set(t,r)}}getIdentityProvider(e){return this.authSchemes.get(e)}}let q={step:"finalizeRequest",tags:["HTTP_SIGNING"],name:"httpSigningMiddleware",aliases:["apiKeyMiddleware","tokenMiddleware","awsAuthMiddleware"],override:!0,relation:"after",toMiddleware:"retryMiddleware"};class j{statusCode;reason;headers;body;constructor(e){this.statusCode=e.statusCode,this.reason=e.reason,this.headers=e.headers||{},this.body=e.body}static isInstance(e){return!!e&&"number"==typeof e.statusCode&&"object"==typeof e.headers}}let W=(e,t,r,s,n)=>({name:t,namespace:e,traits:r,input:s,output:n}),H=(e,t)=>(t.find(([t])=>t.match(e))||[void 0,void 0])[1],Q=e=>{let t;if("string"==typeof e)return Q(new URL(e));let{hostname:r,pathname:s,port:n,protocol:i,search:o}=e;return o&&(t=function(e){let t={};if(e=e.replace(/^\?/,""))for(let r of e.split("&")){let[e,s=null]=r.split("=");e=decodeURIComponent(e),s&&(s=decodeURIComponent(s)),e in t?Array.isArray(t[e])?t[e].push(s):t[e]=[t[e],s]:t[e]=s}return t}(o)),{hostname:r,port:n?parseInt(n):void 0,protocol:i,path:s,query:t}},z={name:"deserializerMiddleware",step:"deserialize",tags:["DESERIALIZER"],override:!0},V={name:"serializerMiddleware",step:"serialize",tags:["SERIALIZER"],override:!0};class K{method;protocol;hostname;port;path;query;headers;username;password;fragment;body;constructor(e){this.method=e.method||"GET",this.hostname=e.hostname||"localhost",this.port=e.port,this.query=e.query||{},this.headers=e.headers||{},this.body=e.body,this.protocol=e.protocol?":"!==e.protocol.slice(-1)?`${e.protocol}:`:e.protocol:"https:",this.path=e.path?"/"!==e.path.charAt(0)?`/${e.path}`:e.path:"/",this.username=e.username,this.password=e.password,this.fragment=e.fragment}static clone(e){var t;let r=new K({...e,headers:{...e.headers}});return r.query&&(r.query=Object.keys(t=r.query).reduce((e,r)=>{let s=t[r];return{...e,[r]:Array.isArray(s)?[...s]:s}},{})),r}static isInstance(e){return!!e&&"method"in e&&"protocol"in e&&"hostname"in e&&"path"in e&&"object"==typeof e.query&&"object"==typeof e.headers}clone(){return K.clone(this)}}let Y="content-length",J={step:"build",tags:["SET_CONTENT_LENGTH","CONTENT_LENGTH"],name:"contentLengthMiddleware",override:!0},Z=e=>{if("function"==typeof e)return e;let t=Promise.resolve(e);return()=>t};var X=r(88816),ee=r(47738);!function(e){e.STANDARD="standard",e.ADAPTIVE="adaptive"}(h||(h={}));let et=h.STANDARD,er=["BandwidthLimitExceeded","EC2ThrottledException","LimitExceededException","PriorRequestNotComplete","ProvisionedThroughputExceededException","RequestLimitExceeded","RequestThrottled","RequestThrottledException","SlowDown","ThrottledException","Throttling","ThrottlingException","TooManyRequestsException","TransactionInProgressException"],es=["TimeoutError","RequestTimeout","RequestTimeoutException"],en=[500,502,503,504],ei=["ECONNRESET","ECONNREFUSED","EPIPE","ETIMEDOUT"],eo=["EHOSTUNREACH","ENETUNREACH","ENOTFOUND"],ea=e=>e.$metadata?.httpStatusCode===429||er.includes(e.name)||e.$retryable?.throttling==!0,ec=(e,t=0)=>e?.$retryable!==void 0||e.$metadata?.clockSkewCorrected||"InvalidSignatureException"===e.name&&e.message?.includes("Signature expired")||es.includes(e.name)||ei.includes(e?.code||"")||eo.includes(e?.code||"")||en.includes(e.$metadata?.httpStatusCode||0)||(e=>{let t=new Set(["Failed to fetch","NetworkError when attempting to fetch resource","The Internet connection appears to be offline","Load failed","Network request failed"]);return!!(e&&e instanceof TypeError)&&t.has(e.message)})(e)||function(e){return"ERR_HTTP2_STREAM_ERROR"===e.code&&e.message.includes("NGHTTP2_REFUSED_STREAM")}(e)||void 0!==e.cause&&t<=10&&ec(e.cause,t+1);class eu{static setTimeoutFn=setTimeout;beta;minCapacity;minFillRate;scaleConstant;smooth;enabled=!1;availableTokens=0;lastMaxRate=0;measuredTxRate=0;requestCount=0;fillRate;lastThrottleTime;lastTimestamp=0;lastTxRateBucket;maxCapacity;timeWindow=0;constructor(e){this.beta=e?.beta??.7,this.minCapacity=e?.minCapacity??1,this.minFillRate=e?.minFillRate??.5,this.scaleConstant=e?.scaleConstant??.4,this.smooth=e?.smooth??.8,this.lastThrottleTime=this.getCurrentTimeInSeconds(),this.lastTxRateBucket=Math.floor(this.getCurrentTimeInSeconds()),this.fillRate=this.minFillRate,this.maxCapacity=this.minCapacity}async getSendToken(){return this.acquireTokenBucket(1)}updateClientSendingRate(e){let t;
1if(this.updateMeasuredRate(),e?.errorType==="THROTTLING"||ea(e?.error??e)){let e=this.enabled?Math.min(this.measuredTxRate,this.fillRate):this.measuredTxRate;this.lastMaxRate=e,this.calculateTimeWindow(),this.lastThrottleTime=this.getCurrentTimeInSeconds(),t=this.cubicThrottle(e),this.enableTokenBucket()}else this.calculateTimeWindow(),t=this.cubicSuccess(this.getCurrentTimeInSeconds());let r=Math.min(t,2*this.measuredTxRate);this.updateTokenBucketRate(r)}getCurrentTimeInSeconds(){return Date.now()/1e3}async acquireTokenBucket(e){if(this.enabled){for(this.refillTokenBucket();e>this.availableTokens;){let t=(e-this.availableTokens)/this.fillRate*1e3;await new Promise(e=>eu.setTimeoutFn(e,t)),this.refillTokenBucket()}this.availableTokens=this.availableTokens-e}}refillTokenBucket(){let e=this.getCurrentTimeInSeconds();if(!this.lastTimestamp){this.lastTimestamp=e;return}let t=(e-this.lastTimestamp)*this.fillRate;this.availableTokens=Math.min(this.maxCapacity,this.availableTokens+t),this.lastTimestamp=e}calculateTimeWindow(){this.timeWindow=this.getPrecise(Math.pow(this.lastMaxRate*(1-this.beta)/this.scaleConstant,1/3))}
1cubicThrottle(e){return this.getPrecise(e*this.beta)}cubicSuccess(e){return this.getPrecise(this.scaleConstant*Math.pow(e-this.lastThrottleTime-this.timeWindow,3)+this.lastMaxRate)}enableTokenBucket(){this.enabled=!0}updateTokenBucketRate(e){this.refillTokenBucket(),this.fillRate=Math.max(e,this.minFillRate),this.maxCapacity=Math.max(e,this.minCapacity),this.availableTokens=Math.min(this.availableTokens,this.maxCapacity)}updateMeasuredRate(){let e=Math.floor(2*this.getCurrentTimeInSeconds())/2;if(this.requestCount++,e>this.lastTxRateBucket){let t=this.requestCount/(e-this.lastTxRateBucket);this.measuredTxRate=this.getPrecise(t*this.smooth+this.measuredTxRate*(1-this.smooth)),this.requestCount=0,this.lastTxRateBucket=e}}getPrecise(e){return parseFloat(e.toFixed(8))}}var el=r(99742);class ed{static v2026=void 0!==el&&el.env?.SMITHY_NEW_RETRIES_2026==="true";static delay(){return ed.v2026?50:100}static throttlingDelay(){return ed.v2026?1e3:500}static cost(){return ed.v2026?14:5}static throttlingCost(){return ed.v2026?5:10}static modifiedCostType(){return ed.v2026?"THROTTLING":"TRANSIENT"}}class em{x=ed.delay();computeNextBackoffDelay(e){return Math.floor(Math.random()*Math.min(this.x*2**e,2e4))}setDelayBase(e){this.x=e}}class ep{delay;count;cost;longPoll;constructor(e,t,r,s){this.delay=e,this.count=t,this.cost=r,this.longPoll=s}getRetryCount(){return this.count}getRetryDelay(){return Math.min(2e4,this.delay)}getRetryCost(){return this.cost}isLongPoll(){return this.longPoll}}let eg={incompatible:1,attempts:2,capacity:3};class ef{mode=h.STANDARD;capacity=500;retryBackoffStrategy;maxAttemptsProvider;baseDelay;constructor(e){"number"==typeof e?this.maxAttemptsProvider=async()=>e:"function"==typeof e?this.maxAttemptsProvider=e:e&&"object"==typeof e&&(this.maxAttemptsProvider=async()=>e.maxAttempts,this.baseDelay=e.baseDelay,this.retryBackoffStrategy=e.backoff),this.maxAttemptsProvider??=async()=>3,this.baseDelay??=ed.delay(),this.retryBackoffStrategy??=new em}async acquireInitialRetryToken(e){return new ep(ed.delay(),0,void 0,ed.v2026&&e.includes(":longpoll"))}async refreshRetryTokenForRetry(e,t){let r=await this.getMaxAttempts(),s=this.retryCode(e,t,r),n=0===s,i=e.isLongPoll?.();if(n||i){let r=t.errorType;this.retryBackoffStrategy.setDelayBase("THROTTLING"===r?ed.throttlingDelay():this.baseDelay);let o=this.retryBackoffStrategy.computeNextBackoffDelay(e.getRetryCount()),a=o;if(t.retryAfterHint instanceof Date&&(a=Math.max(o,Math.min(t.retryAfterHint.getTime()-Date.now(),o+5e3))),n){let t=this.getCapacityCost(r);return this.capacity-=t,new ep(a,e.getRetryCount()+1,t,e.isLongPoll?.()??!1)}throw Object.assign(Error("No retry token available"),{$backoff:ed.v2026&&s===eg.capacity&&i?a:0})}throw Error("No retry token available")}recordSuccess(e){this.capacity=Math.min(500,this.capacity+(e.getRetryCost()??1))}getCapacity(){return this.capacity}async maxAttempts(){return this.maxAttemptsProvider()}async getMaxAttempts(){try{return await this.maxAttemptsProvider()}catch(e){return console.warn("Max attempts provider could not resolve. Using default of 3"),3}}retryCode(e,t,r){let s=e.getRetryCount()+1,n=this.isRetryableError(t.errorType)?0:eg.incompatible,i=s<r?0:eg.attempts,o=this.capacity>=this.getCapacityCost(t.errorType)?0:eg.capacity;return n||i||o}getCapacityCost(e){return e===ed.modifiedCostType()?ed.throttlingCost():ed.cost()}isRetryableError(e){return"THROTTLING"===e||"TRANSIENT"===e}}class eh{mode=h.ADAPTIVE;rateLimiter;standardRetryStrategy;constructor(e,t){let{rateLimiter:r}=t??{};this.rateLimiter=r??new eu,this.standardRetryStrategy=new ef(t?{maxAttempts:"number"==typeof e?e:3,...t}:e)}async acquireInitialRetryToken(e){let t=await this.standardRetryStrategy.acquireInitialRetryToken(e);return await this.rateLimiter.getSendToken(),t}async refreshRetryTokenForRetry(e,t){this.rateLimiter.updateClientSendingRate(t);let r=await this.standardRetryStrategy.refreshRetryTokenForRetry(e,t);return await this.rateLimiter.getSendToken(),r}recordSuccess(e){this.rateLimiter.updateClientSendingRate({}),this.standardRetryStrategy.recordSuccess(e)}
1async maxAttemptsProvider(){return this.standardRetryStrategy.maxAttempts()}}class ey{trace(){}debug(){}info(){}warn(){}error(){}}let eb="undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),eC=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,"0")),eS=e=>e?.body instanceof ReadableStream,ex=e=>{if(null!=e){if("string"==typeof e){let t=parseFloat(e);if(!Number.isNaN(t))return String(t)!==String(e)&&eA.warn(eI(`Expected number but observed string: ${e}`)),t}if("number"==typeof e)return e;throw TypeError(`Expected number, got ${typeof e}: ${e}`)}},eD=Math.ceil(17014118346046923e22*(2-11920928955078125e-23)),eE=e=>{let t=ex(e);if(void 0!==t&&!Number.isNaN(t)&&t!==1/0&&t!==-1/0&&Math.abs(t)>eD)throw TypeError(`Expected 32-bit float, got ${e}`);return t},eL=e=>ew(e,16),eT=e=>ew(e,8),ew=(e,t)=>{let r=(e=>{if(null!=e){if(Number.isInteger(e)&&!Number.isNaN(e))return e;throw TypeError(`Expected integer, got ${typeof e}: ${e}`)}})(e);if(void 0!==r&&ev(r,t)!==r)throw TypeError(`Expected ${t}-bit integer, got ${e}`);return r},ev=(e,t)=>
1{switch(t){case 32:return Int32Array.of(e)[0];case 16:return Int16Array.of(e)[0];case 8:return Int8Array.of(e)[0]}},e$=/(-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?)|(-?Infinity)|(NaN)/g,eR=e=>{let t=e.match(e$);if(null===t||t[0].length!==e.length)throw TypeError("Expected real number, got implicit NaN");return parseFloat(e)},eP=e=>"string"==typeof e?eL(eR(e)):eL(e),eI=e=>String(TypeError(e).stack||e).split("\n").slice(0,5).filter(e=>!e.includes("stackTraceWarning")).join("\n"),eA={warn:console.warn},ek=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],eO=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],eU=new RegExp(/^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?(([-+]\d{2}\:\d{2})|[zZ])$/),e_=new RegExp(/^(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d{2}) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? GMT$/),eN=new RegExp(/^(?:Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d{2})-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d{2}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? GMT$/),eG=new RegExp(/^(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( [1-9]|\d{2}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? (\d{4})$/),eM=e=>{if(null==e)return;if("string"!=typeof e)throw TypeError("RFC-7231 date-times must be expressed as strings");let t=e_.exec(e);if(t){let[e,r,s,n,i,o,a,c]=t;return eF(eP(eK(n)),ej(s),ez(r,"day",1,31),{hours:i,minutes:o,seconds:a,fractionalMilliseconds:c})}if(t=eN.exec(e)){let[e,r,s,n,i,o,a,c]=t;return eq(eF(eB(n),ej(s),ez(r,"day",1,31),{hours:i,minutes:o,seconds:a,fractionalMilliseconds:c}))}if(t=eG.exec(e)){let[e,r,s,n,i,o,a,c]=t;return eF(eP(eK(c)),ej(r),ez(s.trimLeft(),"day",1,31),{hours:n,minutes:i,seconds:o,fractionalMilliseconds:a})}throw TypeError("Invalid RFC-7231 date-time value")},eF=(e,t,r,s)=>{let n=t-1;return eH(e,n,r),new Date(Date.UTC(e,n,r,ez(s.hours,"hour",0,23),ez(s.minutes,"minute",0,59),ez(s.seconds,"seconds",0,60),eV(s.fractionalMilliseconds)))},eB=e=>{let t=new Date().getUTCFullYear(),r=100*Math.floor(t/100)+eP(eK(e));return r<t?r+100:r},eq=e=>e.getTime()-new Date().getTime()>15768e8?new Date(Date.UTC(e.getUTCFullYear()-100,e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds())):e,ej=e=>{let t=eO.indexOf(e);if(t<0)throw TypeError(`Invalid month: ${e}`);return t+1},eW=[31,28,31,30,31,30,31,31,30,31,30,31],eH=(e,t,r)=>{let s=eW[t];if(1===t&&eQ(e)&&(s=29),r>s)throw TypeError(`Invalid day for ${eO[t]} in ${e}: ${r}`)},eQ=e=>e%4==0&&(e%100!=0||e%400==0),ez=(e,t,r,s)=>{let n=(e=>"string"==typeof e?eT(eR(e)):eT(e))(eK(e));if(n<r||n>s)throw TypeError(`${t} must be between ${r} and ${s}, inclusive`);return n},eV=e=>null==e?0:1e3*(e=>"string"==typeof e?eE(eR(e)):eE(e))("0."+e),eK=e=>{let t=0;for(;t<e.length-1&&"0"===e.charAt(t);)t++;return 0===t?e:e.slice(t)};class eY{statusCode;reason;headers;body;constructor(e){this.statusCode=e.statusCode,this.reason=e.reason,this.headers=e.headers||{},this.body=e.body}static isInstance(e){return!!e&&"number"==typeof e.statusCode&&"object"==typeof e.headers}}let eJ=e=>e instanceof Error?e:e instanceof Object?Object.assign(Error(),e):"string"==typeof e?Error(e):Error(`AWS SDK error wrapper for ${e}`),eZ=e=>new Promise(t=>setTimeout(t,e)),eX=(e,t)=>{let r={error:e,errorType:e0(e)},s=function(e,t){if(eY.isInstance(e))for(let r of Object.keys(e.headers)){let s=r.toLowerCase();if("retry-after"===s){let s=e.headers[r],n=NaN;if(s.endsWith("GMT"))try{n=(eM(s).getTime()-Date.now())/1e3}catch(e){t?.trace?.("Failed to parse retry-after header"),t?.trace?.(e)}else s.match(/ GMT, ((\d+)|(\d+\.\d+))$/)?n=Number(s.match(/ GMT, ([\d.]+)$/)?.[1]):s.match(/^((\d+)|(\d+\.\d+))$/)?n=Number(s):Date.parse(s)>=Date.now()&&(n=(Date.parse(s)-Date.now())/1e3);if(isNaN(n))return;return new Date(Date.now()+1e3*n)}if("x-amz-retry-after"===s){let s=e.headers[r],n=Number(s);if(isNaN(n))return void t?.trace?.(`Failed to parse x-amz-retry-after=${s}`);return new Date(Date.now()+n)}}}(e.$response,t);return s&&(r.retryAfterHint=s),r},e0=e=>ea(e)?"THROTTLING":ec(e)?"TRANSIENT":(e=>{if(e.$metadata?.httpStatusCode!==void 0){let t=e.$metadata.httpStatusCode;if(500<=t&&t<=599&&!ec(e))return!0}return!1})(e)?"SERVER_ERROR":"CLIENT_ERROR",e1={name:"retryMiddleware",tags:["RETRY"],step:"finalizeRequest",priority:"high",override:!0};var e2=r(31805);class e8{config;middlewareStack=(0,e2.o)();initConfig;handlers;constructor(e){this.config=e;let{protocol:t,protocolSettings:r}=e;r&&"function"==typeof t&&(e.protocol=new t(r))}send(e,t,r){let s,n="function"!=typeof t?t:void 0,i="function"==typeof t?t:r;if(void 0===n&&!0===this.config.cacheMiddleware){this.handlers||(this.handlers=new WeakMap);let t=this.handlers;t.has(e.constructor)?s=t.get(e.constructor):(s=e.resolveMiddleware(this.middlewareStack,this.config,n),t.set(e.constructor,s))}else delete this.handlers,s=e.resolveMiddleware(this.middlewareStack,this.config,n);if(!i)return s(e).then(e=>e.output);s(e).then(e=>i(null,e.output),e=>i(e)).catch(()=>{})}destroy(){this.config?.requestHandler?.destroy?.(),delete this.handlers}}let e3=function(e){return e4(e)&&e.expiration.getTime()-Date.now()<3e5},e4=e=>void 0!==e.expiration,e6={},e5={};for(let e=0;e<256;e++){let t=e.toString(16).toLowerCase();1===t.length&&(t=`0${t}`),e6[e]=t,e5[t]=e}function e9(e){let t="";for(let r=0;r<e.byteLength;r++)t+=e6[e[r]];return t}var e7=r(72317);let te=e=>"string"==typeof e?(0,e7.a)(e):ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(e);class tt{format(e){let t=[];for(let r of Object.keys(e)){let s=(0,e7.a)(r);t.push(Uint8Array.from([s.byteLength]),s,this.formatHeaderValue(e[r]))}let r=new Uint8Array(t.reduce((e,t)=>
1e+t.byteLength,0)),s=0;for(let e of t)r.set(e,s),s+=e.byteLength;return r}formatHeaderValue(e){switch(e.type){case"boolean":return Uint8Array.from([+!e.value]);case"byte":return Uint8Array.from([2,e.value]);case"short":let t=new DataView(new ArrayBuffer(3));return t.setUint8(0,3),t.setInt16(1,e.value,!1),new Uint8Array(t.buffer);case"integer":let r=new DataView(new ArrayBuffer(5));return r.setUint8(0,4),r.setInt32(1,e.value,!1),new Uint8Array(r.buffer);case"long":let s=new Uint8Array(9);return s[0]=5,s.set(e.value.bytes,1),s;case"binary":let n=new DataView(new ArrayBuffer(3+e.value.byteLength));n.setUint8(0,6),n.setUint16(1,e.value.byteLength,!1);let i=new Uint8Array(n.buffer);return i.set(e.value,3),i;case"string":let o=(0,e7.a)(e.value),a=new DataView(new ArrayBuffer(3+o.byteLength));a.setUint8(0,7),a.setUint16(1,o.byteLength,!1);let c=new Uint8Array(a.buffer);return c.set(o,3),c;case"timestamp":let u=new Uint8Array(9);return u[0]=8,u.set(ts.fromNumber(e.value.valueOf()).bytes,1),u;case"uuid":if(!tr.test(e.value))throw Error(`Invalid UUID received: ${e.value}`);let l=new Uint8Array(17);return l[0]=9,l.set(function(e){if(e.length%2!=0)throw Error("Hex encoded strings must have an even number length");let t=new Uint8Array(e.length/2);for(let r=0;r<e.length;r+=2){let s=e.slice(r,r+2).toLowerCase();if(s in e5)t[r/2]=e5[s];else throw Error(`Cannot decode unrecognized sequence ${s} as hexadecimal`)}return t}(e.value.replace(/\-/g,"")),1),l}}}!function(e){e[e.boolTrue=0]="boolTrue",e[e.boolFalse=1]="boolFalse",e[e.byte=2]="byte",e[e.short=3]="short",e[e.integer=4]="integer",e[e.long=5]="long",e[e.byteArray=6]="byteArray",e[e.string=7]="string",e[e.timestamp=8]="timestamp",e[e.uuid=9]="uuid"}(y||(y={}));let tr=/^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/;class ts{bytes;constructor(e){if(this.bytes=e,8!==e.byteLength)throw Error("Int64 buffers must be exactly 8 bytes")}static fromNumber(e){if(e>0x8000000000000000||e<-0x8000000000000000)throw Error(`${e} is too large (or, if negative, too small) to represent as an Int64`);let t=new Uint8Array(8);for(let r=7,s=Math.abs(Math.round(e));r>-1&&s>0;r--,s/=256)t[r]=s;return e<0&&tn(t),new ts(t)}valueOf(){let e=this.bytes.slice(0),t=128&e[0];return t&&tn(e),parseInt(e9(e),16)*(t?-1:1)}toString(){return String(this.valueOf())}}function tn(e){for(let t=0;t<8;t++)e[t]^=255;for(let t=7;t>-1&&(e[t]++,0===e[t]);t--);}let ti=e=>{if("function"==typeof e)return e;let t=Promise.resolve(e);return()=>t},to=e=>encodeURIComponent(e).replace(/[!'()*]/g,ta),ta=e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`,tc="X-Amz-Date",tu="X-Amz-Signature",tl="X-Amz-Security-Token",td="authorization",tm=tc.toLowerCase(),tp=[td,tm,"date"],tg=tu.toLowerCase(),tf="x-amz-content-sha256",th=tl.toLowerCase(),ty={authorization:!0,"cache-control":!0,connection:!0,expect:!0,from:!0,"keep-alive":!0,"max-forwards":!0,pragma:!0,referer:!0,te:!0,trailer:!0,"transfer-encoding":!0,upgrade:!0,"user-agent":!0,"x-amzn-trace-id":!0},tb=/^proxy-/,tC=/^sec-/,tS="AWS4-HMAC-SHA256",tx="aws4_request";class tD{service;regionProvider;credentialProvider;sha256;uriEscapePath;applyChecksum;constructor({applyChecksum:e,credentials:t,region:r,service:s,sha256:n,uriEscapePath:i=!0}){this.service=s,this.sha256=n,this.uriEscapePath=i,this.applyChecksum="boolean"!=typeof e||e,this.regionProvider=ti(r),this.credentialProvider=ti(t)}createCanonicalRequest(e,t,r){let s=Object.keys(t).sort();return`${e.method} 2${this.getCanonicalPath(e)} 3${(({query:e={}})=>{let t=[],r={};for(let s of Object.keys(e)){if(s.toLowerCase()===tg)continue;let n=to(s);t.push(n);let i=e[s];"string"==typeof i?r[n]=`${n}=${to(i)}`:Array.isArray(i)&&(r[n]=i.slice(0).reduce((e,t)=>e.concat([`${n}=${to(t)}`]),[]).sort().join("&"))}return t.sort().map(e=>r[e]).filter(e=>e).join("&")})(e)} 4${s.map(e=>`${e}:${t[e]}`).join("\n")} 5 6${s.join(";")} 7${r}`}async createStringToSign(e,t,r,s){let n=new this.sha256;n.update(te(r));let i=await n.digest();return`${s} 8${e} 9${t} 10${e9(i)}`}getCanonicalPath({path:e}){if(this.uriEscapePath){let t=[];for(let r of e.split("/"))r?.length!==0&&"."!==r&&(".."===r?t.pop():t.push(r));return to(`${e?.startsWith("/")?"/":""}${t.join("/")}${t.length>0&&e?.endsWith("/")?"/":""}`).replace(/%2F/g,"/")}return e}validateResolvedCredentials(e){if("object"!=typeof e||"string"!=typeof e.accessKeyId||"string"!=typeof e.secretAccessKey)throw Error("Resolved credential object is not val
10id")}formatDate(e){var t;let r=("number"==typeof(t=e)?new Date(1e3*t):"string"==typeof t?new Date(Number(t)?1e3*Number(t):t):t).toISOString().replace(/\.\d{3}Z$/,"Z").replace(/[\-:]/g,"");return{longDate:r,shortDate:r.slice(0,8)}}getCanonicalHeaderList(e){return Object.keys(e).sort().join(";")}}let tE={},tL=[],tT=(e,t,r)=>`${e}/${t}/${r}/${tx}`,tw=async(e,t,r,s,n)=>{let i=await tv(e,t.secretAccessKey,t.accessKeyId),o=`${r}:${s}:${n}:${e9(i)}:${t.sessionToken}`;if(o in tE)return tE[o];for(tL.push(o);tL.length>50;)delete tE[tL.shift()];let a=`AWS4${t.secretAccessKey}`;for(let t of[r,s,n,tx])a=await tv(e,a,t);return tE[o]=a},tv=(e,t,r)=>{let s=new e(t);return s.update(te(r)),s.digest()},t$=({headers:e},t,r)=>{let s={};for(let n of Object.keys(e).sort()){if(void 0==e[n])continue;let i=n.toLowerCase();(!(i in ty||t?.has(i)||tb.test(i)||tC.test(i))||r&&(!r||r.has(i)))&&(s[i]=e[n].trim().replace(/\s+/g," "))}return s},tR=async({headers:e,body:t},r)=>{for(let t of Object.keys(e))if(t.toLowerCase()===tf)return e[t];if(void 0==t)return"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855";if("string"==typeof t||ArrayBuffer.isView(t)||(e=>"function"==typeof ArrayBuffer&&e instanceof ArrayBuffer||"[object ArrayBuffer]"===Object.prototype.toString.call(e))(t)){let e=new r;return e.update(te(t)),e9(await e.digest())}return"UNSIGNED-PAYLOAD"},tP=e=>{for(let t of Object.keys((e=s.clone(e)).headers))tp.indexOf(t.toLowerCase())>-1&&delete e.headers[t];return e};class tI extends tD{headerFormatter=new tt;constructor({applyChecksum:e,credentials:t,region:r,service:s,sha256:n,uriEscapePath:i=!0}){super({applyChecksum:e,credentials:t,region:r,service:s,sha256:n,uriEscapePath:i})}async presign(e,t={}
10){let{signingDate:r=new Date,expiresIn:n=3600,unsignableHeaders:i,unhoistableHeaders:o,signableHeaders:a,hoistableHeaders:c,signingRegion:u,signingService:l}=t,d=await this.credentialProvider();this.validateResolvedCredentials(d);let m=u??await this.regionProvider(),{longDate:p,shortDate:g}=this.formatDate(r);if(n>604800)return Promise.reject("Signature version 4 presigned URLs must have an expiration date less than one week in the future");let f=tT(g,m,l??this.service),h=((e,t={})=>{let{headers:r,query:n={}}=s.clone(e);for(let e of Object.keys(r)){let s=e.toLowerCase();("x-amz-"===s.slice(0,6)&&!t.unhoistableHeaders?.has(s)||t.hoistableHeaders?.has(s))&&(n[e]=r[e],delete r[e])}return{...e,headers:r,query:n}})(tP(e),{unhoistableHeaders:o,hoistableHeaders:c});d.sessionToken&&(h.query[tl]=d.sessionToken),h.query["X-Amz-Algorithm"]=tS,h.query["X-Amz-Credential"]=`${d.accessKeyId}/${f}`,h.query[tc]=p,h.query["X-Amz-Expires"]=n.toString(10);let y=t$(h,i,a);return h.query["X-Amz-SignedHeaders"]=this.getCanonicalHeaderList(y),h.query[tu]=await this.get
10Signature(p,f,this.getSigningKey(d,m,g,l),this.createCanonicalRequest(h,y,await tR(e,this.sha256))),h}async sign(e,t){return"string"==typeof e?this.signString(e,t):e.headers&&e.payload?this.signEvent(e,t):e.message?this.signMessage(e,t):this.signRequest(e,t)}async signEvent({headers:e,payload:t},{signingDate:r=new Date,priorSignature:s,signingRegion:n,signingService:i,eventStreamCredentials:o}){let a=n??await this.regionProvider(),{shortDate:c,longDate:u}=this.formatDate(r),l=tT(c,a,i??this.service),d=await tR({headers:{},body:t},this.sha256),m=new this.sha256;m.update(e);let p=["AWS4-HMAC-SHA256-PAYLOAD",u,l,s,e9(await m.digest()),d].join("\n");return this.signString(p,{signingDate:r,signingRegion:a,signingService:i,eventStreamCredentials:o})}async signMessage(e,{signingDate:t=new Date,signingRegion:r,signingService:s,eventStreamCredentials:n}){return this.signEvent({headers:this.headerFormatter.format(e.message.headers),payload:e.message.body},{signingDate:t,signingRegion:r,signingService:s,priorSignature:e.priorSignature,eventStreamCredentials:n}).then(t=>({message:e.message,signature:t}))}async signString(e,{signingDate:t=new Date,signingRegion:r,signingService:s,eventStreamCredentials:n}={}){let i=n??await this.credentialProvider();this.validateResolvedCredentials(i);let o=r??await this.regionProvider(),{shortDate:a}
10=this.formatDate(t),c=new this.sha256(await this.getSigningKey(i,o,a,s));return c.update(te(e)),e9(await c.digest())}async signRequest(e,{signingDate:t=new Date,signableHeaders:r,unsignableHeaders:s,signingRegion:n,signingService:i}={}){let o=await this.credentialProvider();this.validateResolvedCredentials(o);let a=n??await this.regionProvider(),c=tP(e),{longDate:u,shortDate:l}=this.formatDate(t),d=tT(l,a,i??this.service);c.headers[tm]=u,o.sessionToken&&(c.headers[th]=o.sessionToken);let m=await tR(c,this.sha256);!((e,t)=>{for(let r of(e=e.toLowerCase(),Object.keys(t)))if(e===r.toLowerCase())return!0;return!1})(tf,c.headers)&&this.applyChecksum&&(c.headers[tf]=m);let p=t$(c,s,r),g=await this.getSignature(u,d,this.getSigningKey(o,a,l,i),this.createCanonicalRequest(c,p,m));return c.headers[td]=`${tS} Credential=${o.accessKeyId}/${d}, SignedHeaders=${this.getCanonicalHeaderList(p)}, Signature=${g}`,c}async getSignature(e,t,r,s){let n=await this.createStringToSign(e,t,s,tS),i=new this.sha256(await r);return i.update(te(n)),e9(await i.digest())}getSigningKey(e,t,r,s){return tw(this.sha256,e,r,t,s||this.service)}}var tA=r(79994);let tk=async(e,t,r)=>({operation:(0,tA.u)(t).operation,region:await Z(e.region)()||(()=>{throw Error("expected `region` to be configured for `aws.auth#sigv4`")})()}),tO=e=>{let t=[];return e.operation,t.push({schemeId:"aws.auth#sigv4",signingProperties:{name:"logs",region:e.region},propertiesExtractor:(e,t)=>({signingProperties:{config:e,context:t}})}),t};var tU=r(2199);let t_={rE:"3.1042.0"};var tN=r(82909).hp,tG=void 0!==tN&&tN.from?function(e){return tN.from(e,"utf8")}:e=>new TextEncoder().encode(e);function tM(e){return e instanceof Uint8Array?e:"string"==typeof e?tG(e):ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(e)}function tF(e){return"string"==typeof e?0===e.length:0===e.byteLength}var tB={name:"SHA-256"},tq={name:"HMAC",hash:tB},tj=new Uint8Array([227,176,196,66,152,252,28,20,154,251,244,200,153,111,185,36,39,174,65,228,100,155,147,76,164,149,153,27,120,82,184,85]);let tW={};function tH(){return"undefined"!=typeof window?window:"undefined"!=typeof self?self:tW}var tQ=function(){function e(e){this.toHash=new Uint8Array(0),this.secret=e,this.reset()}return e.prototype.update=function(e){if(!tF(e)){var t=tM(e),r=new Uint8Array(this.toHash.byteLength+t.byteLength);r.set(this.toHash,0),r.set(t,this.toHash.byteLength),this.toHash=r}},e.prototype.digest=function(){var e=this;return this.key?this.key.then(function(t){return tH().crypto.subtle.sign(tq,t,e.toHash).then(function(e){return new Uint8Array(e)})}):tF(this.toHash)?Promise.resolve(tj):Promise.resolve().then(function(){return tH().crypto.subtle.digest(tB,e.toHash)}).then(function(e){return Promise.resolve(new Uint8Array(e))})},e.prototype.reset=function(){var e=this;this.toHash=new Uint8Array(0),this.secret&&void 0!==this.secret&&(this.key=new Promise(function(t,r){tH().crypto.subtle.importKey("raw",tM(e.secret),tq,!1,["sign"]).then(t,r)}),this.key.catch(function(){}))},e}();function tz(e,t,r,s){return new(r||(r=Promise))(function(n,i){function o(e){try{c(s.next(e))}catch(e){i(e)}}function a(e){try{c(s.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?n(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(o,a)}c((s=s.apply(e,t||[])).next())})}function tV(e,t){var r,s,n,i={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]},o=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return o.next=a(0),o.throw=a(1),o.return=a(2),"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(a){return function(c){var u=[a,c];if(r)throw TypeError("Generator is already executing.");for(;o&&(o=0,u[0]&&(i=0)),i;)try{if(r=1,s&&(n=2&u[0]?s.return:u[0]?s.throw||((n=s.return)&&n.call(s),0):s.next)&&!(n=n.call(s,u[1])).done)return n;switch(s=0,n&&(u=[2&u[0],n.value]),u[0]){case 0:case 1:n=u;break;case 4:return i.label++,{value:u[1],done:!1};case 5:i.label++,s=u[1],u=[0];continue;case 7:u=i.ops.pop(),i.trys.pop();continue;default:if(!(n=(n=i.trys).length>0&&n[n.length-1])&&(6===u[0]||2===u[0])){i=0;continue}if(3===u[0]&&(!n||u[1]>n[0]&&u[1]<n[3])){i.label=u[1];break}if(6===u[0]&&i.label<n[1]){i.label=n[1],n=u;break}if(n&&i.label<n[2]){i.label=n[2],i.ops.push(u);break}n[2]&&i.ops.pop(),i.trys.pop();continue}u=t.call(e,i)}catch(e){u=[6,e],s=0}finally{r=n=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}}Object.create;Object.create;var tK=("function"==typeof SuppressedError&&SuppressedError,new Uint32Array([0x428a2f98,0x71374491,0xb5c0fbcf,0xe9b5dba5,0x3956c25b,0x59f111f1,0x923f82a4,0xab1c5ed5,0xd807aa98,0x12835b01,0x243185be,0x550c7dc3,0x72be5d74,0x80deb1fe,0x9bdc06a7,0xc19bf174,0xe49b69c1,0xefbe4786,0xfc19dc6,0x240ca1cc,0x2de92c6f,0x4a7484aa,0x5cb0a9dc,0x76f988da,0x983e5152,0xa831c66d,0xb00327c8,0xbf597fc7,0xc6e00bf3,0xd5a79147,0x6ca6351,0x14292967,0x27b70a85,0x2e1b2138,0x4d2c6dfc,0x53380d13,0x650a7354,0x766a0abb,0x81c2c92e,0x92722c85,0xa2bfe8a1,0xa81a664b,0xc24b8b70,0xc
1076c51a3,0xd192e819,0xd6990624,0xf40e3585,0x106aa070,0x19a4c116,0x1e376c08,0x2748774c,0x34b0bcb5,0x391c0cb3,0x4ed8aa4a,0x5b9cca4f,0x682e6ff3,0x748f82ee,0x78a5636f,0x84c87814,0x8cc70208,0x90befffa,0xa4506ceb,0xbef9a3f7,0xc67178f2])),tY=[0x6a09e667,0xbb67ae85,0x3c6ef372,0xa54ff53a,0x510e527f,0x9b05688c,0x1f83d9ab,0x5be0cd19],tJ=function(){function e(){this.state=Int32Array.from(tY),this.temp=new Int32Array(64),this.buffer=new Uint8Array(64),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}return e.prototype.update=function(e){if(this.finished)throw Error("Attempted to update an already finished hash.");var t=0,r=e.byteLength;if(this.bytesHashed+=r,8*this.bytesHashed>0x1fffffffffffff)throw Error("Cannot hash more than 2^53 - 1 bits");for(;r>0;)this.buffer[this.bufferLength++]=e[t++],r--,64===this.bufferLength&&(this.hashBuffer(),this.bufferLength=0)},e.prototype.digest=function(){if(!this.finished){var e=8*this.bytesHashed,t=new DataView(this.buffer.buffer,this.buffer.byteOffset,this.buffer.byteLength),r=this.bufferLength;if(t.setUint8(this.bufferLength++,128),r%64>=56){for(var s=this.bufferLength;s<64;s++)t.setUint8(s,0);this.hashBuffer(),this.bufferLength=0}for(var s=this.bufferLength;s<56;s++)t.setUint8(s,0);t.setUint32(56,Math.floor(e/0x100000000),!0),t.setUint32(60,e),this.hashBuffer(),this.finished=!0}for(var n=new Uint8Array(32),s=0;s<8;s++)n[4*s]=this.state[s]>>>24&255,n[4*s+1]=this.state[s]>>>16&255,n[4*s+2]=this.state[s]>>>8&255,n[4*s+3]=this.state[s]>>>0&255;return n},e.prototype.hashBuffer=function(){for(var e=this.buffer,t=this.state,r=t[0],s=t[1],n=t[2],i=t[3],o=t[4],a=t[5],c=t[6],u=t[7],l=0;l<64;l++){if(l<16)this.temp[l]=(255&e[4*l])<<24|(255&e[4*l+1])<<16|(255&e[4*l+2])<<8|255&e[4*l+3];else{var d=this.temp[l-2],m=(d>>>17|d<<15)^(d>>>19|d<<13)^d>>>10,p=((d=this.temp[l-15])>>>7|d<<25)^(d>>>18|d<<14)^d>>>3;this.temp[l]=(m+this.temp[l-7]|0)+(p+this.temp[l-16]|0)}var g=(((o>>>6|o<<26)^(o>>>11|o<<21)^(o>>>25|o<<7))+(o&a^~o&c)|0)+(u+(tK[l]+this.temp[l]|0)|0)|0,f=((r>>>2|r<<30)^(r>>>13|r<<19)^(r>>>22|r<<10))+(r&s^r&n^s&n)|0;u=c,c=a,a=o,o=i+g|0,i=n,n=s,s=r,r=g+f|0}t[0]+=r,t[1]+=s,t[2]+=n,t[3]+=i,t[4]+=o,t[5]+=a,t[6]+=c,t[7]+=u},e}(),tZ=function(){function e(e){this.secret=e,this.hash=new tJ,this.reset()}return e.prototype.update=function(e){if(!tF(e)&&!this.error)try{this.hash.update(tM(e))}catch(e){this.error=e}},e.prototype.digestSync=function(){if(this.error)throw this.error;return this.outer?(this.outer.finished||this.outer.update(this.hash.digest()),this.outer.digest()):this.hash.digest()},e.prototype.digest=function(){return tz(this,void 0,void 0,function(){return tV(this,function(e){return[2,this.digestSync()]})})},e.prototype.reset=function(){if(this.hash=new tJ,this.secret){this.outer=new tJ;var e=function(e){var t=tM(e);if(t.byteLength>64){var r=new tJ;r.update(t),t=r.digest()}var s=new Uint8Array(64);return s.set(t),s}(this.secret),t=new Uint8Array(64);t.set(e);for(var r=0;r<64;r++)e[r]^=54,t[r]^=92;this.hash.update(e),this.outer.update(t);for(var r=0;r<e.byteLength;r++)e[r]=0}},e}(),tX=["decrypt","digest","encrypt","exportKey","generateKey","importKey","sign","verify"],t0=function(){function e(e){var t,r,s;if("object"==typeof(r=t=tH())&&"object"==typeof r.crypto&&"function"==typeof r.crypto.getRandomValues&&"object"==typeof t.crypto.subtle&&(s=t.crypto.subtle)&&tX.every(function(e){return"function"==typeof s[e]}))this.hash=new tQ(e);else this.hash=new tZ(e)}return e.prototype.update=function(e,t){this.hash.update(tM(e))},e.prototype.digest=function(){return this.hash.digest()},e.prototype.reset=function(){this.hash.reset()},e}();let t1={os:e=>/iPhone|iPad|iPod/.test(e)?"iOS":/Macintosh|Mac OS X/.test(e)?"macOS":/Windows NT/.test(e)?"Windows":/Android/.test(e)?"Android":/Linux/.test(e)?"Linux":void 0,browser:e=>/EdgiOS|EdgA|Edg\//.test(e)?"Microsoft Edge":/Firefox\//.test(e)?"Firefox":/Chrome\//.test(e)?"Chrome":/Safari\//.test(e)?"Safari":void 0};!function(e){e.ENV="env",e.CONFIG="shared config entry"}(b||(b={})),!function(){function e(){this.crc32=new t2}e.prototype.update=function(e){tF(e)||this.crc32.update(tM(e))},e.prototype.digest=function(){return tz(this,void 0,void 0,function(){return tV(this,function(e){var t;return[2,new Uint8Array([(0xff000000&(t=this.crc32.digest()))>>24,(0xff0000&t)>>16,(65280&t)>>8,255&t])]})})},e.prototype.reset=function(){this.crc32=new t2}}();var t2=function(){function e(){this.checksum=0xffffffff}return e.prototype.update=function(e){var t,r;try{for(var s=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],s=0;if(r)return r.call(e);
10if(e&&"number"==typeof e.length)return{next:function(){return e&&s>=e.length&&(e=void 0),{value:e&&e[s++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),n=s.next();!n.done;n=s.next()){var i=n.value;this.checksum=this.checksum>>>8^t8[(this.checksum^i)&255]}}catch(e){t={error:e}}finally{try{n&&!n.done&&(r=s.return)&&r.call(s)}finally{if(t)throw t.error}}return this},e.prototype.digest=function(){return(0xffffffff^this.checksum)>>>0},e}(),t8=function(e){if(!Uint32Array.from){for(var t=new Uint32Array(e.length),r=0;r<e.length;)t[r]=e[r],r+=1;return t}return Uint32Array.from(e)}([0,0x77073096,0xee0e612c,0x990951ba,0x76dc419,0x706af48f,0xe963a535,0x9e6495a3,0xedb8832,0x79dcb8a4,0xe0d5e91e,0x97d2d988,0x9b64c2b,0x7eb17cbd,0xe7b82d07,0x90bf1d91,0x1db71064,0x6ab020f2,0xf3b97148,0x84be41de,0x1adad47d,0x6ddde4eb,0xf4d4b551,0x83d385c7,0x136c9856,0x646ba8c0,0xfd62f97a,0x8a65c9ec,0x14015c4f,0x63066cd9,0xfa0f3d63,0x8d080df5,0x3b6e20c8,0x4c69105e,0xd56041e4,0xa2677172,0x3c03e4d1,0x4b04d447,0xd20d85fd,0xa50ab56b,0x35b5a8fa,0x42b2986c,0xdbbbc9d6,0xacbcf940,0x32d86ce3,0x45df5c75,0xdcd60dcf,0xabd13d59,0x26d930ac,0x51de003a,0xc8d75180,0xbfd06116,0x21b4f4b5,0x56b3c423,0xcfba9599,0xb8bda50f,0x2802b89e,0x5f058808,0xc60cd9b2,0xb10be924,0x2f6f7c87,0x58684c11,0xc1611dab,0xb6662d3d,0x76dc4190,0x1db7106,0x98d220bc,0xefd5102a,0x71b18589,0x6b6b51f,0x9fbfe4a5,0xe8b8d433,0x7807c9a2,0xf00f934,0x9609a88e,0xe10e9818,0x7f6a0dbb,0x86d3d2d,0x91646c97,0xe6635c01,0x6b6b51f4,0x1c6c6162,0x856530d8,0xf262004e,0x6c0695ed,0x1b01a57b,0x8208f4c1,0xf50fc457,0x65b0d9c6,0x12b7e950,0x8bbeb8ea,0xfcb9887c,0x62dd1ddf,0x15da2d49,0x8cd37cf3,0xfbd44c65,0x4db26158,0x3ab551ce,0xa3bc0074,0xd4bb30e2,0x4adfa541,0x3dd895d7,0xa4d1c46d,0xd3d6f4fb,0x4369e96a,0x346ed9fc,0xad678846,0xda60b8d0,0x44042d73,0x33031de5,0xaa0a4c5f,0xdd0d7cc9,0x5005713c,0x270241aa,0xbe0b1010,0xc90c2086,0x5768b525,0x206f85b3,0xb966d409,0xce61e49f,0x5edef90e,0x29d9c998,0xb0d09822,0xc7d7a8b4,0x59b33d17,0x2eb40d81,0xb7bd5c3b,0xc0ba6cad,0xedb88320,0x9abfb3b6,0x3b6e20c,0x74b1d29a,0xead54739,0x9dd277af,0x4db2615,0x73dc1683,0xe3630b12,0x94643b84,0xd6d6a3e,0x7a6a5aa8,0xe40ecf0b,0x9309ff9d,0xa00ae27,0x7d079eb1,0xf00f9344,0x8708a3d2,0x1e01f268,0x6906c2fe,0xf762575d,0x806567cb,0x196c3671,0x6e6b06e7,0xfed41b76,0x89d32be0,0x10da7a5a,0x67dd4acc,0xf9b9df6f,0x8ebeeff9,0x17b7be43,0x60b08ed5,0xd6d6a3e8,0xa1d1937e,0x38d8c2c4,0x4fdff252,0xd1bb67f1,0xa6bc5767,0x3fb506dd,0x48b2364b,0xd80d2bda,0xaf0a1b4c,0x36034af6,0x41047a60,0xdf60efc3,0xa867df55,0x316e8eef,0x4669be79,0xcb61b38c,0xbc66831a,0x256fd2a0,0x5268e236,0xcc0c7795,0xbb0b4703,0x220216b9,0x5505262f,0xc5ba3bbe,0xb2bd0b28,0x2bb45a92,0x5cb36a04,0xc2d7ffa7,0xb5d0cf31,0x2cd99e8b,0x5bdeae1d,0x9b64c2b0,0xec63f226,0x756aa39c,0x26d930a,0x9c0906a9,0xeb0e363f,0x72076785,0x5005713,0x95bf4a82,0xe2b87a14,0x7bb12bae,0xcb61b38,0x92d28e9b,0xe5d5be0d,0x7cdcefb7,0xbdbdf21,0x86d3d2d4,0xf1d4e242,0x68ddb3f8,0x1fda836e,0x81be16cd,0xf6b9265b,0x6fb077e1,0x18b74777,0x88085ae6,0xff0f6a70,0x66063bca,0x11010b5c,0x8f659eff,0xf862ae69,0x616bffd3,0x166ccf45,0xa00ae278,0xd70dd2ee,0x4e048354,0x3903b3c2,0xa7672661,0xd06016f7,0x4969474d,0x3e6e77db,0xaed16a4a,0xd9d65adc,0x40df0b66,936918e3,0xa9bcae53,0xdebb9ec5,0x47b2cf7f,0x30b5ffe9,0xbdbdf21c,0xcabac28a,0x53b39330,0x24b4a3a6,0xbad03605,0xcdd70693,0x54de5729,0x23d967bf,0xb3667a2e,0xc4614ab8,0x5d681b02,0x2a6f2b94,0xb40bbe37,0xc30c8ea1,0x5a05df1b,0x2d02ef8d]);let t3={},t4={};for(let e=0;e<256;e++){let t=e.toString(16).toLowerCase();1===t.length&&(t=`0${t}`),t3[e]=t,t4[t]=e}function t6(e){let t="";for(let r=0;r<e.byteLength;r++)t+=t3[e[r]];return t}class t5{bytes;constructor(e){if(this.bytes=e,8!==e.byteLength)throw Error("Int64 buffers must be exactly 8 bytes")}static fromNumber(e){if(e>0x8000000000000000||e<-0x8000000000000000)throw Error(`${e} is too large (or, if negative, too small) to represent as an Int64`);let t=new Uint8Array(8);for(let r=7,s=Math.abs(Math.round(e));r>-1&&s>0;r--,s/=256)t[r]=s;return e<0&&t9(t),new t5(t)}valueOf(){let e=this.bytes.slice(0),t=128&e[0];return t&&t9(e),parseInt(t6(e),16)*(t?-1:1)}toString(){return String(this.valueOf())}}function t9(e){for(let t=0;t<8;t++)e[t]^=255;for(let t=7;t>-1&&(e[t]++,0===e[t]);t--);}class t7{toUtf8;fromUtf8;constructor(e,t){this.toUtf8=e,this.fromUtf8=t}format(e){let t=[];for(let r of Object.keys(e)){let s=this.fromUtf8(r);t.push(Uint8Array.from([s.byteLength]),s,this.formatHeaderValue(e[r]))}let r=new Uint8Array(t.reduce((e,t)=>
10e+t.byteLength,0)),s=0;for(let e of t)r.set(e,s),s+=e.byteLength;return r}formatHeaderValue(e){switch(e.type){case"boolean":return Uint8Array.from([+!e.value]);case"byte":return Uint8Array.from([2,e.value]);case"short":let t=new DataView(new ArrayBuffer(3));return t.setUint8(0,3),t.setInt16(1,e.value,!1),new Uint8Array(t.buffer);case"integer":let r=new DataView(new ArrayBuffer(5));return r.setUint8(0,4),r.setInt32(1,e.value,!1),new Uint8Array(r.buffer);case"long":let s=new Uint8Array(9);return s[0]=5,s.set(e.value.bytes,1),s;case"binary":let n=new DataView(new ArrayBuffer(3+e.value.byteLength));n.setUint8(0,6),n.setUint16(1,e.value.byteLength,!1);let i=new Uint8Array(n.buffer);return i.set(e.value,3),i;case"string":let o=this.fromUtf8(e.value),a=new DataView(new ArrayBuffer(3+o.byteLength));a.setUint8(0,7),a.setUint16(1,o.byteLength,!1);let c=new Uint8Array(a.buffer);return c.set(o,3),c;case"timestamp":let u=new Uint8Array(9);return u[0]=8,u.set(t5.fromNumber(e.value.valueOf()).bytes,1),u;case"uuid":if(!ru.test(e.value))throw Error(`Invalid UUID received: ${e.value}`);let l=new Uint8Array(17);return l[0]=9,l.set(function(e){if(e.length%2!=0)throw Error("Hex encoded strings must have an even number length");let t=new Uint8Array(e.length/2);for(let r=0;r<e.length;r+=2){let s=e.slice(r,r+2).toLowerCase();if(s in t4)t[r/2]=t4[s];else throw Error(`Cannot decode unrecognized sequence ${s} as hexadecimal`)}return t}(e.value.replace(/\-/g,"")),1),l}}parse(e){let t={},r=0;for(;r<e.byteLength;){let s=e.getUint8(r++),n=this.toUtf8(new Uint8Array(e.buffer,e.byteOffset+r,s));switch(r+=s,e.getUint8(r++)){case 0:t[n]={type:re,value:!0};break;case 1:t[n]={type:re,value:!1};break;case 2:t[n]={type:rt,value:e.getInt8(r++)};break;case 3:t[n]={type:rr,value:e.getInt16(r,!1)},r+=2;break;case 4:t[n]={type:rs,value:e.getInt32(r,!1)},r+=4;break;case 5:t[n]={type:rn,value:new t5(new Uint8Array(e.buffer,e.byteOffset+r,8))},r+=8;break;case 6:let i=e.getUint16(r,!1);r+=2,t[n]={type:ri,value:new Uint8Array(e.buffer,e.byteOffset+r,i)},r+=i;break;case 7:let o=e.getUint16(r,!1);r+=2,t[n]={type:ro,value:this.toUtf8(new Uint8Array(e.buffer,e.byteOffset+r,o))},r+=o;break;case 8:t[n]={type:ra,value:new Date(new t5(new Uint8Array(e.buffer,e.byteOffset+r,8)).valueOf())},r+=8;break;case 9:let a=new Uint8Array(e.buffer,e.byteOffset+r,16);r+=16,t[n]={type:rc,value:`${t6(a.subarray(0,4))}-${t6(a.subarray(4,6))}-${t6(a.subarray(6,8))}-${t6(a.subarray(8,10))}-${t6(a.subarray(10))}`};break;default:throw Error("Unrecognized header type tag")}}return t}}!function(e){e[e.boolTrue=0]="boolTrue",e[e.boolFalse=1]="boolFalse",e[e.byte=2]="byte",e[e.short=3]="short",e[e.integer=4]="integer",e[e.long=5]="long",e[e.byteArray=6]="byteArray",e[e.string=7]="string",e[e.timestamp=8]="timestamp",e[e.uuid=9]="uuid"}(C||(C={}));let re="boolean",rt="byte",rr="short",rs="integer",rn="long",ri="binary",ro="string",ra="timestamp",rc="uuid",ru=/^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/,rl=16;class rd{headerMarshaller;messageBuffer;isEndOfStream;constructor(e,t){this.headerMarshaller=new t7(e,t),this.messageBuffer=[],this.isEndOfStream=!1}feed(e){this.messageBuffer.push(this.decode(e))}endOfStream(){this.isEndOfStream=!0}getMessage(){let e=this.messageBuffer.pop(),t=this.isEndOfStream;return{getMessage:()=>e,isEndOfStream:()=>t}}getAvailableMessages(){let e=this.messageBuffer;this.messageBuffer=[];let t=this.isEndOfStream;return{getMessages:()=>e,isEndOfStream:()=>t}}encode({headers:e,body:t}){let r=this.headerMarshaller.format(e),s=r.byteLength+t.byteLength+16,n=new Uint8Array(s),i=new DataView(n.buffer,n.byteOffset,n.byteLength),o=new t2;return i.setUint32(0,s,!1),i.setUint32(4,r.byteLength,!1),i.setUint32(8,o.update(n.subarray(0,8)).digest(),!1),n.set(r,12),n.set(t,r.byteLength+12),i.setUint32(s-4,o.update(n.subarray(8,s-4)).digest(),!1),n}decode(e){let{headers:t,body:r}=function({byteLength:e,byteOffset:t,buffer:r}){if(e<rl)throw Error("Provided message too short to accommodate event stream message overhead");let s=new DataView(r,t,e),n=s.getUint32(0,!1);if(e!==n)throw Error("Reported message length does not match received message length");let i=s.getUint32(4,!1),o=s.getUint32(8,!1),a=s.getUint32(e-4,!1),c=new t2().update(new Uint8Array(r,t,8));if(o!==c.digest())throw Error(`The prelude checksum specified in the message (${o}) does not match the calculated CRC32 checksum (${c.digest()})`);
10if(c.update(new Uint8Array(r,t+8,e-12)),a!==c.digest())throw Error(`The message checksum (${c.digest()}) did not match the expected value of ${a}`);return{headers:new DataView(r,t+8+4,i),body:new Uint8Array(r,t+8+4+i,n-i-16)}}(e);return{headers:this.headerMarshaller.parse(t),body:r}}formatHeaders(e){return this.headerMarshaller.format(e)}}class rm{options;constructor(e){this.options=e}[Symbol.asyncIterator](){return this.asyncIterator()}async *asyncIterator(){for await(let e of this.options.messageStream){let t=await this.options.deserializer(e);void 0!==t&&(yield t)}}}class rp{options;constructor(e){this.options=e}[Symbol.asyncIterator](){return this.asyncIterator()}async *asyncIterator(){for await(let e of this.options.inputStream){let t=this.options.decoder.decode(e);yield t}}}class rg{options;constructor(e){this.options=e}[Symbol.asyncIterator](){return this.asyncIterator()}async *asyncIterator(){for await(let e of this.options.messageStream){let t=this.options.encoder.encode(e);yield t}this.options.includeEndFrame&&(yield new Uint8Array(0))}}class rf{options;constructor(e){this.options=e}[Symbol.asyncIterator](){return this.asyncIterator()}async *asyncIterator(){for await(let e of this.options.inputStream){let t=this.options.serializer(e);yield t}}}class rh{eventStreamCodec;utfEncoder;constructor({utf8Encoder:e,utf8Decoder:t}){this.eventStreamCodec=new rd(e,t),this.utfEncoder=e}deserialize(e,t){var r;return new rm({messageStream:new rp({inputStream:function(e){let t=0,r=0,s=null,n=null,i=e=>{if("number"!=typeof e)throw Error("Attempted to allocate an event message where size was not a number: "+e);t=e,r=4,new DataView((s=new Uint8Array(e)).buffer).setUint32(0,e,!1)};return{[Symbol.asyncIterator]:async function*(){let o=e[Symbol.asyncIterator]();for(;;){let{value:e,done:a}=await o.next();if(a){if(t)if(t===r)yield s;else throw Error("Truncated event message received.");return}let c=e.length,u=0;for(;u<c;){if(!s){let t=c-u;n||(n=new Uint8Array(4));let s=Math.min(4-r,t);if(n.set(e.slice(u,u+s),r),r+=s,u+=s,r<4)break;i(new DataView(n.buffer).getUint32(0,!1)),n=null}let o=Math.min(t-r,c-u);s.set(e.slice(u,u+o),r),r+=o,u+=o,t&&t===r&&(yield s,s=null,t=0,r=0)}}}}}(e),decoder:this.eventStreamCodec}),deserializer:(r=this.utfEncoder,async function(e){let{value:s}=e.headers[":message-type"];if("error"===s){let t=Error(e.headers[":error-message"].value||"UnknownError");throw t.name=e.headers[":error-code"].value,t}if("exception"===s){let s=e.headers[":exception-type"].value,n=await t({[s]:e});if(n.$unknown){let t=Error(r(e.body));throw t.name=s,t}throw n[s]}if("event"===s){let r={[e.headers[":event-type"].value]:e},s=await t(r);if(s.$unknown)return;return s}throw Error(`Unrecognizable event type: ${e.headers[":event-type"].value}`)})})}serialize(e,t){return new rg({messageStream:new rf({inputStream:e,serializer:t}),encoder:this.eventStreamCodec,includeEndFrame:!0})}}class ry{universalMarshaller;constructor({utf8Encoder:e,utf8Decoder:t}){this.universalMarshaller=new rh({utf8Decoder:t,utf8Encoder:e})}deserialize(e,t){let r=rb(e)?{[Symbol.asyncIterator]:async function*(){let t=e.getReader();try{for(;;){let{done:e,value:r}=await t.read();if(e)return;yield r}}finally{t.releaseLock()}}}:e;return this.universalMarshaller.deserialize(r,t)}serialize(e,t){let r=this.universalMarshaller.serialize(e,t);return"function"==typeof ReadableStream?(e=>{let t=e[Symbol.asyncIterator]();return new ReadableStream({async pull(e){let{done:r,value:s}=await t.next();if(r)return e.close();e.enqueue(s)}})})(r):r}}let rb=e=>"function"==typeof ReadableStream&&e instanceof ReadableStream,rC=e=>new ry(e);function rS(e,t){return new Request(e,t)}let rx={supported:void 0};class rD{config;configProvider;static create(e){return"function"==typeof e?.handle?e:new rD(e)}constructor(e){"function"==typeof e?this.configProvider=e().then(e=>e||{}):(this.config=e??{},this.configProvider=Promise.resolve(this.config)),void 0===rx.supported&&(rx.supported=!!("undefined"!=typeof Request&&"keepalive"in rS("https://[::1]")))}destroy(){}async handle(e,{abortSignal:t,requestTimeout:r}={}){this.config||(this.config=await this.configProvider);let s=r??this.config.requestTimeout,n=!0===this.config.keepAlive,i=this.config.credentials;if(t?.aborted)return Promise.reject(rE(t));let o=e.path,a=function(e){let t=[];for(let r of Object.keys(e).sort()){let s=e[r];if(r=to(r),Array.isArray(s))for(let e=0,n=s.length;e<n;e++)t.push(`${r}=${to(s[e])}`);else{let e=r;(s||"string"==typeof s)&&(e+=`=${to(s)}
10`),t.push(e)}}return t.join("&")}(e.query||{});a&&(o+=`?${a}`),e.fragment&&(o+=`#${e.fragment}`);let c="";if(null!=e.username||null!=e.password){let t=e.username??"",r=e.password??"";c=`${t}:${r}@`}let{port:u,method:l}=e,d=`${e.protocol}//${c}${e.hostname}${u?`:${u}`:""}${o}`,m="GET"===l||"HEAD"===l?void 0:e.body,p={body:m,headers:new Headers(e.headers),method:l,credentials:i};this.config?.cache&&(p.cache=this.config.cache),m&&(p.duplex="half"),"undefined"!=typeof AbortController&&(p.signal=t),rx.supported&&(p.keepalive=n),"function"==typeof this.config.requestInit&&Object.assign(p,this.config.requestInit(e));let g=()=>{},f=[fetch(rS(d,p)).then(e=>{let t=e.headers,r={};for(let e of t.entries())r[e[0]]=e[1];return void 0==e.body?e.blob().then(t=>({response:new j({headers:r,reason:e.statusText,statusCode:e.status,body:t})})):{response:new j({headers:r,reason:e.statusText,statusCode:e.status,body:e.body})}}),function(e=0){return new Promise((t,r)=>{e&&setTimeout(()=>{let t=Error(`Request did not complete within ${e} ms`);t.name="TimeoutError",r(t)},e)})}(s)];return t&&f.push(new Promise((e,r)=>{let s=()=>{r(rE(t))};"function"==typeof t.addEventListener?(t.addEventListener("abort",s,{once:!0}),g=()=>t.removeEventListener("abort",s)):t.onabort=s})),Promise.race(f).finally(g)}updateHttpClientConfig(e,t){this.config=void 0,this.configProvider=this.configProvider.then(r=>(r[e]=t,r))}httpHandlerConfigs(){return this.config??{}}}function rE(e){let t=e&&"object"==typeof e&&"reason"in e?e.reason:void 0;if(t){if(t instanceof Error){let e=Error("Request aborted");return e.name="AbortError",e.cause=t,e}let e=Error(String(t));return e.name="AbortError",e}let r=Error("Request aborted");return r.name="AbortError",r}let rL="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",rT=Object.entries(rL).reduce((e,[t,r])=>(e[r]=Number(t),e),{}),rw=rL.split(""),rv=e=>{let t=e.length/4*3;"=="===e.slice(-2)?t-=2:"="===e.slice(-1)&&t--;let r=new ArrayBuffer(t),s=new DataView(r);for(let t=0;t<e.length;t+=4){let r=0,n=0;for(let s=t,i=t+3;s<=i;s++)if("="!==e[s]){if(!(e[s]in rT))throw TypeError(`Invalid character ${e[s]} in base64 string.`);r|=rT[e[s]]<<(i-s)*6,n+=6}else r>>=6;let i=t/4*3;r>>=n%8;let o=Math.floor(n/8);for(let e=0;e<o;e++){let t=(o-e-1)*8;s.setUint8(i+e,(r&255<<t)>>t)}}return new Uint8Array(r)},r$=async e=>"function"==typeof Blob&&e instanceof Blob||e.constructor?.name==="Blob"?void 0!==Blob.prototype.arrayBuffer?new Uint8Array(await e.arrayBuffer()):rR(e):rP(e);async function rR(e){var t;return new Uint8Array(rv(await (t=e,new Promise((e,r)=>{let s=new FileReader;s.onloadend=()=>{if(2!==s.readyState)return r(Error("Reader aborted too early"));let t=s.result??"",n=t.indexOf(","),i=n>-1?n+1:t.length;e(t.substring(i))},s.onabort=()=>r(Error("Read aborted")),s.onerror=()=>r(s.error),s.readAsDataURL(t)}))))}async function rP(e){let t=[],r=e.getReader(),s=!1,n=0;for(;!s;){let{done:e,value:i}=await r.read();i&&(t.push(i),n+=i.length),s=e}let i=new Uint8Array(n),o=0;for(let e of t)i.set(e,o),o+=e.length;return i}let rI=e=>{switch(e){case"standard":case"cross-region":return{retryMode:"standard",connectionTimeout:3100};case"in-region":return{retryMode:"standard",connectionTimeout:1100};case"mobile":return{retryMode:"standard",connectionTimeout:3e4};default:return{}}},rA="function"==typeof TextEncoder?new TextEncoder:null,rk=e=>{if("string"==typeof e){if(rA)return rA.encode(e).byteLength;let t=e.length;for(let r=t-1;r>=0;r--){let s=e.charCodeAt(r);s>127&&s<=2047?t++:s>2047&&s<=65535&&(t+=2),s>=56320&&s<=57343&&r--}return t}if("number"==typeof e.byteLength)return e.byteLength;if("number"==typeof e.size)return e.size;throw Error(`Body Length computation failed for ${e}`)},rO=["in-region","cross-region","mobile","standard","legacy"],rU=e=>new Date(Date.now()+e),r_=e=>j.isInstance(e)?e.headers?.date??e.headers?.Date:void 0,rN=(e,t)=>{let r=Date.parse(e);return Math.abs(rU(t).getTime()-r)>=3e5?r-Date.now():t},rG=(e,t)=>{if(!t)throw Error(`Property \`${e}\` is not resolved for AWS SDK SigV4Auth`);return t},rM=async e=>{let t=rG("context",e.context),r=rG("config",e.config),s=t.endpointV2?.properties?.authSchemes?.[0],n=rG("signer",r.signer),i=await n(s),o=e?.signingRegion;return{config:r,signer:i,signingRegion:o,signingRegionSet:e?.signingRegionSet,signingName:e?.signingName}};class rF{async sign(e,t,r){if(!s.isInstance(e))throw Error("The request is not an instance of `HttpRequest` and cannot be signed");let n=await rM(r),{config:i,signer:o}=n,{signingRegion:a,signingName:c}=n,u=r.context;if(u?.authSchemes?.length){let[e,t]=u.authSchemes;e?.name==="sigv4a"&&t?.name==="sigv4"&&(a=t?.signingRegion??a,c=t?.signingName??c)}return await o.sign(e,{signingDate:rU(i.systemClockOffset),signingRegion:a,signingService:c})}errorHandler(e){return t=>{let r=t.ServerTime??r_(t.$response);if(r){let s=rG("config",e.config),n=s.systemClockOffset;s.systemClockOffset=rN(r,s.systemClockOffset),s.systemClockOffset!==n&&t.$metadata&&(t.$metadata.clockSkewCorrected=!0)}throw t}}successHandler(e,t){let r=r_(e);if(r){let e=rG("config",t.config);e.systemClockOffset=rN(r,e.systemClockOffset)}}}var rB=r(82286),rq=r(31798),rj=r(40979);class rW{serdeContext;setSerdeContext(e){this.serdeContext=e}}class rH extends rW{options;compositeErrorRegistry;constructor(e){for(let t of(super(),this.options=e,this.compositeErrorRegistry=rq.O.for(e.defaultNamespace),e.errorTypeRegistries??[]))this.compositeErrorRegistry.copyFrom(t)}getRequestType(){return s}getResponseType(){return j}setSerdeContext(e){this.serdeContext=e,this.serializer.setSerdeContext(e),this.deserializer.setSerdeContext(e),this.getPayloadCodec()&&this.getPayloadCodec().setSerdeContext(e)}updateServiceEndpoint(e,t){if("url"in t){for(let[r,s]of(e.protocol=t.url.protocol,e.hostname=t.url.hostname,e.port=t.url.port?Number(t.url.port):void 0,e.path=t.url.pathname,e.fragment=t.url.hash||void 0,e.username=t.url.username||void 0,e.password=t.url.password||void 0,e.query||(e.query={}
10),t.url.searchParams.entries()))e.query[r]=s;if(t.headers)for(let r in t.headers)e.headers[r]=t.headers[r].join(", ");return e}if(e.protocol=t.protocol,e.hostname=t.hostname,e.port=t.port?Number(t.port):void 0,e.path=t.path,e.query={...t.query},t.headers)for(let r in t.headers)e.headers[r]=t.headers[r];return e}setHostPrefix(e,t,r){if(this.serdeContext?.disableHostPrefix)return;let s=rB.l1.of(t.input),n=(0,rj.c)(t.traits??{});if(n.endpoint){let t=n.endpoint?.[0];if("string"==typeof t){for(let[e,n]of s.structIterator()){if(!n.getMergedTraits().hostLabel)continue;let s=r[e];if("string"!=typeof s)throw Error(`@smithy/core/schema - ${e} in input must be a string as hostLabel.`);t=t.replace(`{${e}}`,s)}e.hostname=t+e.hostname}}}deserializeMetadata(e){return{httpStatusCode:e.statusCode,requestId:e.headers["x-amzn-requestid"]??e.headers["x-amzn-request-id"]??e.headers["x-amz-request-id"],extendedRequestId:e.headers["x-amz-id-2"],cfId:e.headers["x-amz-cf-id"]}}async serializeEventStream({eventStream:e,requestSchema:t,initialRequest:r}){return(await this.loadEventStreamCapability()).serializeEventStream({eventStream:e,requestSchema:t,initialRequest:r})}async deserializeEventStream({response:e,responseSchema:t,initialResponseContainer:r}){return(await this.loadEventStreamCapability()).deserializeEventStream({response:e,responseSchema:t,initialResponseContainer:r})}async loadEventStreamCapability(){let{EventStreamSerde:e}=await r.e(8867).then(r.bind(r,88867));return new e({marshaller:this.getEventStreamMarshaller(),serializer:this.serializer,deserializer:this.deserializer,serdeContext:this.serdeContext,defaultContentType:this.getDefaultContentType()})}getDefaultContentType(){throw Error(`@smithy/core/protocols - ${this.constructor.name} getDefaultContentType() implementation missing.`)}async deserializeHttpMessage(e,t,r,s,n){return[]}getEventStreamMarshaller(){let e=this.serdeContext;if(!e.eventStreamMarshaller)throw Error("@smithy/core - HttpProtocol: eventStreamMarshaller missing in serdeContext.");return e.eventStreamMarshaller}}function rQ(e){let t,r="object"==typeof(t="string"==typeof e?(0,e7.a)(e):e)&&"number"==typeof t.length,s="object"==typeof t&&"number"==typeof t.byteOffset&&"number"==typeof t.byteLength;if(!r&&!s)throw Error("@smithy/util-base64: toBase64 encoder function only accepts string | Uint8Array.");let n="";for(let e=0;e<t.length;e+=3){let r=0,s=0;for(let n=e,i=Math.min(e+3,t.length);n<i;n++)r|=t[n]<<(i-n-1)*8,s+=8;let i=Math.ceil(s/6);r<<=6*i-s;for(let e=1;e<=i;e++){let t=(i-e)*6;n+=rw[(r&63<<t)>>t]}n+="==".slice(0,4-i)}return n}function rz(e,t,r,s){return class n extends Uint8Array{static fromString(e,r="utf-8"){if("string"==typeof e)return"base64"===r?n.mutate(s(e)):n.mutate(t(e));throw Error(`Unsupported conversion from ${typeof e} to Uint8ArrayBlobAdapter.`)}static mutate(e){return Object.setPrototypeOf(e,n.prototype),e}transformToString(t="utf-8"){return"base64"===t?r(this):e(this)}}}var rV=r(10892);let rK=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,"0"));Symbol.for("node-only");class rY extends rz(rV.P,e7.a,rQ,rv){}let rJ=(g=e=>crypto.getRandomValues(e),"undefined"!=typeof crypto&&"function"==typeof crypto.randomUUID?()=>crypto.randomUUID():()=>{let e=new Uint8Array(16);return g(e),e[6]=15&e[6]|64,e[8]=63&e[8]|128,rK[e[0]]+rK[e[1]]+rK[e[2]]+rK[e[3]]+"-"+rK[e[4]]+rK[e[5]]+"-"+rK[e[6]]+rK[e[7]]+"-"+rK[e[8]]+rK[e[9]]+"-"+rK[e[10]]+rK[e[11]]+rK[e[12]]+rK[e[13]]+rK[e[14]]+rK[e[15]]}),rZ=async(e=new Uint8Array,t)=>{if(e instanceof Uint8Array)return rY.mutate(e);if(!e)return rY.mutate(new Uint8Array);let r=t.streamCollector(e);return rY.mutate(await r)};class rX extends rH{async serializeRequest(e,t,r){let n,i=this.serializer,o={},a={},c=await r.endpoint(),u=rB.l1.of(e?.input),l=u.getSchema(),d=t&&"object"==typeof t?t:{},m=new s({protocol:"",hostname:"",port:void 0,path:"/",fragment:void 0,query:o,headers:a,body:void 0});if(c&&(this.updateServiceEndpoint(m,c),this.setHostPrefix(m,e,d)),d){let e=u.getEventStreamMember();if(e){if(d[e]){let t={};for(let[r,s]of u.structIterator())r!==e&&d[r]&&(i.write(s,d[r]),t[r]=i.flush());n=await this.serializeEventStream({eventStream:d[e],requestSchema:u,initialRequest:t})}}else i.write(l,d),n=i.flush()}return m.headers=Object.assign(m.headers,a),m.query=o,m.body=n,m.method="POST",m}async deserializeResponse(e,t,r){let s=this.deserializer,n=rB.l1.of(e.output),i={};if(r.statusCode>=300){let n=await rZ(r.body,t);throw n.byteLength>0&&Object.assign(i,await s.read(15,n)),await this.handleError(e,t,r,i,this.deserializeMetadata(r)),Error("@smithy/core/protocols - RPC Protocol error handler failed to throw.")}for(let e in r.headers){let t=r.headers[e];delete r.headers[e],r.headers[e.toLowerCase()]=t}let o=n.getEventStreamMember();if(o)i[o]=await this.deserializeEventStream({response:r,responseSchema:n,initialResponseContainer:i});else{let e=await rZ(r.body,t);e.byteLength>0&&Object.assign(i,await s.read(n,e))}return i.$metadata=this.deserializeMetadata(r),i}}var r0=r(30431);
10class r1 extends Error{$fault;$response;$retryable;$metadata;constructor(e){super(e.message),Object.setPrototypeOf(this,Object.getPrototypeOf(this).constructor.prototype),this.name=e.name,this.$fault=e.$fault,this.$metadata=e.$metadata}static isInstance(e){return!!e&&(r1.prototype.isPrototypeOf(e)||!!e.$fault&&!!e.$metadata&&("client"===e.$fault||"server"===e.$fault))}static[Symbol.hasInstance](e){return!!e&&(this===r1?r1.isInstance(e):!!r1.isInstance(e)&&(e.name&&this.name?this.prototype.isPrototypeOf(e)||e.name===this.name:this.prototype.isPrototypeOf(e)))}}let r2=(e,t={})=>{Object.entries(t).filter(([,e])=>void 0!==e).forEach(([t,r])=>{(void 0==e[t]||""===e[t])&&(e[t]=r)});let r=e.message||e.Message||"UnknownError";return e.message=r,delete e.Message,e};class r8{queryCompat;errorRegistry;constructor(e=!1){this.queryCompat=e}resolveRestContentType(e,t){let r=t.getMemberSchemas(),s=Object.values(r).find(e=>!!e.getMergedTraits().httpPayload);if(s){let t=s.getMergedTraits().mediaType;return t?t:s.isStringSchema()?"text/plain":s.isBlobSchema()?"application/octet-stream":e}if(!t.isUnitSchema()&&Object.values(r).find(e=>{let{httpQuery:t,httpQueryParams:r,httpHeader:s,httpLabel:n,httpPrefixHeaders:i}=e.getMergedTraits();return!t&&!r&&!s&&!n&&void 0===i}))return e}async getErrorSchemaOrThrowBaseException(e,t,r,s,n,i){let o=e;e.includes("#")&&([,o]=e.split("#"));let a={$metadata:n,$fault:r.statusCode<500?"client":"server"};if(!this.errorRegistry)throw Error("@aws-sdk/core/protocols - error handler not initialized.");try{return{errorSchema:i?.(this.errorRegistry,o)??this.errorRegistry.getSchema(e),errorMetadata:a}}catch(n){s.message=s.message??s.Message??"UnknownError";let e=this.errorRegistry,t=e.getBaseException();if(t){let r=e.getErrorCtor(t)??Error;throw this.decorateServiceException(Object.assign(new r({name:o}),a),s)}let r=s?.message??s?.Message??s?.Error?.Message??s?.Error?.message;throw this.decorateServiceException(Object.assign(Error(r),{name:o},a),s)}}compose(e,t,r){let s=r;t.includes("#")&&([s]=t.split("#"));let n=rq.O.for(s),i=rq.O.for("smithy.ts.sdk.synthetic."+r);e.copyFrom(n),e.copyFrom(i),this.errorRegistry=e}decorateServiceException(e,t={}){if(this.queryCompat){let r=e.Message??t.Message,s=r2(e,t);r&&(s.message=r);let n=s.Error??{};n.Type=s.Error?.Type,n.Code=s.Error?.Code,n.Message=s.Error?.message??s.Error?.Message??r,s.Error=n;let i=s.$metadata.requestId;return i&&(s.RequestId=i),s}return r2(e,t)}setQueryCompatError(e,t){let r=t.headers?.["x-amzn-query-error"];if(void 0!==e&&null!=r){let[t,s]=r.split(";"),n=Object.keys(e),i={Code:t,Type:s};e.Code=t,e.Type=s;for(let t=0;t<n.length;t++){let r=n[t];i["message"===r?"Message":r]=e[r]}delete i.__type,e.Error=i}}queryCompatOutput(e,t){e.Error&&(t.Error=e.Error),e.Type&&(t.Type=e.Type),e.Code&&(t.Code=e.Code)}findQueryCompatibleError(e,t){try{return e.getSchema(t)}catch(r){return e.find(e=>rB.l1.of(e).getMergedTraits().awsQueryError?.[0]===t)}}}class r3{serdeContext;setSerdeContext(e){this.serdeContext=e}}function r4(e,t){if(t.timestampFormat.useTrait&&e.isTimestampSchema()&&(5===e.getSchema()||6===e.getSchema()||7===e.getSchema()))return e.getSchema();let{httpLabel:r,httpPrefixHeaders:s,httpHeader:n,httpQuery:i}=e.getMergedTraits();return(t.httpBindings?"string"==typeof s||n?6:i||r?5:void 0:void 0)??t.timestampFormat.default}let r6=function(e){return Object.assign(new String(e),{deserializeJSON:()=>JSON.parse(String(e)),toString:()=>String(e),toJSON:()=>String(e)})};r6.from=e=>e&&"object"==typeof e&&(e instanceof r6||"deserializeJSON"in e)?e:"string"==typeof e||Object.getPrototypeOf(e)===String.prototype?r6(String(e)):r6(JSON.stringify(e)),r6.fromObject=r6.from;let r5=/^-?\d*(\.\d+)?$/;class r9{string;type;constructor(e,t){if(this.string=e,this.type=t,!r5.test(e))throw Error('@smithy/core/serde - NumericValue must only contain [0-9], at most one decimal point ".", and an optional negation prefix "-".')}toString(){return this.string}static[Symbol.hasInstance](e){return!!e&&"object"==typeof e&&(r9.prototype.isPrototypeOf(e)||"bigDecimal"===e.type&&r5.test(e.string))}}class r7{from;to;keys;constructor(e,t){this.from=e,this.to=t;let r=new Set(Object.keys(this.from));r.delete("__type"),this.keys=r}mark(e){this.keys.delete(e)}hasUnknown(){return 1===this.keys.size&&0===Object.keys(this.to).length}writeUnknown(){if(this.hasUnknown()){let e=this.keys.values().next().value,t=this.from[e];this.to.$unknown=[e,t]}}}function se(e,t,r){if(r?.source){let e=r.source;if("number"==typeof t&&(t>Number.MAX_SAFE_INTEGER||t<Number.MIN_SAFE_INTEGER||e!==String(t)))return e.includes(".")?new r9(e,"bigDecimal"):BigInt(e)}return t}let st=(e,t)=>
10Object.keys(e).find(e=>e.toLowerCase()===t.toLowerCase()),sr=(e,t=!0)=>{let r=e;return"number"==typeof r&&(r=r.toString()),r.indexOf(",")>=0&&(r=r.split(",")[0]),r.indexOf(":")>=0&&(r=r.split(":")[0]),t&&r.indexOf("#")>=0&&(r=r.split("#")[1]),r};class ss extends r3{settings;constructor(e){super(),this.settings=e}async read(e,t){let r;return this._read(e,"string"==typeof t?JSON.parse(t,se):await rZ(t,r=this.serdeContext).then(e=>(r?.utf8Encoder??rV.P)(e)).then(e=>{if(e.length)try{return JSON.parse(e)}catch(t){throw t?.name==="SyntaxError"&&Object.defineProperty(t,"$responseBodyText",{value:e}),t}return{}}))}readObject(e,t){return this._read(e,t)}_read(e,t){let r=null!==t&&"object"==typeof t,s=rB.l1.of(e);if(r){if(s.isStructSchema()){let e,r,n=s.isUnionSchema(),i={},{jsonName:o}=this.settings;for(let[a,c]of(o&&(r={}),n&&(e=new r7(t,i)),s.structIterator())){let s=a;o&&(r[s=c.getMergedTraits().jsonName??s]=a),n&&e.mark(s),null!=t[s]&&(i[a]=this._read(c,t[s]))}if(n)e.writeUnknown();else if("string"==typeof t.__type)for(let e in t){let s=t[e],n=o?r[e]??e:e;n in i||(i[n]=s)}return i}if(Array.isArray(t)&&s.isListSchema()){let e=s.getValueSchema(),r=[];for(let s of t)r.push(this._read(e,s));return r}if(s.isMapSchema()){let e=s.getValueSchema(),r={};for(let s in t)r[s]=this._read(e,t[s]);return r}}if(s.isBlobSchema()&&"string"==typeof t)return rv(t);let n=s.getMergedTraits().mediaType;if(s.isStringSchema()&&"string"==typeof t&&n)return"application/json"===n||n.endsWith("+json")?r6.from(t):t;if(s.isTimestampSchema()&&null!=t)switch(r4(s,this.settings)){case 5:var i=t;if(null==i)return;if("string"!=typeof i)throw TypeError("RFC-3339 date-times must be expressed as strings");let o=eU.exec(i);if(!o)throw TypeError("Invalid RFC-3339 date-time value");let[a,c,u,l,d,m,p,g,f]=o,h=eF(eP(eK(c)),ez(u,"month",1,12),ez(l,"day",1,31),{hours:d,minutes:m,seconds:p,fractionalMilliseconds:g});return"Z"!=f.toUpperCase()&&h.setTime(h.getTime()-(e=>{let t=e[0],r=1;if("+"==t)r=1;else if("-"==t)r=-1;else throw TypeError(`Offset direction, ${t}, must be "+" or "-"`);return r*(60*Number(e.substring(1,3))+Number(e.substring(4,6)))*6e4})(f)),h;case 6:return eM(t);case 7:let y;if(null!=t){if("number"==typeof t)y=t;else if("string"==typeof t){let e;y="string"==typeof(e=t)?ex(eR(e)):ex(e)}else if("object"==typeof t&&1===t.tag)y=t.value;else throw TypeError("Epoch timestamps must be expressed as floating point numbers or their string representation");if(Number.isNaN(y)||y===1/0||y===-1/0)throw TypeError("Epoch timestamps must be valid, non-Infinite, non-NaN numerics");return new Date(Math.round(1e3*y))}return;default:return console.warn("Missing timestamp format, parsing value with Date constructor:",t),new Date(t)}if(s.isBigIntegerSchema()&&("number"==typeof t||"string"==typeof t))return BigInt(t);if(s.isBigDecimalSchema()&&void 0!=t)return t instanceof r9?t:"bigDecimal"===t.type&&"string"in t?new r9(t.string,t.type):new r9(String(t),"bigDecimal");if(s.isNumericSchema()&&"string"==typeof t){switch(t){case"Infinity":return 1/0;case"-Infinity":return-1/0;case"NaN":return NaN}return t}if(s.isDocumentSchema())if(!r)return structuredClone(t);else{let e=Array.isArray(t)?[]:{};for(let r in t){let n=t[r];n instanceof r9?e[r]=n:e[r]=this._read(s,n)}return e}return t}}let sn=String.fromCharCode(925);class si{values=new Map;counter=0;stage=0;createReplacer(){if(1===this.stage)throw Error("@aws-sdk/core/protocols - JsonReplacer already created.");if(2===this.stage)throw Error("@aws-sdk/core/protocols - JsonReplacer exhausted.");return this.stage=1,(e,t)=>{if(t instanceof r9){let e=`${sn+"nv"+this.counter++}_`+t.string;return this.values.set(`"${e}"`,t.string),e}if("bigint"==typeof t){let e=t.toString(),r=`${sn+"b"+this.counter++}_`+e;return this.values.set(`"${r}"`,e),r}return t}}replaceInJson(e){if(0===this.stage)throw Error("@aws-sdk/core/protocols - JsonReplacer not created yet.");if(2===this.stage)throw Error("@aws-sdk/core/protocols - JsonReplacer exhausted.");if(this.stage=2,0===this.counter)return e;for(let[t,r]of this.values)e=e.replace(t,r);return e}}class so extends r3{settings;buffer;useReplacer=!1;rootSchema;constructor(e){super(),this.settings=e}write(e,t){this.rootSchema=rB.l1.of(e),this.buffer=this._write(this.rootSchema,t)}flush(){let{rootSchema:e,useReplacer:t}=this;if(this.rootSchema=void 0,this.useReplacer=!1,e?.isStructSchema()||e?.isDocumentSchema()){if
10(!t)return JSON.stringify(this.buffer);let e=new si;return e.replaceInJson(JSON.stringify(this.buffer,e.createReplacer(),0))}return this.buffer}writeDiscriminatedDocument(e,t){this.write(e,t),"object"==typeof this.buffer&&(this.buffer.__type=rB.l1.of(e).getName(!0))}_write(e,t,r){let s=null!==t&&"object"==typeof t,n=rB.l1.of(e);if(s){if(n.isStructSchema()){let e,r={},{jsonName:s}=this.settings;s&&(e={});let i=0;for(let[o,a]of n.structIterator()){let c=this._write(a,t[o],n);if(void 0!==c){let t=o;s&&(t=a.getMergedTraits().jsonName??o,e[o]=t),r[t]=c,i++}}if(n.isUnionSchema()&&0===i){let{$unknown:e}=t;if(Array.isArray(e)){let[t,s]=e;r[t]=this._write(15,s)}}else if("string"==typeof t.__type)for(let n in t){let i=t[n],o=s?e[n]??n:n;o in r||(r[o]=this._write(15,i))}return r}if(Array.isArray(t)&&n.isListSchema()){let e=n.getValueSchema(),r=[],s=!!n.getMergedTraits().sparse;for(let n of t)(s||null!=n)&&r.push(this._write(e,n));return r}if(n.isMapSchema()){let e=n.getValueSchema(),r={},s=!!n.getMergedTraits().sparse;for(let n in t){let i=t[n];(s||null!=i)&&(r[n]=this._write(e,i))}return r}if(t instanceof Uint8Array&&(n.isBlobSchema()||n.isDocumentSchema()))return n===this.rootSchema?t:(this.serdeContext?.base64Encoder??rQ)(t);if(t instanceof Date&&(n.isTimestampSchema()||n.isDocumentSchema()))switch(r4(n,this.settings)){case 5:return t.toISOString().replace(".000Z","Z");case 6:return function(e){let t=e.getUTCFullYear(),r=e.getUTCMonth(),s=e.getUTCDay(),n=e.getUTCDate(),i=e.getUTCHours(),o=e.getUTCMinutes(),a=e.getUTCSeconds(),c=n<10?`0${n}`:`${n}`,u=i<10?`0${i}`:`${i}`,l=o<10?`0${o}`:`${o}`,d=a<10?`0${a}`:`${a}`;return`${ek[s]}, ${c} ${eO[r]} ${t} ${u}:${l}:${d} GMT`}(t);case 7:return t.getTime()/1e3;default:return console.warn("Missing timestamp format, using epoch seconds",t),t.getTime()/1e3}t instanceof r9&&(this.useReplacer=!0)}
10if(!(null===t&&r?.isStructSchema())){if(n.isStringSchema()){if(void 0===t&&n.isIdempotencyToken())return rJ();let e=n.getMergedTraits().mediaType;return null!=t&&e&&("application/json"===e||e.endsWith("+json"))?r6.from(t):t}if("number"==typeof t&&n.isNumericSchema())return Math.abs(t)===1/0||isNaN(t)?String(t):t;if("string"==typeof t&&n.isBlobSchema())return n===this.rootSchema?t:(this.serdeContext?.base64Encoder??rQ)(t);if("bigint"==typeof t&&(this.useReplacer=!0),n.isDocumentSchema())if(!s)return structuredClone(t);else{let e=Array.isArray(t)?[]:{};for(let r in t){let s=t[r];s instanceof r9?(this.useReplacer=!0,e[r]=s):e[r]=this._write(n,s)}return e}return t}}}class sa extends r3{settings;constructor(e){super(),this.settings=e}createSerializer(){let e=new so(this.settings);return e.setSerdeContext(this.serdeContext),e}createDeserializer(){let e=new ss(this.settings);return e.setSerdeContext(this.serdeContext),e}}class sc extends rX{serializer;deserializer;serviceTarget;codec;mixin;awsQueryCompatible;constructor({defaultNamespace:e,errorTypeRegistries:t,serviceTarget:r,awsQueryCompatible:s,jsonCodec:n}){super({defaultNamespace:e,errorTypeRegistries:t}
10),this.serviceTarget=r,this.codec=n??new sa({timestampFormat:{useTrait:!0,default:7},jsonName:!1}),this.serializer=this.codec.createSerializer(),this.deserializer=this.codec.createDeserializer(),this.awsQueryCompatible=!!s,this.mixin=new r8(this.awsQueryCompatible)}async serializeRequest(e,t,r){let s=await super.serializeRequest(e,t,r);return s.path.endsWith("/")||(s.path+="/"),s.headers["content-type"]=`application/x-amz-json-${this.getJsonRpcVersion()}`,s.headers["x-amz-target"]=`${this.serviceTarget}.${e.name}`,this.awsQueryCompatible&&(s.headers["x-amzn-query-mode"]="true"),"unit"!==(0,r0.L)(e.input)&&s.body||(s.body="{}"),s}getPayloadCodec(){return this.codec}async handleError(e,t,r,s,n){let{awsQueryCompatible:i}=this;i&&this.mixin.setQueryCompatError(s,r);let o=((e,t,r,s=!1)=>(({headers:e},t,r,s)=>{for(;s.length>0;)switch(s.shift()){case"header":let n=st(e??{},"x-amzn-errortype");if(void 0!==n)return sr(e[n],r);break;case"code":let i=st(t??{},"code");if(i&&void 0!==t[i])return sr(t[i],r);break;case"type":if(t?.__type!==void 0)return sr(t.__type,r)}})(e,t,r,s?["code","header","type"]:["type","code","header"]))(r,s,"1.1"===this.getJsonRpcVersion(),i)??"Unknown";this.mixin.compose(this.compositeErrorRegistry,o,this.options.defaultNamespace);let{errorSchema:a,errorMetadata:c}=await this.mixin.getErrorSchemaOrThrowBaseException(o,this.options.defaultNamespace,r,s,n,i?this.mixin.findQueryCompatibleError:void 0),u=rB.l1.of(a),l=s.message??s.Message??"UnknownError",d=new(this.compositeErrorRegistry.getErrorCtor(a)??Error)({}),m={},p=this.codec.createDeserializer();for(let[e,t]of u.structIterator())null!=s[e]&&(m[e]=p.readObject(t,s[e]));throw i&&this.mixin.queryCompatOutput(s,m),this.mixin.decorateServiceException(Object.assign(d,c,{$fault:u.getMergedTraits().error,message:l},m),s)}}class su extends sc{constructor({defaultNamespace:e,errorTypeRegistries:t,serviceTarget:r,awsQueryCompatible:s,jsonCodec:n}){super({defaultNamespace:e,errorTypeRegistries:t,serviceTarget:r,awsQueryCompatible:s,jsonCodec:n})}getShapeId(){return"aws.protocols#awsJson1_1"}getJsonRpcVersion(){return"1.1"}getDefaultContentType(){return"application/x-amz-json-1.1"}}var sl=r(15054);let sd="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",sm=Object.entries(sd).reduce((e,[t,r])=>(e[r]=Number(t),e),{}),sp=sd.split(""),sg=e=>{let t=e.length/4*3;"=="===e.slice(-2)?t-=2:"="===e.slice(-1)&&t--;let r=new ArrayBuffer(t),s=new DataView(r);for(let t=0;t<e.length;t+=4){let r=0,n=0;for(let s=t,i=t+3;s<=i;s++)if("="!==e[s]){if(!(e[s]in sm))throw TypeError(`Invalid character ${e[s]} in base64 string.`);r|=sm[e[s]]<<(i-s)*6,n+=6}else r>>=6;let i=t/4*3;r>>=n%8;let o=Math.floor(n/8);for(let e=0;e<o;e++){let t=(o-e-1)*8;s.setUint8(i+e,(r&255<<t)>>t)}}return new Uint8Array(r)},sf=e=>new TextEncoder().encode(e);function sh(e){let t,r="object"==typeof(t="string"==typeof e?sf(e):e)&&"number"==typeof t.length,s="object"==typeof t&&"number"==typeof t.byteOffset&&"number"==typeof t.byteLength;if(!r&&!s)throw Error("@smithy/util-base64: toBase64 encoder function only accepts string | Uint8Array.");let n="";for(let e=0;e<t.length;e+=3){let r=0,s=0;for(let n=e,i=Math.min(e+3,t.length);n<i;n++)r|=t[n]<<(i-n-1)*8,s+=8;let i=Math.ceil(s/6);r<<=6*i-s;for(let e=1;e<=i;e++){let t=(i-e)*6;n+=sp[(r&63<<t)>>t]}n+="==".slice(0,4-i)}return n}let sy=e=>{if("string"==typeof e)return e;if("object"!=typeof e||"number"!=typeof e.byteOffset||"number"!=typeof e.byteLength)throw Error("@smithy/util-utf8: toUtf8 encoder function only accepts string | Uint8Array.");return new TextDecoder("utf-8").decode(e)};class sb{capacity;data=new Map;parameters=[];constructor({size:e,params:t}){this.capacity=e??50,t&&(this.parameters=t)}get(e,t){let r=this.hash(e);if(!1===r)return t();if(!this.data.has(r)){if(this.data.size>this.capacity+10){let e=this.data.keys(),t=0;for(;;){let{value:r,done:s}=e.next();if(this.data.delete(r),s||++t>10)break}}this.data.set(r,t())}return this.data.get(r)}size(){return this.data.size}hash(e){let t="",{parameters:r}=this;if(0===r.length)return!1;for(let s of r){let r=String(e[s]??"");if(r.includes("|;"))return!1;t+=r+"|;"}return t}}
10class sC extends Error{constructor(e){super(e),this.name="EndpointError"}}function sS(e){return"object"!=typeof e||null==e?e:"ref"in e?`$${sS(e.ref)}`:"fn"in e?`${e.fn}(${(e.argv||[]).map(sS).join(", ")})`:JSON.stringify(e,null,2)}let sx={},sD=(e,t)=>(e=>{let t=e.split("."),r=[];for(let s of t){let t=s.indexOf("[");if(-1!==t){if(s.indexOf("]")!==s.length-1)throw new sC(`Path: '${e}' does not end with ']'`);let n=s.slice(t+1,-1);if(Number.isNaN(parseInt(n)))throw new sC(`Invalid array index: '${n}' in path: '${e}'`);0!==t&&r.push(s.slice(0,t)),r.push(n)}else r.push(s)}return r})(t).reduce((r,s)=>{if("object"!=typeof r)throw new sC(`Index '${s}' in '${t}' not found in '${JSON.stringify(e)}'`);if(Array.isArray(r)){let e=parseInt(s);return r[e<0?r.length+e:e]}return r[s]},e);!function(e){e.HTTP="http",e.HTTPS="https"}(S||(S={}));let sE=RegExp("^(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}$"),sL={[S.HTTP]:80,[S.HTTPS]:443},sT={booleanEquals:(e,t)=>e===t,coalesce:function(...e){for(let t of e)if(null!=t)return t},getAttr:sD,isSet:e=>null!=e,isValidHostLabel:U,ite:function(e,t,r){return e?t:r},not:e=>!e,parseURL:e=>{let t=(()=>{try{if(e instanceof URL)return e;if("object"==typeof e&&"hostname"in e){let{hostname:t,port:r,protocol:s="",path:n="",query:i={}}=e,o=new URL(`${s}//${t}${r?`:${r}`:""}${n}`);return o.search=Object.entries(i).map(([e,t])=>`${e}=${t}`).join("&"),o}return new URL(e)}catch(e){return null}})();if(!t)return console.error(`Unable to parse ${JSON.stringify(e)} as a whatwg URL.`),null;let r=t.href,{host:s,hostname:n,pathname:i,protocol:o,search:a}=t;if(a)return null;let c=o.slice(0,-1);if(!Object.values(S).includes(c))return null;let u=(e=>sE.test(e)||e.startsWith("[")&&e.endsWith("]"))(n),l=r.includes(`${s}:${sL[c]}`)||"string"==typeof e&&e.includes(`${s}:${sL[c]}`),d=`${s}${l?`:${sL[c]}`:""}`;return{scheme:c,authority:d,path:i,normalizedPath:i.endsWith("/")?i:`${i}/`,isIp:u}},split:function(e,t,r){if(1===r)return[e];if(""===e)return[""];let s=e.split(t);return 0===r?s:s.slice(0,r-1).concat(s.slice(1).join(t))},stringEquals:(e,t)=>e===t,substring:(e,t,r,s)=>null==e||t>=r||e.length<r||/[^\u0000-\u007f]/.test(e)?null:s?e.substring(e.length-r,e.length-t):e.substring(t,r),uriEncode:e=>encodeURIComponent(e).replace(/[!*'()]/g,e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`)},sw=(e,t)=>{let r=[],{referenceRecord:s,endpointParams:n}=t,i=0;for(;i<e.length;){let t=e.indexOf("{",i);if(-1===t){r.push(e.slice(i));break}r.push(e.slice(i,t));let o=e.indexOf("}",t);if(-1===o){r.push(e.slice(t));break}"{"===e[t+1]&&"}"===e[o+1]&&(r.push(e.slice(t+1,o)),i=o+2);let a=e.substring(t+1,o);if(a.includes("#")){let[e,t]=a.split("#");r.push(sD(s[e]??n[e],t))}else r.push(s[a]??n[a]);i=o+1}return r.join("")},sv=(e,t,r)=>{if("string"==typeof e)return sw(e,r);if(e.fn)return sR.callFunction(e,r);if(e.ref)return(({ref:e},t)=>t.referenceRecord[e]??t.endpointParams[e])(e,r);throw new sC(`'${t}': ${String(e)} is not a string, function or reference.`)},s$=({fn:e,argv:t},r)=>{let s=Array(t.length);for(let e=0;e<s.length;++e){let n=t[e];"boolean"==typeof n||"number"==typeof n?s[e]=n:s[e]=sR.evaluateExpression(n,"arg",r)}let n=e.indexOf(".");if(-1!==n){let t=sx[e.slice(0,n)],r=t?.[e.slice(n+1)];if("function"==typeof r)return r(...s)}let i=sT[e];if("function"==typeof i)return i(...s);throw Error(`function ${e} not loaded in endpointFunctions.`)},sR={evaluateExpression:sv,callFunction:s$},sP=(e,t)=>{let{assign:r}=e;if(r&&r in t.referenceRecord)throw new sC(`'${r}' is already defined in Reference Record.`);let s=s$(e,t);t.logger?.debug?.(`endpoints evaluateCondition: ${sS(e)} = ${sS(s)}`);let n=""===s||!!s;return null!=r?{result:n,toAssign:{name:r,value:s}}:{result:n}},sI=(e,t)=>Object.entries(e).reduce((e,[r,s])=>(e[r]=sk.getEndpointProperty(s,t),e),{}),sA=(e,t)=>{if(Array.isArray(e))return e.map(e=>sA(e,t));switch(typeof e){case"string":return sw(e,t);case"object":if(null===e)throw new sC(`Unexpected endpoint property: ${e}`);return sk.getEndpointProperties(e,t);case"boolean":return e;default:throw new sC(`Unexpected endpoint property type: ${typeof e}`)}},sk={getEndpointProperty:sA,getEndpointProperties:sI};class sO{nodes;root;conditions;results;constructor(e,t,r,s){this.nodes=e,this.root=t,this.conditions=r,this.results=s}static from(e,t,r,s){return new sO(e,t,r,s)}}let sU="isSet",s_="PartitionResult",sN="booleanEquals",sG="getAttr",sM="stringEquals",sF={ref:"Endpoint"},sB={ref:s_},sq={ref:"Region"},sj={},sW=[sq],sH={conditions:[[sU,[sF]],[sU,sW],["aws.partition",sW,s_],[sN,[{ref:"UseFIPS"}
10,!0]],[sN,[{ref:"UseDualStack"},!0]],[sN,[{fn:sG,argv:[sB,"supportsDualStack"]},!0]],[sN,[{fn:sG,argv:[sB,"supportsFIPS"]},!0]],[sM,[sq,"us-gov-east-1"]],[sM,[sq,"us-gov-west-1"]]],results:[[-1],[-1,"Invalid Configuration: FIPS and custom endpoint are not supported"],[-1,"Invalid Configuration: Dualstack and custom endpoint are not supported"],[sF,sj],["https://logs-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",sj],[-1,"FIPS and DualStack are enabled, but this partition does not support one or both"],["https://logs.us-gov-east-1.amazonaws.com",sj],["https://logs.us-gov-west-1.amazonaws.com",sj],["https://logs-fips.{Region}.{PartitionResult#dnsSuffix}",sj],[-1,"FIPS is enabled but this partition does not support FIPS"],["https://logs.{Region}.{PartitionResult#dualStackDnsSuffix}",sj],[-1,"DualStack is enabled but this partition does not support DualStack"],["https://logs.{Region}.{PartitionResult#dnsSuffix}",sj],[-1,"Invalid Configuration: Missing Region"]]},sQ=new Int32Array([-1,1,-1,0,14,3,1,4,0x5f5e10d,2,5,0x5f5e10d,3,8,6,4,7,0x5f5e10c,5,0x5f5e10a,0x5f5e10b,4,12,9,6,10,0x5f5e109,7,0x5f5e106,11,8,0x5f5e107,0x5f5e108,5,13,0x5f5e105,6,0x5f5e104,0x5f5e105,3,0x5f5e101,15,4,0x5f5e102,0x5f5e103]),sz=sO.from(sQ,2,sH.conditions,sH.results),sV=new sb({size:50,params:["Endpoint","Region","UseDualStack","UseFIPS"]}),sK=(e,t={})=>sV.get(e,()=>((e,t)=>{let{nodes:r,root:s,results:n,conditions:i}=e,o=s,a={},c={referenceRecord:a,endpointParams:t.endpointParams,logger:t.logger};for(;1!==o&&-1!==o&&o<1e8;){let e=3*(Math.abs(o)-1),[t,s,n]=[r[e],r[e+1],r[e+2]],[u,l,d]=i[t],m=sP({fn:u,assign:d,argv:l},c);if(m.toAssign){let{name:e,value:t}=m.toAssign;a[e]=t}o=o>=0===m.result?s:n}if(o>=1e8){let e=n[o-1e8];if(-1===e[0]){let[,t]=e;throw new sC(sv(t,"Error",c))}let[t,r,s]=e;return{url:((e,t)=>{let r=sv(e,"Endpoint URL",t);if("string"==typeof r)try{return new URL(r)}catch(e){throw console.error(`Failed to construct URL with ${r}`,e),e}throw new sC(`Endpoint URL must be a string, got ${typeof r}`)})(t,c),properties:sI(r,c),headers:Object.entries(s??{}??{}).reduce((e,[t,r])=>(e[t]=r.map(e=>{let r=sv(e,"Header value entry",c);if("string"!=typeof r)throw new sC(`Header '${t}' value '${r}' is not a string`);return r}),e),{})}}throw new sC("No matching endpoint.")})(sz,{endpointParams:e,logger:t.logger}));sx.aws={isVirtualHostableS3Bucket:m,parseArn:e=>{let t=e.split(":");if(t.length<6)return null;let[r,s,n,i,o,...a]=t;return"arn"!==r||""===s||""===n||""===a.join(":")?null:{partition:s,service:n,region:i,accountId:o,resourceId:a.map(e=>e.split("/")).flat()}},partition:e=>{let{partitions:t}=p;for(let r of t){let{regions:t,outputs:s}=r;for(let[r,n]of Object.entries(t))if(r===e)return{...s,...n}}for(let r of t){let{regionRegex:t,outputs:s}=r;if(new RegExp(t).test(e))return{...s}}let r=t.find(e=>"aws"===e.id);if(!r)throw Error("Provided region was not found in the partition array or regex, and default partition with id 'aws' doesn't exist.");return{...r.outputs}}};var sY=r(55448);!function(e){e.MD5="md5",e.CRC32="crc32",e.CRC32C="crc32c",e.SHA1="sha1",e.SHA256="sha256"}(x||(x={}));let sJ=Object.values(x);class sZ extends e8{config;constructor(...[e]){let t,r,u,l,d=(e=>{let t=(({defaultsMode:e}={})=>((e,t,r)=>{let s,n,i,o=!1,a=async()=>{n||(n=e());try{s=await n,i=!0,o=!1}finally{n=void 0}return s};return async e=>((!i||e?.forceRefresh)&&(s=await a()),s)})(async()=>{let t="function"==typeof e?await e():e;switch(t?.toLowerCase()){case"auto":return Promise.resolve((()=>{let e=window?.navigator;if(e?.connection){let{effectiveType:t,rtt:r,downlink:s}=e?.connection;if("string"==typeof t&&"4g"!==t||Number(r)>100||10>Number(s))return!0}return e?.userAgentData?.mobile||"number"==typeof e?.maxTouchPoints&&e?.maxTouchPoints>1})()?"mobile":"standard");case"mobile":case"in-region":case"cross-region":case"standard":case"legacy":return Promise.resolve(t?.toLocaleLowerCase());case void 0:return Promise.resolve("legacy");default:throw Error(`Invalid parameter for "defaultsMode", expect ${rO.join(", ")}, got ${t}`)}}))(e),r=()=>t().then(rI),s=(e=>({apiVersion:"2014-03-28",base64Decoder:e?.base64Decoder??sg,base64Encoder:e?.base64Encoder??sh,disableHostPrefix:e?.disableHostPrefix??!1,endpointProvider:e?.endpointProvider??sK,extensions:e?.extensions??[],httpAuthSchemeProvider:e?.httpAuthSchemeProvider??tO,httpAuthSchemes:e?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvi
10der:e=>e.getIdentityProvider("aws.auth#sigv4"),signer:new rF}],logger:e?.logger??new ey,protocol:e?.protocol??su,protocolSettings:e?.protocolSettings??{defaultNamespace:"com.amazonaws.cloudwatchlogs",errorTypeRegistries:sY.q1U,xmlNamespace:"http://monitoring.amazonaws.com/doc/2014-03-28/",version:"2014-03-28",serviceTarget:"Logs_20140328"},serviceId:e?.serviceId??"CloudWatch Logs",urlParser:e?.urlParser??sl.D,utf8Decoder:e?.utf8Decoder??sf,utf8Encoder:e?.utf8Encoder??sy}))(e);return{...s,...e,runtime:"browser",defaultsMode:t,bodyLengthChecker:e?.bodyLengthChecker??rk,credentialDefaultProvider:e?.credentialDefaultProvider??(e=>()=>Promise.reject(Error("Credential is missing"))),defaultUserAgentProvider:e?.defaultUserAgentProvider??(({serviceId:e,clientVersion:t})=>async r=>{let s="undefined"!=typeof window?window.navigator:void 0,n=s?.userAgent??"",i=s?.userAgentData?.platform??t1.os(n)??"other",o=s?.userAgentData?.brands??[],a=o[o.length-1],c=a?.brand??t1.browser(n)??"unknown",u=a?.version??"unknown",l=[["aws-sdk-js",t],["ua","2.1"],[`os/${i}`,void 0],["lang/js"],["md/browser",`${c}_${u}`]];e&&l.push([`api/${e}`,t]);let d=await r?.userAgentAppId?.();return d&&l.push([`app/${d}`]),l})({serviceId:s.serviceId,clientVersion:t_.rE}),eventStreamSerdeProvider:e?.eventStreamSerdeProvider??rC,maxAttempts:e?.maxAttempts??3,region:e?.region??(()=>Promise.reject("Region is missing")),requestHandler:rD.create(e?.requestHandler??r),retryMode:e?.retryMode??(async()=>(await r()).retryMode||et),sha256:e?.sha256??t0,streamCollector:e?.streamCollector??r$,useDualstackEndpoint:e?.useDualstackEndpoint??(()=>Promise.resolve(!1)),useFipsEndpoint:e?.useFipsEndpoint??(()=>Promise.resolve(!1))}})(e||{});super(d),this.initConfig=d;let m=((e,t)=>{let r=Object.assign((e=>({setRegion(t){e.region=t},region:()=>e.region}))(e),(e=>Object.assign((e=>{let t=[];for(let r in x){let s=x[r];void 0!==e[s]&&t.push({algorithmId:()=>s,checksumConstructor:()=>e[s]})}for(let[r,s]of Object.entries(e.checksumAlgorithms??{}))t.push({algorithmId:()=>r,checksumConstructor:()=>s});return{addChecksumAlgorithm(r){e.checksumAlgorithms=e.checksumAlgorithms??{};let s=r.algorithmId(),n=r.checksumConstructor();sJ.includes(s)?e.checksumAlgorithms[s.toUpperCase()]=n:e.checksumAlgorithms[s]=n,t.push(r)},checksumAlgorithms:()=>t}})(e),(e=>({setRetryStrategy(t){e.retryStrategy=t},retryStrategy:()=>e.retryStrategy}))(e)))(e),(e=>({setHttpHandler(t){e.httpHandler=t},httpHandler:()=>e.httpHandler,updateHttpClientConfig(t,r){e.httpHandler?.updateHttpClientConfig(t,r)},httpHandlerConfigs:()=>e.httpHandler.httpHandlerConfigs()}))(e),(e=>{let t=e.httpAuthSchemes,r=e.httpAuthSchemeProvider,s=e.credentials;return{setHttpAuthScheme(e){let r=t.findIndex(t=>t.schemeId===e.schemeId);-1===r?t.push(e):t.splice(r,1,e)},httpAuthSchemes:()=>t,setHttpAuthSchemeProvider(e){r=e},httpAuthSchemeProvider:()=>r,setCredentials(e){s=e},credentials:()=>s}})(e));return t.forEach(e=>e.configure(r)),Object.assign(e,{region:r.region()},(e=>Object.assign((e=>{let t={};return e.checksumAlgorithms().forEach(e=>{let r=e.algorithmId();sJ.includes(r)&&(t[r]=e.checksumConstructor())}),t})(e),(e=>{let t={};return t.retryStrategy=e.retryStrategy(),t})(e)))(r),{httpHandler:r.httpHandler()},(e=>({httpAuthSchemes:e.httpAuthSchemes(),httpAuthSchemeProvider:e.httpAuthSchemeProvider(),credentials:e.credentials()}))(r))})((e=>Object.assign((e=>{let t,r,s=e.credentials,n=!!e.credentials;Object.defineProperty(e,"credentials",{set(r){r&&r!==s&&r!==t&&(n=!0);let i=function(e,{credentials:t,credentialDefaultProvider:r}){let s;return(s=t?t?.memoized?t:((e,t,r)=>{let s,n,i;if(void 0===e)return;let o="function"!=typeof e?async()=>Promise.resolve(e):e,a=!1,c=async e=>{n||(n=o(e));try{s=await n,i=!0,a=!1}finally{n=void 0}return s};return void 0===t?async e=>((!i||e?.forceRefresh)&&(s=await c(e)),s):async e=>((!i||e?.forceRefresh)&&(s=await c(e)),a||(r(s)?t(s)&&await c(e):a=!0),s)})(t,e3,e4):r?a(r(Object.assign({},e,{parentClientConfig:e}))):async()=>{throw Error("@aws-sdk/core::resolveAwsSdkSigV4Config - `credentials` not provided and no credentialDefaultProvider was configured.")}).memoized=!0,s}(e,{credentials:s=r,credentialDefaultProvider:e.credentialDefaultProvider}),o=function(e,t){if(t.configBound)return t;let r=async r=>t({...r,callerClientConfig:e});return r.memoized=t.memoized,r.configBound=!0,r}(e,i);if(n&&!o.attributed){let e="object"==typeof s&&null!==s;(t=async t=>{let r=await o(t);if(e&&(!r.$source||0===Object.keys(r.$source).length))return r.$source||(r.$source={}),r.$source.CREDENTIALS_CODE="e",r;return r}
10).memoized=o.memoized,t.configBound=o.configBound,t.attributed=!0}else t=o},get:()=>t,enumerable:!0,configurable:!0}),e.credentials=s;let{signingEscapePath:i=!0,systemClockOffset:o=e.systemClockOffset||0,sha256:c}=e;return r=e.signer?a(e.signer):e.regionInfoProvider?()=>a(e.region)().then(async t=>[await e.regionInfoProvider(t,{useFipsEndpoint:await e.useFipsEndpoint(),useDualstackEndpoint:await e.useDualstackEndpoint()})||{},t]).then(([t,r])=>{let{signingRegion:s,signingService:n}=t;e.signingRegion=e.signingRegion||s||r,e.signingName=e.signingName||n||e.serviceId;let o={...e,credentials:e.credentials,region:e.signingRegion,service:e.signingName,sha256:c,uriEscapePath:i};return new(e.signerConstructor||tI)(o)}):async t=>{let r=(t=Object.assign({},{name:"sigv4",signingName:e.signingName||e.defaultSigningName,signingRegion:await a(e.region)(),properties:{}},t)).signingRegion,s=t.signingName;e.signingRegion=e.signingRegion||r,e.signingName=e.signingName||s||e.serviceId;let n={...e,credentials:e.credentials,region:e.signingRegion,service:e.signingName,sha256:c,uriEscapePath:i};return new(e.signerConstructor||tI)(n)},Object.assign(e,{systemClockOffset:o,signingEscapePath:i,signer:r})})(e),{authSchemePreference:Z(e.authSchemePreference??[])}))((e=>Object.assign(e,{eventStreamMarshaller:e.eventStreamSerdeProvider(e)}))((e=>{let t,r=e.tls??!0,{endpoint:s,useDualstackEndpoint:n,useFipsEndpoint:i}=e,o=Object.assign(e,{endpoint:null!=s?async()=>(0,ee.a)(await Z(s)()):void 0,tls:r,isCustomEndpoint:!!s,useDualstackEndpoint:Z(n??!1),useFipsEndpoint:Z(i??!1)});return o.serviceConfiguredEndpoint=async()=>(e.serviceId&&!t&&(t=(0,X.k)(e.serviceId)),t),o})((e=>{let{region:t,useFipsEndpoint:r}=e;if(!t)throw Error("Region is missing");return Object.assign(e,{region:async()=>{let e=(e=>N(e)?["fips-aws-global","aws-fips"].includes(e)?"us-east-1":e.replace(/fips-(dkr-|prod-)?|-fips/,""):e)("function"==typeof t?await t():t);return((e,t=U)=>{if(_.has(e)||t(e))_.add(e);else if("*"===e)console.warn('@smithy/config-resolver WARN - Please use the caller region instead of "*". See "sigv4a" in https://github.com/aws/aws-sdk-js-v3/blob/main/supplemental-docs/CLIENTS.md.');else throw Error(`Region not accepted: region="${e}" is not a valid hostname component.`)})(e),e},useFipsEndpoint:async()=>!!N("string"==typeof t?t:await t())||("function"!=typeof r?Promise.resolve(!!r):r())})})((e=>{let{retryStrategy:t,retryMode:r}=e,s=Z(e.maxAttempts??3),n=t?Promise.resolve(t):void 0,i=async()=>await Z(r)()===h.ADAPTIVE?new eh(s):new ef(s);return Object.assign(e,{maxAttempts:s,retryStrategy:()=>n??=i()})})(function(e){let t=a(e.userAgentAppId??c),{customUserAgent:r}=e;return Object.assign(e,{customUserAgent:"string"==typeof r?[[r]]:r,userAgentAppId:async()=>{let r=await t();if(!(void 0===r||"string"==typeof r&&r.length<=50)){let t=e.logger?.constructor?.name!=="NoOpLogger"&&e.logger?e.logger:console;"string"!=typeof r?t?.warn("userAgentAppId must be a string or undefined."):r.length>50&&t?.warn("The provided userAgentAppId exceeds the maximum length of 50 characters.")}return r}})}((0,tU.v)(d))))))),e?.extensions||[]);this.config=m,this.middlewareStack.use(function(e){return{applyToStack:t=>{t.add((t,r)=>async s=>{let{operationSchema:n}=M(r),[,i,o,a,c,u]=n??[],l=r.endpointV2?async()=>(e=>{if("object"==typeof e){if("url"in e){let t=Q(e.url);if(e.headers)for(let r in t.headers={},e.headers)t.headers[r.toLowerCase()]=e.headers[r].join(", ");return t}return e}return Q(e)})(r.endpointV2):e.endpoint,d=await e.protocol.serializeRequest(W(i,o,a,c,u),s.input,{...e,...r,endpoint:l});return t({...s,request:d})},V),t.add((t,r)=>async s=>{let{response:n}=await t(s),{operationSchema:i}=M(r),[,o,a,c,u,l]=i??[];try{let t=await e.protocol.deserializeResponse(W(o,a,c,u,l),{...e,...r},n);return{response:n,output:t}}catch(e){if(Object.defineProperty(e,"$response",{value:n,enumerable:!1,writable:!1,configurable:!1}),!("$metadata"in e)){let t="Deserialization error: to see the raw response, inspect the hidden field {error}.$response on this object.";try{e.message+="\n "+t}catch(e){r.logger&&r.logger?.constructor?.name!=="NoOpLogger"?r.logger?.warn?.(t):console.warn(t)}void 0!==e.$responseBodyText&&e.$response&&(e.$response.body=e.$responseBodyText);try{if(j.isInstance(n)){let{headers:t={}}=n,r=Object.entries(t);e.$metadata={httpStatusCode:n.statusCode,requestId:H(/^x-[\w-]+-request-?id$/,r),extendedRequestId:H(/^x-[\w-]+-id-2$/,r),cfId:H(/^x-[\w-]+-cf-id$/,r)}}}catch(e){}}throw e}},z),e.protocol.setSerdeContext(e)}}}(this.config)),this.middlewareStack.use((t=this.config,{applyToStack:e=>{e.add((e=>(t,r)=>async n=>{let{request:i}=n;if(!s.isInstance(i))return t(n);let{headers:o}=i,a=r?.userAgent?.map(A)||[],c=(await e.defaultUserAgentProvider()).map(A);await v(r,e,n),c.push(`m/${function(e){let t="";for(let r in e){let s=e[r];if(t.length+s.length+1<=1024){t.length?t+=","+s:t+=s;continue}break}return t}(Object.assign({},r.__smithy_context?.features,r.__aws_sdk_context?.features))}`);let u=e?.customUserAgent?.map(A)||[],l=await e.userAgentAppId();l&&c.push(A(["app",`${l}`]));let d=[].concat([...c,...a,...u]).join(" "),m=[...c.filter(e=>e.startsWith("aws-sdk-")),...u].join(" ");return"browser"!==e.runtime?(m&&(o[R]=o[R]?`${o[$]} ${m}`:m),o[$]=d):o[R]=d,t({...n,request:i})})(t),k)}})),this.middlewareStack.use((r=this.config,{applyToStack:e=>{e.add((e=>(t,r)=>async s=>{let n=await e.retryStrategy(),i=await e.maxAttempts();if(!(e=>void 0!==e.acquireInitialRetryToken&&void 0!==e.refreshRetryTokenForRetry&&void 0!==e.recordSuccess)(n))return n?.mode&&(r.userAgent=[...r.userAgent||[],["cfg/retry-mode",n.mode]]),n.retry(t,s);{let o=await n.acquireInitialRetryToken((r.partition_id??"")+(r.__retryLongPoll?":longpoll":"")),a=Error(),c=0,u=0,{request:l}=s,d=K.isInstance(l);for(d&&(l.headers["amz-sdk-invocation-id"]=(()=>
10{if(eb)return eb();let e=new Uint8Array(16);return crypto.getRandomValues(e),e[6]=15&e[6]|64,e[8]=63&e[8]|128,eC[e[0]]+eC[e[1]]+eC[e[2]]+eC[e[3]]+"-"+eC[e[4]]+eC[e[5]]+"-"+eC[e[6]]+eC[e[7]]+"-"+eC[e[8]]+eC[e[9]]+"-"+eC[e[10]]+eC[e[11]]+eC[e[12]]+eC[e[13]]+eC[e[14]]+eC[e[15]]})());;)try{d&&(l.headers["amz-sdk-request"]=`attempt=${c+1}; max=${i}`);let{response:e,output:r}=await t(s);return n.recordSuccess(o),r.$metadata.attempts=c+1,r.$metadata.totalRetryDelay=u,{response:e,output:r}}catch(i){let t=eX(i,e.logger);if(a=eJ(i),d&&eS(l))throw(r.logger instanceof ey?console:r.logger)?.warn("An error was encountered in a non-retryable streaming request."),a;try{o=await n.refreshRetryTokenForRetry(o,t)}catch(e){throw"number"==typeof e.$backoff&&await eZ(e.$backoff),a.$metadata||(a.$metadata={}),a.$metadata.attempts=c+1,a.$metadata.totalRetryDelay=u,a}c=o.getRetryCount();let s=o.getRetryDelay();u+=s,await eZ(s)}}})(r),e1)}})),this.middlewareStack.use((u=this.config,{applyToStack:e=>{var t;e.add((t=u.bodyLengthChecker,e=>async r=>{let s=r.request;if(K.isInstance(s)){let{body:e,headers:r}=s;if(e&&-1===Object.keys(r).map(e=>e.toLowerCase()).indexOf(Y))try{let r=t(e);s.headers={...s.headers,[Y]:String(r)}}catch(e){}}return e({...r,request:s})}),J)}})),this.middlewareStack.use((l=this.config,{applyToStack:e=>{e.add(e=>async t=>{if(!s.isInstance(t.request))return e(t);let{request:r}=t,{handlerProtocol:n=""}=l.requestHandler.metadata||{};if(n.indexOf("h2")>=0&&!r.headers[":authority"])delete r.headers.host,r.headers[":authority"]=r.hostname+(r.port?":"+r.port:"");else if(!r.headers.host){let e=r.hostname;null!=r.port&&(e+=`:${r.port}`),r.headers.host=e}return e(t)},n)}})),this.middlewareStack.use((this.config,{applyToStack:e=>{e.add((e,t)=>async r=>{try{let s=await e(r),{clientName:n,commandName:i,logger:o,dynamoDbDocumentClientOptions:a={}}=t,{overrideInputFilterSensitiveLog:c,overrideOutputFilterSensitiveLog:u}=a,l=c??t.inputFilterSensitiveLog,d=u??t.outputFilterSensitiveLog,{$metadata:m,...p}=s.output;return o?.info?.({clientName:n,commandName:i,input:l(r.input),output:d(p),metadata:m}),s}catch(c){let{clientName:e,commandName:s,logger:n,dynamoDbDocumentClientOptions:i={}}=t,{overrideInputFilterSensitiveLog:o}=i,a=o??t.inputFilterSensitiveLog;throw n?.error?.({clientName:e,commandName:s,input:a(r.input),error:c,metadata:c.$metadata}),c}},i)}})),this.middlewareStack.use((this.config,{applyToStack:e=>{e.add(e=>async t=>e(t),o)}})),this.middlewareStack.use(((e,{httpAuthSchemeParametersProvider:t,identityProviderConfigProvider:r})=>({applyToStack:s=>{s.addRelativeTo(((e,t)=>(r,s)=>async n=>{let i=((e,t)=>{if(!t||0===t.length)return e;let r=[];for(let s of t)for(let t of e)t.schemeId.split("#")[1]===s&&r.push(t);for(let t of e)r.find(({schemeId:e})=>e===t.schemeId)||r.push(t);return r})(e.httpAuthSchemeProvider(await t.httpAuthSchemeParametersProvider(e,s,n.input)),e.authSchemePreference?await e.authSchemePreference():[]),o=function(e){let t=new Map;for(let r of e)t.set(r.schemeId,r);return t}(e.httpAuthSchemes),a=M(s),c=[];for(let r of i){let n=o.get(r.schemeId);if(!n){c.push(`HttpAuthScheme \`${r.schemeId}\` was not enabled for this service.`);continue}let i=n.identityProvider(await t.identityProviderConfigProvider(e));if(!i){c.push(`HttpAuthScheme \`${r.schemeId}\` did not have an IdentityProvider configured.`);continue}let{identityProperties:u={},signingProperties:l={}}=r.propertiesExtractor?.(e,s)||{};r.identityProperties=Object.assign(r.identityProperties||{},u),r.signingProperties=Object.assign(r.signingProperties||{},l),a.selectedHttpAuthScheme={httpAuthOption:r,identity:await i(r.identityProperties),signer:n.signer};break}if(!a.selectedHttpAuthScheme)throw Error(c.join("\n"));return r(n)})(e,{httpAuthSchemeParametersProvider:t,identityProviderConfigProvider:r}),F)}}))(this.config,{httpAuthSchemeParametersProvider:tk,identityProviderConfigProvider:async e=>new B({"aws.auth#sigv4":e.credentials})})),this.middlewareStack.use((this.config,{applyToStack:e=>{e.addRelativeTo((e,t)=>async r=>{if(!s.isInstance(r.request))return e(r);let n=M(t).selectedHttpAuthScheme;if(!n)throw Error("No HttpAuthScheme was selected: unable to sign request");let{httpAuthOption:{signingProperties:i={}},identity:o,signer:a}=n,c=await e({...r,request:await a.sign(r.request,o,i)}).catch((a.errorHandler||(e=>e=>{throw e}))(i));return(a.successHandler||((e,t)=>{}))(c.response,i),c},q)}}))}destroy(){super.destroy()}}var sX=r(13583),s0=r(87787);class s1 extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstru
10ctions())]}).s("Logs_20140328","AssociateKmsKey",{}).n("CloudWatchLogsClient","AssociateKmsKeyCommand").sc(sY.l3u).build(){}class s2 extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","AssociateSourceToS3TableIntegration",{}).n("CloudWatchLogsClient","AssociateSourceToS3TableIntegrationCommand").sc(sY.faC).build(){}class s8 extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","CancelExportTask",{}).n("CloudWatchLogsClient","CancelExportTaskCommand").sc(sY.kpN).build(){}class s3 extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","CancelImportTask",{}).n("CloudWatchLogsClient","CancelImportTaskCommand").sc(sY.Lfe).build(){}class s4 extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","CreateDelivery",{}).n("CloudWatchLogsClient","CreateDeliveryCommand").sc(sY.Jv6).build(){}class s6 extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","CreateExportTask",{}).n("CloudWatchLogsClient","CreateExportTaskCommand").sc(sY.CtG).build(){}class s5 extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","CreateImportTask",{}).n("CloudWatchLogsClient","CreateImportTaskCommand").sc(sY.BFk).build(){}class s9 extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","CreateLogAnomalyDetector",{}).n("CloudWatchLogsClient","CreateLogAnomalyDetectorCommand").sc(sY.yIn).build(){}class s7 extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","CreateLogGroup",{}).n("CloudWatchLogsClient","CreateLogGroupCommand").sc(sY.EP0).build(){}class ne extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","CreateLogStream",{}).n("CloudWatchLogsClient","CreateLogStreamCommand").sc(sY.jol).build(){}class nt extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","CreateLookupTable",{}).n("CloudWatchLogsClient","CreateLookupTableCommand").sc(sY.$gt).build(){}class nr extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","CreateScheduledQuery",{}).n("CloudWatchLogsClient","CreateScheduledQueryCommand").sc(sY.QPy).build(){}class ns extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","DeleteAccountPolicy",{}).n("CloudWatchLogsClient","DeleteAccountPolicyCommand").sc(sY.dWx).build(){}class nn extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","DeleteDataProtectionPolicy",{}).n("CloudWatchLogsClient","DeleteDataProtectionPolicyCommand").sc(sY.piI).build(){}class ni extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","DeleteDelivery",{}).n("CloudWatchLogsClient","DeleteDeliveryCommand").sc(sY.Yoj).build(){}class no extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","DeleteDeliveryDestination",{}).n("CloudWatchLogsClient","DeleteDeliveryDestinationCommand").sc(sY.gQC).build(){}class na extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","DeleteDeliveryDestinationPolicy",{}).n("CloudWatchLogsClient","DeleteDeliveryDestinationPolicyCommand").sc(sY.klj).build(){}class nc extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstru
10ctions())]}).s("Logs_20140328","DeleteDeliverySource",{}).n("CloudWatchLogsClient","DeleteDeliverySourceCommand").sc(sY.VUH).build(){}class nu extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","DeleteDestination",{}).n("CloudWatchLogsClient","DeleteDestinationCommand").sc(sY.uXT).build(){}class nl extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","DeleteIndexPolicy",{}).n("CloudWatchLogsClient","DeleteIndexPolicyCommand").sc(sY.y6O).build(){}class nd extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","DeleteIntegration",{}).n("CloudWatchLogsClient","DeleteIntegrationCommand").sc(sY.mQC).build(){}class nm extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","DeleteLogAnomalyDetector",{}).n("CloudWatchLogsClient","DeleteLogAnomalyDetectorCommand").sc(sY.j18).build(){}class np extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","DeleteLogGroup",{}).n("CloudWatchLogsClient","DeleteLogGroupCommand").sc(sY.Vao).build(){}class ng extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","DeleteLogStream",{}).n("CloudWatchLogsClient","DeleteLogStreamCommand").sc(sY.g1C).build(){}class nf extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","DeleteLookupTable",{}).n("CloudWatchLogsClient","DeleteLookupTableCommand").sc(sY.kpH).build(){}class nh extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","DeleteMetricFilter",{}).n("CloudWatchLogsClient","DeleteMetricFilterCommand").sc(sY.Gk3).build(){}class ny extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","DeleteQueryDefinition",{}).n("CloudWatchLogsClient","DeleteQueryDefinitionCommand").sc(sY.R8M).build(){}class nb extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","DeleteResourcePolicy",{}).n("CloudWatchLogsClient","DeleteResourcePolicyCommand").sc(sY.cfZ).build(){}class nC extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","DeleteRetentionPolicy",{}).n("CloudWatchLogsClient","DeleteRetentionPolicyCommand").sc(sY.QEH).build(){}class nS extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","DeleteScheduledQuery",{}).n("CloudWatchLogsClient","DeleteScheduledQueryCommand").sc(sY.VQT).build(){}class nx extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","DeleteSubscriptionFilter",{}).n("CloudWatchLogsClient","DeleteSubscriptionFilterCommand").sc(sY.tJH).build(){}class nD extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","DeleteTransformer",{}).n("CloudWatchLogsClient","DeleteTransformerCommand").sc(sY.lfl).build(){}class nE extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","DescribeAccountPolicies",{}).n("CloudWatchLogsClient","DescribeAccountPoliciesCommand").sc(sY.rCV).build(){}class nL extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","DescribeConfigurationTemplates",{}).n("CloudWatchLogsClient","DescribeConfigurationTemplatesCommand").sc(sY.fQY).build(){}class nT extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstru
10ctions())]}).s("Logs_20140328","DescribeDeliveries",{}).n("CloudWatchLogsClient","DescribeDeliveriesCommand").sc(sY.cT_).build(){}class nw extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","DescribeDeliveryDestinations",{}).n("CloudWatchLogsClient","DescribeDeliveryDestinationsCommand").sc(sY.vOw).build(){}class nv extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","DescribeDeliverySources",{}).n("CloudWatchLogsClient","DescribeDeliverySourcesCommand").sc(sY.iDs).build(){}class n$ extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","DescribeDestinations",{}).n("CloudWatchLogsClient","DescribeDestinationsCommand").sc(sY.rsf).build(){}class nR extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","DescribeExportTasks",{}).n("CloudWatchLogsClient","DescribeExportTasksCommand").sc(sY.Ujv).build(){}class nP extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","DescribeFieldIndexes",{}).n("CloudWatchLogsClient","DescribeFieldIndexesCommand").sc(sY.kjl).build(){}class nI extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","DescribeImportTaskBatches",{}).n("CloudWatchLogsClient","DescribeImportTaskBatchesCommand").sc(sY.ykB).build(){}class nA extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","DescribeImportTasks",{}).n("CloudWatchLogsClient","DescribeImportTasksCommand").sc(sY.Pmv).build(){}class nk extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","DescribeIndexPolicies",{}).n("CloudWatchLogsClient","DescribeIndexPoliciesCommand").sc(sY.Q0H).build(){}class nO extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","DescribeLogGroups",{}).n("CloudWatchLogsClient","DescribeLogGroupsCommand").sc(sY.aTt).build(){}class nU extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","DescribeLogStreams",{}).n("CloudWatchLogsClient","DescribeLogStreamsCommand").sc(sY.TJH).build(){}class n_ extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","DescribeLookupTables",{}).n("CloudWatchLogsClient","DescribeLookupTablesCommand").sc(sY.ZIA).build(){}class nN extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","DescribeMetricFilters",{}).n("CloudWatchLogsClient","DescribeMetricFiltersCommand").sc(sY.jtq).build(){}class nG extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","DescribeQueries",{}).n("CloudWatchLogsClient","DescribeQueriesCommand").sc(sY.sxe).build(){}class nM extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","DescribeQueryDefinitions",{}).n("CloudWatchLogsClient","DescribeQueryDefinitionsCommand").sc(sY.o8E).build(){}class nF extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","DescribeResourcePolicies",{}).n("CloudWatchLogsClient","DescribeResourcePoliciesCommand").sc(sY.IS$).build(){}class nB extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","DescribeSubscriptionFilters",{}).n("CloudWatchLogsClient","DescribeSubscriptionFiltersCommand").sc(sY.M9y).build(){}class nq extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstru
10ctions())]}).s("Logs_20140328","DisassociateKmsKey",{}).n("CloudWatchLogsClient","DisassociateKmsKeyCommand").sc(sY.fFO).build(){}class nj extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","DisassociateSourceFromS3TableIntegration",{}).n("CloudWatchLogsClient","DisassociateSourceFromS3TableIntegrationCommand").sc(sY.QmL).build(){}class nW extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","FilterLogEvents",{}).n("CloudWatchLogsClient","FilterLogEventsCommand").sc(sY.YgU).build(){}class nH extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","GetDataProtectionPolicy",{}).n("CloudWatchLogsClient","GetDataProtectionPolicyCommand").sc(sY.g0S).build(){}class nQ extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","GetDelivery",{}).n("CloudWatchLogsClient","GetDeliveryCommand").sc(sY.fjx).build(){}class nz extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","GetDeliveryDestination",{}).n("CloudWatchLogsClient","GetDeliveryDestinationCommand").sc(sY.H46).build(){}class nV extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","GetDeliveryDestinationPolicy",{}).n("CloudWatchLogsClient","GetDeliveryDestinationPolicyCommand").sc(sY.XFN).build(){}class nK extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","GetDeliverySource",{}).n("CloudWatchLogsClient","GetDeliverySourceCommand").sc(sY.OLU).build(){}class nY extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","GetIntegration",{}).n("CloudWatchLogsClient","GetIntegrationCommand").sc(sY.JmE).build(){}class nJ extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","GetLogAnomalyDetector",{}).n("CloudWatchLogsClient","GetLogAnomalyDetectorCommand").sc(sY.EoJ).build(){}class nZ extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","GetLogEvents",{}).n("CloudWatchLogsClient","GetLogEventsCommand").sc(sY.IU$).build(){}class nX extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","GetLogFields",{}).n("CloudWatchLogsClient","GetLogFieldsCommand").sc(sY.kGU).build(){}class n0 extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","GetLogGroupFields",{}).n("CloudWatchLogsClient","GetLogGroupFieldsCommand").sc(sY.$Rh).build(){}class n1 extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","GetLogObject",{eventStream:{output:!0}}).n("CloudWatchLogsClient","GetLogObjectCommand").sc(sY.ucp).build(){}class n2 extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","GetLogRecord",{}).n("CloudWatchLogsClient","GetLogRecordCommand").sc(sY.YSI).build(){}class n8 extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","GetLookupTable",{}).n("CloudWatchLogsClient","GetLookupTableCommand").sc(sY.T30).build(){}class n3 extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","GetQueryResults",{}).n("CloudWatchLogsClient","GetQueryResultsCommand").sc(sY.vYG).build(){}class n4 extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstru
10ctions())]}).s("Logs_20140328","GetScheduledQuery",{}).n("CloudWatchLogsClient","GetScheduledQueryCommand").sc(sY.gul).build(){}class n6 extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","GetScheduledQueryHistory",{}).n("CloudWatchLogsClient","GetScheduledQueryHistoryCommand").sc(sY.e$2).build(){}class n5 extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","GetTransformer",{}).n("CloudWatchLogsClient","GetTransformerCommand").sc(sY.QcP).build(){}class n9 extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","ListAggregateLogGroupSummaries",{}).n("CloudWatchLogsClient","ListAggregateLogGroupSummariesCommand").sc(sY.bx3).build(){}class n7 extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","ListAnomalies",{}).n("CloudWatchLogsClient","ListAnomaliesCommand").sc(sY.cCu).build(){}class ie extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","ListIntegrations",{}).n("CloudWatchLogsClient","ListIntegrationsCommand").sc(sY.iJG).build(){}class it extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","ListLogAnomalyDetectors",{}).n("CloudWatchLogsClient","ListLogAnomalyDetectorsCommand").sc(sY.rW4).build(){}class ir extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","ListLogGroups",{}).n("CloudWatchLogsClient","ListLogGroupsCommand").sc(sY.jaJ).build(){}class is extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","ListLogGroupsForQuery",{}).n("CloudWatchLogsClient","ListLogGroupsForQueryCommand").sc(sY.kjZ).build(){}class ii extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","ListScheduledQueries",{}).n("CloudWatchLogsClient","ListScheduledQueriesCommand").sc(sY.iyO).build(){}class io extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","ListSourcesForS3TableIntegration",{}).n("CloudWatchLogsClient","ListSourcesForS3TableIntegrationCommand").sc(sY.KMH).build(){}class ia extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","ListTagsForResource",{}).n("CloudWatchLogsClient","ListTagsForResourceCommand").sc(sY.Tzn).build(){}class ic extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","ListTagsLogGroup",{}).n("CloudWatchLogsClient","ListTagsLogGroupCommand").sc(sY.HQV).build(){}class iu extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","PutAccountPolicy",{}).n("CloudWatchLogsClient","PutAccountPolicyCommand").sc(sY.hiH).build(){}class il extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","PutBearerTokenAuthentication",{}).n("CloudWatchLogsClient","PutBearerTokenAuthenticationCommand").sc(sY.IHE).build(){}class id extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","PutDataProtectionPolicy",{}).n("CloudWatchLogsClient","PutDataProtectionPolicyCommand").sc(sY.DL0).build(){}class im extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","PutDeliveryDestination",{}).n("CloudWatchLogsClient","PutDeliveryDestinationCommand").sc(sY.ul2).build(){}class ip extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstru
10ctions())]}).s("Logs_20140328","PutDeliveryDestinationPolicy",{}).n("CloudWatchLogsClient","PutDeliveryDestinationPolicyCommand").sc(sY.snm).build(){}class ig extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","PutDeliverySource",{}).n("CloudWatchLogsClient","PutDeliverySourceCommand").sc(sY.rvL).build(){}class ih extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","PutDestination",{}).n("CloudWatchLogsClient","PutDestinationCommand").sc(sY.OL8).build(){}class iy extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","PutDestinationPolicy",{}).n("CloudWatchLogsClient","PutDestinationPolicyCommand").sc(sY.CM0).build(){}class ib extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","PutIndexPolicy",{}).n("CloudWatchLogsClient","PutIndexPolicyCommand").sc(sY.K6e).build(){}class iC extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","PutIntegration",{}).n("CloudWatchLogsClient","PutIntegrationCommand").sc(sY.Ap5).build(){}var iS=r(76100);class ix extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","PutLogGroupDeletionProtection",{}).n("CloudWatchLogsClient","PutLogGroupDeletionProtectionCommand").sc(sY.ilc).build(){}class iD extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","PutMetricFilter",{}).n("CloudWatchLogsClient","PutMetricFilterCommand").sc(sY.Qje).build(){}class iE extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","PutQueryDefinition",{}).n("CloudWatchLogsClient","PutQueryDefinitionCommand").sc(sY.vxL).build(){}class iL extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","PutResourcePolicy",{}).n("CloudWatchLogsClient","PutResourcePolicyCommand").sc(sY.kdY).build(){}class iT extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","PutRetentionPolicy",{}).n("CloudWatchLogsClient","PutRetentionPolicyCommand").sc(sY.YSo).build(){}class iw extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","PutSubscriptionFilter",{}).n("CloudWatchLogsClient","PutSubscriptionFilterCommand").sc(sY.p7j).build(){}class iv extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","PutTransformer",{}).n("CloudWatchLogsClient","PutTransformerCommand").sc(sY.dV3).build(){}class i$ extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","StartLiveTail",{eventStream:{output:!0}}).n("CloudWatchLogsClient","StartLiveTailCommand").sc(sY.f$5).build(){}class iR extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","StartQuery",{}).n("CloudWatchLogsClient","StartQueryCommand").sc(sY.hBP).build(){}class iP extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","StopQuery",{}).n("CloudWatchLogsClient","StopQueryCommand").sc(sY.paH).build(){}class iI extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","TagLogGroup",{}).n("CloudWatchLogsClient","TagLogGroupCommand").sc(sY.eVK).build(){}class iA extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstru
10ctions())]}).s("Logs_20140328","TagResource",{}).n("CloudWatchLogsClient","TagResourceCommand").sc(sY.Jqp).build(){}class ik extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","TestMetricFilter",{}).n("CloudWatchLogsClient","TestMetricFilterCommand").sc(sY.pOo).build(){}class iO extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","TestTransformer",{}).n("CloudWatchLogsClient","TestTransformerCommand").sc(sY.sNl).build(){}class iU extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","UntagLogGroup",{}).n("CloudWatchLogsClient","UntagLogGroupCommand").sc(sY.jf6).build(){}class i_ extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","UntagResource",{}).n("CloudWatchLogsClient","UntagResourceCommand").sc(sY.AUX).build(){}class iN extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","UpdateAnomaly",{}).n("CloudWatchLogsClient","UpdateAnomalyCommand").sc(sY.Z1v).build(){}class iG extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","UpdateDeliveryConfiguration",{}).n("CloudWatchLogsClient","UpdateDeliveryConfigurationCommand").sc(sY._jI).build(){}class iM extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","UpdateLogAnomalyDetector",{}).n("CloudWatchLogsClient","UpdateLogAnomalyDetectorCommand").sc(sY.rIv).build(){}class iF extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","UpdateLookupTable",{}).n("CloudWatchLogsClient","UpdateLookupTableCommand").sc(sY.yRX).build(){}class iB extends s0.u.classBuilder().ep(tU.S).m(function(e,t,r,s){return[(0,sX.r)(r,e.getEndpointParameterInstructions())]}).s("Logs_20140328","UpdateScheduledQuery",{}).n("CloudWatchLogsClient","UpdateScheduledQueryCommand").sc(sY.Z1N).build(){}let iq=async(e,t,r,s=e=>e,...n)=>{let i=new e(r);return i=s(i)??i,await t.send(i,...n)};function ij(e,t,r,s,n){return async function*(i,o,...a){let c,u=i.startingToken??o[r],l=!0;for(;l;){if(o[r]=u,n&&(o[n]=o[n]??i.pageSize),i.client instanceof e)c=await iq(t,i.client,o,i.withCommand,...a);else throw Error(`Invalid client, expected instance of ${e.name}`);yield c;let d=u;l=!!((u=iW(c,s))&&(!i.stopOnSameToken||u!==d))}}}let iW=(e,t)=>{let r=e;for(let e of t.split(".")){if(!r||"object"!=typeof r)return;r=r[e]}return r},iH=ij(sZ,nL,"nextToken","nextToken","limit"),iQ=ij(sZ,nT,"nextToken","nextToken","limit"),iz=ij(sZ,nw,"nextToken","nextToken","limit"),iV=ij(sZ,nv,"nextToken","nextToken","limit"),iK=ij(sZ,n$,"nextToken","nextToken","limit"),iY=ij(sZ,nO,"nextToken","nextToken","limit"),iJ=ij(sZ,nU,"nextToken","nextToken","limit"),iZ=ij(sZ,nN,"nextToken","nextToken","limit"),iX=ij(sZ,nB,"nextToken","nextToken","limit"),i0=ij(sZ,nW,"nextToken","nextToken","limit"),i1=ij(sZ,nZ,"nextToken","nextForwardToken","limit"),i2=ij(sZ,n6,"nextToken","nextToken","maxResults"),i8=ij(sZ,n9,"nextToken","nextToken","limit"),i3=ij(sZ,n7,"nextToken","nextToken","limit"),i4=ij(sZ,it,"nextToken","nextToken","limit"),i6=ij(sZ,is,"nextToken","nextToken","maxResults"),i5=ij(sZ,ii,"nextToken","nextToken","maxResults"),i9=ij(sZ,io,"nextToken","nextToken","maxResults"),i7={AssociateKmsKeyCommand:s1,AssociateSourceToS3TableIntegrationCommand:s2,CancelExportTaskCommand:s8,CancelImportTaskCommand:s3,CreateDeliveryCommand:s4,CreateExportTaskCommand:s6,CreateImportTaskCommand:s5,CreateLogAnomalyDetectorCommand:s9,CreateLogGroupCommand:s7,CreateLogStreamCommand:ne,CreateLookupTableCommand:nt,CreateScheduledQueryCommand:nr,DeleteAccountPolicyCommand:ns,DeleteDataProtectionPolicyCommand:nn,DeleteDeliveryCommand:ni,DeleteDeliveryDestinationCommand:no,DeleteDeliveryDestinationPolicyCommand:na,DeleteDeliverySourceCommand:nc,DeleteDestinationCommand:nu,DeleteIndexPolicyCommand:nl,DeleteIntegrationCommand:nd,DeleteLogAnomalyDetectorCommand:nm,DeleteLogGroupCommand:np,DeleteLogStreamCommand:ng,DeleteLookupTableCommand:nf,DeleteMetricFilterCommand:nh,DeleteQueryDefinitionCommand:ny,DeleteResourcePolicyCommand:nb,DeleteRetentionPolicyCommand:nC,DeleteScheduledQueryCommand:nS,DeleteSubscriptionFilterCommand:nx,DeleteTransformerCommand:nD,DescribeAccountPoliciesCommand:nE,DescribeConfigurationTemplatesCommand:nL,DescribeDeliveriesCommand:nT,DescribeDeliveryDestinationsCommand:nw,DescribeDeliverySourcesCommand:nv,DescribeDestinationsCommand:n$,DescribeExportTasksCommand:nR,DescribeFieldIndexesCommand:nP,DescribeImportTaskBatchesCommand:nI,DescribeImportTasksCommand:nA,DescribeIndexPoliciesCommand:nk,DescribeLogGroupsCommand:nO,DescribeLogStreamsCommand:nU,DescribeLookupTablesCommand:n_,De
10scribeMetricFiltersCommand:nN,DescribeQueriesCommand:nG,DescribeQueryDefinitionsCommand:nM,DescribeResourcePoliciesCommand:nF,DescribeSubscriptionFiltersCommand:nB,DisassociateKmsKeyCommand:nq,DisassociateSourceFromS3TableIntegrationCommand:nj,FilterLogEventsCommand:nW,GetDataProtectionPolicyCommand:nH,GetDeliveryCommand:nQ,GetDeliveryDestinationCommand:nz,GetDeliveryDestinationPolicyCommand:nV,GetDeliverySourceCommand:nK,GetIntegrationCommand:nY,GetLogAnomalyDetectorCommand:nJ,GetLogEventsCommand:nZ,GetLogFieldsCommand:nX,GetLogGroupFieldsCommand:n0,GetLogObjectCommand:n1,GetLogRecordCommand:n2,GetLookupTableCommand:n8,GetQueryResultsCommand:n3,GetScheduledQueryCommand:n4,GetScheduledQueryHistoryCommand:n6,GetTransformerCommand:n5,ListAggregateLogGroupSummariesCommand:n9,ListAnomaliesCommand:n7,ListIntegrationsCommand:ie,ListLogAnomalyDetectorsCommand:it,ListLogGroupsCommand:ir,ListLogGroupsForQueryCommand:is,ListScheduledQueriesCommand:ii,ListSourcesForS3TableIntegrationCommand:io,ListTagsForResourceCommand:ia,ListTagsLogGroupCommand:ic,PutAccountPolicyCommand:iu,PutBearerTokenAuthenticationCommand:il,PutDataProtectionPolicyCommand:id,PutDeliveryDestinationCommand:im,PutDeliveryDestinationPolicyCommand:ip,PutDeliverySourceCommand:ig,PutDestinationCommand:ih,PutDestinationPolicyCommand:iy,PutIndexPolicyCommand:ib,PutIntegrationCommand:iC,PutLogEventsCommand:iS.A,PutLogGroupDeletionProtectionCommand:ix,PutMetricFilterCommand:iD,PutQueryDefinitionCommand:iE,PutResourcePolicyCommand:iL,PutRetentionPolicyCommand:iT,PutSubscriptionFilterCommand:iw,PutTransformerCommand:iv,StartLiveTailCommand:i$,StartQueryCommand:iR,StopQueryCommand:iP,TagLogGroupCommand:iI,TagResourceCommand:iA,TestMetricFilterCommand:ik,TestTransformerCommand:iO,UntagLogGroupCommand:iU,UntagResourceCommand:i_,UpdateAnomalyCommand:iN,UpdateDeliveryConfigurationCommand:iG,UpdateLogAnomalyDetectorCommand:iM,UpdateLookupTableCommand:iF,UpdateScheduledQueryCommand:iB};class oe extends sZ{}((e,t,r)=>{for(let[r,s]of Object.entries(e)){let e=async function(e,t,r){let n=new s(e);if("function"==typeof t)this.send(n,t);else{if("function"!=typeof r)return this.send(n,t);if("object"!=typeof t)throw Error(`Expected http options but got ${typeof t}`);this.send(n,t||{},r)}},n=(r[0].toLowerCase()+r.slice(1)).replace(/Command$/,"");t.prototype[n]=e}let{paginators:s={},waiters:n={}}=r??{};for(let[e,r]of Object.entries(s))void 0===t.prototype[e]&&(t.prototype[e]=function(e={},t,...s){return r({...t,client:this},e,...s)});for(let[e,r]of Object.entries(n))void 0===t.prototype[e]&&(t.prototype[e]=async function(e={},t,...s){let n=t;return"number"==typeof t&&(n={maxWaitTime:t}),r({...n,client:this},e,...s)})})(i7,oe,{paginators:{paginateDescribeConfigurationTemplates:iH,paginateDescribeDeliveries:iQ,paginateDescribeDeliveryDestinations:iz,paginateDescribeDeliverySources:iV,paginateDescribeDestinations:iK,paginateDescribeLogGroups:iY,paginateDescribeLogStreams:iJ,paginateDescribeMetricFilters:iZ,paginateDescribeSubscriptionFilters:iX,paginateFilterLogEvents:i0,paginateGetLogEvents:i1,paginateGetScheduledQueryHistory:i2,paginateListAggregateLogGroupSummaries:i8,paginateListAnomalies:i3,paginateListLogAnomalyDetectors:i4,paginateListLogGroupsForQuery:i6,paginateListScheduledQueries:i5,paginateListSourcesForS3TableIntegration:i9}});let ot={DATA_PROTECTION_POLICY:"DATA_PROTECTION_POLICY",FIELD_INDEX_POLICY:"FIELD_INDEX_POLICY",METRIC_EXTRACTION_POLICY:"METRIC_EXTRACTION_POLICY",SUBSCRIPTION_FILTER_POLICY:"SUBSCRIPTION_FILTER_POLICY",TRANSFORMER_POLICY:"TRANSFORMER_POLICY"},or={ALL:"ALL"},os={CLIENT_ERROR:"CLIENT_ERROR",COMPLETE:"COMPLETE",FAILED:"FAILED",IN_PROGRESS:"IN_PROGRESS"},on={Active:"Active",Baseline:"Baseline",Suppressed:"Suppressed"},oi={ANALYZING:"ANALYZING",DELETED:"DELETED",FAILED:"FAILED",INITIALIZING:"INITIALIZING",PAUSED:"PAUSED",TRAINING:"TRAINING"},oo={FIFTEEN_MIN:"FIFTEEN_MIN",FIVE_MIN:"FIVE_MIN",ONE_HOUR:"ONE_HOUR",ONE_MIN:"ONE_MIN",TEN_MIN:"TEN_MIN",THIRTY_MIN:"THIRTY_MIN"},oa={CANCELLED:"CANCELLED",COMPLETED:"COMPLETED",FAILED:"FAILED",IN_PROGRESS:"IN_PROGRESS"},oc={JSON:"json",PARQUET:"parquet",PLAIN:"plain",RAW:"raw",W3C:"w3c"},ou={CWL:"CWL",FH:"FH",S3:"S3",XRAY:"XRAY"},ol={BOOLEAN:"boolean",DOUBLE:"double",INT:"int",LONG:"long",STRING:"string"},od={DELIVERY:"DELIVERY",INFREQUENT_ACCESS:"INFREQUENT_ACCESS",STANDARD:"STANDARD"},om={CWLI:"CWLI",PPL:"PPL",SQL:"SQL"},op={DISABLED:"DISABLED",ENABLED:"ENABLED"},og={ACTIVATED:"ACTIVATED",ARCHIVED:"ARCHIVED",DELETED:"DELETED",DISABLED:"DISABLED"},of={ACTIVE:"ACTIVE",INACTIVE:"INACTIVE"},oh={RESOURCE_DELETED:"RESOURCE_DELETED"},oy={CANCELLED:"CANCELLED",COMPLETED:"COMPLETED",FAILED:"FAILED",PENDING:"PENDING",PENDING_CANCEL:"PENDING_CANCEL",RUNNING:"RUNNING"},ob={FACET:"FACET",FIELD_INDEX:"FIELD_INDEX"},oC={ACCOUNT:"ACCOUNT",LOG_GROUP:"LOG_GROUP"},oS={ACCOUNT_DATA_PROTECTION:"ACCOUNT_DATA_PROTECTION"}
10,ox={LastEventTime:"LastEventTime",LogStreamName:"LogStreamName"},oD={Bits:"Bits",BitsSecond:"Bits/Second",Bytes:"Bytes",BytesSecond:"Bytes/Second",Count:"Count",CountSecond:"Count/Second",Gigabits:"Gigabits",GigabitsSecond:"Gigabits/Second",Gigabytes:"Gigabytes",GigabytesSecond:"Gigabytes/Second",Kilobits:"Kilobits",KilobitsSecond:"Kilobits/Second",Kilobytes:"Kilobytes",KilobytesSecond:"Kilobytes/Second",Megabits:"Megabits",MegabitsSecond:"Megabits/Second",Megabytes:"Megabytes",MegabytesSecond:"Megabytes/Second",Microseconds:"Microseconds",Milliseconds:"Milliseconds",None:"None",Percent:"Percent",Seconds:"Seconds",Terabits:"Terabits",TerabitsSecond:"Terabits/Second",Terabytes:"Terabytes",TerabytesSecond:"Terabytes/Second"},oE={Cancelled:"Cancelled",Complete:"Complete",Failed:"Failed",Running:"Running",Scheduled:"Scheduled",Timeout:"Timeout",Unknown:"Unknown"},oL={ACCOUNT:"ACCOUNT",RESOURCE:"RESOURCE"},oT={ByLogStream:"ByLogStream",Random:"Random"},ow={ENTITY_SIZE_TOO_LARGE:"EntitySizeTooLarge",INVALID_ATTRIBUTES:"InvalidAttributes",INVALID_ENTITY:"InvalidEntity",INVALID_KEY_ATTRIBUTE:"InvalidKeyAttributes",INVALID_TYPE_VALUE:"InvalidTypeValue",MISSING_REQUIRED_FIELDS:"MissingRequiredFields",UNSUPPORTED_LOG_GROUP_TYPE:"UnsupportedLogGroupType"},ov={AWSWAF:"AWSWAF",CLOUD_TRAIL:"CloudTrail",EKS_AUDIT:"EKSAudit",ROUTE53_RESOLVER:"Route53Resolver",VPC_FLOW:"VPCFlow"},o$={Complete:"Complete",Failed:"Failed",InvalidQuery:"InvalidQuery",Running:"Running",Timeout:"Timeout"},oR={FIRST:"first",LAST:"last"},oP={ACTIVE:"ACTIVE",ERROR:"ERROR",NOT_FOUND:"NOT_FOUND"},oI={ACTIVE:"ACTIVE",FAILED:"FAILED",PROVISIONING:"PROVISIONING"},oA={OPENSEARCH:"OPENSEARCH"},ok={S3:"S3"},oO={V1_1:"V1.1",V1_5:"V1.5"},oU={BOOLEAN:"boolean",DOUBLE:"double",INTEGER:"integer",STRING:"string"},o_={DATA_SOURCE_NAME_AND_TYPE:"DATA_SOURCE_NAME_AND_TYPE",DATA_SOURCE_NAME_TYPE_AND_FORMAT:"DATA_SOURCE_NAME_TYPE_AND_FORMAT"},oN={SUPPRESSED:"SUPPRESSED",UNSUPPRESSED:"UNSUPPRESSED"},oG={ACTIVE:"ACTIVE",DATA_SOURCE_DELETE_IN_PROGRESS:"DATA_SOURCE_DELETE_IN_PROGRESS",FAILED:"FAILED",UNHEALTHY:"UNHEALTHY"},oM={HOURS:"HOURS",MINUTES:"MINUTES",SECONDS:"SECONDS"},oF={INFINITE:"INFINITE",LIMITED:"LIMITED"};var oB=r(7924),oq=r(65333)},72317:(e,t,r)=>{r.d(t,{a:()=>s});let s=e=>new TextEncoder().encode(e)}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.